mlsanityData to 7 Oct 2026

Localizing and Correcting Errors for LLM-based Planners

arXiv 2602.00276 ↗First posted 30 Jan 2026cs.AIcited by 3

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Large language models (LLMs) have demonstrated strong reasoning capabilities on math and coding, but frequently fail on symbolic classical planning tasks. Our studies, as well as prior work, show that LLM-generated plans routinely violate domain constraints given in their instructions (e.g., walking through walls). To address this failure, we propose iteratively augmenting instructions with Localized In-Context Learning (L-ICL) demonstrations: targeted corrections for specific failing steps. Specifically, L-ICL identifies the first constraint violation in a trace and injects a minimal input-output example giving the correct behavior for the failing step. Our proposed technique of L-ICL is much effective than explicit instructions or traditional ICL, which adds complete problem-solving trajectories, and many other baselines. For example, on an 8x8 gridworld, L-ICL produces valid plans 89% of the time with only 60 training examples, compared to 59% for the best baseline, an increase of 30%. L-ICL also shows dramatic improvements in other domains (gridworld navigation, mazes, Sokoban, and BlocksWorld), and on several LLM architectures.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 25 of its 90 references that are in the map. First posted on arXiv 30 Jan 2026.

Builds on

25 of 90 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulator7 Dec
  2. 2023On the Planning Abilities of Large Language Models : A Critical Investigation25 May
  3. 2023Reasoning with Language Model is Planning with World Model24 May

Other references · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  6. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  7. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  8. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  10. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
  11. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  12. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
10 more
  1. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  2. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  3. 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 298
  4. 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Taskscited by 137
  5. 2024Chain of Thoughtlessness? An Analysis of CoT in Planningcited by 100
  6. 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 89
  7. 2024In-Context Principle Learning from Mistakescited by 42
  8. 2025SPaRC: A Spatial Pathfinding Reasoning Challengecited by 5
  9. 2024Watch Your Steps: Observable and Modular Chains of Thoughtcited by 3
  10. 2025Semi-structured LLM Reasoners Can Be Rigorously Auditedcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Language Model as Planner and Formalizer under Constraints
  2. 2024Chasing Progress, Not Perfection: Revisiting Strategies for End-to-End LLM Plan Generation
  3. 2023Can LLMs Fix Issues with Reasoning Models? Towards More Likely Models for AI Planning
  4. 2025Teaching LLMs to Plan: Logical Chain-of-Thought Instruction Tuning for Symbolic Planning
  5. 2024LLMs Can't Plan, But Can Help Planning in LLM-Modulo Frameworks
  6. 2026Language Models as Higher-Order Planning Formalizers
  7. 2024Exploring and Benchmarking the Planning Capabilities of Large Language Models
  8. 2025Can LLM-Reasoning Models Replace Classical Planning? A Benchmark Study