Can Large Language Models Generalize Procedures Across Representations?
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are trained and tested extensively on symbolic representations such as code and graphs, yet real-world user tasks are often specified in natural language. To what extent can LLMs generalize across these representations? Here, we approach this question by studying isomorphic tasks involving procedures represented in code, graphs, and natural language (e.g., scheduling steps in planning). We find that training LLMs with popular post-training methods on graphs or code data alone does not reliably generalize to corresponding natural language tasks, while training solely on natural language can lead to inefficient performance gains. To address this gap, we propose a two-stage reinforcement learning curriculum that first trains on symbolic, then natural language data. The curriculum substantially improves model performance across model families and tasks. Remarkably, a 1.5B Qwen model trained by our method can closely match zero-shot GPT-4o in naturalistic planning. Finally, our analysis suggests that successful cross-representation generalization can be interpreted as a form of generative analogy, which our curriculum effectively encourages. The dataset and code used in this paper can be found hrefhttps://github.com/fangru-lin/proceduregeneralizationllmhere.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 54 of its 86 references that are in the map. First posted on arXiv 3 Feb 2026.
Builds on
54 of 86 references.
References · 54
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 988
38 more
- 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 655
- 2025LIMO: Less is More for Reasoningcited by 488
- 2025Open-Reasoner-Zero: An Open Source Approach to Scaling Up Reinforcement Learning on the Base Modelcited by 450
- 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 445
- 2023Scaling Data-Constrained Language Modelscited by 391
- 2019Which Tasks Should Be Learned Together in Multi-task Learning?cited by 367
- 20242 OLMo 2 Furiouscited by 302
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
- 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 246
- 2023Language is All a Graph Needscited by 219
- 2023Large Language Models as General Pattern Machinescited by 196
- 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 138
- 2021Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networkscited by 108
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 108
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2024Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervisioncited by 95
- 2023At Which Training Stage Does Code Data Help LLMs Reasoning?cited by 82
- 2025PlanGenLLMs: A Modern Survey of LLM Planning Capabilitiescited by 82
- 2014Curriculum Learning of Multiple Taskscited by 65
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 54
- 2024To Code, or Not To Code? Exploring Impact of Code in Pre-trainingcited by 47
- 2024Can LLM Graph Reasoning Generalize beyond Pattern Memorization?cited by 46
- 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Modelscited by 41
- 2024The Unreasonable Effectiveness of Easy Training Data for Hard Taskscited by 40
- 2023Thought Propagation: An Analogical Approach to Complex Reasoning with Large Language Modelscited by 37
- 2024Graph-enhanced Large Language Models in Asynchronous Plan Reasoningcited by 37
- 2024Unveiling the Impact of Coding Data Instruction Fine-Tuning on Large Language Models Reasoningcited by 31
- 2024Code Pretraining Improves Entity Tracking Abilities of Language Modelscited by 31
- 2024Evaluating the Robustness of Analogical Reasoning in Large Language Modelscited by 31
- 2025Emergent Symbolic Mechanisms Support Abstract Reasoning in Large Language Modelscited by 31
- 2024How Does Code Pretraining Affect Language Model Task Performance?cited by 28
- 2023ANALOGYKB: Unlocking Analogical Reasoning of Language Models with A Million-scale Knowledge Basecited by 16
- 2024LLMs as Models for Analogical Reasoningcited by 16
- 2024Code Simulation Challenges for Large Language Modelscited by 15
- 2025Loong: Synthesize Long Chain-of-Thoughts at Scale through Verifierscited by 14
- 2023Beneath Surface Similarity: Large Language Models Make Reasonable Scientific Analogies after Structure Abductioncited by 11
- 2023Can language models learn analogical reasoning? Investigating training objectives and comparisons to human performancecited by 9
- 2024ParallelPARC: A Scalable Pipeline for Generating Natural-Language Analogiescited by 8
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.