mlsanityData to 14 Oct 2026

Out-of-Context Reasoning in Large Language Models

arXiv 2503.10408 ↗First posted 13 Mar 2025cs.LG cs.CLcited by 2

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

We study how large language models (LLMs) reason about memorized knowledge through simple binary relations such as equality (=), inequality (<), and inclusion (subset). Unlike in-context reasoning, the axioms (e.g., a < b, b < c) are only seen during training and not provided in the task prompt (e.g., evaluating a < c). The tasks require one or more reasoning steps, and data aggregation from one or more sources, showing performance change with task complexity. We introduce a lightweight technique, out-of-context representation learning, which trains only new token embeddings on axioms and evaluates them on unseen tasks. Across reflexivity, symmetry, and transitivity tests, LLMs mostly perform statistically significant better than chance, making the correct answer extractable when testing multiple phrasing variations, but still fall short of consistent reasoning on every single query. Analysis shows that the learned embeddings are organized in structured ways, suggesting real relational understanding. Surprisingly, it also indicates that the core reasoning happens during the training, not inference.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 24 of its 37 references that are in the map. First posted on arXiv 13 Mar 2025.

Builds on

24 of 37 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Large Language Models are Limited in Out-of-Context Knowledge Reasoning11 Jun
  2. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May

Other references · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2023Mistral 7Bcited by 3,164
  8. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  9. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
  10. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
  11. 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 284
  12. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 270
10 more
  1. 2023Mathematical Capabilities of ChatGPTcited by 268
  2. 2024More Agents Is All You Needcited by 180
  3. 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
  4. 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
  5. 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 143
  6. 2024Graph-enhanced Large Language Models in Asynchronous Plan Reasoningcited by 37
  7. 2021Exploring Transitivity in Neural NLI Models through Veridicalitycited by 15
  8. 2023Rethinking Language Models as Symbolic Knowledge Graphscited by 12
  9. 2024Beyond Memorization: The Challenge of Random Memory Access in Language Modelscited by 8
  10. 2024Connecting the Dots: LLMs can Infer and Verbalize Latent Structure from Disparate Training Datacited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasoners
  2. 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
  3. 2026A Decomposition Perspective to Long-context Reasoning for LLMs
  4. 2025Can an LLM Induce a Graph? Investigating Memory Drift and Context Length
  5. 2024Do Large Language Models Understand Logic or Just Mimick Context?
  6. 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models
  7. 2024Teaching Smaller Language Models To Generalise To Unseen Compositional Questions (Full Thesis)
  8. 2025RELIC: Evaluating Complex Reasoning via the Recognition of Languages In-Context