Abstract
Motivation
Accurate prediction of antibody-antigen binding affinity is essential for therapeutic antibody design. Existing methods often model the dissociation constant () and Gibbs free energy () independently, overlooking their thermodynamic relationship and complex paratope-epitope spatial interactions.
Results
We introduce Phys-AbGAT, a physics-informed multi-task graph attention network that represents the antibody-antigen interface as a spatial graph. It integrates ESM2 evolutionary embeddings with radial basis functions and employs a thermodynamically motivated auxiliary loss to encourage coupling between and . On an independent 42-complex benchmark, Phys-AbGAT achieved Pearson correlation coefficients of 0.569 for and 0.573 for . In matched-set comparisons, Phys-AbGAT achieved numerically lower RMSE and higher PCC than four baseline methods. The differences remained significant after Holm correction for MVSF-AB and PPA-Pred2, but not for AREA-AFFINITY or CSM-AB. Higher attention scores were assigned to several aromatic paratope residues, providing model-level hypotheses for structural inspection. These results support Phys-AbGAT as an interpretable multi-task geometric framework for joint prediction of two affinity-related quantities.
Availability and implementation
Code and data are available at https://github.com/cliffgao/Phys-AbGAT.
1 Introduction
Antibodies (Abs), or immunoglobulins, constitute the primary molecules of the adaptive immune system, facilitating the high-affinity recognition and neutralization of diverse pathogens (Zhou et al. 2025). In the biopharmaceutical sector, monoclonal antibodies have established a transformative therapeutic paradigm for oncological, autoimmune, and infectious pathologies (Joubbi et al. 2025). A pivotal determinant of therapeutic efficacy is the binding affinity between the antibody and its cognate antigen (Ag), typically quantified by the equilibrium dissociation constant () or the associated change in Gibbs free energy () (Bandara et al. 2025). Thermodynamically, these parameters are intrinsically coupled via:
| (#(1)) |
where is expressed in molarity, i.e. mol/L or M; mol/L is the standard-state concentration; ; and is the assay temperature in kelvin. The ratio is dimensionless, and is reported in kcal/mol. For the base-10 target, denotes after is converted to molarity. For simplicity, is denoted as throughout the remainder of this manuscript unless otherwise specified. Although experimental techniques such as Surface Plasmon Resonance (SPR) and Isothermal Titration Calorimetry (ITC) remain the gold standard methods for affinity characterization (Huang et al. 2025), these wet-lab procedures are labor-intensive, time-consuming, and resource-heavy, creating a bottleneck in high-throughput antibody screening and optimization. Consequently, there is an urgent demand for accurate computational methods to predict antibody-antigen binding affinity in silico (Yang et al. 2023).
Recent computational efforts to model antibody-antigen interactions have branched into sequence-based and structure-based methodologies. Sequence-centric approaches, such as PPA-Pred2 (Nikam et al. 2018), utilize functional classifications to estimate binding affinities across diverse protein complexes. More recently, frameworks like DG-Affinity (Yuan et al. 2023) and MVSF-AB (Li et al. 2025) have integrated sophisticated protein language models (e.g. TAPE (Rao et al. 2019), AbLang (Olsen et al. 2022), and ProteinBERT (Brandes et al. 2022)) with convolutional architectures (e.g. ConvNeXt (Liu et al. 2022)) to extract latent representations of the antibody-antigen interactions.
Compared with sequence-based methods, structure-based methods leverage the three-dimensional (3D) atomic coordinates of the complexes to capture the spatial nuances of the interaction. Tools such as CSM-AB (Myung et al. 2022) utilize graph-based signatures to model the interface and predict binding affinity (ΔG) using the Extra Trees algorithm. AREA-AFFINITY (Yang et al. 2023) utilizes interface descriptors to parameterize the binding surface.
Recently, more complex deep neural networks have been used in bioinformatics (Gao et al. 2016; 2021; Zeng et al. 2023). Graph neural networks (GNNs) have been increasingly adopted; for example, ProAffinity-GNN (Zhou et al. 2024) integrates protein language models with GNNs to predict , while ANTIPASTI (Michalewicz et al. 2024) utilizes normal mode correlation maps as inputs of a convolutional neural network to predict with high generalizability.
Despite these advancements, most existing models fail to fully encapsulate the complex spatial dependencies governing molecular recognition. Critically, contemporary predictors typically treat and as independent or interchangeable regression targets, providing no explicit inductive bias that links the two quantities through Equation (1). Consequently, independently predicted outputs may deviate from their thermodynamic relationship.
To address these deficits, we introduce Phys-AbGAT (Physics-informed Antibody-Antigen binding affinity predictor with multi-task Graph ATtention network). In this study, we present three primary methodological innovations that distinguish Phys-AbGAT from existing affinity predictors:
Multi-task learning architecture: Phys-AbGAT simultaneously predicts the dissociation constant () and Gibbs free energy (), thereby addressing the limitations of single-target affinity predictors.
Physics-informed regularization: We introduce a ratio-based auxiliary loss motivated by the thermodynamic relationship between and . This term acts as a soft inductive bias that encourages coupling between the two prediction tasks.
Synergistic feature integration: Our framework synergizes high-dimensional evolutionary embeddings from the ESM2 protein language model with geometric graph attention networks (GATv2) and Radial Basis Function (RBF) edge encodings. This configuration allows for the precise capture of both latent sequence patterns and the complex spatial topologies intrinsic to the paratope-epitope interface.
Together, these components provide an integrated and biologically motivated framework for predicting antibody-antigen binding affinity.
2 Methods
2.1 Dataset curation and preprocessing
We retrieved the complete SAbDab (Dunbar et al. 2014) repository as of 17 November 2025. Structural files were parsed in Chothia numbering format, and entries lacking explicit binding affinity () or Gibbs free energy () measurements were discarded. To support graph-based modeling, we excluded complexes consisting of a single sequence, resulting in a curated collection of antibody–antigen complexes for subsequent filtering and evaluation. For external validation, we utilized the Test42 benchmark (Guest et al. 2021), comprising 42 complexes with dual and annotations. Notably, the PDB entry “3RVW” was updated to its higher-resolution counterpart, “5VPG”, to ensure structural integrity.
2.2 Homology filtering and data partitioning
To reduce potential overlap with the independent Test42 benchmark, the SAbDab and Test42 sequences were pooled and clustered separately for the heavy, light, and antigen chains using the MMseqs2 (Hauser et al. 2016). Each complex was represented by a composite cluster signature (), with a dedicated missing-light-chain label. A SAbDab complex was removed when its signature exactly matched that of a Test42 complex. The remaining 632 complexes were randomly partitioned at a 4:1 ratio into 506 training and 126 validation complexes. The training and validation subsets were not constructed as mutually cluster-disjoint homology groups. Test42 was excluded from model development and hyperparameter selection. Detailed MMseqs2 parameters and multi-chain matching rules are provided in the Supplementary Methods, available as supplementary data at Bioinformatics online. The final data distribution is summarized in Table 1.
Table 1.
Summary of the 632-complex development set and the independent Test42 benchmark.
| Dataset | Complex | Heavy chains | Light chains | Antigen chains |
|---|---|---|---|---|
| Training | 506 | 504 | 444 | 506 |
| Validation | 126 | 124 | 109 | 126 |
| Test42 | 42 | 42 | 34 | 42 |
2.3 Graph representation of the interaction interface
The antibody-antigen interface is modeled as an undirected graph . Nodes in the graph represent individual amino acid residues from the heavy (H), light (L), and antigen (A) chains. To capture the local chemical environment of the binding site, we utilized an interface filtering strategy: a residue is included in the graph only if its atom (or for Glycine) lies within a Euclidean distance threshold of any residue on an opposing chain. In the absence of an antigen chain, a dummy graph consisting of a single zero-valued node without edges is generated. If the antigen is present but either the heavy or light chain is absent, a dummy node is inserted for the missing chain and subsequently removed by the 16.5 Å distance threshold. The graph is therefore constructed from the antigen-light or antigen-heavy interface, respectively. No sample in the training, validation, or Test42 datasets was represented by the single-node, zero-edge dummy graph. Figure 1A shows the graph representation of the interaction interface.
Figure 1.

Architectural framework of Phys-AbGAT for physics-informed affinity prediction. (A) Graph-based parameterization of the antibody-antigen interface, modeling residues as nodes and spatial proximities as edges across heavy, light and antigen chains. (B) Phys-AbGAT workflow. The model uses 1286-dimensional node features and three-dimensional raw edge attributes consisting of a scalar inter-residue and two-dimensional chain-pair tag. The distance is expanded into 16 RBF distance components and concatenated with a two-dimensional chain-pair tag to form an 18-dimensional edge descriptor. Following feature encoding and GATv2-based graph propagation, a learnable attentional aggregation and global mean pooling were concatenated and layer-normalized to obtain the graph-level representation. Multi-task predictive heads simultaneously estimate and , with a thermodynamically motivated ratio-based regularization term () used to encourage coupling between the two tasks.
2.4 Architecture of Phys-AbGAT
The architecture of Phys-AbGAT is shown in Fig. 1B. Node features: Each node is parameterized by a 1286-dimensional feature vector comprising: (i) Evolutionary embeddings (1280-D) extracted from the pretrained ESM2 language model (esm2_t33_650M_UR50D) (Lin et al. 2023); (ii) Chain identity (3-D one-hot encoded) to indicate whether the residue originates from the H, L, or A chain; and (iii) 3D Cartesian coordinates. We note that raw Cartesian coordinates are sensitive to global rotation and translation and therefore do not constitute a strictly SE(3)-invariant representation.
Edge features: For each edge , the inter-residue distance was expanded with 16 Gaussian radial basis function (RBF) components:
| (#(2)) |
where =1, …, 16, and . The RBF vector was concatenated with a two-dimensional chain-pair tag , where [1, 0] denotes an antigen-heavy chain edge, and [0,1] an antigen-light chain edge. The RBF vector and chain-pair tag were concatenated to form an 18-dimensional descriptor:
| (#(3)) |
Node features were projected to using a linear layer followed by LayerNorm and ELU, whereas the 18-dimentional edge descriptor was projected to using a single linear layer.
Graph attention propagation (GATv2): Phys-AbGAT updates node representations via layers of GATv2 (Brody et al. 2021), utilizing a dynamic attention mechanism. The dynamic attention coefficient is defined as:
| (#(4)) |
where denotes the LeakyReLU activation function, denotes the encoded edge representation obtained from the RBF-expanded inter-residue distance and edge-type features. Node update with residual connection:
| (#(5)) |
where is the attention weight assigned to the edge from node to node , is the learnable transformation applied to the neighboring node representation. denotes GraphSizeNorm, defined as , where is the number of nodes in graph containing node . denotes the exponential linear unit activation function.
Multi-level global readout: To aggregate node-level features into a graph-level embedding , we implement a dual-pooling strategy. We combined attentional aggregation, which assigns learned weights to node representations, with global mean pooling, which summarizes the graph-wide representation. Attentional aggregation () is defined:
| (#(6)) |
Global mean pooling () is defined as:
| (#(7)) |
The attentional pooling vector and global mean pooling vector were concatenated and further projected into a graph-level embedding:
| (#(8)) |
where . The final embedding is processed through parallel regression branches to simultaneously predict and .
Physics-informed multi-task loss function: Let and denote the two targets on their original scales. The targets were standardized using the training set statistics:
| (#(9)) |
The network outputs and , and the task losses were
| (#(10)) |
The predictions were inverse-transformed before calculating the auxiliary term:
| (#(11)) |
The physics-informed term
| (#(12)) |
The total training objective was
| (#(13)) |
where , and are hyperparameters, was introduced as a thermodynamically motivated auxiliary regularizer. It encourages the predicted ratio to resemble the experimental ratio.
2.5 Model training and hyperparameter optimization
Model training was executed using the AdamW optimizer with an initial learning rate . To ensure optimal convergence, we utilized the Optuna(Akiba et al. 2019) framework for automated hyperparameter optimization, selecting the final configuration based on the convergence of the objective loss function on the validation set via an early stopping strategy. The optimized parameters were determined as: learning rate , hidden dimension =64, and loss weighting coefficients =0.6 and =0.460. Further details on training and hyperparameter optimization are provided in the Supplementary Methods, available as supplementary data at Bioinformatics online.
Predictive performance was rigorously evaluated using Pearson’s correlation coefficient (PCC) to assess linear association and root mean squared error (RMSE) to quantify absolute prediction deviation. Both metrics were calculated across the experimental and predicted binding affinities. PCC and RMSE are defined as:
| (#(14)) |
| (#(15)) |
where is the number of samples, is the actual antibody-antigen affinity value ( or ) and is the predicted antibody-antigen affinity ( or are the averages of the experimental and predicted binding affinities.
2.6 Benchmarking protocols and comparative analysis
To provide a comprehensive assessment of Phys-AbGAT, we benchmarked its performance against representative sequence-based methodologies (PPA-Pred2, MVSF-AB) and structure-based frameworks (CSM-AB, AREA-AFFINITY).
Baseline predictions were obtained using the official web services or publicly released source code. PPA-Pred2 predictions were obtained from the official web services using the antigen-antibody category. MVSF-AB was run locally using the authors’ publicly available source code. CSM-AB predictions were obtained from the official webserver API, whereas AREA-AFFINITY predictions were generated using the antibody-protein antigen module. A central objective of our benchmarking protocol was to reduce known training-test overlap. For tools with accessible training repositories, such as CSM-AB and AREA-AFFINITY, we performed a stringent cross-reference check with our independent test suite, retaining only non-redundant subsets (n = 13 and n = 16, respectively) for unbiased evaluation. Conversely, certain high-profile models were excluded from the comparison to maintain the integrity of our benchmarking: DG-Affinity was omitted due to the sustained unavailability of its implementation, and ANTIPASTI was excluded as the lack of transparent training metadata precluded a definitive assessment of structural overlap.
3 Results
3.1 Predictive performance and generalization capacity
Phys-AbGAT demonstrated predictive accuracy on the independent Test42 benchmark using its multi-task geometric framework. As illustrated in Fig. 2, the model achieved moderate concordance with experimental values, yielding PCC values of 0.569 for (P-value: ) and 0.573 for P-value: ). The corresponding RMSE values were 1.193 and 1.633, respectively.
Figure 2.

Correlation analysis of predicted versus experimental binding affinities on the independent test set Test42. Scatter plots illustrating the linear relationship for (A) and (B) . The solid orange line represents the linear regression fit, with the shaded region indicating the 95% confidence interval.
The consistency observed between the validation set performance (PCC: 0.533 for ; PCC: 0.523 for ) and these independent test results suggests that the model generalizes well to unseen antibody-antigen complexes. Comprehensive performance statistics, including RMSE, are documented in Supplementary Table S1, available as supplementary data at Bioinformatics online.
3.2 Comparative benchmarking against state-of-the-art methods
Based on the uniform method overview provided in Supplementary Table S2, available as supplementary data at Bioinformatics online, we benchmarked Phys-AbGAT against sequence- and structure-based predictors.
Because the four baselines returned predictions for different targets or subsets, each comparison was restricted to complexes with paired predictions from the baseline and Phys-AbGAT (Table 2). On the 42-complex PPA-Pred2 subset, Phys-AbGAT had an RMSE/PCC of 1.633/0.573, compared with 3.071/−0.097 for PPA-Pred2. On the 38-complex MVSF-AB subset, the corresponding values were 1.605/0.598 and 2.285/−0.049. On the 13-complex CSM-AB subset, they were 1.496/0.689 and 1.931/0.388. For on the 16-complex AREA-AFFINITY subset, Phys-AbGAT had an RMSE/PCC of 1.148/0.530, compared with 1.258/0.439.
Table 2.
Matched-set comparisons of Phys-AbGAT with baseline methods on identical complexes.
| Baseline methoda | n | Baseline |
Phys-AbGAT |
||
|---|---|---|---|---|---|
| RMSE | PCC | RMSE | PCC | ||
| PPA-Pred2 | 42 | 3.071 | −0.097 | 1.633* | 0.573* |
| MVSF-ABb | 38 | 2.285 | −0.049 | 1.605* | 0.598* |
| CSM-ABc | 13 | 1.931 | 0.388 | 1.496 | 0.689 |
| AREA-AFFINITYd | 16 | 1.258 | 0.439 | 1.148 | 0.530 |
Target Type of PPA-Pred2, MVSF-AB, and CSM-AB is ; Target of AREA-AFFINITY is . Bold type indicates the numerically better value in a row. * Holm-adjusted P-value < 0.05 in a one-sided paired permutation test; exact and adjusted P-values are given in Table S3, available as supplementary data at Bioinformatics online.
Performance metrics for MVSF-AB were derived through local implementation in this study.
Evaluated on a filtered test set that excludes structural overlap with the CSM-AB training dataset.
Evaluated on a test subset excluding structural overlap with the AREA-AFFINITY training dataset.
One-sided paired permutation tests at the complex level showed significant differences after Holm correction for both metrics in the MVSF-AB and PPA-Pred2 comparisons. The AREA-AFFINITY and CSM-AB differences were not statistically significant. Because the rows contain different complexes and AREA-AFFINITY uses a different target, the values should be compared only within rows. Exact raw and adjusted P-values are reported in Supplementary Table S3, available as supplementary data at Bioinformatics online.
3.3 Contribution of protein language models
To evaluate the contribution of pretrained protein language models, we compared three backbones: ProteinBERT (Brandes et al. 2022), ProtT5 (Elnaggar et al. 2022), and ESM2 (Lin et al. 2023) on two affinity-related regression targets ( and ), using RMSE and PCC as evaluation metrics.
Table 3 shows a consistent performance ranking across both endpoints: ProteinBERT performed worst, ProtT5 provided a clear improvement, and ESM2 (this work) achieved the best results. Specifically, for prediction, ESM2 reduced RMSE from 1.447 (ProteinBERT) to 1.327 and increased PCC from 0.400 to 0.533, with ProtT5 falling in between (RMSE 1.346, PCC 0.518). A similar trend was observed for prediction. These results suggest that stronger protein language representations translate into more accurate and better-correlated affinity estimates, and that our ESM2-based model yields the best validation performance among the three evaluated backbones.
Table 3.
Impact of pretrained protein language models (PLMs) on predictive performance on the validation dataset.
| Model |
|
|
||
|---|---|---|---|---|
| RMSE↓ | PCC↑ | RMSE↓ | PCC↑ | |
| ProteinBERT | 1.447 | 0.400 | 1.962 | 0.412 |
| ProtT5 | 1.346 | 0.518 | 1.871 | 0.509 |
| ESM2 (Phys-AbGAT) | 1.327 | 0.533 | 1.827 | 0.523 |
Bold values indicate the best performance for each metric.
3.4 Ablation study
To evaluate the individual contribution of each architectural component within Phys-AbGAT, we performed a systematic ablation study across both affinity-related tasks. Table 4 summarizes the numerical contribution of the evaluated model components. The Phys-AbGAT configuration achieved the lowest RMSE and highest PCC among the evaluated variants for both tasks.
Table 4.
Systematic ablation study of the Phys-AbGAT architectural components on validation dataset.
| Variant |
|
|
||
|---|---|---|---|---|
| RMSE↓ | PCC↑ | RMSE↓ | PCC↑ | |
| w/o | 1.364 | 0.515 | 1.858 | 0.514 |
| Single-task | 1.373 | 0.470 | − a | − a |
| Single-task | −a | − a | 1.845 | 0.494 |
| w/o mean pool | 1.434 | 0.427 | 1.939 | 0.431 |
| w/o attentional pool | 1.391 | 0.480 | 1.882 | 0.487 |
| w/o chain-pair tags | 1.414 | 0.451 | 1.921 | 0.455 |
| w/o RBF edge encoding | 1.439 | 0.433 | 1.938 | 0.443 |
| with regression share | 1.406 | 0.439 | 1.906 | 0.442 |
| Phys-AbGAT | 1.327 | 0.533 | 1.827 | 0.523 |
Dash(-) indicates that the corresponding target was not predicted under the single-task setting.
Bold values indicate the best results.
On the validation set, removing changed the RMSE/PCC from 1.327/0.533 to 1.364/0.515 and the RMSE/PCC from 1.827/0.523 to 1.858/0.514. These were modest numerical differences; no inferential test was performed for these predictive metrics.
To assess thermodynamic inconsistency directly, we calculated for the 31 validation complexes with recorded experimental temperatures (Supplementary Table S4, available as supplementary data at Bioinformatics online). Phys-AbGAT had a residual MAE of 0.143 and RMSE of 0.213, whereas the model without yielded values of 0.120 and 0.183, respectively. Defining the paired difference as the full Phys-AbGAT model minus the model without , the MAE difference was 0.023 (95% CI: −0.006 to 0.055; two-sided paired-permutation P-value: 0.160), and the RMSE difference was 0.030 kcal/mol (95% CI: −0.009 to 0.065; P-value: 0.238). Neither difference was statistically significant. Thus, this post hoc analysis did not show that reduced direct thermodynamic inconsistency on this subset.
Removing the global mean pooling reduced PCC by 0.106 for and by 0.092 for . Removing attentional pooling reduced PCC by 0.053 and 0.036 for the two tasks, respectively, Excluding RBF edge encoding increased RMSE by 0.112 for and by 0.111 for . It indicates that high-dimensional geometric encodings are beneficial for capturing the non-linear spatial constraints of the paratope-epitope interface.
Notably, introducing an additional shared regression layer before the task-specific prediction heads increased RMSE and reduced PCC for both tasks, suggesting possible negative transfer from regression level parameter sharing. These results indicate that, although and are thermodynamically related, task-specific regression branches may better accommodate their distinct numerical scales.
3.5 Attention-based interface analysis
Our model achieves high interpretability through a dual-level attention mechanism that quantifies the contribution of specific residues and interactions to binding affinity. Edge importance is determined by averaging the dynamic attention weights across all GATv2 layers and heads, effectively mapping the key spatial contacts essential for complex stability. Concurrently, an attentional aggregation layer utilizes a gating network and softmax normalization to assign importance scores to individual nodes, highlighting functional hot spots such as epitope cores that drive the final affinity prediction. These normalized node and edge weights enable the 3D visualization of high-contribution regions on the antibody-antigen interface.
Interface residue composition analysis (Fig. 3) suggests divergent physicochemical signatures between the two binding partners. Antigen-side epitope residues were characterized by hydrophobic residues including Val(V) and Leu(L), together with aromatic Phe (F) accompanied by polar/positively charged residues such as Thr(T), Lys(K) and Arg(R). By contrast, antibody-side paratope residues were dominated by Trp(W), Cys(C), and Val(V). The Trp-rich profile may provide aromatic surfaces compatible with -mediated recognition.
Figure 3.

Physicochemical propensities of high-attention informative interface residues. Relative frequencies of selected interface residues on the antigen (orange) and antibody (blue) sides, grouped by physicochemical properties.
A representative structural case study of the antibody-antigen complex (PDB ID: 6BB4) underscores the interpretability of our framework. As illustrated in Fig. 4, residues and interactions prioritized by the model’s attention mechanism are highlighted, with critical interfacial edges depicted in red and high-contribution nodes indicated by increased marker size. Notably, the model identified long-range residue-level spatial associations within the 12.5–16.5 Å range. Although these distances, calculated between residue atoms (or for Glycine), exceed the conventional thresholds of primary chemical bonding, they likely encapsulate longer-range spatial associations and global geometric constraints. These distal features appear to establish the essential conformational scaffold required for high-precision paratope–epitope docking and the subsequent optimization of binding affinity.
Figure 4.

Attention mapping for PDB: 6BB4. Visualization of high-contribution interfacial residues (nodes) and residue level interactions (edges) prioritized by the attention mechanism. H, Heavy chain; L, light chain; A: antigen chain.
4 Discussion
The development of Phys-AbGAT marks a shift from purely data-driven black-box models toward physics-informed architectures in computational immunology. By synergizing ESM2-derived evolutionary insights with geometric attention mechanisms, our framework addresses the persistent challenge of accurately quantifying antibody-antigen binding affinity.
Phys-AbGAT jointly predicts and and uses a ratio-based auxiliary regularizer to couple the two tasks. Removing produced modest numerical changes in validation RMSE and PCC. However, on the 31 temperature-annotated validation complexes, the direct residual analysis did not show a significant reduction in thermodynamic inconsistency relative to the model without. The auxiliary term should therefore be interpreted as a thermodynamically motivated soft regularizer, not as a hard constraint, and the predictive differences cannot be attributed specifically to improved thermodynamic consistency.
To ensure the integrity of our benchmarking, we implemented a redundancy controlled evaluation protocol. While this resulted in smaller benchmark subsets for CSM-AB (n = 13) and AREA-AFFINITY (n = 16), this was a deliberate consequence of our stringent redundancy filtering designed to reduce known structural overlap between training and testing distributions. Restricting the CSM-AB and AREA-AFFINITY comparisons to non-overlapping subsets reduced their matched sample sizes to 13 and 16. The resulting estimates are less affected by known training–test overlap, but their uncertainty is substantial. The nonsignificant results should not be interpreted as evidence of equivalence between methods.
The interpretability of Phys-AbGAT provides a quantitative bridge between geometric deep learning and molecular biophysics. The enrichment of aromatic residues like Tryptophan in high-attention paratope regions aligns with the hot spot theory of protein interfaces. Furthermore, the Phys-AbGAT’s sensitivity to long-range contacts (12.5–16.5 Å) suggests it captures essential longer-range spatial associations and global scaffolding context that precede stable complex formation. Additional experiments using five independent random seeds showed small standard deviations across validation and Test42 metrics, suggesting that Phys-AbGAT is relatively robust to random initialization (Supplementary Table S5, available as supplementary data at Bioinformatics online).
Several limitations should be noted. First, antibody-antigen complexes with reliable structures and experimentally measured affinities remain scarce; after redundancy filtering, our training/validation sets included 506/126 complexes, and the independent Test42 set included 42 complexes. Second, Phys-AbGAT builds interface graphs from 3D coordinates and distance-based edge features, so predictions may depend on structure quality, including missing residues, loop conformations, side-chain placement, and complex conformational state. Moreover, raw Cartesian coordinates in node features are not explicitly rotation- or translation-invariant, potentially limiting geometric robustness. Third, some non-redundant benchmark subsets for structure-based baselines were small after removing structural overlap, which should temper interpretation of comparative performance. Future work should develop larger standardized affinity datasets, assess structure quality explicitly, incorporate condition metadata, including temperature, pH, buffer composition, and ionic strength, and explore distance-based, local-frame, or SE (3)-equivariant representations. Fourth, sample-specific experimental temperatures were available for only 31 of the 126 validation complexes, limiting the statistical power and generalizability of the direct thermodynamic-residual analysis. Moreover, the implemented ratio-based regularizer can be sensitive when its denominator approaches zero and did not produce a statistically detectable reduction in the direct residual on this subset. Future work should collect more complete experimental-condition metadata and evaluate direct residual-based objectives that avoid division.
In summary, Phys-AbGAT provides a physics-informed graph framework for antibody-antigen affinity prediction by combining residue-level sequence representations, interface geometry, and thermodynamic regularization. The model offers a useful and interpretable basis for future development of structure-aware antibody screening and optimization.
Supplementary Material
Acknowledgements
Jianzhao Gao and Yifei Yang gratefully acknowledge financial support from China Scholarship Council (CSC).
Contributor Information
Yifei Yang, School of Software, Nanchang University, Nanchang, Jiangxi 330047, China; Jiangxi Provincial Key Laboratory of Data Security Technology, Nanchang, Jiangxi 330031, China.
Linnan Xu, School of Mathematical Sciences, AAIS and LPMC, Nankai University, Tianjin 300071, China.
Junbiao Lu, School of Mathematical Sciences, AAIS and LPMC, Nankai University, Tianjin 300071, China.
Xiaoyan Li, Institute of Microbiology, Tianjin Centers for Disease Control and Prevention, Tianjin 300011, China; Tianjin Key Laboratory of Pathogenic Microbiology of Infectious Disease, Tianjin 300011, China; Key Laboratory of Prevention and Control of Major Diseases in the Population, Ministry of Education, Tianjin Medical University, Tianjin 300020, China.
Wei Zheng, NITFID, School of Statistics and Data Science, AAIS, LPMC and KLMDASR, Nankai University, Tianjin 300071, China.
Jianzhao Gao, School of Mathematical Sciences, AAIS and LPMC, Nankai University, Tianjin 300071, China.
Author contributions
Yifei Yang (Data curation [Equal], Formal analysis [Equal], Funding acquisition [Equal], Investigation [Equal], Methodology [Equal], Software [Equal], Validation [Equal], Visualization [Equal], Writing—original draft [Equal], Writing—review & editing [Equal]), Linnan Xu (Data curation [Supporting], Investigation [Supporting], Validation [Supporting], Writing—review & editing [Supporting]), Junbiao Lu (Data curation [Supporting], Investigation [Supporting], Validation [Supporting], Writing—review & editing [Supporting]), Xiaoyan Li (Data curation [Equal], Formal analysis [Supporting], Funding acquisition [Supporting], Investigation [Equal], Resources [Equal], Validation [Supporting], Writing—review & editing [Supporting]), Wei Zheng (Conceptualization [Equal], Data curation [Equal], Formal analysis [Equal], Funding acquisition [Equal], Investigation [Equal], Methodology [Equal], Project administration [Equal], Resources [Supporting], Supervision [Equal], Writing—review & editing [Equal]), and Jianzhao Gao (Conceptualization [Equal], Data curation [Equal], Formal analysis [Equal], Funding acquisition [Equal], Investigation [Equal], Methodology [Equal], Project administration [Equal], Resources [Lead], Software [Equal], Supervision [Equal], Validation [Equal], Visualization [Equal], Writing—original draft [Equal], Writing—review & editing [Equal])
Supplementary material
Supplementary material is available at Bioinformatics online.
Conflicts of interest
The authors declare no confilicts of interest.
Funding
This work was supported by the National Natural Science Foundation of China [No. 12571532 to J.G., 12426303 to W.Z.]; the Natural Science Foundation of Tianjin [Grant no. 24JCYBJC01570 to J.G]; the Fundamental Research Funds for the Central Universities [No. 63261127 to J.G.]; the Jiangxi Provincial Natural Science Foundation [Grant No. 20252BAC240082, 20262BAC200476 to Y.Y.]; the Jiangxi Provincial Key Laboratory of Data Security Technology [Grant No. 20242BCC32026 to Y.Y.]; the Fundamental Research Funds for the Central Universities [054–63263104 to W.Z.]; the Tianjin Science and Technology Program [25ZXZSSS00090, and 25ZXZSSS00460 to W.Z.]; Tengfei initiative by the National Key Laboratory of Intelligent Tracking and Forecasting for Infectious Diseases [2025NITFID510 and 2026NITFID510 to W.Z.]; Tianjin Science and Technology Plan Project, Central Government Guidance Funding for Local Science and Technology Development [25ZYCGSY01350 to X.L.], and the Tianjin Key Medical Discipline (Specialty) Construction Project (to X.L.).
Data availability
The code and data of Phys-AbGAT are freely available at https://github.com/cliffgao/Phys-AbGAT. Data is available at https://doi.org/10.5281/zenodo.18426407.
References
- Akiba T, Sano S, Yanase T et al. Optuna: a next-generation hyperparameter optimization framework. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. p. 2623–31. Anchorage, AK: Association for Computing Machinery; 2019.
- Bandara N, Premathilaka D, Chandanayake S et al. Deep geometric framework to predict antibody–antigen binding affinity. J Struct Biol 2025;217:108257. 10.1016/j.jsb.2025.108257 [DOI] [PubMed] [Google Scholar]
- Brandes N, Ofer D, Peleg Y et al. ProteinBERT: a universal deep-learning model of protein sequence and function. Bioinformatics 2022;38:2102–10. 10.1093/bioinformatics/btac020 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Brody S, Alon U, Yahav E. How attentive are graph attention networks? In: The International Conference on Learning Representations (ICLR). OpenReview.net, 2022. https://openreview.net/forum?id=F72ximsx7C1
- Dunbar J, Krawczyk K, Leem J et al. SAbDab: the structural antibody database. Nucleic Acids Res 2014;42:D1140–6. 10.1093/nar/gkt1043 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Elnaggar A, Heinzinger M, Dallago C et al. ProtTrans: toward understanding the language of life through self-supervised learning. IEEE Trans Pattern Anal Mach Intell 2022;44:7112–27. 10.1109/TPAMI.2021.3095381 [DOI] [PubMed] [Google Scholar]
- Gao J, Yang Y, Zhou Y. Predicting the errors of predicted local backbone angles and non-local solvent- accessibilities of proteins by deep neural networks. Bioinformatics 2016;32:3768–73. 10.1093/bioinformatics/btw549 [DOI] [PubMed] [Google Scholar]
- Gao J, Zheng S, Yao M et al. Precise estimation of residue relative solvent accessible area from Cα atom distance matrix using a deep learning method. Bioinformatics 2021;38:94–8. 10.1093/bioinformatics/btab616 [DOI] [PubMed] [Google Scholar]
- Guest JD, Vreven T, Zhou J et al. An expanded benchmark for antibody-antigen docking and affinity prediction reveals insights into antibody recognition determinants. Structure 2021;29:606–21.e5. 10.1016/j.str.2021.01.005 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hauser M, Steinegger M, Söding J. MMseqs software suite for fast and deep clustering and searching of large protein sequence sets. Bioinformatics 2016;32:1323–30. 10.1093/bioinformatics/btw006 [DOI] [PubMed] [Google Scholar]
- Huang X, Zhou J, Chen S et al. SAAINT-DB: a comprehensive structural antibody database for antibody modeling and design. Acta Pharmacol Sin 2025;46:3365–75. 10.1038/s41401-025-01608-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Joubbi S, Micheli A, Milazzo P et al. Enhancing antibody-antigen interaction prediction with atomic flexibility. PLoS Comput Biol 2025;21:e1013576. 10.1371/journal.pcbi.1013576 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li M, Shi Y, Hu S et al. MVSF-AB: accurate antibody-antigen binding affinity prediction via multi-view sequence feature learning. Bioinformatics 2025;41:btae579. 10.1093/bioinformatics/btae579 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lin Z, Akin H, Rao R et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science 2023;379:1123–30. 10.1126/science.ade2574 [DOI] [PubMed] [Google Scholar]
- Liu Z, Mao H, Wu CY et al. A convnet for the 2020s. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. Piscataway, NJ: IEEE, 2022. p. 11976–86.
- Michalewicz K, Barahona M, Bravi B. ANTIPASTI: interpretable prediction of antibody binding affinity exploiting normal modes and deep learning. Structure 2024;32:2422–34.e5. 10.1016/j.str.2024.10.001 [DOI] [PubMed] [Google Scholar]
- Myung Y, Pires DEV, Ascher DB. CSM-AB: graph-based antibody–antigen binding affinity prediction and docking scoring function. Bioinformatics 2022;38:1141–3. 10.1093/bioinformatics/btab762 [DOI] [PubMed] [Google Scholar]
- Nikam R, Yugandhar K, Michael Gromiha M. Discrimination and prediction of protein-protein binding affinity using deep learning approach. In: International Conference on Intelligent Computing(ICIC 2018). Cham, Switzerland: Springer, 2018. p. 809–15.
- Olsen TH, Moal IH, Deane CM. AbLang: an antibody language model for completing antibody sequences. Bioinform Adv 2022;2:vbac046. 10.1093/bioadv/vbac046 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rao R, Bhattacharya N, Thomas N et al. Evaluating protein transfer learning with TAPE. Adv Neural Inf Process Syst 2019;32:9689–701. [PMC free article] [PubMed] [Google Scholar]
- Yang YX, Huang JY, Wang P et al. AREA-AFFINITY: a web server for machine learning-Based prediction of protein-protein and antibody-protein antigen binding affinities. J Chem Inf Model 2023;63:3230–7. 10.1021/acs.jcim.2c01499 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yang YX, Wang P, Zhu BT. Binding affinity prediction for antibody–protein antigen complexes: a machine learning analysis based on interface and surface areas. J Mol Graph Model 2023;118:108364. 10.1016/j.jmgm.2022.108364 [DOI] [PubMed] [Google Scholar]
- Yuan Y, Chen Q, Mao J et al. Dg-Affinity: predicting antigen–antibody affinity with language models from sequences. BMC Bioinformatics 2023;24:430. 10.1186/s12859-023-05562-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zeng Y, Wei Z, Yuan Q et al. Identifying B-cell epitopes using AlphaFold2 predicted structures and pretrained language model. Bioinformatics 2023;39:btad187. 10.1093/bioinformatics/btad187 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhou Y, Liu W, Huang Z et al. A comprehensive antigen-antibody complex database unlocking insights into interaction interface. Elife 2025;14:RP104934. 10.7554/eLife.104934.3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhou Z, Yin Y, Han H et al. ProAffinity-GNN: a novel approach to structure-based protein-protein binding affinity prediction via a curated data set and graph neural networks. J Chem Inf Model 2024;64:8796–808. 10.1021/acs.jcim.4c01850 [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The code and data of Phys-AbGAT are freely available at https://github.com/cliffgao/Phys-AbGAT. Data is available at https://doi.org/10.5281/zenodo.18426407.
