CAPTCHA Solving for Native GUI Agents: Automated Reasoning-Action Data Generation and Self-Corrective Training
Yuxi Chen, Haoyu Zhai, Chenkai Wang, Rui Yang, LINGMING ZHANG, Gang Wang, Huan Zhang
Abstract
GUI agents are rapidly shifting from multi-module pipelines to end-to-end, native vision-language models (VLMs) that perceive raw screenshots and directly interact with digital devices. Despite rapid progress on general GUI tasks, CAPTCHA solving remains a major challenge. On the other hand, although specialized CAPTCHA solving pipelines exist, they cannot handle general GUI tasks. To address this gap, we introduce ReCAP: a CAPTCHA-capable native GUI agent that solves modern, interactive CAPTCHA challenges while retaining general GUI-agent performance. We first develop a dynamic CAPTCHA system spanning seven representative CAPTCHA types, designed to stress primitive and complementary capabilities for CAPTCHA solving. Then, we develop an automated data collection and curation pipeline that generates large-scale CAPTCHA interaction trajectories paired with reasoning traces. As CAPTCHA solving often requires multi-step interaction and recovery from intermediate mistakes, we further leverage failed trajectories to construct self-correction data, training agents to reflect on errors and correct their actions online. Across synthetic and real-world test sets, ReCAP substantially improves CAPTCHA-solving success over its base agents, while maintaining strong performance on general GUI-agent benchmarks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Aguvis: Unified Pure Vision Agents for Autonomous GUI Interaction cites GPT-4V(ision) is a Generalist Web Agent, if Grounded
- How do Visual Attributes Influence Web Agents? A Comprehensive Evaluation of User Interface Design Factors cites GPT-4V(ision) is a Generalist Web Agent, if Grounded
Builds on11
- GPT-4V(ision) is a Generalist Web Agent, if GroundedBoyuan Zheng, Boyu Gou, Jihyung Kil, Huan Sun et al.ICML 2024 · 496 citations
- GUI Agents: A SurveyDang Nguyen, Jian Chen, Yu Wang, Gang Wu et al.ACL Findings 2025 · 25 citations
- Research on the Security of Visual Reasoning CAPTCHAYipeng Gao, Haichang Gao, Sainan Luo, Yang Zi et al.USENIX Security 2021 · 19 citations
- Aguvis: Unified Pure Vision Agents for Autonomous GUI InteractionYiheng Xu, Zekun Wang, Junli Wang, Dunjie Lu et al.ICML 2025
- How do Visual Attributes Influence Web Agents? A Comprehensive Evaluation of User Interface Design FactorsKuai Yu, Naicheng Yu, Han Wang, Rui Yang et al.ACL Findings 2026
Related papers
- UIPro: Unleashing Superior Interaction Capability for GUI AgentsHongxin Li, Jingran Su, Jingfan Chen, Zheng Ju et al.ICCV 2025
- CoCo-Agent: A Comprehensive Cognitive MLLM Agent for Smartphone GUI AutomationXinbei Ma, Zhuosheng Zhang, Hai ZhaoACL Findings 2024 · 11 citations
- GUI-Reflection: Empowering Multimodal GUI Models with Self-Reflection BehaviorPenghao Wu, Shengnan Ma, Bo Wang, Jiaheng Yu et al.NeurIPS 2025 · 20 citations
- GUI-Narrator: Detecting and Captioning Computer GUI ActionsQinchen Wu, Difei Gao, Qinghong Lin, Zhuoyu Wu et al.ACM MM 2025 · 5 citations
- Does Chain-of-Thought Reasoning Help Mobile GUI Agents? An Empirical StudyLi Zhang, Longxi Gao, Mengwei XuACL Findings 2026
