Macrophage signature-based prediction of cancer treatment response using MIL-attention
Matthew MadgwickiD, S WithamiD, Martina OcchettaiD, Moritz HaneklausiD, Barbara Camanzi, Michail Smyrnakis, Laura‐Jayne GardineriD
Abstract
Predicting immunotherapy response from single-cell data remains difficult due to patient-level labels, extreme class imbalance, and highly heterogeneous macrophage states. We present a Multiple Instance Learning (MIL) framework that treats each patient as a bag of macrophage embeddings derived from a single-cell RNA foundation model. The architecture incorporates an attention-based pooling mechanism with reduced model complexity, dropout-enhanced regularization and explicit attention penalties to improve stability in small-sample regimes. To address imbalanced clinical datasets, MIL outputs are optimized with a combined focal loss and supervised contrastive objective that simultaneously sharpens class boundaries and improves representation clustering. Across three cancer datasets, this approach outperforms pseudobulk aggregation, embedding baselines and standard MIL variants. Attention-weighted attribution and transcriptional regulatory analysis reveal distinct macrophage programs, interferon and antigen-presentation networks in responders versus hypoxia-linked regulatory modules in non-responders. This shows the potential of MIL to uncover predictive and mechanistically interpretable immune states.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Uncovering Predictive Gene and Cellular Signatures for Checkpoint Immunotherapy Response through Machine Learning Analysis of Immune Single-Cell RNA-seq Data
Asaf Pinhasi, Keren Yizhak·bioRxiv·Nov 16, 2024
- Small gene networks can delineate immune cell states and characterize immunotherapy response in melanoma
D. Egan, M. Kreileder, … V. Zhernovkov·bioRxiv·Jul 11, 2022
- A Multifactorial Model of T Cell Expansion and Durable Clinical Benefit in Response to a PD-L1 Inhibitor
M. D. Leiserson, V. Syrgkanis, … L. Mackey·bioRxiv·Apr 10, 2018
- Deep-learning-driven tumor microenvironment profiling improves immunotherapy response prediction
Ruohan Wang, Brooks A. Benard, … Andrew J. Gentles·bioRxiv·Oct 13, 2026
- Multi-scale modeling of macrophage - T cell interactions within the tumor microenvironment and impacts of macrophage-based immunotherapies
Colin G. Cess, Stacey D. Finley·PLoS Computational BiologyPeer-reviewed·Dec 23, 2020
- Spatial organization and stochastic fluctuations of immune cells impact clinical responsiveness to immune checkpoint inhibitors in patients with melanoma
Giuseppe Giuliani, William Stewart, … Jayajit Das·PNAS NexusPeer-reviewed·Nov 26, 2024