一句话:提出 RePeek,通过显式检测并推理 GUI 元素的三阶段统一流水线微调 VLM,使小模型在工业 GUI 测试中超越大模型。
UI 测试对工业移动应用质量保障至关重要,但人工成本高、自动化困难。VLM 可将自然语言指令映射为像素级动作,然而现有 VLM 难以满足复杂多步工业工作流的效果要求,以及大规模高频测试的效率要求。作者提出并部署 RePeek,采用训练与推理统一的三阶段流水线,让 VLM 显式检测并推理离散 GUI 元素,以替代像素级推理:先以轻量 UI 元素检测器 OmniParser 将截图分解为结构化元素列表,再用 VLM 视觉编码器生成元素嵌入,最后融合元素嵌入与文本指令,直接在 UI 元素上分类。在公开基准与微信部署中,RePeek 的准确率和效率均优于 SOTA VLM;微调的 Qwen2.5-VL-3B 以少 75% 训练数据超越 72B 模型。文末总结三条部署经验。
User Interface (UI) testing is crucial for quality assurance of industrial mobile applications, and yet it remains labor-intensive and challenging to automate effectively. Recent advances in Vision-Language Models (VLMs) present a promising solution for automating GUI testing by mapping natural language instructions to pixel-level actions, significantly reducing the manual effort required for writing test scripts and even designing test cases. While numerous VLMs have been proposed and evaluated for GUI testing, they often fail to meet two critical industrial requirements: (1) effectiveness when handling complex, multi-step workflows in industrial applications, and (2) efficiency for large-scale, high-frequency testing environments typical in industrial settings. Toward addressing the preceding industrial requirements, in this paper, we report our experiences in developing and deploying RePeek, a novel approach employing a unified three-stage pipeline for both training and inference, enables a VLM to explicitly detect and reason over discrete GUI elements, thereby overcoming the limitations of pixel-based reasoning for both efficiency and effectiveness improvements. In the first stage, RePeek integrates a lightweight UI-element detector named OmniParser to decompose UI screenshots into a structured element list. In the second stage, RePeek adopts the vision encoder of the VLM to generate the embedding for each element. In the third stage, RePeek fuses these element embeddings with the textual instruction to reason and perform classification directly on the UI elements, empowering efficient small models to achieve superior performance against expensive large models. Comprehensive evaluations on public benchmarks and deployment at WeChat show that RePeek consistently achieves superior accuracy and efficiency compared to state-of-the-art VLMs. Specifically, RePeek enables a fine-tuned Qwen2.5-VL-3B model to outperform a 72B model with 75% less training data, validating the effectiveness of incorporating domain knowledge into VLM-based GUI testing. We conclude by summarizing three key lessons from developing and deploying RePeek, offering insights for both researchers and practitioners working on industrial-strength UI testing.
DOI 原文 ·
@inproceedings{paperbot9347,
title = {Element-Aware Fine-Tuning of Vision-Language Models for Cost-Efficient GUI Testing in an Industrial Setting},
author = {Mengzhou Wu and Yuzhe Guo and Yuan Cao and Haochuan Lu and Hengyu Zhang and Xia Zeng and Liangchao Yao and Yuetang Deng and Dezhi Ran and Wei Yang and Tao Xie},
booktitle = {ASE},
year = {2025},
doi = {10.1109/ase63991.2025.00296}
}