# HLAIIPred: cross-attention mechanism for modeling the interaction of HLA class II molecules with peptides

**Authors:** Mojtaba Haghighatlari, Nicholas Marze, Robert Seward, Andrew Ciarla, Rachel Hindin, Jennifer Calderini, Benjamin Keenan, Santosh Dhule, Sarah Hall-Swan, Timothy P. Hickling, Eric Bennett, Brajesh Rai, Sophie Tourdot

PMC · DOI: 10.1038/s42003-025-08500-2 · Communications Biology · 2025-07-30

## TL;DR

HLAIIPred is a deep learning model that predicts how HLA class II molecules interact with peptides, improving predictions for immunogenicity and cancer immunotherapy.

## Contribution

HLAIIPred introduces a cross-attention Transformer-based model for HLA class II peptide prediction with improved accuracy and insights into core peptide residues.

## Key findings

- HLAIIPred outperforms existing models with a 16% increase in predicting peptides presented by less frequent alleles.
- The model identifies core peptide residues involved in HLAII interactions and improves immunogenicity prediction for therapeutic antibodies.
- HLAIIPred prioritizes neoantigens for cancer immunotherapy with high accuracy.

## Abstract

We introduce HLAIIPred, a deep learning model to predict peptides presented by class II human leukocyte antigens (HLAII) on the surface of antigen presenting cells. HLAIIPred is trained using a Transformer-based neural network and a dataset comprising of HLAII-presented peptides identified by mass spectrometry. In addition to predicting peptide presentation, the model can also provide important insights into peptide-HLAII interactions by identifying core peptide residues that form such interactions. We evaluate the performance of HLAIIPred on three different tasks, peptide presentation in monoallelic samples, immunogenicity prediction of therapeutic antibodies, and neoantigen prioritization for cancer immunotherapy. Additionally, we created a dataset of biotherapeutics HLAII peptides presented by human dendritic cells. This data is used to develop screening strategies to predict the unwanted immunogenic segments of therapeutic antibodies by HLAII presentation models. HLAIIPred demonstrates superior or equivalent performance when compared to the latest models across all evaluated benchmark datasets. We achieve a 16% increase in prediction of presented peptides compared to the second-best model on a set of unseen peptides presented by less frequent alleles. The model improves clinical immunogenicity prediction, identifies epitopes in therapeutic antibodies and prioritize neoantigens with high accuracy.

HLAIIPred is an end-to-end, context-free deep learning model that predicts peptide-HLAII presentation using only sequence and allele input. It outperforms existing models, predicts core residues, and identifies immunogenic hotspots in antibodies.

## Linked entities

- **Species:** Homo sapiens (taxon 9606)

## Full-text entities

- **Genes:** CMPK1 (cytidine/uridine monophosphate kinase 1) [NCBI Gene 51727] {aka CK, CMK, CMPK, UMK, UMP-CMPK, UMPK}, IGH (immunoglobulin heavy locus) [NCBI Gene 3492] {aka IGD1, IGH.1@, IGH@, IGHD@, IGHDY1, IGHJ}, HLA-C (major histocompatibility complex, class I, C) [NCBI Gene 3107] {aka D6S204, HLA-JY3, HLAC, HLC-C, MHC, PSORS1}, CD4 (CD4 molecule) [NCBI Gene 920] {aka CD4mut, IMD79, Leu-3, OKT4D, T4}, HLA-DPB1 (major histocompatibility complex, class II, DP beta 1) [NCBI Gene 3115] {aka DPB1, HLA-DP, HLA-DP1B, HLA-DPB}, HLA-DRB1 (major histocompatibility complex, class II, DR beta 1) [NCBI Gene 3123] {aka DRB1, HLA-DR1B, HLA-DRB, SS1}, SRPRA (SRP receptor subunit alpha) [NCBI Gene 6734] {aka DP, SRPR, Sralpha}, HLA-A (major histocompatibility complex, class I, A) [NCBI Gene 3105] {aka HLAA}, IGKV@ (immunoglobulin kappa variable cluster) [NCBI Gene 3519] {aka IGKV, IGKV1, IGKV1@, IGKV2, IGKV2@, IGKV3}, IGLV@ (immunoglobulin lambda variable cluster) [NCBI Gene 3546] {aka IGLV}, IGK (immunoglobulin kappa locus) [NCBI Gene 50802] {aka IGK@}, IGL (immunoglobulin lambda locus) [NCBI Gene 3535] {aka IGL@}
- **Diseases:** ADA (MESH:D016736), DR (MESH:D004370), autoimmune disorders (MESH:D001327), infectious diseases (MESH:D003141), cancer (MESH:D009369), melanoma (MESH:D008545)
- **Chemicals:** Bococizumab (MESH:C000598888), ADA (-), AA (MESH:D000596)
- **Species:** Homo sapiens (human, species) [taxon 9606]
- **Mutations:** 1 A-C

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12310933/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12310933/full.md

## References

9 references — full list in the complete paper: https://tomesphere.com/paper/PMC12310933/full.md

---
Source: https://tomesphere.com/paper/PMC12310933