Skip to content
Book Open access

Process In-Context Learning: Confusion-Aware Demonstration Retrieval and Dynamic Insertion for Mathematical Reasoning

Nov 2026 · Proceedings of the 35th ACM International Conference on Information and Knowledge Management · pp. 1234-1245 · 0 citations · 50 references

TL;DR

Experimental results show that PICL outperforms representative baselines by alleviating mid-process confusion, demonstrating the effectiveness of adaptive demonstration insertion for complex mathematical reasoning.

Abstract

In-context learning (ICL) has achieved strong results across a wide range of large language model (LLM) tasks. However, its effectiveness for problems that require step-by-step deduction, such as mathematical reasoning, is still not well understood. One major limitation of existing ICL methods is that demonstrations are chosen before inference and remain unchanged throughout reasoning. As a result, they cannot respond to confusion points that emerge during multi-step problem solving, such as uncertain calculations or missing logical transitions. When these confusion points are not resolved, they may propagate and ultimately degrade answer accuracy. To address this limitation, we propose Process In-Context Learning (PICL), a dynamic demonstration insertion framework for mathematical reasoning. PICL consists of 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. Experimental results show that PICL outperforms representative baselines by alleviating mid-process confusion, demonstrating the effectiveness of adaptive demonstration insertion for complex mathematical reasoning.

Read PDF

Similar papers

#natural language process... Open access Oct 2026

Learning When to Think: Utility-Guided Adaptive Reasoning for Efficient Text Retrieval

Reasoning-conditioned embeddings can improve retrieval by progressively refining semantic constraints. However, additional reasoning may introduce over-generalized or semantically noisy abstractions that weaken retrieval specificity. Existing methods largely supervise reasoning through final retrieval outcomes, providi...

Yingtao Luo, Kang-Yi Zhao, Shi-Yi Du et al. · 0 citations
#natural language process... Preprint Oct 2026

PAIR: Memory-Efficient and Fast Inference with Reading--Reasoning Fusion

For context-based question answering, using one large model for both evidence extraction and answer reasoning requires substantial memory and computation. Existing approaches trade accuracy for efficiency within a single model only. We propose a multi-model approach for efficient inference: our method, PAIR, employs tw...

Sejun Park, Hao-Chen Xia, Yongjoo Park · 0 citations
Preprint Oct 2026

Where and Why Search-Augmented LLMs Fail When Reasoning over Rapidly Evolving Knowledge

As the world changes, new information is published while older records remain online. This complicates reasoning for large language models (LLMs), which must retrieve evidence and resolve conflicts to determine which information remains valid. Existing evaluations treat information seeking as a black box, revealing lit...

Tian-Yi Hu, Bhavyajeet Singh, Niket Tandon et al. · 1 citation
#artificial intelligence Preprint Oct 2026

ImplicitHop: Evaluating knowledge integration across context and memory

The ability to integrate new information and deduce its consequences is central to learning, understanding, and reasoning in large language models (LLMs). Whether information arrives during training or in-context, models must not only store local facts, but propagate their long-range implications globally. To explore i...

А. Н. Детков, Dashiel Karish, Matthew Oleynikov et al. · 0 citations
#computer vision Preprint Oct 2026

ActICL: Post-Training for Agentic Multimodal In-Context Learning

Multimodal in-context learning (ICL) is an important capability of multimodal large language models (MLLMs). Its performance is closely tied to the demonstrations it uses, making demonstration retrieval a core problem for ICL. Common methods use fixed scoring methods to retrieve all the demonstrations at once, which ma...

Yanshu Li, Rui-Xiang Tang, Junyi Jessy Li et al. · 1 citation
Preprint Oct 2026

Stepwise Reasoning Verification: Don't Generate, Classify!

Verifying the reasoning of large language models is increasingly important as they are applied to complex mathematical and scientific problems. Existing work focuses on large decoder models and reports mixed results for generative and discriminative verifiers, leaving unclear which paradigm is more effective and whethe...

Yi-Fei Shi, Michalis Korakakis, Rami Aly et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.