DisProtEdit: Exploring Disentangled Representations for Multi-Attribute Protein Editing

Max Ku, Sun Sun, Hongyu Guo, Wenhu Chen · DOI

Abstract

DisProtEdit is a novel framework for multi-attribute protein editing using natural language. By disentangling structural and functional traits within a shared latent space, the model enables precise control over protein design. Trained on the SwissProtDis dataset—a newly curated collection of 540,000 protein-text triplets—DisProtEdit achieves significant improvements in structural and multi-attribute editing tasks while remaining competitive on standard downstream benchmarks.

Introduction

In protein engineering, the ability to modify specific behaviors—such as thermal stability or binding affinity—without compromising the underlying structural fold is a primary objective. However, existing protein foundation models typically represent sequences as holistic embeddings, making it difficult to isolate and edit specific biological attributes. This lack of fine-grained control often results in unintended structural changes when attempting functional edits. DisProtEdit addresses this challenge by introducing disentangled representations that separate structural and functional information into distinct latent channels.

Methods

The DisProtEdit framework utilizes a dual-channel supervision approach. Instead of a single holistic description, each protein is paired with separate structural and functional text descriptions. The architecture consists of three encoders (Protein, Structural Text, and Functional Text) mapping into a shared latent space.

To enforce disentanglement, the authors employ three specific loss functions: Alignment (to keep protein and text embeddings close), Uniformity (to prevent representation collapse), and Angular Maximum Mean Discrepancy (MMD). The Angular MMD objective partitions the latent space into disjoint subspaces, effectively creating separate "knobs" for structure and function.

The DisProtEdit framework: (a) training with dual-channel supervision, (b) reconstruction, (c) latent interpolation for editing, and (d) LLM-based data preparation.

For editing, the model performs spherical linear interpolation (slerp) between the original protein embedding and a target text-derived embedding. This allows for modular updates to specific attributes. The model was trained on SwissProtDis, a dataset created by using GPT-4o to decompose SwissProt annotations into structured and functional components.

Results

Visual analysis using UMAP (Uniform Manifold Approximation and Projection) demonstrates the effectiveness of the proposed loss functions in aligning protein and text representations while maintaining a well-distributed latent space. The transition from random projection to the final objective shows a clear improvement in how the model organizes information.

UMAP visualizations of protein and text representations across different training objectives, demonstrating the alignment and distribution achieved by the DisProtEdit loss functions.

Quantitatively, DisProtEdit significantly outperforms baselines like ProteinDT. In structural editing tasks (e.g., increasing alpha-helices), it achieved a 56.14% success rate compared to 28.27% for ProteinDT. In multi-attribute "both-hit" benchmarks, the success rate reached 61.7%. Furthermore, the model showed superior performance on downstream tasks such as fluorescence and stability prediction within the TAPE benchmark, indicating that the disentangled representation also captures high-quality biological features.

Conclusion

DisProtEdit demonstrates that geometric reparameterization and LLM-guided data curation can effectively disentangle complex biological attributes for precise protein design. While the model shows great promise in silico, future work will focus on improving decoder diversity and conducting wet-lab validation to confirm the biological viability of the edited sequences.

Summary updated

BibTeX
@inproceedings{ku2025disprotedit,
  author = {Max Ku and Sun Sun and Hongyu Guo and Wenhu Chen},
  title = {{DisProtEdit: Exploring Disentangled Representations for Multi-Attribute Protein Editing}},
  booktitle = {GenBio @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=haz6yrfMtE},
}
Figure