General-purpose Medical Dense Prediction via Visual In-context Learning
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.
- Link
- https://arxiv.org/abs/2611.41825
- Found by
- arXiv
- Authors
- Yuntian Bo, Piotr Koniusz, Haofeng Zhang
- Categories
- benchmark, evaluation, dataset
- Published
- 2026-12-01
- Last seen by the radar
- 2026-12-01
- Radar score
- 53.09 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, dataset, evaluat; Primary record: arXiv