CoMeT: A foundation model for medical image analysis through federated, multidimensional context integration
Organizations: Fraunhofer Institute for Digital Medicine MEVIS · Institute for Experimental Molecular Imaging, RWTH Aachen University, Aachen, Germany · Institute of Diagnostic and Interventional Radiology, Medizinische Hochschule Hannover, Hannover, Germany · Department of Pathology, Massachusetts General Hospital and Harvard Medical School, Boston, MA, USA · Institute of Medical Informatics, Charité – Universitätsmedizin Berlin, corporate member of Freie Universität Berlin und Humboldt-Universität zu Berlin, Berlin, Germany · Institute of Pathology, Charité – Universitätsmedizin Berlin, corporate member of Freie Universität Berlin und Humboldt-Universität zu Berlin, Berlin, Germany · Dr. Senckenberg Institutes of Pathology, Neuropathology and Human Genetics, Goethe University Frankfurt and University Medical Center Frankfurt, Frankfurt am Main, Germany · Department of Diagnostic and Interventional Radiology, Tübingen University Hospital, Tübingen, Germany · Digital & Automation, Siemens Healthineers AG, Forchheim, Germany · Research & Clinical Translation for Magnetic Resonance, Siemens Healthineers AG, Erlangen, Germany · Department of Radiology, University Hospital Erlangen and Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany · Medical Centre for Information and Communication Technology, University Hospital Erlangen, Erlangen, Germany · Imaging Science Institute, Uniklinik Erlangen, Erlangen, Germany · Fraunhofer Institute for Toxicology and Experimental Medicine ITEM, Hannover, Germany
Abstract
Medical foundation models improve generalization when training AI models with limited labeled data, but remain confined to a single specialty, such as pathology or radiology, and to either sparse or dense outputs, such as classification or segmentation. Here, we present CoMeT (Co-representation Multidimensional Multitask Medical Transformer), a medical vision foundation model that unifies pathology and radiology, sparse and dense predictions, and two- and higher-dimensional inputs by modeling multidimensional context with attention. CoMeT outperformed other medical foundation models in an open competition spanning five tomographic, four whole-specimen, and three two-dimensional datasets, covering sparse and dense prediction tasks as well as report generation. When adapted across diverse clinical applications, training fewer than 2.5% of parameters achieved performance comparable to full fine-tuning, enabling research without access to high-performance GPU clusters. Applied to federated learning across hospitals, this approach achieved performance comparable to pooled-data training over internet connections and with consumer-grade hardware.
Figures & tables
| CoM³eT Variant | Vision backbone | #Parameters transformer | Dimensionality | |||
|---|---|---|---|---|---|---|
| Variant | #Parameters | Image T. | Pyramid T. | Patch token | Hyperpixel token | |
| Tiny | Swin-T | 27,582,570 | 1,054,208 | 529,120 | 256 | 32 |
| UNICORN | Swin-B | 86,905,848 | 4,205,568 | 2,105,472 | 512 | 32 |
| FL | Swin-B | 86,905,848 | 4,205,568 | 2,105,472 | 512 | 64 |
| Base | Swin-B | 86,905,848 | 4,205,568 | 2,105,472 | 512 | 64 |
| Large | Swin-L | 195,220,980 | 16,799,744 | 8,403,904 | 1024 | 128 |