Location-Aware Fine-Grained Representation Learning for Medical Vision Foundation Models

Myeongkyun Kang, Yanting Yang, Xiaoxiao Li
8/2/2026
cs.CV

Official code: myeongkyunkang/lofi-medg (5 stars, Python, MIT, last commit 2026-08-11). 1 more implementation below.

Abstract

Fine-grained visual representations are essential for medical image analysis, particularly when diagnostically relevant evidence is subtle and spatially localized. Modern transformer-based medical vision encoders must therefore learn patch-level representations that are both clinically meaningful and spatially consistent.

Show full abstract

Without these properties, large vision-language models (LVLMs) operate on an ambiguous visual foundation, limiting their ability to generate clinically reliable and spatially grounded responses. However, existing training strategies for medical vision encoders rarely achieve both objectives. Image-text alignment provides clinically meaningful supervision primarily at the image level, leaving the spatial localization of diagnostic evidence weakly constrained. In contrast, self-supervised learning promotes spatial consistency but lacks the semantic supervision needed to distinguish visually similar yet clinically distinct regions. To address this gap, we present LoFi, a medical vision foundation model built on location-aware fine-grained representation learning. LoFi trains a vision encoder with a lightweight large language model under grounding and grounded captioning objectives. Because these objectives require predicting location from clinical text and vice versa, spatial consistency emerges without any explicit patch-level regularization. To enable training at scale, we construct MedG, a large-scale medical grounding dataset of 4.48M image-text-box triplets curated from 84 datasets spanning 7 modalities. Across phrase grounding, visual question answering, and region-based organ classification under perturbations, LoFi consistently outperforms general-purpose and medical vision foundation models as well as state-of-the-art LVLMs. Code is available at https://github.com/myeongkyunkang/lofi-medg.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
myeongkyunkang/lofi-medgOfficial5PythonMIT2026-08-11
myeongkyunkang/lofiOfficial1–MIT2026-08-02
MIT

Location-Aware Fine-Grained Representation Learning for Medical Vision Foundation Models

52PythonJul 28, 20263 months agoMIT
MIT

MICCAI2026. "LoFi: Location-Aware Fine-Grained Representation Learning for Chest X-ray"

10Jun 16, 20264 months agoMIT

Similar Papers

Cite this paper

@article{kang2026locationaware,
  title  = {Location-Aware Fine-Grained Representation Learning for Medical Vision Foundation Models},
  author = {Myeongkyun Kang and Yanting Yang and Xiaoxiao Li},
  year   = {2026},
  eprint = {2608.00976},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.00976v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.00976.svg)](https://codeofpaper.com/paper/2608.00976)

Discussion