Abstract
Modern CAPTCHAs have transitioned from simple text recognition to complex visual-spatial puzzles requiring multi-step logic and 3D reasoning. This paper investigates the gap between visual perception and cognitive reasoning in Vision-Language Models (VLMs). We introduce CAPTCHA-X, a benchmark of 1,839 real-world puzzles with detailed reasoning annotations. By implementing an agentic framework that prioritizes explicit reasoning over direct visual-to-action mapping, we demonstrate a significant performance leap from 15.7% to 83.9% accuracy, uncovering a "Reasoning Scaling Law" in visual-spatial tasks.
Introduction
The evolution of CAPTCHAs has moved beyond identifying distorted characters to tasks involving Gobang (Five in a Row), 3D mental rotations, and complex semantic logic. While current VLMs possess impressive "eyesight," they often fail these puzzles due to a lack of a structured cognitive framework. Existing benchmarks frequently provide only final answers without the underlying logic, making it difficult to distinguish between perceptual failures and reasoning errors.
The CAPTCHA-X Benchmark
To address this, we developed CAPTCHA-X, a dataset comprising 1,839 real-world puzzles across seven categories, including grid-based games (Gobang, Google reCAPTCHA V2) and spatial-semantic challenges (hCaptcha, GeeTest, VTT). Unlike previous datasets, CAPTCHA-X provides:
- Grounding Annotations: Precise valid click areas.
- Reasoning Steps: The logical path required to reach the solution.
Methodology: An Agentic Vision-Language Pipeline
Our approach shifts the focus from "seeing and clicking" to "reasoning under vision." We propose a multi-stage agentic pipeline designed to decompose complex puzzles into manageable logical steps.
The pipeline includes:
- Category Judger: Routes puzzles to specific logic branches.
- Mapping Expert: Converts visual grids into symbolic representations (e.g., 2D arrays).
- Reasoning Steps Generator: Formulates a logical plan based on symbolic data.
- Discriminator: Performs a coherence check on the generated reasoning.
- Spatial Understanding Expert: Translates the abstract plan back into pixel coordinates.
Results and Analysis
The introduction of explicit reasoning yielded a massive accuracy boost, jumping from a baseline of 15.7% to 83.9%.
Key Insights
- Reasoning Scaling Laws: We observed a power-law relationship between reasoning efficiency and performance. Furthermore, a Difficulty-Gain Scaling Law emerged: the more complex the puzzle, the greater the benefit derived from explicit reasoning.
- Symbolic Abstraction: Converting raw pixels into symbolic representations allows models to utilize their linguistic reasoning strengths, effectively solving spatial problems that are otherwise opaque in pixel form.
- Perception vs. Logic: Analysis shows that most VLM failures are "mapping errors" or "logical errors" rather than simple visual misidentifications.
Conclusion
Our findings suggest that the key to solving modern visual-spatial CAPTCHAs lies in structured reasoning rather than improved visual resolution. While our agentic framework approaches human-level precision, future work must address the latency and computational costs associated with multi-step pipelines and reduce the reliance on category-specific experts.
Summary updated