Genomic Next-Token Predictors are In-Context Learners

Nathan Breslow, Aayush Mishra, Mahler Revsine, Michael C. Schatz, Anqi Liu +1 more
11/16/2025
cs.LGcs.AIq-bio.GN

No official code found. Best implementation: JHU-CLSP/icl-in-genomics-models (6 stars, last commit 2025-11-16).

Abstract

In-context learning (ICL) -- the capacity of a model to infer and apply abstract patterns from examples provided within its input -- has been extensively studied in large language models trained for next-token prediction on human text. In fact, prior work often attributes this emergent behavior to distinctive statistical properties in human language. This raises a fundamental question: can ICL arise organically in other sequence domains purely through large-scale predictive training? To explore this, we turn to genomic sequences, an alternative symbolic domain rich in statistical structure. Specifically, we study the Evo2 genomic model, trained predominantly on next-nucleotide (A/T/C/G) prediction, at a scale comparable to mid-sized LLMs. We develop a controlled experimental framework comprising symbolic reasoning tasks instantiated in both linguistic and genomic forms, enabling direct comparison of ICL across genomic and linguistic models. Our results show that genomic models, like their linguistic counterparts, exhibit log-linear gains in pattern induction as the number of in-context demonstrations increases. To the best of our knowledge, this is the first evidence of organically emergent ICL in genomic sequences, supporting the hypothesis that ICL arises as a consequence of large-scale predictive modeling over rich data. These findings extend emergent meta-learning beyond language, pointing toward a unified, modality-agnostic view of in-context learning.

View on arXivView PDF

Code Implementations(1)

Essential code for the paper *Genomic Next-Token Predictors are In-Context Learners*.

61PythonNov 16, 202511 months ago

Similar Papers

Cite this paper

@article{breslow2025genomic,
  title  = {Genomic Next-Token Predictors are In-Context Learners},
  author = {Nathan Breslow and Aayush Mishra and Mahler Revsine and Michael C. Schatz and Anqi Liu and Daniel Khashabi},
  year   = {2025},
  eprint = {2511.12797},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.12797v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.12797.svg)](https://codeofpaper.com/paper/2511.12797)

Discussion