arXiv:2604.06934cs.CVcs.AI2026-04

用文字描述辅助视觉识别界面元素,提升复杂场景检测准确率

Multi-modal user interface control detection using cross-attention

  • 将GPT生成的文本描述通过交叉注意力融合进YOLOv5检测流程
  • 在1.6万张截图上测试,卷积融合策略使复杂元素检测性能显著提升
  • 适合做自动化测试、无障碍访问和UI分析的研究者与开发者

从软件截图中检测用户界面(UI)控件是自动化测试、无障碍支持和软件分析的关键任务,但受视觉模糊、设计差异及纯像素方法缺乏上下文信息的制约。本文提出一种基于YOLOv5的多模态扩展方法,通过交叉注意力模块将GPT生成的UI图像文本描述融入检测流程,实现视觉特征与语义信息的对齐。在包含23类控件、超过16,000张标注截图的大规模数据集上评估,对比元素相加、加权求和与卷积融合三种融合策略,结果显示卷积融合表现最优,尤其在语义复杂或视觉模糊的类别上提升明显。结果表明,视觉与文本模态结合可显著增强控件检测能力,特别是在仅靠视觉难以判断的边缘情况下。该工作为构建更可靠、智能的软件测试、无障碍支持与UI分析工具提供了新路径,也为未来高效、鲁棒且可泛化的多模态检测系统奠定了基础。

原文摘要 · Abstract (English)

Detecting user interface (UI) controls from software screenshots is a critical task for automated testing, accessibility, and software analytics, yet it remains challenging due to visual ambiguities, design variability, and the lack of contextual cues in pixel-only approaches. In this paper, we introduce a novel multi-modal extension of YOLOv5 that integrates GPT-generated textual descriptions of UI images into the detection pipeline through cross-attention modules. By aligning visual features with semantic information derived from text embeddings, our model enables more robust and context-aware UI control detection. We evaluate the proposed framework on a large dataset of over 16,000 annotated UI screenshots spanning 23 control classes. Extensive experiments compare three fusion strategies, i.e. element-wise addition, weighted sum, and convolutional fusion, demonstrating consistent improvements over the baseline YOLOv5 model. Among these, convolutional fusion achieved the strongest performance, with significant gains in detecting semantically complex or visually ambiguous classes. These results establish that combining visual and textual modalities can substantially enhance UI element detection, particularly in edge cases where visual information alone is insufficient. Our findings open promising opportunities for more reliable and intelligent tools in software testing, accessibility support, and UI analytics, setting the stage for future research on efficient, robust, and generalizable multi-modal detection systems.

多模态目标检测UI分析交叉注意力

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。