Re-Aligning Language to Visual Objects with an Agentic Workflow

Yuming Chen, Jiangyan Feng, Haodong Zhang, Lijun Gong, Feng Zhu, Rui Zhao, Qibin Hou, Ming-Ming Cheng, Yibing Song

Abstract

Language-based Object Detection (LOD) relies on the precise alignment of free-form textual descriptions with visual regions. While Vision-Language Models (VLMs) have enabled the automated generation of large-scale training datasets, these datasets are often plagued by hallucinations and misalignments. This paper introduces Real-LOD, an agentic workflow that leverages Large Language Models (LLMs) to iteratively refine and re-align noisy training data. By employing a cycle of planning, tool use, and reflection, Real-LOD produces a high-quality dataset that allows standard detection models to significantly outperform state-of-the-art methods while using a fraction of the training data.

1. Introduction

Language-based Object Detection (LOD) is a critical task in computer vision, requiring models to identify and localize objects based on complex, free-form text queries (e.g., "the small blue hat worn by the girl"). To scale these models, researchers have moved toward using VLMs to generate synthetic training pairs. However, VLMs frequently "hallucinate," misidentifying attributes like color, shape, or spatial relationships, particularly in cluttered scenes. These errors introduce noise into the training pipeline, limiting the model's ability to achieve precise vision-language alignment. The core challenge lies in scaling training data without sacrificing the quality of these alignments.

2. The Real-LOD Agentic Workflow

The authors propose Real-LOD, an agentic workflow controlled by an LLM (the "Real-Agent") designed to iteratively correct and refine object descriptions. This "neural symbolic" design treats the LLM as a reasoning engine that manages visual tools. The workflow follows a three-step cycle:

  1. Planning: The agent analyzes the current description and image context. It classifies the state into one of five categories—such as "Wrong," "Uncertain about category," or "Uncertain about location"—and selects a targeted action.
  2. Tool Use: The agent executes the chosen action using specialized tools. This includes visual prompting (cropping the image to focus on a specific area or highlighting an object with a red box) and textual refinement (querying a VLM with specific prompts or using an LLM to rewrite descriptions for clarity).
  3. Reflection: A separate LLM-based "reflector" evaluates the refined description against the original image context. If the description remains inaccurate, the cycle repeats.

This iterative process allows the system to reason about why a description might be incorrect and take specific steps to rectify the error, providing a level of precision that single-pass VLM generation cannot achieve.

3. Real-Data and Evaluation

Using the Real-LOD workflow, the authors constructed Real-Data, a high-quality dataset containing 0.18 million images and 1.4 million re-aligned language-object pairs sourced from Objects365, OpenImage, and LVIS.

To evaluate the efficacy of this data, the authors trained a standard detection model (the "Real-Model") and tested it against several benchmarks:

  • OmniLabel: Includes subsets from COCO, Objects365, and OpenImage.
  • DOD (Description Object Detection): Focuses on complex descriptions.
  • RefCOCO/g/+ and OVDEval: Standard benchmarks for referring expression comprehension and open-vocabulary evaluation.

4. Key Insights

4.1 Quality Over Quantity

The most significant finding of this research is that data quality can supersede raw volume. The Real-Model, trained on only 0.18M images, outperformed models like GLIP, which utilized 17.5M images. This suggests that the current paradigm of massive data scaling may be limited by the noise inherent in large-scale automated labeling, and that "cleaning" the data can yield better results than simply increasing its size.

4.2 The Importance of Local Context

VLMs often fail when processing an entire image because they overlook small details. By "zooming in" via cropping or "pointing" via red-box highlighting, the Real-LOD workflow provides the VLM with the necessary local context to make accurate judgments.

4.3 LLMs as Strategic Planners

The study highlights a functional division of labor: while VLMs are proficient at visual recognition, LLMs are superior at logical reasoning and planning. Using a text-only LLM to orchestrate the workflow and a VLM as a visual tool proved more robust than relying on a single multimodal model for both reasoning and perception.

5. Results

The Real-Model demonstrated substantial performance gains across all benchmarks:

  • OmniLabel: On the OpenImage subset, the model achieved 40.5% AP-des, nearly doubling the 23.2% achieved by the previous state-of-the-art, mm-GDINO.
  • DOD: The model reached 34.1% AP, surpassing the previous best (APE-B at 30.0%) despite the massive difference in training data volume.
  • Ablation Studies: The iterative nature of the workflow was found to be essential. Without the planning and cyclic refinement, the success rate of generating correct expressions plummeted from 74.7% to 35.6%.

6. Limitations and Conclusion

Despite its success, Real-LOD faces challenges in "typical visual hard cases," such as extremely low-light conditions, motion blur, or objects too small to be distinguished even when cropped. Additionally, the system can exhibit a foreground bias, occasionally ignoring background targets occluded by prominent foreground objects. Finally, the refinement process is computationally intensive, requiring multiple model calls per object.

In conclusion, Real-LOD demonstrates that an agentic, iterative approach to data refinement can overcome the limitations of noisy automated labeling. By prioritizing alignment quality, the authors have established a new path for scaling language-based object detection models more efficiently.

Summary updated

BibTeX
@inproceedings{chen2025re,
  author = {Yuming Chen and Jiangyan Feng and Haodong Zhang and Lijun GONG and Feng Zhu and Rui Zhao and Qibin Hou and Ming-Ming Cheng and Yibing Song},
  title = {{Re-Aligning Language to Visual Objects with an Agentic Workflow}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=MPJ4SMnScw},
}
Figure