mlsanityData to 7 Oct 2026

Code Simulation as a Proxy for High-order Tasks in Large Language Models

arXiv 2502.03568 ↗First posted 5 Feb 2025cs.LG cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Many reasoning, planning, and problem-solving tasks share an intrinsic algorithmic nature: correctly simulating each step is a sufficient condition to solve them correctly. We collect pairs of naturalistic and synthetic reasoning tasks to assess the capabilities of Large Language Models (LLM). While naturalistic tasks often require careful human handcrafting, we show that synthetic data is, in many cases, a good proxy that is much easier to collect at scale. We leverage common constructs in programming as the counterpart of the building blocks of naturalistic reasoning tasks, such as straight-line programs, code that contains critical paths, and approximate and redundant instructions. We further assess the capabilities of LLMs on sorting problems and repeated operations via sorting algorithms and nested loops. Our synthetic datasets further reveal that while the most powerful LLMs exhibit relatively strong execution capabilities, the process is fragile: it is negatively affected by memorisation and seems to rely heavily on pattern recognition. Our contribution builds upon synthetically testing the reasoning capabilities of LLMs as a scalable complement to handcrafted human-annotated problems.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 40 of its 53 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

40 of 53 references.

References · 40

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  8. 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
  9. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
  10. 2022In-context Learning and Induction Headscited by 930
  11. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
  12. 2023Reasoning with Language Model is Planning with World Modelcited by 846
28 more
  1. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
  2. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  3. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  4. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  5. 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 366
  6. 2023Mathematical Capabilities of ChatGPTcited by 263
  7. 2023Looped Transformers as Programmable Computerscited by 224
  8. 2018Machine Theory of Mindcited by 222
  9. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
  10. 2021Thinking Like Transformerscited by 182
  11. 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
  12. 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
  13. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  14. 2023How well do Large Language Models perform in Arithmetic tasks?cited by 130
  15. 2021How much do language models copy from their training data? Evaluating linguistic novelty in text generation using RAVENcited by 124
  16. 2021Position Information in Transformers: An Overviewcited by 103
  17. 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
  18. 2023The Generative AI Paradox: "What It Can Create, It May Not Understand"cited by 97
  19. 2023Memory Augmented Large Language Models are Computationally Universalcited by 45
  20. 2023Code Execution with Pre-trained Language Modelscited by 33
  21. 2023Can Transformers Learn to Solve Problems Recursively?cited by 17
  22. 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16
  23. 2024A Notion of Complexity for Theory of Mind via Discrete World Modelscited by 16
  24. 2024Code Simulation Challenges for Large Language Modelscited by 15
  25. 2024Transformer-Based Models Are Not Yet Perfect At Learning to Emulate Structural Recursioncited by 14
  26. 2024Large Language Models as Code Executors: An Exploratory Studycited by 12
  27. 2023Predicting Code Coverage without Executioncited by 9
  28. 2023Addressing Compiler Errors: Stack Overflow or Large Language Models?cited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks
  2. 2025On the Limits of Innate Planning in Large Language Models
  3. 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents
  4. 2025An Empirical Study of Reasoning Steps in Thinking Code LLMs
  5. 2026Not All Code Is Equal: A Data-Centric Study of Code Complexity and LLM Reasoning
  6. 2026Opening the Black Box: A Survey on the Mechanisms of Multi-Step Reasoning in Large Language Models
  7. 2026EsoLang-Bench: Evaluating Genuine Reasoning in Large Language Models via Esoteric Programming Languages
  8. 2026ORACLE: Optimizing Reasoning Abilities of Large Language Models via Constraint-Led Synthetic Data Elicitation