TL;DR
LoFi (Location-aware Fine-grained representation learning) is a new medical vision foundation model that achieves superior spatial grounding and semantic understanding by training a vision encoder to link clinical text directly to specific image regions. By leveraging MedG, a massive new dataset of 4.48 million image-text-box triplets, LoFi outperforms state-of-the-art medical and general-purpose models across phrase grounding, VQA, and robustness benchmarks.
What Problem Does This Paper Address?
Medical image analysis requires extreme precision. A model must not only recognize a "nodule" but also pinpoint exactly where it is. Current medical vision foundation models generally fall into two camps, both of which have flaws:
- Image-Text Aligned Models (e.g., MedSigLIP): These use coarse, image-level supervision. They understand clinical concepts but lack spatial precision, often getting "distracted" by irrelevant features like medical tubes.
- Self-Supervised Models (e.g., RadioDINO): These produce smooth, spatially consistent features but are semantically "blind"—they might struggle to distinguish a liver from a heart if their visual textures are similar.
Without a foundation that is both clinically meaningful and spatially consistent, downstream Large Vision-Language Models (LVLMs) are prone to hallucinations and ungrounded responses.
Methods
The authors propose LoFi, which bridges the gap between semantics and spatial awareness.
The Architecture
LoFi uses a standard Vision Transformer (ViT) encoder paired with a lightweight Large Language Model (Gemma-3-270M). The key is how it's trained. Instead of simple contrastive learning, LoFi uses two complementary autoregressive objectives:
- Grounding Loss ($L_g$): The model is given clinical text (e.g., "Detect the heart") and must predict the bounding box coordinates.
- Grounded Captioning Loss ($L_c$): The model is given a bounding box and must generate the corresponding clinical description.
Why it Works
By forcing the model to translate between pixels and coordinates via natural language, spatial consistency emerges naturally. The grounding task requires patches to be spatially coherent within a region, while the captioning task ensures those patches carry specific clinical meaning.
Datasets
A major contribution of this work is MedG, a large-scale medical grounding dataset.
- Scale: 4.48M image-text-box triplets curated from 84 different datasets.
- Diversity: Covers 7 modalities (CT, MRI, X-ray, Ultrasound, etc.) and 124 anatomical/lesion labels.
- Evaluation: The model was tested on specialized benchmarks like PadChest-GR (X-ray), TN5000 (Ultrasound), and SegTHOR (CT), as well as standard VQA sets like SLAKE and VQA-RAD.
Key Insights and Ideas
- Consistency is an Upstream Problem: The authors demonstrate that spatial consistency must be addressed at the vision encoder level. If the encoder provides a "noisy" foundation, instruction-tuning the LLM later cannot fully fix the lack of grounding.
- Emergent Regularization: Unlike prior methods that use explicit mathematical constraints (like total variation loss) to force spatial smoothness, LoFi achieves this purely through its location-aware training objectives.
- Semantics + Space: As shown in PCA and PaCMAP visualizations, LoFi is unique in its ability to produce features that are both spatially smooth and capable of clearly separating different organs in feature space.
Key Results
LoFi consistently sets new state-of-the-art (SOTA) marks:
- Phrase Grounding: On the SegTHOR (CT) dataset, LoFi achieved an [email protected] score of 46.0, dwarfing the medical-specific MedSigLIP (16.7) and even general-purpose DINOv3 (25.3).
- VQA: LoFi outperformed specialized medical LVLMs on the SLAKE benchmark, reaching 84.9% overall accuracy.
- Robustness: The model proved significantly more resilient to clinical perturbations—such as motion artifacts or low-dose CT noise—than self-supervised models like DINO, which rely on specific data augmentations that don't always cover real-world clinical noise.
Limitations and Future Work
- Granularity: While bounding boxes are a massive step up from image-level labels, they are still coarser than pixel-level segmentation masks. Future iterations could explore mask-based grounding.
- Computational Overhead: Training with an LLM in the loop, even a lightweight one, is more computationally intensive than traditional contrastive pre-training.
- LLM Priors: The model's performance is partially tied to the linguistic priors of the chosen lightweight LLM; exploring different backbones could yield further gains.
Summary updated