🤖 AI Summary
Protein and RNA language models suffer from limited expressivity in discrete token spaces, hindering chain-of-thought (CoT) reasoning. Method: We propose *reflective pretraining*, the first framework to enable CoT in biomolecular sequence modeling: by theoretically characterizing the expressivity of biological languages, we design an enhanced token space that allows models to generate auxiliary “thinking tokens” for token-level self-correction—bypassing reliance on natural-language intermediate steps. Contribution/Results: This paradigm establishes an intrinsic, sequence-native self-debugging mechanism for non-textual sequences. Experiments demonstrate substantial improvements in downstream tasks—including protein structure prediction and functional annotation—and empirically validate token-level reasoning and correction capabilities across multiple benchmarks, outperforming standard pretraining with statistically significant gains.
📝 Abstract
Chain-of-Thought (CoT) prompting has significantly advanced task-solving capabilities in natural language processing with large language models. Unlike standard prompting, CoT encourages the model to generate intermediate reasoning steps, non-answer tokens, that help guide the model toward more accurate final outputs. These intermediate steps enable more complex reasoning processes such as error correction, memory management, future planning, and self-reflection. However, applying CoT to non-natural language domains, such as protein and RNA language models, is not yet possible, primarily due to the limited expressiveness of their token spaces (e.g., amino acid tokens). In this work, we propose and define the concept of language expressiveness: the ability of a given language, using its tokens and grammar, to encode information. We show that the limited expressiveness of protein language severely restricts the applicability of CoT-style reasoning. To overcome this, we introduce reflection pretraining, for the first time in a biological sequence model, which enables the model to engage in intermediate reasoning through the generation of auxiliary "thinking tokens" beyond simple answer tokens. Theoretically, we demonstrate that our augmented token set significantly enhances biological language expressiveness, thereby improving the overall reasoning capacity of the model. Experimentally, our pretraining approach teaches protein models to self-correct and leads to substantial performance gains compared to standard pretraining.