acceptodds
Published as a conference paper at NeurIPS 2026

AbFlowNet: Optimizing Antibody-Antigen Binding Energy via Diffusion-GFlowNet Fusion

Abrar Rahman Abir, Haz Sameen Shahgir, Rownok Z Ratul, Toki Tahmid, Greg Ver Steeg, Yue Dong

Abstract

Complementarity Determining Regions (CDRs) are critical segments of an antibody that facilitate binding to specific antigens. Current computational methods for CDR design rely on reconstruction losses and do not jointly optimize binding energy, a crucial metric of antibody efficacy. Rather, binding energy optimization is performed via computationally expensive Online Reinforcement Learning (RL) pipelines that rely heavily on unreliable binding-energy estimators. In this paper, we propose AbFlowNet, a novel generative framework that integrates GFlowNet with Diffusion models. By framing each diffusion step as a state in the GFlowNet framework, AbFlowNet jointly optimizes standard diffusion losses and binding energy by directly incorporating energy signals into the training process, thereby unifying diffusion and reward optimization in a single procedure. Experimental results show that AbFlowNet outperforms the base diffusion model by 3.06% in amino acid recovery, 20.40% in geometric reconstruction (RMSD), and 3.60% in binding energy improvement ratio. ABFlowNet also decreases Top-1 total energy and binding energy errors by 24.8% and 38.1%, which is competitive with AbDPO's expensive online RL optimization without pseudo-labeling the test dataset or requiring computationally expensive synthetic CDR sampling.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_5dxPOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper presents AbFlowNet, a model that combines a diffusion model with GFlownet to predict the novel antibody sequences and the three-dimensional structures. Using a small dataset of binding energies as training data, AbFlowNet predicts all six antigen-determining regions (CDRs) of a new antibody for known antigen-antibody complexes. AbFlowNet's performance is comparable to online reinforcement learning, but it requires fewer computational resources.

Strengths and weaknesses

Strengths:

AbFlownet outperforms existing models in terms of amino acid recovery (AAR), root mean square deviation (RMSD) and binding energy predictions for antigen-antibody complexes.

The development process of combining the promising GFlownet and diffusion models, and the implementation of a predictive model of antigen-antibody reactions, is explained in detail. Any problems and challenges encountered are also mentioned, which will be useful for subsequent research. The article is well written, structured clearly and is consistent throughout.

Compared to the paper with the same title submitted last year, the following improvements have been made in response to the reviewers’ comments.

  1. A comparison with IgGM, AbX, and AbNovo, which demonstrate better performance in the antibody design task, has been added.
  2. Their excellent performance was confirmed even when verified using an independent energy calculation method.

Weaknesses:

Without the constraint of limited computational resources, it would not offer better performance than existing models.

It does not support antigen-antibody complexes with unknown three-dimensional structures. Furthermore, even when the structure of the antigen-antibody complex is known, it cannot predict antibody sequences that bind to distantly located epitopes. Its contribution to drug discovery is limited. However, this topic falls outside the scope of this paper.

Although 9,410 training data points is a small number in machine learning, it is a significant amount for obtaining binding energy data from wet lab experiments. Ultimately, this model relies on unreliable functions, such as the Pyrosetta InterfaceAnalyzer. However, this is noted in the Limitations section.

The authors use AAR, RMSD, and IMP as evaluation metrics. Adding DockQ scores, which are standard in CAPRI, would strengthen the objectivity of the evaluation and improve the manuscript.

Questions

Assuming computational resource constraints were not a factor, how could AbFlowNet be scaled up? Would adopting a much larger diffusion backbone, such as AbX or AbNovo, guarantee further performance improvements?

Are the FoldX ∆G (kcal/mol) values in Table 2 of Section 6.2 the averages for the test set? Or, are they the best CDR-ranked values? If they are the best values, do all six CDRs correspond to the same target?

Limitations

Yes

Paper formatting concerns

None

Final justification

The authors have generally responded to all of the reviewers' questions. My score has not changed.

1 comment

Thank you for your positive evaluation of our work. We address your remaining concerns below.

  1. Scaling up AbFlowNet to larger diffusion backbones

Our framing of the CDR diffusion process as a GFlowNet is backbone-agnostic and can be used on any CDR denoising diffusion backbone.

AbX is the base diffusion model trained with auxiliary losses that penalize violations of physical and geometric constraints. However, it does not optimize binding energy. Therefore, combining AbFlowNet with AbX should improve energy metrics. AbNovo is an extension of AbX developed by the same team, in which Rosetta energy is optimized using Noise Contrastive Alignment, a DPO-style policy optimization strategy. Like AbDPO, AbNovo has the drawback of being fully reliant on Rosetta, whereas AbFlowNet is not. Comparing AbFlowNet-style optimization with AbNovo’s NCA-based optimization is an important direction for future work.

  1. FoldX evaluation methodology

For the FoldX comparisons, we use DiffAb and AbFlowNet to generate individual CDRs. For example, when generating H3, only H3 is masked in each test complex and regenerated. For each test complex, we generate 100 CDR candidates and select the candidate with the best FoldX score. Each cell in Table 2 reports the mean, over the test set, of the best score among the 100 generations for each test complex. The table therefore shows that AbFlowNet achieves a better mean best-of-100 FoldX score than DiffAb. We will clarify this evaluation procedure in the final manuscript.

We have also conducted a paired significance test between AbFlowNet and DiffAb using FoldX. At an equal sampling budget of 100 CDR-H3 candidates per target, AbFlowNet obtained a lower Top-1 FoldX energy on 44 of 60 test complexes of the RAbD dataset. The mean paired improvement in FoldX energy was (2.13) kcal/mol, with a 95% paired-bootstrap confidence interval of ([0.78, 3.66]) kcal/mol. The paired differences were statistically significant under a two-sided Wilcoxon signed-rank test (p=2.76×10−5p=2.76\times10^{-5}).

  1. DockQ Scores

We agree that reporting DockQ is important for providing a more comprehensive structural evaluation. We will include DockQ comparisons in the final manuscript.

Reviewer_XgQDOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes AbFlowNet, a novel framework that integrates Diffusion Models and GFlowNets for antibody CDR design. By incorporating binding-energy signals into the diffusion training process, AbFlowNet jointly optimizes sequence/structure generation and binding affinity. Compared with online RL-based methods, AbFlowNet offers higher inference efficiency, as binding-energy estimation is not required during inference, while also achieving better diversity. On benchmark evaluations, AbFlowNet demonstrates competitive performance.

Strengths and weaknesses

Strengths:

  1. Originality and Significance: The paper combines Diffusion Models and GFlowNets to address a key limitation in antibody CDR design: generative models typically optimize structural quality but do not directly optimize energy. Compared with online RL-based methods, this approach is more efficient at inference time and better preserves sample diversity.
  2. Quality: On benchmark evaluations, AbFlowNet demonstrates competitive performance while offering improved inference efficiency.
  3. Clarity: Overall, the paper is clearly written and easy to follow.

Weaknesses:

  1. The Trajectory Balance objective requires fully generating a CDR. In the authors' setup, this involves 100 neural network forward passes for each gradient update. This leads to high training cost and may make the approach difficult to scale to diffusion processes with longer inference horizons.
Questions
  1. Regarding W1, are there any theoretical or engineering strategies that could mitigate the high training cost and enable scaling to longer inference horizons?
  2. Regarding the binding-energy estimator, given that it may be unreliable, what future directions could be used to improve AbFlowNet's accuracy and robustness?
  3. Could this work include any downstream wet-lab experimental validation?
Limitations

yes

Paper formatting concerns

Not Found

Final justification

The authors have addressed my questions to a reasonable extent. I will therefore maintain my original positive score.

1 comment

Thank you for your careful and constructive review. We appreciate your recognition of our GFlowNet-diffusion integration and the efficiency and diversity gains it offers over online RL.

  1. Regarding W1, are there any theoretical or engineering strategies that could mitigate the high training cost and enable scaling to longer inference horizons?

For longer diffusion horizons, a promising direction is Subtrajectory Balance (SubTB) [1]. SubTB introduces a learned flow predictor that maps an intermediate state and timestep to a scalar state-flow estimate, allowing a valid balance loss to be defined between arbitrary points along a trajectory. Although the original motivation of SubTB was to improve convergence and stability by computing weighted losses over subtrajectories of a fully sampled trajectory, it could be adapted for efficient long-horizon training.

For future extensions of AbFlowNet, we could generate a full diffusion trajectory once, then perform separate gradient updates on short contiguous segments sampled from it. The learned flow predictor would provide the boundary flows for each segment, so each update would require only recomputing the transition probabilities within that segment, rather than the full trajectory. This would amortize the cost of generating a long trajectory over multiple updates and limit activation memory to the segment length. Gradient checkpointing could further reduce activation memory when backpropagating through several diffusion steps.

  1. Regarding the binding-energy estimator, given that it may be unreliable, what future directions could be used to improve AbFlowNet's accuracy and robustness?

Thank you for this question. A key advantage of AbFlowNet is that it requires binding-energy values only for the fixed training set. Because these values are obtained outside the training loop, they could come from experimental measurements or more accurate but computationally expensive alchemical free-energy calculations. We use SAbDab as the training set and Rosetta as the energy estimator, following the setup of prior methods such as AbX and AbDPO. Since experimental affinity annotations are unavailable for most SAbDab structures, future work could use experimentally measured affinities from resources such as AB-Bind, ANDD, PPB-Affinity, or the antibody–antigen subset of SKEMPI 2.0 [2–5].

  1. Could this work include any downstream wet-lab experimental validation?

We agree that prospective wet-lab validation would provide the strongest evidence that the improvements in computational energy translate to improved binding affinity. Unfortunately, we do not currently have wet-lab measurements available and leave this for future work.

[1] K. Madan et al. “Learning GFlowNets From Partial Episodes for Improved Convergence and Stability.” International Conference on Machine Learning, 2023.

[2] S. Sirin et al., “AB-Bind: Antibody Binding Mutational Database for Computational Affinity Predictions,” Protein Science, 2016.

[3] Y. Wu et al., “A Unified Dataset for Antibody and Nanobody Design Including Sequence, Structure, and Binding Affinity Data,” Scientific Data, 2026

[4] H. Liu et al., “PPB-Affinity: Protein-Protein Binding Affinity Dataset for AI-Based Protein Drug Discovery,” Scientific Data, 2024.

[5] J. Jankauskaitė et al., “SKEMPI 2.0: An Updated Benchmark of Changes in Protein–Protein Binding Energy, Kinetics and Thermodynamics upon Mutation,” Bioinformatics, 2019.

Reviewer_EKSaOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
2
Significance
2
Read review
Summary

This paper proposes AbFlowNet, which augments a DiffAb-style diffusion model with a GFlowNet Trajectory Balance loss for antibody CDR sequence-structure design. The goal is to inject binding-energy rewards during training while keeping standard diffusion sampling at inference.

Strengths and weaknesses

Strengths: The paper targets an important limitation of diffusion-based CDR design: standard reconstruction losses do not directly optimize binding. The proposed loss is lightweight, cheaper than online RL, and the comparison to DiffAb is reasonably controlled. The auxiliary checks on FoldX rescoring, diversity, sampling budget, and runtime are useful.

Weaknesses: The main concern is the core objective. Eq. 16 appears to place the fixed noising process qq where the forward generative policy should be; if taken literally, the denoising model pθp_\theta is not clearly encouraged to sample proportional to reward, and may even be coupled inversely to RR. Also, rewards are computed on reference training CDRs rather than generated terminal samples, so the method may be closer to reward-weighted diffusion fine-tuning than a principled GFlowNet sampler. The single global ZθZ_\theta is questionable for antigen-conditioned generation. Empirically, binding claims rely on Rosetta/FoldX proxy scores and Top-1 proxy selection, without experimental affinity validation or seed-level uncertainty. H3 improvements are weak or mixed.

Questions
  1. In Eq. 16, which transition is the GFlowNet forward policy, and why does the objective not invert the reward signal for pθp_\theta?
  2. Why is a single global ZθZ_\theta valid for conditional antibody-antigen design, rather than Zθ(C)Z_\theta(C)?
  3. How does the method compare to simple reward-weighted diffusion training?
  4. Do Rosetta/FoldX improvements correlate with experimental affinity?
  5. Are the H3 gains statistically significant across seeds or paired tests?
Limitations

The main limitations are proxy-only binding evaluation, no experimental affinity validation, no seed-level uncertainty, an approximate TB implementation, and validation on only one diffusion backbone.

Paper formatting concerns

No violation.

Final justification

The authors have resolved my implementation concern by correcting Eq. 16, specifying the loss used in the experiments, and clarifying that the previously inspected code was outdated. They also narrowed the role of the TB term to a reward-informed regularizer and limited the binding claims to computational proxy scores.

The main question that remains is whether this regularizer adds value beyond DiffAb. The matched reward-weighted diffusion comparison is promised but not reported, while the binding evidence remains proxy-based with mixed H3 results and no experimental affinity validation. Given these unresolved points, I would keep my rating at 3.

1 comment

Thank you for your thorough review and detailed comments. We address your concerns below:

  1. In Eq. 16, which transition is the GFlowNet forward policy, and why does the objective not invert the reward signal for pθp_\theta?

We thank the reviewer for spotting the typo in Eq. 16. We inadvertently interchanged the positions of pθp_\theta and qq because we mixed the diffusion convention of calling q the “forward diffusion process” with the GFlowNet notion of the forward generative policy. We clarify that pθ(St−1∣St,C)p_\theta(S_{t-1}\mid S_t, C) is the forward GFlowNet policy, corresponding to the reverse denoising diffusion trajectory, and q(St∣St−1)q(S_t\mid S_{t-1}) is the reverse policy, corresponding to forward noising. The manuscript’s earlier definitions already identify qq as the noising process and pθp_\theta as the denoising process. We will correct Eq. 16 and the surrounding notation in the final manuscript.

2. Why is a single global Z_\theta valid for conditional antibody–antigen design, rather than Zθ(C)Z_\theta(C)?

We use a single global Z_\theta instead of a conditional Zθ(C)Z_\theta(C). Since our setting is offline and each context has only one observed reward, a conditional Zθ(C)Z_\theta(C) could absorb much of the context-specific reward term RR in Eq. 16 rather than enforcing the Trajectory Balance objective.

3. How does the method compare with simple reward-weighted diffusion training?

Reward-weighted diffusion scales the loss of each training sample by that sample’s reward. This approach is conceptually simple and easy to implement, but all steps associated with a sample are assigned the same reward, which is suboptimal in terms of credit assignment. Black et al. [1] show that reward-weighted training underperforms Reinforcement Learning for diffusion models.

4. Do Rosetta/FoldX improvements correlate with experimental affinity?

The performance of Rosetta and FoldX is highly dataset-dependent. Guest et al. [2] report a Pearson correlation of approximately r=0.46r=0.46 between Rosetta REF15 scores and experimental binding free energies across 51 antibody–antigen complexes, while Sirin et al. [3] report r=0.16r=0.16 for Rosetta and r=0.34r=0.34 for FoldX on AB-Bind, a dataset of 1,101 mutations across 32 complexes. However, these methods do carry useful signals for binding affinity. Sirin et al. also find that these methods perform better as binary classifiers for distinguishing destabilizing mutations from affinity-improving candidates, with AUC values of 0.64 for Rosetta and 0.73 for FoldX.

In practical wet-lab workflows, Desautels et al. [4] explicitly optimized FoldX alongside other metrics when designing antibodies against SARS-CoV-2 Omicron, and Germinal [5] uses Rosetta to filter and rank in silico designs before laboratory synthesis.

5. Are the H3 gains statistically significant across seeds or paired tests?

Thank you for this suggestion. We have conducted a paired test between AbFlowNet and DIffAb using FoldX energy. At an equal sampling budget of 100 CDR-H3 candidates per target, AbFlowNet obtained a lower Top-1 FoldX energy on 44 of 60 test complexes of the RAbD dataset. The mean paired improvement in FoldX energy was 2.13 kcal/mol, with a 95% paired-bootstrap confidence interval of ([0.78, 3.66]) kcal/mol. The paired differences were statistically significant under a two-sided Wilcoxon signed-rank test ((p=2.76×10−5p=2.76\times10^{-5})).

[1] K. Black, M. Janner, Y. Du, I. Kostrikov, and S. Levine. “Training Diffusion Models with Reinforcement Learning.” 2023.

[2] J. D. Guest et al. “An Expanded Benchmark for Antibody–Antigen Docking and Affinity Prediction Reveals Insights into Antibody Recognition Determinants.” Structure, 2021.

[3] S. Sirin, J. R. Apgar, E. M. Bennett, and A. E. Keating. “AB-Bind: Antibody Binding Mutational Database for Computational Affinity Predictions.” Protein Science, 2016.

[4] T. A. Desautels et al. “Computationally Restoring the Potency of a Clinical Antibody against Omicron.” Nature, 2024.

[5] L. S. Mille-Fragoso et al. “Efficient Generation of Epitope-Targeted De Novo Antibodies with Germinal.” bioRxiv, 2025.

[6] Zhou et al “Antigen-Specific Antibody Design via Direct Energy-based Preference Optimization.” NeurIPS 2024

Comments on the paper

1 comment
Meta-review

All reviewers agree there are values in the paper. The main concern is about the main objective used in the formulation, which the authors may wish to clarify.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.