Rethinking Text-based Protein Understanding: Retrieval or LLM?
Juntong Wu, Zijing Liu, He Cao, Hao Li, Bin Feng, Zishan Shu, Ke Yu, Li Yuan, Yu Li
TL;DR
This work interrogates the efficacy of text-based protein understanding by showing pervasive data leakage in existing benchmarks and that retrieval methods often outperform fine-tuned LLMs. It introduces RAPM, a Retrieval-Augmented Protein Modeling framework that builds a dual-index protein knowledge database and fuses retrieved evidence with LLM reasoning through a RAG-like prompt. To evaluate robustly, it proposes Pro-Inst-OOD, a unified, leakage-munified benchmark, and Entity-BLEU, a biology-focused metric that emphasizes entities over generic text. Empirical results demonstrate RAPM delivers strong performance on open-ended biological QA with training efficiency advantages, highlighting the value of hybrid retrieval and generation for protein understanding and emphasizing the need for rigorous, domain-aware evaluation metrics. The approach is formalized with a retrieval score s_i = $\alpha$ · sim_seq(s, s_i) + (1 − $\alpha$) · sim_emb(e, e_i) and is implemented in a way that enables efficient, scalable knowledge integration for LLM-based protein reasoning.
Abstract
In recent years, protein-text models have gained significant attention for their potential in protein generation and understanding. Current approaches focus on integrating protein-related knowledge into large language models through continued pretraining and multi-modal alignment, enabling simultaneous comprehension of textual descriptions and protein sequences. Through a thorough analysis of existing model architectures and text-based protein understanding benchmarks, we identify significant data leakage issues present in current benchmarks. Moreover, conventional metrics derived from natural language processing fail to accurately assess the model's performance in this domain. To address these limitations, we reorganize existing datasets and introduce a novel evaluation framework based on biological entities. Motivated by our observation, we propose a retrieval-enhanced method, which significantly outperforms fine-tuned LLMs for protein-to-text generation and shows accuracy and efficiency in training-free scenarios. Our code and data can be seen at https://github.com/IDEA-XL/RAPM.
