paper-with-me

홈 › Papers

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

2026-01-17 · Ang Gao, Changshuo Zhang, Xiao Zhang, Deyang Li, Minjun Zhao, Fangchao Liu, Xinyu Zhang 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.

📄 PDF Abstract BibTeX arXiv:2601.11979

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical Reasoning

Similar Papers 제목 키워드 기반

Look Before You Leap: Problem Elaboration Prompting Improves Mathematical Reasoning in Large Language Models

2024-02-24 · Haoran Liao, Jidong Tian, Shaohua Hu, Hao He 외

Large language models (LLMs) still grapple with complex tasks like mathematical reasoning. Despite significant efforts invested in improving prefix prompts or reasoning process, the crucial role of problem context might …

GSM8KMathematical Reasoning

Enhancing Mathematical Problem Solving in LLMs through Execution-Driven Reasoning Augmentation

2026-02-03 · Aditya Basarkar, Benyamin Tabarsi, Tiffany Barnes, Dongkuan Xu arxiv

Mathematical problem solving is a fundamental benchmark for assessing the reasoning capabilities of artificial intelligence and a gateway to applications in education, science, and engineering where reliable symbolic rea…

Mathematical Reasoning

Don't Look Only Once: Towards Multimodal Interactive Reasoning with Selective Visual Revisitation

2025-05-24 · Jiwan Chung, Junhyeok Kim, Siyeol Kim, Jaeyoung Lee 외

We present v1, a lightweight extension to Multimodal Large Language Models (MLLMs) that enables selective visual revisitation during inference. While current MLLMs typically consume visual input only once and reason pure…

Mathematical ReasoningMultimodal ReasoningVisual Grounding

LexPam: Legal Procedure Awareness-Guided Mathematical Reasoning

2025-04-03 · Kepu Zhang, Guofu Xie, Weijie Yu, Mingyue Xu 외

The legal mathematical reasoning ability of LLMs is crucial when applying them to real-world scenarios, as it directly affects the credibility of the LLM. While existing legal LLMs can perform general judicial question a…

Mathematical ReasoningQuestion Answering

System-2 Mathematical Reasoning via Enriched Instruction Tuning

2024-12-22 · Huanqia Cai, Yijun Yang, Zhifeng Li

Solving complex mathematical problems via system-2 reasoning is a natural human skill, yet it remains a significant challenge for current large language models (LLMs). We identify the scarcity of deliberate multi-step re…

ERPGSM8KMathMathematical Reasoning