TL;DR
Feeding structured text from specialist vision models (like object detectors and OCR) into Multimodal Large Language Models (MLLMs) significantly boosts fine-grained perception, but relying on training-free prompting often introduces noisy visual clutter. This paper shows that a single epoch of parameter-efficient fine-tuning (LoRA) enables MLLMs to parse structured detection text, discard detector noise, and balance visual encoder tokens with external text—outperforming training-free infusion by up to 6.71% across 10 benchmarks while keeping detection models modular and swappable.
What Problem Does This Paper Address?
While general-purpose MLLMs (such as LLaVA) excel at high-level scene reasoning, they notoriously stumble on fine-grained visual details: miscounting objects, missing occluded items, or hallucinating scene text. To overcome this, many practitioners adopt a hybrid strategy: run off-the-shelf object detectors (OD) or OCR systems, convert their outputs into textual descriptions (e.g., coordinates and labels), and inject them directly into the LLM prompt.
However, almost all existing implementations use this method in a training-free manner. Raw MLLMs are rarely conditioned on coordinate strings and often get confused by false positives or irrelevant bounding boxes. This work addresses the question: How does adaptive training change the way MLLMs ingest and utilize structured textual detection information, and what is the optimal training recipe?
Methods
The authors evaluate three integration strategies using LLaVA-1.5 (and validate on Qwen-VL and LLaVA-NeXT):
- Textual Detection Representation: Rather than dumping verbose raw bounding box corners ($x_1, y_1, x_2, y_2$), the authors compress detections to normalized central coordinates $(x_c, y_c)$ and group identical classes together (e.g.,
"2 people:{[0.25, 0.12], [0.11, 0.43]}"). OCR outputs are represented as text strings paired with center points. - Training-Free Infusion (TFI): Detection strings are prepended to the prompt at inference with zero parameter updates.
- Retraining-Based Infusion (RBI): The MLLM is retrained from scratch (pretraining the vision-language projector, then instruction-tuning the LLM with LoRA) with detection text continually fed during all stages.
- Fine-Tuning-Based Infusion (FTBI): Starting with a fully trained MLLM, the vision encoder and vision-language projector are frozen. Low-Rank Adaptation (LoRA) modules are added to the LLM backbone and trained for a single epoch on instruction data while infusing detection text.
Image ──► Vision Encoder (CLIP-ViT) ──► MLP Projector ──┐
▼
Text Question ──────────────────────────────────────────► Backbone LLM ──► Response
▲
Image ──► OD / OCR (DINO / PaddleOCR) ──► Text Formatter ┘
Datasets
- Training: LLaVA-1.5’s visual instruction tuning dataset (~665K conversational and visual instruction samples encompassing subsets of VQAv2, GQA, OKVQA, TextCaps, RefCOCO, and Visual Genome).
- Core Evaluation (10 Benchmarks): VQAv2, TextVQA, POPE (hallucination evaluation), MMBench, MMBench-Chinese, SEED-Bench, MM-Vet, and MME (Cognition and Perception).
- GQA* (Modified GQA): The standard GQA benchmark strictly penalizes valid synonyms (e.g., answering "ramp" instead of "pavement"). The authors filtered GQA to a 5,677-question subset containing only unambiguous binary (yes/no) and explicit multi-choice ("A or B") questions.
- Additional Benchmarks: Evaluated on DocVQA, InfographicVQA, and the VALSE linguistic grounding benchmark.
Key Insights and Ideas
- Retraining causes "ViT feature amnesia": Retraining from scratch (RBI) forces the model to over-rely on textual hints. When evaluated without detection text during inference, RBI performance collapsed relative to standard LLaVA-1.5. The model unlearned how to parse raw vision tokens from the image encoder.
- Lightweight fine-tuning (FTBI) acts as a denoiser: Fine-tuning an already capable MLLM for one epoch teaches the LLM the syntax of coordinate data and allows it to discard irrelevant detector noise without sacrificing its native visual representations. Without detection text at test time, FTBI retains full baseline performance.
- Detector interchangeability is preserved: Because FTBI adapts the LLM to the format of spatial text rather than a specific weight-level feature space, detectors can be hot-swapped. Swapping closed-set DINO (80 classes) for open-set Grounding DINO allowed open-vocabulary queries while maintaining the denoising benefits learned during fine-tuning.
- More detection categories $\neq$ better performance: Replacing DINO with Co-DETR-LVIS (1,203 categories) hurt performance across all 10 benchmarks. Too many detected objects flooded the context with low-relevance clutter, demonstrating that detector precision and brevity matter more than vocabulary size.
Key Results
- FTBI vs. Training-Free (TFI): FTBI-13B surpassed TFI-13B by 6.71% on average across all 10 benchmarks. FTBI-7B achieved a 3.99% improvement over base LLaVA-1.5-7B.
- Hallucination and Reading Gains: On the POPE benchmark (measuring object hallucination), FTBI-7B reached 88.9% (vs. 85.9% baseline). On MME-Cognition (heavy on OCR and document reasoning), FTBI jumped to 397.9 vs. 355.7 baseline.
- Document VQA: On DocVQA, deploying OCR boosted LLaVA-1.5-13B from 20.6 to 35.5 (TFI) and up to 38.5 with FTBI.
- Inference & Compression Efficiency: Compact coordinate formatting cut OCR prompt lengths significantly, reducing inference latency by 9% for object detection and 58% for OCR compared to full bounding box representations.
Limitations and Future Work
- Inference Latency & Memory Overhead: Running auxiliary models adds compute overhead: DINO accounted for ~38% and PaddleOCRv2 for ~25% of total inference time, alongside an additional ~4 GB of GPU memory usage per device.
- Open-Set Noise Sensitivity: Open-set detectors like Grounding DINO still suffer from lower overall precision, introducing false positives that degrade performance compared to tuned closed-set models.
- Dataset Scaling: The authors utilized only the standard LLaVA instruction set (~116K detection-oriented samples). Future work could explore scaling synthetic instruction datasets specifically optimized for spatial filtering and reasoning over auxiliary perception tokens.
Summary updated