From Training-Free to Adaptive: Empirical Insights into MLLMs' Understanding of Detection Information

Qirui Jiao, Daoyuan Chen, Yilun Huang, Yaliang Li, Ying Shen

This paper, titled "From Training-Free to Adaptive: Empirical Insights into MLLMs' Understanding of Detection Information," investigates how to best bridge the gap between the broad reasoning of Multimodal Large Language Models (MLLMs) and the precise "eyes" of specialized vision detection models.

TL;DR

Simply feeding text-based detection data (like object coordinates and OCR results) into an MLLM isn't enough; the model needs to be taught how to use it. The authors demonstrate that fine-tuning a pre-trained MLLM to handle this information yields a 6.71% performance boost over training-free methods while preserving the model's original visual reasoning capabilities.

What Problem Does This Paper Address?

While MLLMs like LLaVA are impressive, they frequently struggle with fine-grained details—miscounting objects, failing to read small text, or "hallucinating" elements that aren't there. Specialized models for Object Detection (OD) and Optical Character Recognition (OCR) are much better at these specific tasks.

A common strategy is to run these specialized models first, convert their output into text (e.g., "There is a car at [x,y]"), and feed that text into the MLLM. However, most researchers do this in a "training-free" way, assuming the MLLM will naturally understand the formatted data. The authors ask: Does the MLLM actually understand this special input, and can we improve performance by training the model to adapt to it?

Methods

The authors systematically compared three strategies for integrating textual detection information into the LLaVA-1.5 architecture:

  1. Training-free Infusion (TFI): The detection text is simply prepended to the user's prompt. No weights are changed.
  2. Retraining Based Infusion (RBI): The model is trained from scratch (initializing the MLP projector from zero) while always being fed the detection information.
  3. Fine-tuning Based Infusion (FTBI): A pre-trained MLLM is fine-tuned for a single epoch using its original instruction-following data, but with detection information now included in the input.

The architecture, shown in Figure 2, uses a modular approach where image features from a CLIP ViT and textual features from DINO (Object Detection) and PaddleOCRv2 are concatenated before entering the LLM backbone.

The three studied training strategies: TFI, RBI, and FTBI.

Datasets

  • Training: The standard LLaVA-1.5 instruction-following dataset (approx. 665K samples), which includes a mix of VQA, OCR, and object detection tasks.
  • Evaluation: 10 diverse benchmarks including VQAv2, TextVQA, POPE (for hallucinations), and MME.
  • GQA*: The authors introduced a modified version of the GQA benchmark. They filtered it to include only unambiguous "yes/no" or multiple-choice questions to ensure that evaluation scores weren't lowered by simple synonym mismatches (e.g., the model saying "pavement" when the ground truth is "sidewalk").

Key Insights and Ideas

  • Training-free is "Noisy": Without training, the MLLM often treats the extra detection text as noise. In some benchmarks, the training-free model actually performed worse than the original model because it couldn't effectively filter irrelevant information.
  • The "Retraining" Trap: Retraining from scratch (RBI) causes the model to become overly dependent on the text detection data. When the authors tested the RBI model without the detection text, its performance plummeted. It essentially "forgot" how to look at the raw image features.
  • Fine-tuning is the Sweet Spot: FTBI allows the model to learn the special format of the detection text while retaining its ability to interpret raw visual features.
  • Interchangeability: A model fine-tuned on one detector (like DINO) still sees benefits if you swap that detector for another (like Grounding DINO). This suggests the model learns the concept of using coordinate-based text rather than just memorizing one specific detector's quirks.

Key Results

The FTBI (Fine-tuning) strategy was the clear winner:

  • Performance Gain: FTBI-13B outperformed the training-free (TFI) version by 6.71% across 10 benchmarks.
  • Hallucination Reduction: Significant improvements were seen in the POPE benchmark, which specifically measures object hallucination.
  • OCR Excellence: The infusion of OCR data led to massive gains in the MME-Cognition benchmark, which involves reading text within images.

Figure 1 illustrates these successes, showing cases where the base LLaVA model fails to count sheep or read a license plate, but the FTBI model succeeds by leveraging the detection text.

Examples of LLaVA-1.5 failing where the FTBI model succeeds.

Limitations and Future Work

  • Inference Latency: Running external detection models adds significant overhead. The authors note that DINO accounts for roughly 38% of total inference time.
  • Information Overload: When using detectors with very broad ranges (like Co-DETR-LVIS, which detects 1.2K categories), the sheer volume of text can introduce too much noise, leading to a slight performance dip compared to more focused detectors.
  • Dataset Constraints: The authors suggest that expanding the variety and quality of the fine-tuning data specifically for detection-assisted tasks could further push the boundaries of MLLM accuracy.

Summary updated

Abstract

Despite the impressive capabilities of Multimodal Large Language Models (MLLMs) in integrating text and image modalities, challenges remain in accurately interpreting detailed visual elements. Vision detection models excel at recognizing fine-grained image details, prompting researchers to use them to enhance MLLMs. One effective strategy is to infuse detection information in text format, which has proven simple and effective. However, most studies utilize this method without training, leaving the potential of adaptive training largely unexplored. Adaptive training could significantly enhance MLLMs' comprehension of unique inputs while filtering out irrelevant information. This paper addresses the crucial question: How does training impact MLLMs' understanding of infused textual detection information? We systematically experiment with various representative models to evaluate the effects of training-free, retraining, and fine-tuning strategies. We also examine the influence of training on MLLMs' original abilities and the interchangeability of detection models. Our findings indicate that fine-tuning a pre-trained MLLM to incorporate textual detection information delivers superior results compared to training-free and retraining methods, improving performance by 6.71% across 10 widely recognized benchmarks. Furthermore, fine-tuning enables MLLMs to retain performance enhancements even when detection models are swapped, indicating improved understanding of formatted textual data. We release our codes to support further exploration of fusion strategies for vision detection models and the enhancement of MLLMs' fine-grained multimodal capabilities.
BibTeX
@misc{jiao2024from,
  author = {Qirui Jiao and Daoyuan Chen and Yilun Huang and Yaliang Li and Ying Shen},
  title = {{From Training-Free to Adaptive: Empirical Insights into MLLMs' Understanding of Detection Information}},
  year = {2024},
  eprint = {2401.17981},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.17981},
}
Figure