Proteins carry out most of their functions by binding to other proteins, and finding which pairs bind is slow and expensive at the bench. The human proteome alone defines at least 200 million candidate pairs (Charih et al.). Assays such as yeast two-hybrid or co-immunoprecipitation take months per subset and produce both false positives and false negatives. Computational prediction is useful here only as a triage filter that ranks pairs so the lab tests the likely ones first. Two things limit how much bench work such a filter saves. Sequence models often score well by recognizing proteins similar to ones seen in training, and their accuracy falls toward 0.5–0.8 AUROC once test proteins share no more than 40% sequence identity with training proteins (ProteomeLM-HPI). They also return a yes or no without saying where the proteins touch, so a predicted hit still needs mutagenesis to locate the binding site.
We propose that a binary PPI classifier should be forced to justify each prediction through a small, input-dependent set of residue pairs. The proposed mechanism is a single attention distribution over all residue pairs $(i,j)$ of proteins A and B. It is normalized with α-entmax, a replacement for softmax that assigns exactly zero weight to low-scoring entries. The classifier then sees only the few pairs that remain. The core claim has two parts. First, this bottleneck makes it harder to predict from overall protein identity, which is the memorization shortcut, and so improves ranking of truly unseen proteins under realistic class imbalance. Second, the surviving pairs work as interface hypotheses, learned from cheap binary interaction labels with no 3D structures, that land on real contacts more often than dense attention maps do.
Core Claim and Mechanism
Each protein is encoded once with a frozen protein language model. ESM-2 residue embeddings $a_i$ and $b_j$ are cached, following the encode-once trick that Chen et al. used to avoid re-encoding sequences for every pair. A light trainable projection produces pair scores $s_{ij} = q(a_i)^\top k(b_j)$. One distribution over the flattened $L_A \times L_B$ score matrix is then computed:
$$p = \alpha\text{-entmax}(\mathrm{vec}(s)), \qquad h = \sum_{i,j} p_{ij}\, \phi(a_i, b_j), \qquad \hat y = \sigma(w^\top h).$$
Here $p_{ij}$ is the weight on residue pair $(i,j)$. $\phi$ is a small network on the concatenated residue embeddings, and $\hat y$ is the interaction probability. α-entmax with α between 1 (softmax) and 2 (sparsemax) finds its own threshold for each input, so the number of nonzero pairs can grow for broad interfaces and shrink for short motifs. We also learn α. For proteins of typical length, $L_A L_B$ is $10^4$–$10^6$, which fits on one GPU without special kernels. Fast entmax kernels such as AdaSplash-2 are an implementation convenience in this design, not part of the claim.
This design differs from the closest prior work in specific ways. Chen et al. apply sparsemax and fusedmax gating within each protein separately and compare whole-protein Gaussian embeddings with a Wasserstein distance. Their sparsity therefore selects residues of A and residues of B independently and never selects pairs. Fusedmax there means a variant that favors contiguous runs of selected residues. Pair-EGRET does model residue-to-residue cross-attention, but its attention is dense softmax, its inputs are 3D structure graphs, and it is trained with residue-level contact labels. ProteomeLM-HPI uses a hard, hand-set attention block between species at the whole-protein level and has no residue resolution. Our model learns exact-zero sparsity over residue pairs from sequence alone, using only binary interaction labels. Its main purpose is to test whether that bottleneck changes what the classifier can memorize.
The roles of the cited work are as follows. Charih et al. and the ProteomeLM-HPI holdout results motivate the work: they show that balanced test sets and sequence-similarity leakage inflate reported accuracy. The entmax and sparsemax literature supplies the method (Malaviya et al., Martins & Astudillo). Two papers constrain the design. KVT reports that sharpening softmax with temperature destabilized training. Liang et al. show that the exponential in softmax magnifies small score errors, which argues against truncating a dense map after training.
Research Program
The work has three parts.
Leakage-controlled data. We start from the yeast and human BioGRID pair sets used by Chen et al., Human STRING v11 as used by DCSE, and SHS27k with its DFS split, which tests on proteins absent from the training graph. We re-split each set three ways:
- a random split;
- a split where one protein of each test pair has no training homolog above 40% identity;
- a split where neither protein does.
Test negatives are drawn at ratios of 1:1, 1:10, 1:100 and 1:1000. The 1:1000 ratio approaches the up-to-3,400:1 natural ratio cited by Charih et al.
Normalizer comparison. We train the same architecture, with identical encoders, heads and tuning budgets, changing only the normalization of $p$. The variants are:
- softmax;
- tempered softmax;
- fixed top-$k$ as in KVT;
- sparsemax;
- 1.5-entmax;
- learned-α entmax.
Analysis of what the support captures. We ask whether the selected pairs track interfaces. We also ask whether they shrink the model's dependence on homology. To measure that dependence, we compare accuracy on test pairs whose proteins have close training homologs with known partners against pairs whose proteins have none.
Baselines
The naive reference point is a homology-transfer rule. It predicts that A and B interact if close sequence homologs of A and B are a known interacting pair in training. This is in the spirit of the alignment-based tools such as PIPE and SPRINT reviewed by Charih et al.. It needs no learning and directly measures how much of each benchmark is solvable by memorization. Any learned model must beat it clearly on the strict splits.
Two strongest competitors cover binary prediction.
- Mean-pooled pair MLP. Mean-pooled ESM-2 embeddings of each protein are fed to an MLP over the concatenated pair. It is cheap, and it is exactly the kind of model expected to exploit identity shortcuts.
- Sparse gated encoder of Chen et al. We reimplement it on the same frozen embeddings, keeping its intra-protein fusedmax gating and Wasserstein scoring. It is the only prior method in the file that combines sparse attention with PPI prediction. It reports AUROC 0.924±0.002 and AP 0.925±0.001 on yeast BioGRID (Chen et al.), which is our in-distribution target.
The graph setting has its own reference. On the SHS27k DFS split, SemiGNN-PPI reports F1 78.32. This is a multi-label graph task with access to network context, so we report it for orientation rather than as a like-for-like comparison.
Interface localization has a structure-supervised ceiling, not a peer. Pair-EGRET reports a median pairwise interaction-site AUROC of 0.88828 and an interface-region AUROC of 0.924 on DBD5. It is trained on structures with contact labels, so we report how much of that gap a binary-label, sequence-only model closes.
The key ablation is the dense-softmax version of our own model, with the same parameters, data and tuning budget. Fixed top-$k$ isolates whether exact zeros or adaptive support size is doing the work.
All models get the same frozen encoder, the same splits and the same number of hyperparameter trials. Results are averaged over five seeds.
We would count the proposal as successful under two conditions:
- Ranking. Entmax beats both the dense ablation and the pooled MLP on strict-split average precision at 1:100, by more than seed variation, while staying within noise of Chen et al. on random splits.
- Interfaces. Its support recovers DBD5 contacts at a higher residue-pair AUROC than the dense ablation's attention weights do.
Why not just…?
Why not just use softmax and threshold the map, or lower the temperature? Thresholding after training breaks normalization. Liang et al. show that the exponential magnifies small score differences, so a truncated dense map is not the map the classifier actually used. KVT found that temperature sharpening tends to crash training. More importantly, a dense model that relied on global identity during training keeps that reliance no matter how its map is thresholded afterward. Our claim concerns what the model can memorize while it learns. The dense and tempered-softmax arms test this directly.
Why not just use top-$k$ attention, which is simpler and cheaper? This is the most serious threat. Top-$k$ imposes the same bottleneck. If it matches entmax, the honest conclusion is that bounded support matters and adaptivity does not, and we would report that. The adaptive claim can be tested because interface sizes vary. We stratify DBD5 complexes by true interface size and expect fixed $k$ to lose precision on small interfaces and recall on large ones. If no such interaction with interface size appears, the entmax-specific claim fails.
Why not just pool language-model embeddings and train an MLP, or use a proteome-scale model? For binary accuracy on random splits, this may well tie us. ProteomeLM-HPI shows that whole-protein tokens screen entire proteomes quickly, with AUROC 0.932 on Salmonella. However, its strict-holdout scores sit at 0.5–0.8, and such models cannot point to residues. If the pooled MLP equals us on strict splits too, the remaining contribution is free interface hypotheses, a smaller but still useful result.
Why not just run AlphaFold-Multimer on candidates? Pair-by-pair structure prediction is too slow for proteome screening, as ProteomeLM-HPI notes. Pair-EGRET also reports outperforming it on antibody–antigen complexes. We position our model as the stage that decides which pairs deserve structure prediction or assays. We do not position it as a replacement for either.
Proposed Experiments
The first experiment addresses leakage. Every model and baseline is ranked by average precision on the neither-protein-seen split at 1:100 and 1:1000 imbalance. The homology-transfer rule calibrates how inflated the random split is. We expect the gap between entmax and dense attention to widen as the split becomes stricter. Similar gaps on every split would mean the bottleneck is acting as a generic regularizer rather than blocking the memorization shortcut.
The second experiment is the decisive interface test. Models trained only on binary BioGRID and STRING labels are applied to DBD5 and Dockground complexes. Any complex with more than 40% identity to a training protein is removed first. The predicted weights $p_{ij}$ are scored against true contacts, using AUROC to compare with Pair-EGRET's 0.88828 and precision among the top-ranked pairs to approximate a mutagenesis budget. If entmax supports do not enrich contacts beyond the dense ablation, the interface claim is false.
The third experiment converts results into bench cost. At 1:1000 imbalance, we report how many top-ranked pairs must be assayed to recover half of the held-out true interactions. We also report how many residue mutations per confirmed hit would be needed to reach a contact, using predicted pairs on DBD5. Throughput in pairs per second is reported alongside, without being treated as a headline claim.
The fourth experiment is a cross-species check. We train on human pairs and test on yeast, mirroring DCSE's cross-species protocol. DCSE reports 0.9602 accuracy after fine-tuning; we evaluate without fine-tuning on strict-identity yeast pairs, testing whether sparse supports transfer where identity cues cannot.
References
- Sequence-Based Protein–Protein Interaction Prediction and Its Applications in Drug Discovery
- Predicting host-pathogen interactions using a proteome-scale language model
- Interpretable Structured Learning with Sparse Gated Sequence Encoder for Protein-Protein Interaction Prediction
- AdaSplash-2: Faster Differentiable Sparse Attention
- Pair-EGRET: enhancing the prediction of protein–protein interaction sites through graph attention networks and protein language models
- Sparse and Constrained Attention for Neural Machine Translation
- From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classification
- KVT: k-NN Attention for Boosting Vision Transformers
- Beyond Linear Approximations: A Novel Pruning Approach for Attention Matrix
- DCSE:Double-Channel-Siamese-Ensemble model for protein protein interaction prediction
- SemiGNN-PPI: Self-Ensembling Multi-Graph Neural Network for Efficient and Generalizable Protein-Protein Interaction Prediction