在代码中捕捉用户体验缺陷:利用大语言模型在开发阶段识别可用性缺陷
Catching UX Flaws in Code: Leveraging LLMs to Identify Usability Flaws at the Development Stage
AI总结:
本文研究了大语言模型在开发阶段识别可用性缺陷的能力,发现其在问题检测上表现中等一致,但严重性判断需人类监督。
摘要:
可用性评估对于确保现代界面满足用户需求至关重要,但传统的由人类专家进行的启发式评估可能耗时且主观,尤其是在开发初期。本文研究了大型语言模型(LLMs)是否能够在开发阶段提供可靠且一致的启发式评估。通过将Jakob Nielsen的十项可用性启发式原则应用于三十个开源网站,我们使用OpenAI的GPT-4o生成了超过850项启发式评估,每个网站进行三次独立评估。在问题检测方面,模型表现出中等的一致性,平均成对Cohen's Kappa为0.50,精确一致率为84%。严重性判断则表现出更多变异性:加权Cohen's Kappa平均为0.63,但精确一致率仅为56%,Krippendorff's Alpha接近零。这些结果表明,尽管GPT-4o可以产生内部一致的评估,尤其是识别可用性问题的存在,但其判断严重性的能力存在差异,实践中需要人类监督。我们的发现突显了使用LLMs进行早期自动化可用性测试的可行性和局限性,并为改进自动化用户体验(UX)评估的一致性提供了基础。据我们所知,我们的工作提供了首次对自动化启发式评估进行定量评分者一致性的分析,并突显了改进模型一致性的方法。
英文摘要:
Usability evaluations are essential for ensuring that modern interfaces meet user needs, yet traditional heuristic evaluations by human experts can be time-consuming and subjective, especially early in development. This paper investigates whether large language models (LLMs) can provide reliable and consistent heuristic assessments at the development stage. By applying Jakob Nielsen's ten usability heuristics to thirty open-source websites, we generated over 850 heuristic evaluations in three independent evaluations per site using a pipeline of OpenAI's GPT-4o. For issue detection, the model demonstrated moderate consistency, with an average pairwise Cohen's Kappa of 0.50 and an exact agreement of 84%. Severity judgments showed more variability: weighted Cohen's Kappa averaged 0.63, but exact agreement was just 56%, and Krippendorff's Alpha was near zero. These results suggest that while GPT-4o can produce internally consistent evaluations, especially for identifying the presence of usability issues, its ability to judge severity varies and requires human oversight in practice. Our findings highlight the feasibility and limitations of using LLMs for early-stage, automated usability testing, and offer a foundation for improving consistency in automated User Experience (UX) evaluation. To the best of our knowledge, our work provides one of the first quantitative inter-rater reliability analyses of automated heuristic evaluation and highlights methods for improving model consistency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。