CLAIApr 16, 2021

Text2App: A Framework for Creating Android Apps from Text Descriptions

arXiv:2104.08301v27 citationsHas Code
AI Analysis

This work addresses the challenge of automating app creation for non-programmers, though it is incremental as it builds on existing seq2seq and language model techniques.

The authors tackled the problem of generating functional Android apps from natural language descriptions by introducing Text2App, a framework that uses an intermediate formal language to reduce token overhead and improve learning of complex structures, achieving generalization to unseen app components and handling noisy instructions.

We present Text2App -- a framework that allows users to create functional Android applications from natural language specifications. The conventional method of source code generation tries to generate source code directly, which is impractical for creating complex software. We overcome this limitation by transforming natural language into an abstract intermediate formal language representing an application with a substantially smaller number of tokens. The intermediate formal representation is then compiled into target source codes. This abstraction of programming details allows seq2seq networks to learn complex application structures with less overhead. In order to train sequence models, we introduce a data synthesis method grounded in a human survey. We demonstrate that Text2App generalizes well to unseen combination of app components and it is capable of handling noisy natural language instructions. We explore the possibility of creating applications from highly abstract instructions by coupling our system with GPT-3 -- a large pretrained language model. We perform an extensive human evaluation and identify the capabilities and limitations of our system. The source code, a ready-to-run demo notebook, and a demo video are publicly available at \url{https://github.com/text2app/Text2App}.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes