All models

MambaAAI

A dual-view Mamba model that predicts antibody-antigen interaction from a residue-level interaction matrix.

Molecules, proteins and genomics · 1,852 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (19 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
1.2M
Operations
1,852
Framework
PyTorch
Recurrent
No
Published
2025, Biomolecules
Cited by
6 (as of 27 October 2026)
Authors
Xuan Liu
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18303
Graph hash
b42ac1177d6c914c7f3c4a45271ca62eeb0e5c8786a6e944c7316a268a8cc042
Skeleton hash
b9762f09de735a858b9623c72e90f933ef97d560b1fe9d9a3192a2908f8ccc86
Architecture hash
896703f3e26515213cf885dc47313787af81e4a4bfef5829234109f5eaf9869a
Diagram SHA-256
861a801cc19376d2fbb3e37fca4b860faed60bb337b0ec1231ef297458673478
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MambaAAI predicts whether an antibody and an antigen interact, working from their sequences, and is built on the Mamba state space architecture. The motivation is sequence length: the variable region of an antibody typically spans 200 residues, and antigens can exceed 800.

Residue representations come from ESM-2, a pre-trained protein language model, and each antibody-antigen pair is decomposed into pairwise residue interactions scored with a bilinear function, giving an interaction matrix. A dual-view Mamba encoder then splits that matrix into horizontal and vertical patches, the antibody and antigen views, and processes them with a bidirectional state space block. The embeddings are pooled and passed to a multilayer perceptron that outputs an interaction probability.

The paper trains and tests on two antibody-antigen neutralization datasets, HIV and CoV-AbDab, and reports that MambaAAI marginally outperformed existing methods in prediction accuracy. The authors also read the model's selective attention as a pointer to the residues that matter, and report that it identified critical epitope and paratope regions in SARS-CoV-2 antibody examples. In the repository, the pretrained antibody and antigen features are computed in a separate step before the model is run.

Key idea. The paper applies a dual-view Mamba encoder to a residue-level antibody-antigen interaction matrix, reading it from both the antibody and the antigen side to predict interaction.

  • mambaaai
  • antibody-antigen interaction prediction
  • aai prediction
  • bio-inspired mamba
  • antibody discovery
  • protein language model
  • state space model
  • neutralization prediction
  • paratope and epitope

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Liu_2025, title={Bio-Inspired Mamba for Antibody–Antigen Interaction Prediction}, volume={15}, ISSN={2218-273X}, url={http://dx.doi.org/10.3390/biom15060764}, DOI={10.3390/biom15060764}, number={6}, journal={Biomolecules}, publisher={MDPI AG}, author={Liu, Xuan and Fu, Haitao and Yang, Yuqing and Zhang, Jian}, year={2025}, month=May, pages={764} }