Skip to main navigation Skip to search Skip to main content

Learning Task-Specific Anatomical Priors via Context Distillation for In-Context Medical Image Segmentation

  • Northwestern Polytechnical University Xian

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

In-context learning (ICL) has recently emerged as a promising paradigm for medical image segmentation, enabling frozen pre-trained models to adapt to new tasks using only a few labeled demonstrations (context). However, the effectiveness of ICL critically depends on the quality and representativeness of the provided context set. Redundant, noisy, or suboptimal demonstrations not only degrade segmentation accuracy but also increase computational overhead during inference. In this work, we propose Context Distillation via Masked Image Modeling (CD-MIM), a framework that reformulates context construction as a task of learning compact and task-specific anatomical priors. Instead of relying solely on raw clinical samples, we treat the context as a learnable entity and distill it into a small set of optimized templates. Through a curriculum-driven masking strategy and a meta-learning-based template optimization process, CD-MIM encourages the model to encode essential structural dependencies and cross-patient anatomical variations into condensed context. The resulting distilled context can either replace or complement raw demonstrations, reducing redundancy while improving segmentation robustness. Extensive experiments on seven medical image segmentation tasks and three representative visual in-context learning backbones demonstrate consistent performance gains and improved efficiency. Our findings suggest that explicitly learning distilled context priors provides a scalable and principled solution for stabilizing and enhancing ICL-based medical image segmentation.

Original languageEnglish
Title of host publicationMedical Image Computing and Computer Assisted Intervention – MICCAI 2026 - 29th International Conference, 2026, Proceedings
EditorsGuang Yang, Ehsan Adeli, Marleen de Bruijne, Marleen de Bruijne, Bartlomiej W. Papiez, Stefanie Speidel, Pallavi Tiwari, Guoyan Zheng, Mohammad Yaqub, Qi Dou, Islem Rekik
PublisherSpringer Science and Business Media Deutschland GmbH
Pages296-306
Number of pages11
ISBN (Print)9783032380814
DOIs
StatePublished - 2027
Event29th International Conference on Medical Image Computing and Computer Assisted Intervention, MICCAI 2026 - Strasbourg, France
Duration: 27 Sep 2026 → 1 Oct 2026

Publication series

NameLecture Notes in Computer Science
Volume16883 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference29th International Conference on Medical Image Computing and Computer Assisted Intervention, MICCAI 2026
Country/TerritoryFrance
CityStrasbourg
Period27/09/26 → 1/10/26

Keywords

  • Dataset distillation
  • In-context learning
  • Medical image segmentation

Fingerprint

Dive into the research topics of 'Learning Task-Specific Anatomical Priors via Context Distillation for In-Context Medical Image Segmentation'. Together they form a unique fingerprint.

Cite this