Abstract
Highly multiplexed protein imaging is emerging as a potent technique for analyzing protein distribution within cells and tissues in their native context. However, existing cell annotation methods utilizing high-plex spatial proteomics data are resource intensive and necessitate iterative expert input, thereby constraining their scalability and practicality for extensive datasets. We introduce MAPS (Machine learning for Analysis of Proteomics in Spatial biology), a machine learning approach facilitating rapid and precise cell type identification with human-level accuracy from spatial proteomics data. Validated on multiple in-house and publicly available MIBI and CODEX datasets, MAPS outperforms current annotation techniques in terms of speed and accuracy, achieving pathologist-level precision even for typically challenging cell types, including tumor cells of immune origin. By democratizing rapidly deployable and scalable machine learning annotation, MAPS holds significant potential to expedite advances in tissue biology and disease comprehension.
Introduction
High-plex spatial proteomics techniques, such as Multiplexed Ion Beam Imaging (MIBI) and Co-detection by Indexing (CODEX), allow researchers to visualize 40–60 different protein markers simultaneously within a single tissue section. This provides an unprecedented look at the "social life" of cells in their native environment.
However, the primary bottleneck in this field is cell type annotation. Identifying specific cell types (e.g., distinguishing a T-cell from a B-cell) currently requires an iterative, labor-intensive process involving unsupervised clustering followed by manual validation by a trained pathologist. This process is slow, subjective, and fails to scale to the massive datasets generated by modern imaging. MAPS (Machine learning for Analysis of Proteomics in Spatial biology) addresses these challenges as a lightweight deep learning framework that automates cell type annotation with pathologist-level accuracy, significantly outperforming existing probabilistic and convolutional methods.
Methods
The MAPS framework shifts the focus from raw image analysis to a structured cell expression matrix. The workflow consists of three main stages:
- Input Processing: After standard denoising and segmentation, MAPS extracts a vector for each cell containing the expression levels of $N$ protein markers plus the cell’s area in pixels.
- Architecture: Unlike complex, resource-heavy Convolutional Neural Networks (CNNs) that process raw pixels, MAPS utilizes a Feed-Forward Neural Network (FFNN). It consists of four fully connected hidden layers (512 units each) with ReLU activation and dropout layers (0.25) to ensure robustness and prevent overfitting.
- Output: A softmax layer provides a probability distribution across user-defined cell classes, selecting the highest probability as the final annotation.
By focusing on extracted expression features rather than raw spatial morphology, MAPS achieves a computationally lightweight profile while maintaining high sensitivity to the proteomic signatures defining cell identity.
Datasets and Validation
The study validated MAPS across several diverse and large-scale datasets to ensure generalizability:
- cHL MIBI: Two cohorts of classic Hodgkin Lymphoma, totaling over 1.8 million cells across 13 cell types.
- cHL CODEX: Approximately 145,000 cells used to test cross-platform performance.
- CRC CODEX: A public colorectal cancer dataset (~258,000 cells) used for benchmarking against previously published results.
- DLBCL MIBI: A diffuse large B-cell lymphoma study (~338,000 cells) to test generalizability to different disease models.
Key Results and Insights
MAPS consistently achieved higher F1-scores, precision, and recall than existing probabilistic (ASTIR) and CNN-based (CellSighter) models across all tested datasets. The system achieved an average precision of 0.93 to 0.99. Notably, it excelled at identifying "tumor cells of immune origin," which are typically difficult for automated systems to distinguish from healthy immune cells.
Computational Efficiency and Scalability
MAPS is designed to be "democratized," requiring significantly less GPU memory and runtime than CNN-based competitors. Training and inference times were orders of magnitude faster than existing supervised methods. Furthermore, the model performs remarkably well even with limited training data; sampling just 5–10% of a large annotated dataset yielded performance comparable to using the full 100%. This is crucial for researchers who may only have the resources to manually annotate a small subset of their data.
Limitations and Future Work
While MAPS represents a significant advancement, it remains dependent on accurate upstream cell segmentation. Poorly defined cell boundaries lead to inaccurate expression matrices and subsequent misclassification. Additionally, like most biological machine learning models, MAPS is sensitive to batch effects between different staining protocols or imaging sites. Future iterations may explore semi-supervised or self-supervised learning to further reduce the manual burden of generating "gold standard" training data.
Summary updated