[Paper Review] Unblind Your Apps: Predicting Natural-Language Labels for Mobile GUI Components by Deep Learning
This paper proposes LabelDroid, a deep learning model combining CNN and transformer encoder-decoder architectures to automatically predict natural-language labels for image-based GUI components in Android apps. Trained on large-scale commercial apps from Google Play, the model generates high-quality, concise labels that outperform those created by real Android developers, addressing the critical accessibility issue of missing labels in over 77% of analyzed apps.
According to the World Health Organization(WHO), it is estimated that approximately 1.3 billion people live with some forms of vision impairment globally, of whom 36 million are blind. Due to their disability, engaging these minority into the society is a challenging problem. The recent rise of smart mobile phones provides a new solution by enabling blind users' convenient access to the information and service for understanding the world. Users with vision impairment can adopt the screen reader embedded in the mobile operating systems to read the content of each screen within the app, and use gestures to interact with the phone. However, the prerequisite of using screen readers is that developers have to add natural-language labels to the image-based components when they are developing the app. Unfortunately, more than 77% apps have issues of missing labels, according to our analysis of 10,408 Android apps. Most of these issues are caused by developers' lack of awareness and knowledge in considering the minority. And even if developers want to add the labels to UI components, they may not come up with concise and clear description as most of them are of no visual issues. To overcome these challenges, we develop a deep-learning based model, called LabelDroid, to automatically predict the labels of image-based buttons by learning from large-scale commercial apps in Google Play. The experimental results show that our model can make accurate predictions and the generated labels are of higher quality than that from real Android developers.
Motivation & Objective
- To address the widespread problem of missing natural-language labels for image-based UI components in Android apps, which hinders screen reader functionality for blind users.
- To reduce the burden on developers who often lack awareness or expertise in writing effective accessibility labels.
- To develop a proactive, automated solution that predicts accurate and meaningful labels for image-based buttons, complementing existing reactive testing tools.
- To improve app accessibility at scale by enabling automatic label generation based on visual and contextual features of GUI components.
Proposed method
- The model uses a convolutional neural network (CNN) to extract visual features from image-based GUI components.
- A transformer-based encoder-decoder architecture processes the visual embeddings and generates natural-language labels in an end-to-end manner.
- The model is trained on a large-scale dataset of 10,408 Android apps collected from Google Play, focusing on image-based buttons without visible text.
- Training involves minimizing the cross-entropy loss between predicted and ground-truth labels, with attention mechanisms enabling context-aware label generation.
- The approach leverages both visual appearance and contextual information from the app’s UI structure to improve label relevance and clarity.
- The model is evaluated using human evaluation and automated metrics, comparing predictions against labels written by real Android developers.
Experimental results
Research questions
- RQ1Can a deep learning model accurately predict natural-language labels for image-based GUI components in mobile apps?
- RQ2How does the quality of automatically generated labels compare to those authored by real Android developers?
- RQ3To what extent can the model generalize across diverse app types and visual designs in real-world commercial apps?
- RQ4Can the model serve as a proactive solution to reduce accessibility issues caused by missing labels?
Key findings
- Over 77% of the 10,408 analyzed Android apps were found to have at least one image-based button without a natural-language label, indicating a widespread accessibility problem.
- The proposed LabelDroid model generates labels that are rated as higher quality than those created by real Android developers in human evaluation.
- The model achieves strong performance in generating concise, informative, and semantically accurate labels for image-based UI components.
- The integration of visual features via CNN and contextual modeling via transformers significantly improves label relevance and clarity.
- The model demonstrates potential as a proactive accessibility assurance tool, complementing existing reactive testing frameworks like Android Lint and Accessibility Scanner.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.