Self-iterative multiple-instance learning enables the prediction of CD4+ T cell immunogenic epitopes

Long-Chen Shen, Yumeng Zhang, Zhikang Wang, Dene R. Littler, Yan Liu, Jinhui Tang, Jamie Rossjohn, Dong‐Jun Yu, Jiangning SongNature Machine Intelligence 2025

Abstract

Accurate prediction of antigen presentation to CD4+ T cells and subsequent induction of immune response are fundamentally important for vaccine development, autoimmune disease treatment and cancer neoepitope discovery. In immunopeptidomics, single-allelic data offer high specificity but limited allele coverage, whereas multi-allelic data provide broader representation at the expense of weak labelling. Current computational approaches either overlook the abundance of multi-allelic data or suffer from label ambiguity due to inadequate modelling strategies. To address these limitations, we present ImmuScope, a weakly supervised deep learning framework that integrates major histocompatibility complex class II (MHC-II) antigen presentation, CD4+ T cell epitopes and immunogenicity assessment. ImmuScope leverages self-iterative multiple-instance learning with positive-anchor triplet loss to decipher peptide-MHC-II binding from weakly labelled multi-allelic data and high-confidence single-allelic data. The training dataset comprises over 600,000 ligands across 142 alleles. Additionally, ImmuScope enables the interpretation of MHC-II binding specificity and motif deconvolution of immunopeptidomics data. We successfully applied ImmuScope to identify melanoma neoantigens, uncovering mutation-driven variations in peptide-MHC-II binding and immunogenicity. Furthermore, we employed ImmuScope to evaluate the effects of SARS-CoV-2 epitope mutations associated with immune escape, with predictions well aligned with experimentally observed immune escape dynamics. Overall, by offering a unified solution for CD4+ T cell antigen recognition and immunogenicity assessment, ImmuScope holds substantial promise for accelerating vaccine design and advancing personalized immunotherapy.

Introduction

Predicting which protein fragments, or epitopes, will trigger an immune response from CD4+ T cells is a cornerstone of modern immunology. These epitopes are presented by Major Histocompatibility Complex class II (MHC-II) molecules, which are highly polymorphic and bind to peptides of varying lengths. Despite its importance, accurate prediction remains challenging due to the complexity of MHC-II binding and the nature of available experimental data.

Researchers typically work with two types of data: high-quality Single-Allelic (SA) data, which is specific but limited in allele coverage, and abundant Multi-Allelic (MA) data, which covers many variants but is "weakly labeled." In MA data, because a single cell expresses multiple MHC-II types, it is unclear which specific molecule a peptide bound to. ImmuScope was developed to bridge this gap by effectively combining these data types to predict antigen presentation and immunogenicity.

Overview of ImmuScope tasks and real-world applications in melanoma and SARS-CoV-2 research.

The ImmuScope Framework

ImmuScope is a weakly supervised deep learning framework designed to handle three primary tasks: CD4+ T cell epitope prediction, antigen presentation prediction with binding specificity discovery, and MHC-II epitope immunogenicity prediction. By integrating these tasks, the model mirrors the biological cascade of immune recognition.

Self-Iterative Multiple-Instance Learning

The core technical innovation of ImmuScope is its self-iterative multiple-instance learning (MIL) approach. This method treats MA data as a "bag" of potential binders. An attention mechanism estimates which specific allele in the bag is likely responsible for binding. The model then "self-boosts" by selecting high-confidence predictions to create pseudo-labels, which are used to refine the model in subsequent training rounds.

The self-iterative multiple-instance learning (MIL) framework used by ImmuScope to resolve label ambiguity in multi-allelic data.

To further distinguish binders from non-binders in noisy environments, ImmuScope employs a positive-anchor triplet loss. This metric learning approach minimizes the distance between positive peptide-MHC pairs in a feature space while maximizing the distance from known negatives.

Performance and Applications

ImmuScope was trained on a massive consolidated dataset of over 600,000 ligands covering 142 MHC-II alleles. On the CD4+ epitope benchmark, it achieved an average AUC of 0.825, significantly outperforming existing standards like NetMHCIIpan-4.3 (0.771). For immunogenicity prediction, it reached an AUC of 0.909.

Clinical and Viral Insights

The framework's utility was demonstrated through two significant real-world applications:

  1. Melanoma Neoantigens: In a melanoma patient cohort, ImmuScope successfully identified neoantigens that were experimentally confirmed to trigger immune responses, uncovering mutation-driven variations in binding.
  2. SARS-CoV-2 Immune Escape: The model evaluated mutations in the SARS-CoV-2 Omicron variant. It accurately predicted a 72.8% reduction in the immunogenicity score for a specific epitope, aligning with experimental observations of how the virus evades the immune system.

Conclusion

ImmuScope provides a unified solution for predicting CD4+ T cell antigen recognition and immunogenicity. By successfully "unmixing" complex multi-allelic data, it offers a powerful tool for motif deconvolution and vaccine design. While current iterations rely heavily on Interferon-gamma (IFN-γ) as a marker, future work aims to incorporate broader cytokine profiles and mutation-aware modeling to further advance personalized immunotherapy.

Summary updated

BibTeX
@inproceedings{shen2025self,
  author = {Long-Chen Shen and Yumeng Zhang and Zhikang Wang and Dene R. Littler and Yan Liu and Jinhui Tang and Jamie Rossjohn and Dong‐Jun Yu and Jiangning Song},
  title = {{Self-iterative multiple-instance learning enables the prediction of CD4+ T cell immunogenic epitopes}},
  booktitle = {Nature Machine Intelligence},
  year = {2025},
  doi = {10.1038/s42256-025-01073-z},
}
Figure