Lost in Tokenization: Context as the Key to Unlocking Biomolecular Understanding in Scientific LLMs

Kai Zhuang, zhang jiawei, Yumou Liu, Hanqun Cao, Chunbin Gu, Mengdi Liu, Zhangyang Gao, Zitong Jerry Wang, Xuanhe Zhou, Pheng-Ann Heng, Lijun Wu, Conghui He, Cheng Tan

TL;DR

Scientific Large Language Models (Sci-LLMs) struggle to interpret raw biological sequences directly due to the "tokenization dilemma," where sequences either lose structural meaning or fail to align with natural language. This paper demonstrates that bypassing raw sequences entirely—and instead feeding LLMs high-level text context generated by standard bioinformatics tools—dramatically improves performance. Surprisingly, including the raw sequence alongside this context actually degrades results, suggesting we should treat LLMs as reasoning engines over expert knowledge rather than raw sequence decoders.

What Problem Does This Paper Address?

The intersection of AI and biology has led to the creation of Sci-LLMs designed to understand the "language of life" (DNA, RNA, proteins). However, these models face a fundamental hurdle when ingesting raw sequences, which the authors dub the tokenization dilemma.

Currently, there are two main ways to feed sequences to an LLM:

  1. Sequence-as-Language: Treat amino acids or nucleotides as text tokens. This is too granular and destroys hierarchical biological structures (like functional motifs). The model has to re-learn the rules of biology from scratch.
  2. Sequence-as-Modality: Use a specialized biological encoder to create embeddings, then align them with the LLM. This preserves structure but introduces a massive semantic gap between the biophysical world of the encoder and the human-language world of the LLM.
Comparison of sequence processing paradigms: Sequence-as-Language, Sequence-as-Modality, and the proposed Context-driven approach.

Because of this dilemma, models get "lost in tokenization." The authors ask: what if we stop forcing LLMs to read raw sequences and instead give them what they are actually good at reading—structured, human-readable text?

Methods: A Context-Driven Approach

The authors propose a Context-Driven Approach that completely omits the raw biomolecular sequence from the LLM's input. Instead, they use a pipeline of established bioinformatics tools to generate a rich textual summary of the sequence:

  • Feature-intrinsic domain analysis: Using tools like InterProScan to identify conserved domains and motifs (e.g., Pfam).
  • Homology-based inference: Using BLASTp to find close evolutionary relatives and extract their Gene Ontology (GO) annotations.
  • Fallback mechanism: For "orphan" sequences with no known relatives, they use ProTrek (a tri-modal retrieval model) to synthesize a basic semantic description.

This information is compiled into a structured text prompt and fed into general-purpose LLMs (like DeepSeek-v3, Gemini 2.5 Pro, or GPT-4o) to answer complex biological questions.

Datasets Evaluated

The authors rigorously evaluated their approach across several datasets to test generalization and real-world applicability:

  • Protein QA Benchmark: A subset of the Evolla dataset focusing on proteins with <30% sequence identity to training sets, testing Function, Pathway, and Subcellular Location.
  • EC Number Dataset: A hierarchical classification task for predicting Enzyme Commission numbers.
  • Time-Split Dataset: Proteins sampled by their first publication year (1995–2024) to test handling of newly discovered sequences.
  • Mol-Instruction & KEGG Disease Pathway Datasets: Standard benchmarks for protein function, catalytic activity, and nucleotide mutation predictions.
  • Wet-lab Validation: A custom set of unpublished, novel Rhodopsin and PETase sequences to test zero-shot performance.

Key Insights and Ideas

  • Raw sequences act as informational noise: The most surprising finding is that providing the LLM with both the sequence and the context yields worse results than providing the context alone. Even for models with specialized tokenizers, the raw sequence confuses the model and degrades its reasoning.
  • General LLMs > Specialized Sci-LLMs: When equipped with high-quality bioinformatics context, generalist models vastly outperform specialized, computationally expensive Sci-LLMs (like Evolla or Intern-S1) that attempt to read raw sequences.
  • The Semantic Alignment bottleneck is real: By visualizing the internal layers of models like Evolla, the authors proved that while specialized protein encoders separate biological functions beautifully, the alignment module translating this for the LLM blurs the data, erasing fine-grained signals.
Clustering visualizations demonstrating the semantic alignment bottleneck in specialized Sci-LLMs compared to the proposed approach.
  • Temporal Robustness: Sequence-based models suffer a severe performance collapse on proteins discovered in the last decade. The context-driven approach degrades much more gracefully, proving it is far more robust to sequence novelty.

Key Results

  • Massive Accuracy Gains: On the Protein QA Benchmark, Gemini 2.5 Pro using Context-Only achieved an overall score of 87.19. The same model using Sequence-Only scored just 41.25.
  • The Noise Effect: When DeepSeek-v3 was given Context-Only, it scored 86.03. When given Sequence + Context, its score dropped to 84.99.
  • Real-World Efficiency: The context-driven pipeline is drastically cheaper and faster. For batch processing, running standard bioinformatics tools plus a general LLM API is ~30x cheaper and 154x faster than running a specialized end-to-end Sci-LLM like Evolla.
  • Wet-Lab Success: On completely novel, unpublished sequences, the context-driven method achieved 100% accuracy on Rhodopsin and 97.3% on PETase, whereas Evolla failed catastrophically on PETase.

Limitations and Future Work

While powerful, the context-driven approach has limitations. Because it relies on tools like BLAST and InterProScan, it exhibits point mutation blindness; these tools often return the exact same high-level context for both a wild-type and a mutated protein, leaving the LLM blind to subtle functional changes. Additionally, for orphan proteins from unexplored regions of the biological universe where homology tools return nothing, the method's performance is inherently constrained.

Ultimately, the authors suggest that future scientific AI development should pivot away from trying to build better raw sequence decoders. Instead, the focus should shift toward building hybrid AI agents that synthesize high-level expert knowledge and tool outputs.

Summary updated

BibTeX
@inproceedings{zhuang2026lost,
  author = {Kai Zhuang and zhang jiawei and Yumou Liu and Hanqun Cao and Chunbin Gu and Mengdi Liu and Zhangyang Gao and Zitong Jerry Wang and Xuanhe Zhou and Pheng-Ann Heng and Lijun Wu and Conghui He and Cheng Tan},
  title = {{Lost in Tokenization: Context as the Key to Unlocking Biomolecular Understanding in Scientific LLMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=RDAhLHEHDm},
}
Figure