CFP-Gen: Combinatorial Functional Protein Generation via Diffusion Language Models

Junbo Yin, Chao Zha, Wenjia He, Chencheng Xu, Xin Gao

Abstract

In synthetic biology, designing proteins that simultaneously satisfy functional, structural, and sequence-level constraints remains a significant challenge. Traditional protein language models (PLMs) typically handle only single-modality conditioning, leading to inefficient "generate-then-filter" workflows. We present CFP-GEN, a novel diffusion-based framework for combinatorial functional protein generation. By integrating multimodal constraints—including functional annotations (GO terms, IPR domains, EC numbers), sequence motifs, and 3D backbone structures—into a unified generative process, CFP-GEN achieves state-of-the-art performance in designing complex, multi-functional proteins.

1. Introduction

Designing a novel protein is a multi-dimensional puzzle. A researcher might require a protein that performs a specific catalytic reaction (Function), contains a precise binding site (Sequence Motif), and fits into a specific cellular environment (Structure). Most existing PLMs are "one-trick ponies," optimized for a single type of constraint. CFP-GEN addresses this by acting as a "multi-tool" for protein design, juggling these diverse requirements simultaneously within a single generative model.

2. The Challenge of Combinatorial Design

Traditional protein design often relies on a "generate-then-filter" pipeline. Thousands of candidates are generated based on one condition (e.g., an enzyme class) and then computationally screened for other criteria, such as folding stability or motif preservation. This process is inefficient and frequently fails when multiple complex requirements are coupled.

Comparison of single-condition constraints versus the multi-condition combinatorial approach enabled by CFP-GEN.

Existing controllable PLMs lack a unified architecture to handle "combinatorial" constraints across different modalities. The gap lies in the inability to ensure, for instance, that a specific active-site motif is preserved while simultaneously adhering to a Gene Ontology (GO) functional target.

3. Methodology: The CFP-GEN Framework

CFP-GEN is built upon a Discrete Diffusion framework, treating protein generation as a denoising process. The architecture introduces three primary innovations to enable multimodal control:

3.1 Annotation-Guided Feature Modulation (AGFM)

AGFM functions as a dynamic adjustment mechanism for functional annotations. It processes 0D tags—such as GO terms, InterPro (IPR) domains, and Enzyme Commission (EC) numbers—and modulates the protein's feature distribution. These annotations are composable; embeddings from different sources can be summed to guide the model toward multi-functional targets.

3.2 Residue-Controlled Functional Encoding (RCFE)

Inspired by architectural patterns like ControlNet, RCFE is a trainable branch dedicated to 1D sequence motifs. It allows the model to explicitly "protect" and encode specific amino acid residues (e.g., an active site) while the remainder of the sequence is generated around them. Unlike static inpainting, RCFE allows for dynamic updates of motifs during the diffusion process.

3.3 Structural Integration

The model incorporates 3D backbone coordinates using structure encoders like GVP-Transformers. This enables "functional inverse folding," where the generated sequence is optimized to fit a specific shape while fulfilling a designated function.

The comprehensive CFP-GEN architecture, illustrating the integration of functional annotations, sequence motifs, and backbone structures through RCFE and AGFM modules.

4. Experimental Results and Insights

CFP-GEN was evaluated on high-quality datasets curated from SwissProt, InterPro, and the PDB. Key findings include:

  • Superior Functional Accuracy: In GO term prediction tasks, CFP-GEN outperformed the ESM3 model by 30% in $F_1$-score.
  • Enhanced Inverse Folding: Adding functional "hints" improved the Amino Acid Recovery (AAR) of the base model by 9%, suggesting that structural and functional information are deeply intertwined.
  • Multi-Catalytic Success: The model successfully designed enzymes satisfying three or more distinct EC numbers simultaneously, outperforming specialized models like ZymCTRL.
  • Novelty and Diversity: Analysis confirmed that CFP-GEN generates novel sequences with high intra-class diversity, rather than simply memorizing training data.

5. Conclusion

CFP-GEN represents a significant step toward a unified "sequence-structure-function" co-design paradigm. While currently limited by its vocabulary of common functional labels and the exclusion of explicit physicochemical properties (e.g., thermal stability), its ability to handle combinatorial constraints marks a major advancement in protein engineering. Future work will focus on scaling the model to rarer functions and integrating physical priors directly into the generative process.

Reference: Yin, J., et al. (2025). CFP-GEN: Combinatorial Functional Protein Generation via Diffusion Language Models. ICML 2025.

Summary updated

BibTeX
@inproceedings{yin2025cfp,
  author = {Junbo Yin and Chao Zha and Wenjia He and Chencheng Xu and Xin Gao},
  title = {{CFP-Gen: Combinatorial Functional Protein Generation via Diffusion Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=EiM163eZyg},
}
Figure