Adaptive immune profiling: classifying repertoires
Classifying immune receptor repertoires from V/J gene usage and CDR3 sequences with batched embeddings and an n-gram kernel. Still at the EDA stage.
Abstract
The Adaptive Immune Profiling Challenge[1] asks whether a person's immune receptor repertoire reveals which class they belong to. This entry summarises each repertoire with batched CDR3 sequence embeddings and adds an n-gram kernel that predicts V/J gene usage from sequence context. It is still at the exploratory stage.
Introduction
A repertoire is a bag of receptor sequences. Each one has a V gene, a J gene, and the CDR3 region between them, where most of the variety lives. Earlier work has shown that repertoires can carry disease signatures[2] and that attention-based models can classify them[3]. The question here is whether the structure around each CDR3 is enough to separate the classes.
kaggle.comAIRR-ML-25: Adaptive Immune Profiling Challenge ↗Predict labels (e.g. disease, healthy) from sets of immune receptor sequences, and identify the sequences that explain the labels.Progress
Methodology
- Batched embeddings. Embed CDR3 sequences in batches, so a whole repertoire can be summarised without loading it into memory at once.
- N-gram kernel. A PyTorch model that predicts V/J gene usage from context windows over each sequence. If the context around a CDR3 predicts its V/J genes well, that structure might be what separates the classes.
- Classifier. Both signals feed a repertoire-level classifier.
Results and Conclusion
No model results yet. The EDA and embedding pass are done; the next step is a working n-gram processor, so the kernel can train on real data.
References
Kaggle. Adaptive Immune Profiling Challenge 2025. https://www.kaggle.com/competitions/adaptive-immune-profiling-challenge-2025 (opens in new tab) ↩︎
Emerson, R. O. et al. (2017). Immunosequencing identifies signatures of cytomegalovirus exposure history and HLA-mediated effects on the T cell repertoire. Nature Genetics, 49, 659–665. https://doi.org/10.1038/ng.3822 (opens in new tab) ↩︎
Widrich, M. et al. (2020). Modern Hopfield Networks and Attention for Immune Repertoire Classification. NeurIPS 33. arXiv:2007.13505 (opens in new tab) ↩︎
