Randomly Sampled Language Reasoning Problems Elucidate Limitations of In-Context Learning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
While LLMs have revolutionized the field of machine learning due to their high performance on a strikingly wide range of problems, they are also known to hallucinate false answers and underperform on less canonical versions of the same tasks. There are several emerging theories of LLM performance, among them that LLMs lack world modeling ability, that they have an undesirable bias towards an autoregressive prior, and that they struggle on more novel problems. The existing literature on LLM input novelty has focused on tasks of relatively high complexity, studying perturbations of canonical but complex problems. In this paper, we attempt to minimize complexity in order to isolate novelty as a factor in LLM underperformance and investigate the power of in-context-learning. To this end, we consider an extremely simple domain: next token prediction on simple language tasks. The twist is that these language tasks are wholly unseen, as they are randomly drawn from a large, parsimoniously defined set of languages arising from simple grammar rules. This experimental setup allows us to evaluate ICL independently of models' parametric knowledge. We find that LLMs uniformly underperform n-gram models on this task, both when used as next token predictors and in chain-of-thought.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 46 of its 63 references that are in the map. First posted on arXiv 6 Jan 2025.
Builds on
46 of 63 references.
Closest ancestors · 8
Same direction, newest first
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov
- 2024Can Large Language Models Reason? A Characterization via 3-SAT13 Aug
- 2023NPHardEval: Dynamic Benchmark on Reasoning Ability of Large Language Models via Complexity Classes22 Dec
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks5 Jul
- 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examples24 May
- 2022Towards Reasoning in Large Language Models: A Survey20 Dec
- 2022NELLIE: A Neuro-Symbolic Inference Engine for Grounded, Compositional, and Explainable Reasoning16 Sep
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning15 Feb
Other references · 38
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2024Qwen2 Technical Reportcited by 2,076
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
26 more
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
- 2024Evaluating the World Model Implicit in a Generative Modelcited by 107
- 2024In-Context Language Learning: Architectures and Algorithmscited by 86
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 65
- 2023Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functionscited by 62
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
- 2022Compositional Generalization in Unsupervised Compositional Representation Learning: A Study on Disentanglement and Emergent Languagecited by 42
- 2022Commonsense Knowledge Reasoning and Generation with Pre-trained Language Models: A Surveycited by 38
- 2024Transformers Can Represent n-gram Language Modelscited by 31
- 2022Structural generalization is hard for sequence-to-sequence modelscited by 24
- 2024Language Models as Models of Languagecited by 24
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2022Benchmarking Compositionality with Formal Languagescited by 12
- 2024Enhancing Systematic Decompositional Natural Language Inference Using Informal Logiccited by 12
- 2023Leveraging Code to Improve In-context Learning for Semantic Parsingcited by 10
- 2023Few-Shot Adaptation for Parsing Contextual Utterances with LLMscited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Beyond the Black Box: A Statistical Model for LLM Reasoning and Inference
- 2024Do Large Language Models Understand Logic or Just Mimick Context?
- 2025Beyond Exponential Decay: Rethinking Error Accumulation in Large Language Models
- 2025Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs
- 2026How Well Do LLMs Perform on the Simplest Long-Chain Reasoning Tasks: An Empirical Study on the Equivalence Class Problem
- 2025Self-Consistency Is Losing Its Edge: Diminishing Returns and Rising Costs in Modern LLMs
- 2025Exploring LLM Reasoning Through Controlled Prompt Variations
- 2023Large Language Models Are Not Strong Abstract Reasoners