bioRxivBioinformaticsPreprint
A cross-attention transformer encoder for paired sequence data
Ceder DensiD, Kris LaukensiD, Pieter MeysmaniD, Wout BittremieuxiD
- Citations
- 1
Abstract
Transformer-based sequence encoding architectures are often limited to a single-sequence input while some tasks require a multi-sequence input. For example, the peptide-MHCII binding prediction task where the input consists of two protein sequences. Current workarounds to solve this input-type mismatch lack resemblance with the biological mechanisms behind the task. As a solution, we propose a novel cross-attention transformer encoder that creates a cross-attended embedding of both input sequences. We compare its classification performance on the peptide-MHCII binding prediction task to a baseline logistic regression model and a default transformer encoder. Finally, we make visualizations of the attention layers to show how the different models learn different patterns.
- assay: protein sequence
- research focus: sequence-to-function modeling
- approach: transformer / foundation model
- approach: contrastive learning
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
- Modeling TCR-pMHC Binding with Dual Encoders and Cross-Attention Fusion
Wenbo Wang, Cong Qi, Zhi Wei·bioRxiv·Dec 2, 2025
- Transforming the Language of Life: Transformer Neural Networks for Protein Prediction Tasks
Ananthan Nambiar, Simon Liu, … Anna Ritz·bioRxiv·Jun 15, 2020
- BERTMHC: Improves MHC-peptide class II interaction prediction with transformer and multiple instance learning
Jun Cheng, Kaïdre Bendjama, … Brandon Malone·BioinformaticsPeer-reviewed·Jun 4, 2021
- IMGT/RobustpMHC: Robust Training for class-I MHCPeptide Binding Prediction
Anjana Kushwaha, Patrice Duroux, … Σοφία Κοσσίδα·Briefings in BioinformaticsPeer-reviewed·Sep 23, 2024
- Pairwise Attention: Leveraging Mass Differences to Enhance De Novo Sequencing of Mass Spectra
Joel Lapin, Alfred Nilsson, … Lukas Käll·Journal of Proteome ResearchPeer-reviewed·Jun 2, 2025
- Peptriever: A Bi-Encoder approach for large-scale protein-peptide binding search
Roni Gurvich, Gal Markel, … Tomer Meirson·BioinformaticsPeer-reviewed·May 1, 2024