AffinityFlow: Guided Flows for Antibody Affinity Maturation

Can (Sam) Chen, Karla-Luise Herpoldt, Chenchao Zhao, Zichen Wang, Marcus Collins, Shang Shang, Ron Benson · 2025

Read AffinityFlow: Guided Flows for Antibody Affinity Maturation by Can (Sam) Chen, Karla-Luise Herpoldt, Chenchao Zhao, Zichen Wang, Marcus Collins, Shang Shang, Ron Benson (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-10365.txt.

Introduction

Can Chen and co-authors automate the slow craft of improving antibodies, alternating between predicted structures and rewritten sequences, in a paper from 2025. Antibodies earn their keep by gripping a target tightly, and developers spend costly rounds mutating them to grip tighter. The authors tackle the hardest version: starting from sequences alone, with no structure given.

Their loop first grows candidate structures steered toward stronger predicted binding, then folds those shapes back into new sequences. A second predictor filters the proposals. Labeled data for both predictors is scarce, so a co-teaching module mines signal from noisy energy calculations. The framework shows how generative protein models can run a design loop that once consumed months of bench work.

Catalog record

CREATORCan (Sam) Chen, Karla-Luise Herpoldt, Chenchao Zhao, Zichen Wang, Marcus Collins, Shang Shang, Ron Benson
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE46 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-10365

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

AffinityFlow: Guided Flows for Antibody Affinity Maturation Can (Sam) Chen, Karla-Luise Herpoldt, Chenchao Zhao, Zichen Wang, Marcus Collins, Shang Shang, Ron Benson Abstract Antibodies are widely used as therapeutics, but their development requires costly affinity maturation, involving iterative mutations to enhance binding affinity. This paper explores a sequence-only scenario for affinity maturation, using solely antibody and antigen sequences. Recently AlphaFlow wraps AlphaFold within flow matching to generate diverse protein structures, enabling a sequence-conditioned generative model of structure. Building on this, we propose an alternating optimization framework that (1) fixes the sequence to guide structure generation toward high binding affinity using a structure-based affinity predictor, then (2) applies inverse folding to create sequence mutations, refined by a sequence-based affinity predictor for post selection. A key challenge is the lack of labeled data for training both predictors. To address this, we develop a co-teaching module that incorporates valuable information from noisy biophysical energies into predictor refinement. The sequence-based predictor selects consensus samples to teach the structure-based predictor, and vice versa. Our method, AffinityFlow , achieves state-of-the-art performance in affinity maturation experiments. We plan to open-source our code after acceptance. 1 Introduction Figure 1: Illustration of alternating optimization . Natural antibodies protect organisms by specifically binding to target antigens such as viruses and bacteria with high affinity ( Murphy & Weaver, 2016 ) , while therapeutic antibodies bind various targets to inactivate them, recruit immune cells to them, or deliver an attached drug compound ( Chiu & Gilliland, 2016 ) . In vivo , antibodies undergo affinity maturation, where their target-binding capacity is incrementally enhanced through somatic hypermutation and clonal selection ( Victora & Nussenzweig, 2022 ) . When developing a therapeutic antibody, in vitro affinity maturation—through targeted mutation and selection—improves the binding affinity of existing antibodies to target antigens ( Tabasinezhad et al., 2019 ; Chiu & Gilliland, 2016 ) . These in vitro methods, such as random mutagenesis, are labor-intensive and time-consuming. Recent advancements in deep learning have propelled in silico affinity maturation forward. One line of research enhances affinity prediction for mutated antibodies ( Shan et al., 2022 ; Liu et al., 2021 ; Cai et al., 2024 ; Lin et al., 2024 ; Xiong et al., 2017 ) ; another investigates mutation strategies. Specifically, protein language models propose plausible mutations to enhance binding affinities, though they lack specificity for target antigens ( Hie et al., 2024 ; Ruffolo et al., 2021 ; Shuai et al., 2021 ) . Similarly, diffusion models guide the sampling towards high-affinity antibody sequences but require the often unavailable or insufficiently accurate antigen-antibody complex structure ( Luo et al., 2022 ; Zhou et al., 2024 ) . Our research aligns more with the second line of mutation strategies. In particular, we focus on enhancing antibody binding affinity through sequence mutations, relying solely on the antigen-antibody sequence. Recognizing the crucial link between antibody structure and function, it is essential to integrate structure into the sequence mutation process. The recent release of AlphaFlow ( Jing et al., 2024 ) builds a sequence-conditioned generative model of protein structure, which opens pathways for structure-based optimization of antibody sequences. Specifically, AlphaFlow repurposes AlphaFold ( Jumper et al., 2021 ) in a flow matching framework to generate diverse protein conformations. This motivates the proposal of an alternating optimization framework, as illustrated in Figure 1 : (1) We fix the sequence to guide noisy structures toward high-affinity clean structures. Rather than re-training the entire AlphaFlow model—a process that is inherently time-consuming—we achieve guided structure generation through predictor guidance ( Dhariwal & Nichol, 2021 ) . Specifically, a trained structure-based affinity predictor is integrated into the AlphaFlow sampling process to direct coordinate denoising. (2) With the high-affinity clean structure, we perform inverse folding to introduce targeted mutations, and use a sequence-based predictor for post selection, which identifies promising mutated sequences for the next iteration. A significant challenge in training both predictors is the scarcity of labeled data. To address this, we develop a co-teaching module that leverages valuable information from noisy biophysical energies to refine the predictors, as shown in Figure 2 . For any antigen i and antibodies j,k,m,n , we use Rosetta ( Alford et al., 2017 ) to compute the binding free energy \Delta G and then calculate the change in binding free energy \Delta\Delta G_{ijk}=\Delta G_{ij}-\Delta G_{ik} to form pairwise discrete labels. The sequence-based predictor selects pairs with which it concurs, considering them likely to be accurate and informative, and uses these consensus samples to enhance the structure-based predictor. For instance, if the sequence-based predictor predicts \Delta\Delta\hat{G}_{ijk}>0 , it selects \Delta\Delta G_{ijk}>0 for training the structure-based predictor. Similarly, the structure-based predictor reciprocates by informing the sequence-based predictor; for example, it selects \Delta\Delta{G}_{ijm}<0 to refine the sequence predictor, as shown in Figure 2 . Noisy data, such as \Delta\Delta{G}_{ijn}>0 , are filtered out. Figure 2: Illustration of co-teaching . This module effectively integrates biophysical insights into both predictors, enhancing their accuracy. In summary, we introduce AffinityFlow , guided flows for affinity maturation. Our contributions are three-fold: • We present an AlphaFlow-based alternating optimization framework that guides structure generation towards high binding affinity through predictor guidance, followed by targeted mutations. • We propose a co-teaching module that utilizes valuable insights from noisy biophysical energies to refine structure- and sequence-based predictors. • AffinityFlow achieves state-of-the-art performance in affinity maturation experiments. 2 Preliminaries 2.1 Problem Definition Binding affinity between an antibody (Ab) and its antigen (Ag) is predominantly determined by the complementarity determining regions (CDRs) within these chains ( Akbar et al., 2022 ) . We model an antibody chain as a sequence of amino acids, each characterized by a type a_{i}\in\{A,C,D,\ldots,Y\} . While AffinityFlow is applicable to all antibody types, this study specifically focuses on single-domain antibodies (sdAb), which consist only of heavy chains ( Wesolowski et al., 2009 ) . We select sdAb for their high specificity, solubility, stability, and lower toxicity and immunogenicity. Our goal in affinity maturation is to effectively mutate the CDRs within the context of the entire Ab-Ag sequence complex to improve binding affinity. 2.2 Flow Matching Flow matching is a robust generative modeling framework ( Lipman et al., 2022 ; Le et al., 2024 ) . It is characterized by a conditional probability path p_{t}(\boldsymbol{x}\mid\boldsymbol{x}_{1}),t\in[0,1], which transitions from a prior distribution p_{0}(\boldsymbol{x}\mid\boldsymbol{x}_{1})=q(\boldsymbol{x}) to an approximate Dirac delta function p_{1}(\boldsymbol{x}\mid\boldsymbol{x}_{1})\approx\delta(\boldsymbol{x}-\boldsymbol{x}_{1}) conditioned on a data point \boldsymbol{x}_{1} from p_{\text{data}} . The evolution is facilitated by a conditional vector field u_{t}(\boldsymbol{x}\mid\boldsymbol{x}_{1}) . The marginal vector field v(\boldsymbol{x},t) is modeled through a neural network parameterized by \boldsymbol{\theta} : \hat{v}(\boldsymbol{x},t;\theta)\approx v(\boldsymbol{x},t)=\mathbb{E}_{\boldsymbol{x}_{1}\sim p_{t}(\boldsymbol{x}_{1}\mid\boldsymbol{x})}[u_{t}(\boldsymbol{x}\mid\boldsymbol{x}_{1})] (1) Using this modeled vector field, we can generate samples from the data distribution p_{\text{data}}(\boldsymbol{x}) by utilizing the corresponding neural Ordinary Differential Equation (ODE). 2.3 AlphaFlow AlphaFold ( Jumper et al., 2021 ) serves as a precise single-state protein structure predictor, and AlphaFlow ( Jing et al., 2024 ) repurposes AlphaFold within a flow matching framework to generate diverse protein conformations. Given a protein sequence \boldsymbol{a} of length N , the objective is to model the structural ensemble, denoted by p(\boldsymbol{x}\mid\boldsymbol{a}) , where \boldsymbol{x}\in\mathbb{R}^{3\times N} represents the protein 3D coordinates. AlphaFlow defines the conditional probability path by sampling initial noise \boldsymbol{x_{0}} from q(\boldsymbol{x_{0}}) and linearly interpolating it with the

Read the complete text