A Text-guided Protein Design Framework

Shengchao Liu, Yutao Zhu, Jiarui Lu, Zhao Xu, Weili Nie, Anthony Gitter, Chaowei Xiao, Jian Tang, Hongyu Guo, Anima Anandkumar

Abstract

ProteinDT is a first-of-its-kind multi-modal framework designed to bridge the gap between natural language and protein sequences. By aligning amino acid sequences with scientific textual descriptions through contrastive learning and a novel "facilitator" module, ProteinDT enables zero-shot protein engineering. This approach allows researchers to design and edit proteins for specific functions—such as increased stability or binding affinity—using plain English prompts, leveraging the vast repository of human knowledge in biological databases like UniProt.

Introduction

Traditional AI-assisted protein design primarily utilizes sequence and structural data, often overlooking the extensive textual descriptions curated by scientists. These texts encapsulate high-level functional and biological information that raw sequences alone may not fully represent. The primary challenge in utilizing this data is the "modality gap" between discrete biological sequences and natural language. ProteinDT addresses this by creating a shared semantic space where phrases like "more alpha helices" correspond to specific residue arrangements.

Methods

The ProteinDT framework consists of three primary components designed to align and generate protein sequences from text:

  1. ProteinCLAP: Utilizing contrastive learning inspired by CLIP, this module aligns text representations (via SciBERT) with protein sequence representations (via ProtBERT). This ensures that proteins and their corresponding descriptions are mapped to similar regions in a shared latent space.
  2. ProteinFacilitator: This module acts as a cross-modal bridge, mapping text-based representations into the protein representation space. This explicit mapping is critical for accurate translation between modalities.
  3. Protein Decoder: A generative component that converts latent representations back into amino acid sequences. The framework supports both Autoregressive (AR) and Denoising Diffusion (ProteinDiff) models.

For protein editing, the system employs Latent Interpolation or Latent Optimization to modify existing protein representations based on target text prompts.

Overview of the ProteinDT framework architecture.

Results and Discussion

ProteinDT demonstrates significant capabilities in both zero-shot generation and precise protein editing, evaluated using the newly introduced SwissProtCLAP dataset (441,013 text-protein pairs).

Text-to-Protein Generation

The model achieved over 90% retrieval accuracy in matching generated sequences back to their original prompts. The inclusion of the ProteinFacilitator was found to be essential, improving retrieval accuracy by up to 50% in certain tasks compared to direct decoding from text embeddings.

Zero-Shot Protein Editing

ProteinDT successfully performs complex editing tasks, such as modifying secondary structures or enhancing functional properties like binding affinity, without explicit task-specific training. In comparative evaluations across 12 distinct editing benchmarks, ProteinDT consistently outperformed general-purpose scientific models like Galactica and ChatGPT.

Qualitative results of text-guided protein editing.

Property Prediction

The representations learned by ProteinCLAP set new standards on several benchmarks. It achieved state-of-the-art performance on 4 out of 6 TAPE benchmarks and outperformed existing encoders on engineering-focused tasks including fluorescence, stability, and subcellular location prediction.

Conclusion and Future Work

ProteinDT establishes natural language as a universal interface for protein design. While the current framework is limited by the relatively small size of curated text-protein datasets compared to image-text datasets, it proves the viability of cross-modal alignment for biological engineering. Future work will focus on scaling the dataset and integrating 3D structural information directly into the multi-modal alignment process to further enhance design precision.

Summary updated

BibTeX
@inproceedings{liu2023text,
  author = {Shengchao Liu and Yutao Zhu and Jiarui Lu and Zhao Xu and Weili Nie and Anthony Gitter and Chaowei Xiao and Jian Tang and Hongyu Guo and Anima Anandkumar},
  title = {{A Text-guided Protein Design Framework}},
  booktitle = {Nat. Mac. Intell},
  year = {2023},
  url = {https://openreview.net/forum?id=1ZqTC3fAOJ},
}
Figure