NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Toward Foundation Detection Models via Example-Based Grounding in EM-DETR

Sheethal Bhat, Bogdan Georgescu, Awais Mansoor, Florin C. Ghesu, Sasa Grbic, Andreas MaierarXiv 2026

TL;DR

This paper introduces a multi-domain foundation model for medical lesion detection that overcomes the challenge of heterogeneous, non-overlapping datasets. By combining a student-teacher pseudo-labeling strategy with an example-based grounding framework (EM-DETR), the authors achieve state-of-the-art results across Chest X-Rays and mammography, demonstrating that integrating anatomical and pathological data significantly boosts detection performance and training stability.

What Problem Does This Paper Address?

Building "foundation models" for medical imaging is notoriously difficult compared to natural computer vision. In the natural domain, models like Grounding DINO benefit from massive, diverse datasets with overlapping labels. In medicine, datasets are often "silos": one might be annotated for anatomy (e.g., heart and lungs), while another focuses on specific pathologies (e.g., pneumonia or masses).

When researchers try to naively combine these datasets, they run into catastrophic forgetting—the model forgets how to detect findings from Dataset A while training on Dataset B because those labels are missing in the new data. Furthermore, medical findings are often subtle and visually similar to normal anatomy, making standard text-to-image "grounding" (linking a word like "nodule" to a box) less effective than in general photography.

Methods

The authors propose a two-pronged approach to build their foundation model, referred to as EM-FM (Exemplar Med-DETR Foundation Model).

  1. Student-Teacher Label Unification: To prevent catastrophic forgetting, they use a student-teacher strategy. They train individual "teacher" models on each specific dataset. These teachers then generate "weak" pseudo-annotations for the missing classes in the other datasets. This effectively unifies the label space across all training data, ensuring the model sees a consistent set of findings throughout training.

    Overview of the student-teacher training process
  2. Example-Based Grounding (EM-DETR): Building on their previous work, they use EM-DETR. Unlike standard detectors that rely solely on text queries, EM-DETR uses exemplar feature embeddings. It extracts visual "prototypes" from annotated regions of interest and stores them in a memory bank. During inference, the model searches for lesions by comparing image features against both the text description and these visual examples.

    Fig. 2. Overview of EM-DETR [1] detection. An exemplar feature embedding is gen- erated for each class and interleaved with the text embedding. The detection en- coder/decoder perform cross-attention between the image and interleaved embeddings, thereby training the decoder to search for classes based on their correlated text phrases as well as class-specific features.
  3. Iterative Training: The model is trained in stages. First, it learns from all available radiology datasets (CXR and Mammography). Then, it undergoes a refinement stage using a per-class background-versus-foreground dataset to sharpen its ability to distinguish lesions from normal anatomical structures.

Datasets

The study utilizes four distinct datasets across two modalities:

  • Dataset A: Private CXR dataset (15,000 images) annotated for anatomy (heart, lungs).
  • Dataset B: Private CXR dataset (16,953 images) with 16 pathological findings.
  • Dataset C (VinDR-CXR): Public CXR dataset (18,000 images) with 22 local and 6 global labels.
  • Dataset M (VinDR-Mammo): Public mammography dataset (5,000 exams) annotated for masses and calcifications.

Key Insights and Ideas

  • Anatomy as a Prior: The authors found that including anatomical annotations (like "left lung") helps the model learn better spatial priors. Knowing where a lung is makes it easier for the model to identify lung-specific abnormalities.
  • Stability through Exemplars: Purely contrastive language-image models (like Grounding DINO) can be unstable in medical settings because the "textual" difference between two different types of lung opacities is small, but their "visual" signatures are distinct. Using visual exemplars stabilizes the learning process.
  • Pseudo-labeling is Essential: Naive combination of datasets caused the classification score for pneumothorax to drop to 0.75; the student-teacher integration strategy recovered and improved this performance, proving that "filling in the blanks" of missing labels is critical for multi-domain training.

Key Results

The proposed foundation model (EM-FM) outperformed both the baseline and previous state-of-the-art (SOTA) methods:

  • Detection Accuracy: In CXR detection, EM-FM achieved an average mAP50 of 0.567, a massive leap from the baseline GDINO (0.369) and a significant improvement over the single-domain EM-DETR (0.527).
  • Classification: The model achieved image-level AUC scores exceeding previous SOTA by 1% point on four key CXR findings.
  • Mammography: The model also excelled in a different modality, reaching an mAP50 of 0.721 for mass detection, outperforming the single-dataset version by 2.2% points.
  • Convergence: The foundation model demonstrated faster and more stable training convergence compared to training from scratch, a hallmark of successful foundation models.

Limitations and Future Work

The authors noted that atelectasis remains a challenging finding. The gains here were limited due to inherent labeling ambiguity and clinical overlap with other conditions like consolidation. The model's sensitivity for atelectasis actually dropped compared to some baselines, suggesting that "noisy" ground truth in medical datasets remains a hurdle.

Future work aims to scale this approach to even more medical findings and additional imaging modalities (like CT or MRI) to further validate the generalizability of the example-based grounding approach.

Summary updated

BibTeX
@misc{bhat2026toward,
  author = {Sheethal Bhat and Bogdan Georgescu and Awais Mansoor and Florin C. Ghesu and Sasa Grbic and Andreas Maier},
  title = {{Toward Foundation Detection Models via Example-Based Grounding in EM-DETR}},
  year = {2026},
  eprint = {2611.14518},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14518},
}
Figure