Introduction
The development of "GUI agents"—AI models capable of navigating websites and applications—has seen significant progress. However, a critical bottleneck remains: the complex task of form filling. While general navigation involves moving between pages, form filling requires a high degree of "fine-grained semantic alignment." An agent must interpret a user's intent (e.g., "Apply for this job using my resume") and precisely map specific data points to a variety of visual fields, such as dropdowns, date pickers, and checkboxes.
Existing benchmarks often focus on high-level navigation or static analysis, failing to capture the "messiness" of real-world forms, which include inconsistent naming conventions, flexible layouts, and multi-step interaction logic. FormFactory is introduced as a new interactive benchmarking suite designed to measure progress toward the "holy grail" of office automation: a general-purpose vision agent that can complete any form on any website.
The FormFactory Suite
FormFactory consists of three core components designed to provide a controlled yet realistic environment for testing Multimodal Large Language Models (MLLMs):
- Interactive Platform: A web-based environment built with Python and Flask that simulates real-world form interactions in a reproducible way.
- Agent Framework: A lightweight loop where an MLLM receives a screenshot of a form and a "user input" document (such as a resume). The model is then tasked with generating a sequence of
Click(x, y)andType(text)actions. - Ruler-Enhanced Strategy: Recognizing that MLLMs often struggle with predicting exact pixel coordinates, the researchers introduced a visual "Ruler" overlay. By placing pixel-scale markers along the edges of the screenshot, the system provides the model with a visual reference to improve its spatial reasoning.
Evaluation is conducted at two levels: Atomic tests, which evaluate the handling of single UI elements (like a checkbox), and Episodic tests, which measure the model's ability to complete an entire form successfully.
Dataset Scope and Diversity
The FormFactory suite includes a comprehensive new dataset featuring:
- 25 Diverse Forms: Spanning 8 domains, including Finance, Healthcare, Legal, and Academic Research.
- 1,250 Instances: Containing 13,800 annotated field-value pairs.
- 9 Field Types: Ranging from simple text strings to complex multi-select options and file uploads.
- Realistic Data: The suite utilizes a mix of LLM-synthesized personas and real-world data, such as metadata extracted from 50 actual academic papers for submission tasks.
Key Insights: The Grounding Gap
The benchmark reveals a striking disparity between a model's ability to understand information and its ability to act on it. This is referred to as the "Grounding Gap."
- Semantic Success vs. Spatial Failure: Models are generally proficient at extracting the correct information from a source document (the "Value" score). However, they are consistently poor at clicking the correct location on the screen to input that data (the "Click" score). For most models, click accuracy remained below 10% across almost all field types.
- Compounding Complexity: Performance does not merely decline as forms become longer; it craters. The combination of many fields and diverse interaction types (e.g., mixing radio buttons with dropdowns) creates a compounding difficulty that current models cannot navigate effectively.
- The Limits of Visual Aids: While the Ruler-Enhanced Strategy improved click accuracy on simple forms, it provided little benefit for complex, multi-step interactions. This suggests that the primary challenge is not just visual coordinate perception, but the high-level planning of the interaction flow.
Results and Future Directions
The results serve as a wake-up call for the field of multimodal agents. In end-to-end episodic tasks, no model surpassed 5% accuracy. GPT-4o achieved a meager 0.9%, while Qwen-VL-Max led the evaluation with only 1.1%.
These findings prove that the current bottleneck in digital automation is Vision-Language Alignment. AI agents frequently know what to enter but do not know where or how to enter it within a live UI.
Future work must move beyond "greedy page-wise policies"—where an agent attempts to complete everything in a single pass—toward iterative, "closed-loop" planning. This would allow agents to detect and correct their own mistakes in real-time. Furthermore, the authors hope the FormFactory dataset will be used to fine-tune models specifically for the unique spatial and semantic demands of complex form filling.
Summary updated