Enhancing Visual Grounding and Generalization: A Multi-Task Cycle Training Approach for Vision-Language Models

Xiaoyu Yang, Lijian Xu, Hongsheng Li, Shaoting Zhang, Zhang, Shaoting · DOI

Abstract

Visual grounding (VG) occupies a pivotal position in multi-modality vision-language models. In this study, we propose ViLaM, a large multi-modality model, that supports multi-tasks of VG using the cycle training strategy, with abundant interaction instructions. The cycle training between referring expression generation (REG) and referring expression comprehension (REC) is introduced. It enhances the consistency between visual location and referring expressions, and addresses the need for high-quality, multi-tasks VG datasets. Moreover, multi-tasks of VG are promoted in our model, contributed by the cycle training strategy. The multi-tasks in REC encompass a range of granularities, from region-level to pixel-level, which include referring bbox detection, referring keypoints detection, and referring image segmentation. In REG, referring region classification determines the fine-grained category of the target, while referring region captioning generates a comprehensive description. Meanwhile, all tasks participate in the joint training, synergistically enhancing one another and collectively improving the overall performance of the model. Furthermore, leveraging the capabilities of large language models, ViLaM extends a wide range of instructions, thereby significantly enhancing its generalization and interaction potentials. Extensive public datasets corroborate the superior capabilities of our model in VG with muti-tasks. Additionally, validating its robust generalization, ViLaM is validated under open-set and few-shot scenarios. Especially in the medical field, our model demonstrates cross-domain robust generalization capabilities. Furthermore, we contribute a VG dataset, especially with multi-tasks.

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language processing, yet their integration with visual information—specifically in the domain of visual grounding (VG)—remains a significant challenge. Visual grounding requires a model to precisely link textual referring expressions to specific spatial locations within an image. Existing vision-language models often suffer from a "consistency gap," where the ability to generate a description for a region (Referring Expression Generation, REG) does not align with the ability to locate a region based on a description (Referring Expression Comprehension, REC). Furthermore, the scarcity of high-quality datasets featuring fine-grained annotations like keypoints or polygons limits the development of versatile grounding models.

Methodology

To address these challenges, we introduce ViLaM (Vision-Language Multi-modality model). ViLaM integrates a ViT-Large image encoder and a BERT text encoder with a Vicuna-7B LLM backbone. The primary innovation lies in its training framework, which emphasizes consistency and multi-task synergy.

Cycle Training Strategy

Inspired by the concept of cycle consistency, we implement a training loop between REG and REC. This strategy ensures that if the model generates a description for a specific image region, that same description must be sufficient for the model to re-locate the region. This bidirectional supervision allows the model to leverage unlabeled or partially labeled data, effectively "bootstrapping" its own training signal and ensuring a tighter coupling between pixels and semantics.

Overview of the ViLaM architecture and cycle training strategy.

Multi-Task Joint Training

ViLaM is trained across a spectrum of spatial granularities, allowing different tasks to synergistically enhance one another:

  • Region-level: Standard bounding box detection.
  • Point-level: Keypoint detection for complex structures like human skeletons.
  • Pixel-level: Precise image segmentation using polygon coordinates.
  • Semantic-level: Region classification and detailed captioning.

By training on these tasks simultaneously, the model develops a more nuanced understanding of object boundaries and internal structures, leading to improved performance even on the most basic grounding tasks.

Datasets and Evaluation

ViLaM was trained on a massive scale using standard benchmarks such as RefCOCO, RefCOCO+, and RefCOCOg. Additionally, we introduce VGCoco, a new dataset comprising approximately 240,000 images with multi-task annotations (boxes, keypoints, and polygons) paired with referring expressions.

To test the model's generalization, we evaluated it on 12 medical datasets across 6 modalities (e.g., X-ray, CT, MRI). This cross-domain evaluation demonstrates the model's ability to apply its grounding logic to specialized fields without domain-specific fine-tuning.

Key Results

ViLaM achieves state-of-the-art (SOTA) performance across the RefCOCO suite, outperforming generalist models like OFA and mPLUG-2. In keypoint detection tasks (HumanArt and AP-10K), it reached 76.10 AP on COCO validation, showcasing superior generalization over specialized architectures.

Interactive visual grounding and VQA capabilities of ViLaM.

The model's instruction-tuning allows for sophisticated human-computer interaction. As shown in Figure 4, ViLaM can accurately identify and describe objects within specific bounding boxes while maintaining conversational context. Furthermore, in the medical domain, ViLaM achieved a 93.1% AUC for foreign object detection in chest X-rays, proving its robust zero-shot capabilities. Ablation studies confirmed that the cycle training component is vital, with its removal leading to a 5-8% drop in accuracy.

Conclusion

ViLaM demonstrates that a cycle training strategy combined with multi-task joint training significantly enhances the precision and consistency of visual grounding. By treating "seeing" and "describing" as interdependent tasks, the model achieves superior performance and remarkable cross-domain generalization. Future work will focus on further refining pixel-level segmentation and reducing the computational overhead associated with cycle-consistent training loops.

Code and dataset: https://github.com/AnonymGiant/ViLaM

Summary updated

BibTeX
@misc{yang2023enhancing,
  author = {Xiaoyu Yang and Lijian Xu and Hongsheng Li and Shaoting Zhang and Zhang, Shaoting},
  title = {{Enhancing Visual Grounding and Generalization: A Multi-Task Cycle Training Approach for Vision-Language Models}},
  year = {2023},
  eprint = {2311.12327},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.12327},
}
Figure