Abstract
Immune receptor proteins play a key role in the immune system and have shown great promise as biotherapeutics. The structure of these proteins is critical for understanding their antigen binding properties. Here, we present ImmuneBuilder, a set of deep learning models trained to accurately predict the structure of antibodies (ABodyBuilder2), nanobodies (NanoBodyBuilder2) and T-Cell receptors (TCRBuilder2). We show that ImmuneBuilder generates structures with state of the art accuracy while being far faster than AlphaFold2. For example, on a benchmark of 34 recently solved antibodies, ABodyBuilder2 predicts CDR-H3 loops with an RMSD of 2.81Å, a 0.09Å improvement over AlphaFold-Multimer, while being over a hundred times faster. Similar results are also achieved for nanobodies, (NanoBodyBuilder2 predicts CDR-H3 loops with an average RMSD of 2.89Å, a 0.55Å improvement over AlphaFold2) and TCRs. By predicting an ensemble of structures, ImmuneBuilder also gives an error estimate for every residue in its final prediction.
Introduction: The Structural Challenge in Immunotherapy
Immune receptor proteins—antibodies, nanobodies, and T-cell receptors (TCRs)—are the front line of the adaptive immune system and the backbone of modern biotherapeutics. To understand how they bind to antigens, researchers require precise knowledge of their 3D structures.
While experimental methods like X-ray crystallography provide high-resolution structures, they are too slow and expensive to keep up with the explosion of sequence data from next-generation sequencing. General-purpose protein folding models like AlphaFold2 have revolutionized the field, but they are computationally intensive. Furthermore, the most critical parts of these proteins—the complementarity-determining regions (CDRs), particularly the CDR-H3 loop—are notoriously flexible and difficult to predict accurately.
The ImmuneBuilder Methodology
The authors developed three specialized models under the ImmuneBuilder umbrella: ABodyBuilder2, NanoBodyBuilder2, and TCRBuilder2. The core architecture is an immune-protein-specific adaptation of the "Structure Module" found in AlphaFold2, optimized for speed and domain-specific geometry.
Key technical highlights include:
- Geometry-First Architecture: Instead of relying on massive Multiple Sequence Alignments (MSAs), ImmuneBuilder focuses on the specific geometry of immunoglobulin domains, using Invariant Point Attention (IPA) to update residue coordinates.
- Ensemble Prediction: The system runs four independent models for every sequence, selecting the structure closest to the ensemble average as the final output.
- Error Estimation: By measuring variance between these four predictions, the model provides a per-residue error estimate, identifying high-confidence regions.
- Physics-Based Refinement: Predictions undergo a final refinement step using OpenMM with the AMBER14 force field to ensure biological plausibility and resolve steric clashes.
Results: Speed and Accuracy
ImmuneBuilder demonstrates that specialization can outperform general-purpose models. On a benchmark of 34 recently solved antibodies, ABodyBuilder2 predicted the difficult CDR-H3 loop with an average RMSD of 2.81Å, slightly outperforming AlphaFold-Multimer (2.90Å). Similar results were achieved for nanobodies, where NanoBodyBuilder2 improved upon AlphaFold2 by 0.55Å.
Crucially, ABodyBuilder2 is over 100 times faster than AlphaFold-Multimer. On a Tesla P100 GPU, it generates an antibody structure in about 5 seconds. This speed enables "structural repertoire mining" on millions of sequences that were previously only analyzed as text strings. To demonstrate this capability, the authors applied their model to ~150,000 non-redundant paired antibody sequences from the Observed Antibody Space (OAS) database.
Conclusion and Future Outlook
ImmuneBuilder provides a high-speed, high-accuracy toolset for the structural analysis of immune receptors. While the CDR-H3 loop remains a significant challenge due to its inherent flexibility, the model's ensemble-based error estimates provide a reliable "trust score" for researchers.
Future iterations may aim to capture the full conformational diversity of these flexible loops. To support the broader research community, the authors have released the code, a webserver, and a dataset of 150,000 predicted antibody structures.
Summary updated