TY - GEN
T1 - Learning Task-Specific Anatomical Priors via Context Distillation for In-Context Medical Image Segmentation
AU - Yang, Guoqing
AU - Hu, Shishuai
AU - Xia, Yong
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2027.
PY - 2027
Y1 - 2027
N2 - 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.
AB - 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.
KW - Dataset distillation
KW - In-context learning
KW - Medical image segmentation
UR - https://www.scopus.com/pages/publications/105053932121
U2 - 10.1007/978-3-032-38082-1_28
DO - 10.1007/978-3-032-38082-1_28
M3 - 会议稿件
AN - SCOPUS:105053932121
SN - 9783032380814
T3 - Lecture Notes in Computer Science
SP - 296
EP - 306
BT - Medical Image Computing and Computer Assisted Intervention – MICCAI 2026 - 29th International Conference, 2026, Proceedings
A2 - Yang, Guang
A2 - Adeli, Ehsan
A2 - de Bruijne, Marleen
A2 - de Bruijne, Marleen
A2 - Papiez, Bartlomiej W.
A2 - Speidel, Stefanie
A2 - Tiwari, Pallavi
A2 - Zheng, Guoyan
A2 - Yaqub, Mohammad
A2 - Dou, Qi
A2 - Rekik, Islem
PB - Springer Science and Business Media Deutschland GmbH
T2 - 29th International Conference on Medical Image Computing and Computer Assisted Intervention, MICCAI 2026
Y2 - 27 September 2026 through 1 October 2026
ER -