Back to all papers

General-purpose Medical Dense Prediction via Visual In-context Learning

November 30, 2026arxiv logopreprint

Authors

Yuntian Bo,Piotr Koniusz,Haofeng Zhang

Abstract

We explore how to make medical vision models generalizable across diverse tasks and scenarios by introducing a General-purpose Medical Dense Prediction (GMDP) task. Inspired by recent advances in in-context learning (ICL) from NLP, we propose a Generalist Registration-Aware In-context Learner (GRAIL), which leverages the spatial similarity of paired medical images to infer targets through visual context prompts. A Spatial Registration Transformer (SRT) is introduced to model the semantic deformation between images, enabling the transformation of context labels into the target. To establish a benchmark for GMDP evaluation, we also introduce Medical Generalist (MedGen), a comprehensive dataset covering five mainstream medical dense prediction tasks with over 77K labeled images, well-organized for developing GMDP algorithms. Extensive experiments demonstrate that our approach consistently surpasses existing baselines by large margins.

Topics

cs.CV

Ready to Sharpen Your Edge?

Subscribe to join 11k+ peers who rely on RadAISlice. Get the essential weekly briefing that empowers you to navigate the future of radiology.

We respect your privacy. Unsubscribe at any time.