mlsanityData to 14 Oct 2026

In-Context Examples Suppress Scientific Knowledge Recall in LLMs

arXiv 2604.27540 ↗First posted 30 Apr 2026cs.AIcited by 0

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

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. 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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 41 of its 48 references that are in the map. First posted on arXiv 30 Apr 2026.

Builds on

41 of 48 references.

References · 41

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  5. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  8. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  9. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  10. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  11. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  12. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
29 more
  1. 2022In-context Learning and Induction Headscited by 964
  2. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  3. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  4. 2022Transformers learn in-context by gradient descentcited by 732
  5. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  6. 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 703
  7. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  8. 2023Larger language models do in-context learning differentlycited by 394
  9. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
  10. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 356
  11. 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 341
  12. 2023In-Context Learning Creates Task Vectorscited by 312
  13. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
  14. 2023Function Vectors in Large Language Modelscited by 308
  15. 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 256
  16. 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
  17. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 222
  18. 2024Many-Shot In-Context Learningcited by 206
  19. 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 152
  20. 2024LLM-SR: Scientific Equation Discovery via Programming with Large Language Modelscited by 133
  21. 2025LLM4SR: A Survey on Large Language Models for Scientific Researchcited by 83
  22. 2025LLM-SRBench: A New Benchmark for Scientific Equation Discovery with Large Language Modelscited by 71
  23. 2023Large Language Models Can be Lazy Learners: Analyze Shortcuts in In-Context Learningcited by 69
  24. 2025Which Attention Heads Matter for In-Context Learning?cited by 61
  25. 2023In-Context Learning Learns Label Relationships but Is Not Conventional Learningcited by 51
  26. 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Modelscited by 47
  27. 2025Evaluating Large Language Models in Scientific Discoverycited by 42
  28. 2024EconNLI: Evaluating Large Language Models on Economics Reasoningcited by 8
  29. 2025STEER-ME: Assessing the Microeconomic Reasoning of Large Language Modelscited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Survey of Scientific Large Language Models: From Data Foundations to Agent Frontiers
  2. 2025Can AI Validate Science? Benchmarking LLMs for Accurate Scientific Claim rightarrow Evidence Reasoning
  3. 2024SciKnowEval: Evaluating Multi-level Scientific Knowledge of Large Language Models
  4. 2026Science Edge Evaluation: SEE the Missing Step Toward Real Scientific Discovery
  5. 2026FALSIFYBENCH: Evaluating Inductive Reasoning in LLMs with Rule Discovery Games
  6. 2025Decoupling Knowledge and Reasoning in LLMs: An Exploration Using Cognitive Dual-System Theory
  7. 2025OmniScience: A Domain-Specialized LLM for Scientific Reasoning and Discovery
  8. 2025Demystifying Scientific Problem-Solving in LLMs by Probing Knowledge and Reasoning