Retrieval-Augmented Language Model for Knowledge-aware Protein Encoding
Abstract
Protein language models often struggle to capture the biological functions encoded within protein sequences due to their lack of factual knowledge (e.g., gene descriptions of proteins). Existing solutions leverage protein knowledge graphs (PKGs), using knowledge as auxiliary encoding objectives. However, none of them explored the direct injection of correlated knowledge into protein language models, and task-oriented knowledge integration during fine-tuning, making them suffer from insufficient knowledge exploitation and catastrophic forgetting of pre-trained knowledge. The root cause is that they fail to align PKGs with downstream tasks, forcing their knowledge modeling to adapt to the knowledge-isolated nature of these tasks. To tackle these limitations, we propose a novel knowledge retriever that can accurately predict gene descriptions for new proteins in downstream tasks and thus align them with PKGs. On this basis, we propose Knowledge-aware retrieval-augmented protein language model (Kara), achieving the first unified and direct integration of PKGs and protein language models. Using the knowledge retriever, both the pre-training and fine-tuning stages can incorporate knowledge through a unified modeling process, where contextualized virtual tokens enable token-level integration of high-order knowledge. Moreover, structure-based regularization is introduced to inject function similarity into protein representations, and unify the pre-training and fine-tuning optimization objectives. Experimental results show that Kara consistently outperforms existing knowledge-enhanced models in 6 representative tasks, achieving on average 5.1% improvements.
BibTeX
@inproceedings{zhang2025retrieval,
author = {Jiasheng Zhang and Delvin Ce Zhang and Shuang Liang and Zhengpin Li and Rex Ying and Jie Shao},
title = {{Retrieval-Augmented Language Model for Knowledge-aware Protein Encoding}},
booktitle = {International Conference on Machine Learning},
year = {2025},
url = {https://openreview.net/forum?id=TJHhXzTcQe},
}Ask Althea to put this paper to the test.