In-context learning enables multimodal large language models to classify cancer pathology images
Medical image classification requires labeled, task-specific datasets which are used to train deep learning networks de novo, or to fine-tune foundation models. However, this process is computationally and technically demanding. In language processing, in-context learning provides an alternative, where models learn from within prompts, bypassing the need for parameter updates. Yet, in-context learning remains underexplored in medical image analysis. Here, we systematically evaluate the model Generative Pretrained Transformer 4 with Vision capabilities (GPT-4V) on cancer image processing with in-context learning on three cancer histopathology tasks of high importance: Classification of tissue subtypes in colorectal cancer, colon polyp subtyping and breast tumor detection in lymph node sections. Our results show that in-context learning is sufficient to match or even outperform specialized neural networks trained for particular tasks, while only requiring a minimal number of samples. In summary, this study demonstrates that large vision language models trained on non-domain specific data can be applied out-of-the box to solve medical image-processing tasks in histopathology. This democratizes access of generalist AI models to medical experts without technical background especially for areas where annotated data is scarce.
Authors
- Dirk Jäger
- Daniel Truhn (ORCID: https://orcid.org/0000-0002-9605-0728)
- Isabella C. Wiest (ORCID: https://orcid.org/0009-0004-4848-614X)
- Srividhya Sainath (ORCID: https://orcid.org/0009-0006-6227-747X)
- Dyke Ferber (ORCID: https://orcid.org/0009-0006-6195-9276)
- Gustav Müller‐Franzes (ORCID: https://orcid.org/0000-0002-7413-2570)
- Georg Wölflein (ORCID: https://orcid.org/0000-0002-0407-7617)
- Marta Ligero (ORCID: https://orcid.org/0000-0001-9824-7316)
- Narmin Ghaffari Laleh (ORCID: https://orcid.org/0000-0003-0889-3352)
- Jakob Nikolas Kather (ORCID: https://orcid.org/0000-0002-3730-5348)
- Omar S. M. El Nahhas (ORCID: https://orcid.org/0000-0002-2542-2117)
Institutions
- University of St Andrews (GB)
- Heidelberg University (DE)
- University Hospital Heidelberg (DE)
- Fresenius (Germany) (DE)
- National Center for Tumor Diseases (DE)
- Universitätsklinikum Aachen (DE)
- University Medical Centre Mannheim (DE)
- Technische Universität Dresden (DE)
Publication Details
- Journal
- Nature Communications
- Published
- 2024-11-21
- DOI
- https://doi.org/10.1038/s41467-024-51465-9
- Citations
- 108
- Primary Topic
- AI in cancer detection
- Type
- article
- Field-Weighted Citation Impact
- 37.52
Funders
- National Institute for Health and Care Research
- Department of Health and Social Care
- European Commission
- Deutscher Akademischer Austauschdienst
- Bundesministerium für Bildung und Forschung
- Bundesministerium für Gesundheit
- Deutsche Krebshilfe
- Gemeinsame Bundesausschuss
- HORIZON EUROPE Framework Programme