Affiliation:
1. College of Computer Science and Technology, Zhejiang University, Hangzhou 310012, China
Abstract
Manual inspection and remediation of guideline violations (UI design smells) is a knowledge-intensive, time-consuming, and context-related task that requires a high level of expertise. This paper proposes UISGPT, a novel end-to-end approach for automatically detecting user interface (UI) design smells and explaining each violation of specific design guidelines in natural language. To avoid hallucinations in large language models (LLMs) and achieve interpretable results, UISGPT uses few-shot learning and least-to-most prompting strategies to formalize design guidelines. To prevent the model from exceeding the input window size and for the enhancement of the logic in responses, UISGPT divides design smell detection into the following three subtasks: design guideline formalization, UI component information extraction, and guideline validation. The experimental results show that UISGPT performs effectively in automatically detecting design violations (F1 score of 0.729). In comparison to the latest LLM methods, the design smell reports generated by UISGPT have higher contextual consistency and user ratings.
Reference74 articles.
1. Wireframe-based UI design search through image autoencoder;Chen;ACM Trans. Softw. Eng. Methodol.,2020
2. Nielsen, J. (2024, July 21). 10 Usability Heuristics for User Interface Design. Available online: https://www.nngroup.com/articles/ten-usability-heuristics/.
3. Galitz, W.O. (2007). The Essential Guide to User Interface Design: An Introduction to GUI Design Principles and Techniques, Wiley. [3rd ed.].
4. Yang, B., Xing, Z., Xia, X., Chen, C., Ye, D., and Li, S. (2021, January 22–30). Don’t do that! Hunting down visual design smells in complex UIs against design guidelines. Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), Madrid, Spain.
5. Mobile-UI-Repair: A deep learning based UI smell detection technique for mobile user interface;Ali;PeerJ Comput. Sci.,2024