mlsanityData to 7 Oct 2026

Process In-Context Learning: Enhancing Mathematical Reasoning via Dynamic Demonstration Insertion

arXiv 2601.11979 ↗First posted 17 Jan 2026cs.AI cs.LGcited by 1

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

In-context learning (ICL) has proven highly effective across diverse large language model (LLM) tasks. However, its potential for enhancing tasks that demand step-by-step logical deduction, such as mathematical reasoning, remains underexplored. A core limitation of existing ICL approaches is their static use of demonstrations: examples are pre-selected before inference and remain fixed, failing to adapt to the dynamic confusion points that often arise during multi-step reasoning such as ambiguous calculations or logical gaps. These unresolved confusion points can lead to cascading errors that degrade final accuracy. To tackle this issue, we propose Process In-Context Learning (PICL), a dynamic demonstration integration framework designed to boost mathematical reasoning by responding to real-time inference needs. PICL operates in two stages: 1)~it identifies potential confusion points by analyzing semantics and entropy in the reasoning process and summarizes their core characteristics; 2)~upon encountering these points, it retrieves relevant demonstrations from the demonstration pool that match the confusion context and inserts them directly into the ongoing reasoning process to guide subsequent steps. Experiments show that PICL outperforms baseline methods by mitigating mid-inference confusion, highlighting the value of adaptive demonstration insertion in complex mathematical reasoning.

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 9 of its 46 references that are in the map. First posted on arXiv 17 Jan 2026.

Builds on

9 of 46 references.

References · 9

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  4. 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 540
  5. 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 320
  6. 2023In-context Example Selection with Influencescited by 60
  7. 2025The Curse of CoT: On the Limitations of Chain-of-Thought in In-Context Learningcited by 30
  8. 2025Revisiting Chain-of-Thought Prompting: Zero-shot Can Be Stronger than Few-shotcited by 12
  9. 2025RefCritic: Training Long Chain-of-Thought Critic Models with Refinement Feedbackcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024What Makes In-context Learning Effective for Mathematical Reasoning: A Theoretical Analysis
  2. 2026Many-Shot CoT-ICL: Making In-Context Learning Truly Learn
  3. 2024Augmenting In-Context-Learning in LLMs via Automatic Data Labeling and Refinement
  4. 2024Beyond Examples: High-level Automated Reasoning Paradigm in In-Context Learning via MCTS
  5. 2023Dr.ICL: Demonstration-Retrieved In-context Learning
  6. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  7. 2024Benchmarking Large Language Models for Math Reasoning Tasks
  8. 2024Multi-Step Reasoning with Large Language Models, a Survey