Recent advancements in medical image analysis have led to the development of highly specialized models tailored to specific clinical tasks. These models have demonstrated exceptional performance and remain a crucial research direction. Yet, their applicability is limited to predefined tasks, requiring expertise and extensive resources for development and adaptation. In contrast, generalist models offer a different form of utility: allowing medical practitioners to define tasks on the fly without the need for task-specific model development. In this work, we explore how to train generalist models for the domain of retinal optical coherence tomography using visual in-context learning (VICL), i.e., training models to generalize across tasks based on a few examples provided at inference time. To facilitate rigorous assessment, we propose a broad evaluation protocol tailored to VICL in OCT. We extensively evaluate a state-of-the-art medical VICL approach on multiple retinal OCT datasets, establishing a first baseline to highlight the potential and current limitations of in-context learning for OCT. To foster further research and practical adoption, we openly release our code (https://github.com/negralessio/thesis-visual-in-context-learning both authors contributed equally to this work).
| Related KIT institution | Institute for Anthropomatics and Robotics (IAR) |
|---|---|
| Language | English |
| KITopen ID | 1000190310 |
| Publisher | Springer Nature Switzerland |
| ISBN of the conference proceedings | 978-3-032-13961-0 |
| Series | Lecture Notes in Computer Science (16318) ISSNs: 0302-9743, 1611-3349 |
| Event | 1st Efficient Medical Artificial Intelligence, Daejeon, South Korea, Sep 23, 2025 |
| Referenced in | Scopus Dimensions OpenAlex |
| Sustainable Development Goals (SDGs) |