In-Context Examples Suppress Scientific Knowledge Recall in LLMs

Chaemin Jang, Woojin Park, Hyeok Yun, Dongman Lee, Jihee Kim
4/30/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Scientific reasoning rarely stops at what is directly observable; it often requires uncovering hidden structure from data. From estimating reaction constants in chemistry to inferring demand elasticities in economics, this latent structure recovery is what distinguishes scientific reasoning from curve fitting.

Show full abstract

Large language models (LLMs) can often recall and apply relevant scientific formulas, but we show that this ability is surprisingly easy to suppress. We show that adding in-context examples makes models rely less on pretrained domain knowledge, even when those examples are generated by the very same formula. Rather than reinforcing knowledge-driven derivation, examples shift computation toward empirical pattern fitting. We document this knowledge displacement on 60 latent structure recovery tasks across five scientific domains, 6,000 trials, and four models. This displacement is consistent across domains, but its accuracy consequences depend on how the displaced strategy compares to the one that replaces it: the same shift can lower accuracy, leave it unchanged, or appear to improve it. In all cases, however, the model shifts away from knowledge-driven reasoning. For practitioners deploying LLMs on scientific tasks, the message is cautionary: in-context examples may displace, rather than reinforce, the knowledge they are intended to support.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jang2026incontext,
  title  = {In-Context Examples Suppress Scientific Knowledge Recall in LLMs},
  author = {Chaemin Jang and Woojin Park and Hyeok Yun and Dongman Lee and Jihee Kim},
  year   = {2026},
  eprint = {2604.27540},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.27540v2}
}

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/2604.27540.svg)](https://codeofpaper.com/paper/2604.27540)

Discussion