Skip to main content
QUICK REVIEW

[Paper Review] InstructProtein: Aligning Human and Protein Language via Knowledge Instruction

Zeyuan Wang, Qiang Zhang|arXiv (Cornell University)|Oct 5, 2023
Topic ModelingComputer Science8 citations
TL;DR

InstructProtein is an LLM that achieves bidirectional generation between human language and protein language by pretraining on protein and text corpora and aligning them via a knowledge-graph–based instruction dataset for fine-tuning.

ABSTRACT

Large Language Models (LLMs) have revolutionized the field of natural language processing, but they fall short in comprehending biological sequences such as proteins. To address this challenge, we propose InstructProtein, an innovative LLM that possesses bidirectional generation capabilities in both human and protein languages: (i) taking a protein sequence as input to predict its textual function description and (ii) using natural language to prompt protein sequence generation. To achieve this, we first pre-train an LLM on both protein and natural language corpora, enabling it to comprehend individual languages. Then supervised instruction tuning is employed to facilitate the alignment of these two distinct languages. Herein, we introduce a knowledge graph-based instruction generation framework to construct a high-quality instruction dataset, addressing annotation imbalance and instruction deficits in existing protein-text corpus. In particular, the instructions inherit the structural relations between proteins and function annotations in knowledge graphs, which empowers our model to engage in the causal modeling of protein functions, akin to the chain-of-thought processes in natural languages. Extensive experiments on bidirectional protein-text generation tasks show that InstructProtein outperforms state-of-the-art LLMs by large margins. Moreover, InstructProtein serves as a pioneering step towards text-based protein function prediction and sequence design, effectively bridging the gap between protein and human language understanding.

Motivation & Objective

  • Bridge the gap between human language and protein language in a single LLM.
  • Enable bidirectional generation: predict protein function from sequences and generate sequences from natural language prompts.
  • Address annotation imbalance and lack of instructional signals in protein-text corpora using knowledge graphs.
  • Provide a high-quality protein instruction dataset for supervised instruction tuning.
  • Demonstrate improvements in zero-shot protein understanding and sequence design tasks.

Proposed method

  • Multilingual pre-training on protein sequences and natural language corpora.
  • Construct a protein knowledge graph from UniProtKB and augment it with Knowledge Causal Modeling (KCM) to encode causal relations among annotations.
  • Debiased KG triple sampling to balance annotations across proteins based on sequence and property similarities.
  • Convert sampled KG triples into instruction data via KG completion tasks and LLMs (e.g., ChatGPT).
  • Fine-tune the pre-trained model with the generated protein knowledge instructions to align human and protein languages.
  • Evaluate on bidirectional tasks: protein sequence understanding and de novo design under zero-shot settings.

Experimental results

Research questions

  • RQ1Can a single LLM trained on both protein sequences and natural language perform bidirectional generation between human and protein languages?
  • RQ2Does KG-based instruction generation with debiased sampling improve zero-shot protein understanding and design compared to baseline LLMs?
  • RQ3To what extent can instruction-tuned models generate protein sequences that satisfy function- or structure-related prompts?
  • RQ4Does incorporating knowledge causal modeling (KCM) enhance the instructional signals and model performance?

Key findings

  • InstructProtein achieves state-of-the-art zero-shot performance on protein sequence understanding benchmarks compared to multiple baselines.
  • The KG-based instruction generation framework with debiased sampling and KCM improves instruction quality and model alignment between protein and human languages.
  • The model demonstrates bidirectional generation, enabling protein design guided by natural language instructions and function-focused prompts.
  • Ablation studies show clustering based on protein properties and the inclusion of KCM both contribute to performance gains.
  • Protein sequence de novo design experiments indicate the model can generate sequences with structure-relevant properties and potential functional annotations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.