Synergy of GFlowNet and Protein Language Model Makes a Diverse Antibody Designer

Mingze Yin, Hanjing Zhou, Yiheng Zhu, Jialu Wu, Wei Wu, Mingyang Li, Kun Fu, Zheng Wang, Chang-Yu Hsieh, Tingjun Hou, Jian Wu

Abstract

Designing functional and diverse antibodies is a critical challenge in therapeutic development due to the astronomical search space of protein sequences. We present PG-AbD (Protein GFlowNet-Antibody Designer), a framework that integrates Generative Flow Networks (GFlowNets) with pretrained Protein Language Models (PLMs). By employing a "Products of Experts" reward function that combines global evolutionary knowledge with local structural constraints, PG-AbD successfully discovers novel antibody candidates. Our results demonstrate that PG-AbD outperforms existing state-of-the-art methods in sequence diversity by up to 31% while maintaining high structural confidence and naturalness.

Introduction

Antibodies serve as the immune system's primary defense, binding to specific antigens through their Complementarity-Determining Regions (CDRs). The design of novel CDRs is a formidable task; for a typical 60-residue CDR, the combinatorial search space is approximately $20^{60}$. Within this vast landscape, only a minute fraction of sequences are stable, synthesizable, and effective binders.

While modern Protein Language Models (PLMs) have shown promise in generating natural-looking proteins, they often struggle with diversity, frequently clustering around known data points. In drug discovery, however, diversity is paramount. Researchers require a broad array of distinct candidates to identify those that simultaneously satisfy multiple criteria, such as affinity, stability, and low toxicity. PG-AbD addresses this by framing antibody design as a diverse sampling problem rather than a simple optimization task.

Methodology

The PG-AbD framework introduces several core innovations to navigate the antibody design landscape:

1. GFlowNet Exploration

Unlike standard Reinforcement Learning, which typically converges on a single optimal solution, GFlowNets are designed to sample diverse candidates with probabilities proportional to a given reward function. This allows the model to explore multiple high-reward peaks in the sequence space simultaneously.

2. Products of Experts (PoE) Reward

The guidance for the GFlowNet comes from a "Products of Experts" reward function. This function synthesizes two distinct types of biological knowledge:

  • Global Expert: A pretrained PLM (ProGen2) that captures general protein "naturalness" and evolutionary patterns.
  • Local Expert: A Potts Model specifically trained to capture the co-dependencies and constraints unique to antibody domains.
The Products of Experts (PoE) reward function integrates global evolutionary knowledge from PLMs with local antibody-specific constraints.

3. Joint Training and FiLM Integration

The GFlowNet and the PoE reward are trained in tandem. The GFlowNet generates "negative samples" to refine the PoE via contrastive divergence, while the refined PoE provides increasingly accurate feedback to the GFlowNet. To enable target-specific design, a Feature-wise Linear Modulation (FiLM) module incorporates template sequences into the policy network, guiding the generation toward desired antigen targets.

Experimental Evaluation

PG-AbD was evaluated on primary benchmarks including RabDab for antigen-specific design and SabDab for CDR optimization. The model demonstrated a 13.5% improvement in diversity on RabDab and a 31.1% improvement on SabDab compared to baselines like refine-GNN.

Structural Stability and Confidence

To validate the physical viability of the generated sequences, we utilized AlphaFold-Multimer as an external oracle. The generated antibody-antigen complexes achieved an average pLDDT of 85.68 and a maximum of 91.59. These high scores indicate that the sequences are not merely plausible strings but are highly likely to fold into stable, functional 3D structures.

Comparison of structural confidence (pLDDT) scores across different design frameworks, highlighting PG-AbD's performance.

Conclusion

PG-AbD represents a significant step forward in computational antibody design by prioritizing diversity alongside functionality. By amortizing the cost of complex search processes into a generative pass, the framework offers an efficient and robust method for discovering novel therapeutic candidates. Future work will focus on multi-objective optimization to simultaneously address solubility, immunogenicity, and binding affinity, followed by experimental wet-lab validation.

Summary updated

BibTeX
@inproceedings{yin2025synergy,
  author = {Mingze Yin and Hanjing Zhou and Yiheng Zhu and Jialu Wu and Wei Wu and Mingyang Li and Kun Fu and Zheng Wang and Chang-Yu Hsieh and Tingjun Hou and Jian Wu},
  title = {{Synergy of GFlowNet and Protein Language Model Makes a Diverse Antibody Designer}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34370},
}
Figure