paper-with-me

홈 › Papers

PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory

2026-08-04 · Dawei Liu, Haixu Song, Shuang Cheng, Shijie Wang, Haozheng Hou, Kaifeng Liu, Ermo Hua, Zhonghang Yuan, Zhijie Zhong, Yuchen Fan, Biqing Qi, Bowen Zhou arxiv

Long-context reasoning remains a critical bottleneck for large language models, as recent recurrent-memory approaches face two inherent challenges: sequential chunk-wise updates can overwrite early critical evidence with later irrelevant content, and serial inter-chunk dependencies limit parallelism and cause latency to increase with context length. To address these issues, we propose PI-Mem (Parallel-Iterative Memory), a mechanism that processes all chunks in parallel and iteratively refines a shared memory over a bounded number of turns. In each turn, PI-Mem reads all chunks in parallel conditioned on the current memory, selects new or complementary evidence from each chunk, and merges the selected evidence into a compact shared memory for the next turn. To discourage redundant turns, we optimize the workflow through reinforcement learning with an auxiliary turn-efficiency reward, enabling the model to adaptively exit once sufficient evidence has been accumulated. We evaluate PI-Mem with Qwen3.5-35B-A3B and Qwen2.5-7B on the HotpotQA benchmark across context lengths up to 3.6 million tokens and find that it outperforms the recurrent-memory baseline by +6.25 and +7.81 absolute points while achieving 6.1$\times$ and 2.1$\times$ inference speedups, respectively. These results demonstrate that PI-Mem breaks the accuracy--efficiency trade-off in long-context reasoning and provides a scalable approach to complex multi-hop question answering over extremely long documents.

📄 PDF Abstract BibTeX arXiv:2608.03048

Code (0)

등록된 구현이 없습니다.

Tasks

Multi-hop Question AnsweringReinforcement Learning

Similar Papers 제목 키워드 기반

Argus: Evidence Assembly for Scalable Deep Research Agents

2026-05-15 · Zhen Zhang, Liangcai Su, Zhuo Chen, Xiang Lin 외 arxiv

Deep research agents have achieved remarkable progress on complex information seeking tasks. Even long ReAct style rollouts explore only a single trajectory, while recent state of the art systems scale inference time com…

Reinforcement Learning

PSD: Pushing the Pareto Frontier of Diffusion LLMs via Parallel Speculative Decoding

2026-05-15 · Shengyin Sun, Yiming Li, Renxi Liu, Xinqi Li 외 arxiv

Diffusion large language models (dLLMs) generate text by iteratively denoising masked token sequences. Although dLLMs can predict all masked positions in parallel within each step, the large number of denoising iteration…

Code Generation

SideQuest: Model-Driven KV Cache Management for Long-Horizon Agentic Reasoning

2026-02-26 · Sanjay Kariyappa, G. Edward Suh arxiv

Long-running agentic tasks, such as deep research, require multi-hop reasoning over information distributed across multiple webpages and documents. In such tasks, the LLM context is dominated by tokens from external retr…

P-EAGLE: Parallel-Drafting EAGLE with Scalable Training

2026-02-01 · Mude Hui, Xin Huang, Jaime Campos Salas, Yue Sun 외 arxiv

Reasoning LLMs produce longer outputs, requiring speculative decoding drafters trained on extended sequences. Parallel drafting - predicting multiple tokens per forward pass - offers latency benefits over sequential gene…

Parallel Context Compaction for Long-Horizon LLM Agent Serving

2026-05-22 · Musa Cim, Burak Topcu, Chita Das, Mahmut Taylan Kandemir arxiv

Long-horizon LLM agents accumulate growing conversation histories that eventually exceed the model's context window. Context compaction via LLM-based summarization keeps the conversation bounded, but summarization is inh…

Prompt Engineering