ConvMem: Convolutional Memory for Long-Context Reasoning
Hongming Zhang, Zhaozhen Gu, Fengshuo Bai, Ming Hao, Qingyang Zhang, Yuanyuan Wang, Shiyang Tang, Yanna Wang, Bo Xu
Abstract
While Large Language Models (LLMs) have demonstrated impressive capabilities, they often struggle with extremely long contexts due to fixed context limits. To address this, sequential approaches like MemAgent extend the effective context by reading text in segments and iteratively updating a fixed-size memory. However, this sequential paradigm suffers from high latency and requires costly reinforcement learning (RL) training, which can lead to overfitting on specific datasets. To overcome these limitations, we propose ConvMem, a training-free, highly parallelizable framework that reformulates long-context reasoning as a hierarchical convolution. Inspired by CNNs, ConvMem treats an LLM prompted with a specific query as a convolutional kernel. This kernel summarizes text segments hierarchically, shortening the reasoning path from a linear chain into a logarithmic tree. Specifically, ConvMem integrates Configurable Strides and Skip Connections to ensure robust evidence capture and propagation, while employing Multi-Kernel Convolution to decompose complex queries into disentangled semantic channels. This design not only mitigates error accumulation but also enables massive parallelization across both text segments and reasoning threads. Experiments on RULER-HotpotQA and RULER-2WikiMultiHopQA demonstrate that ConvMem outperforms training-free baselines and avoids the risk of overfitting to parametric priors often observed in RL-trained models on out-of-distribution tasks.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
Residual Vector-based Reconstruction as Long-Context Recall Regardless of Context Window Size
Shared title terminologycs.AIMyungHoon Ryu, XinYu Piao, Jong-Kook Kim
Self-Improving Long-Horizon Reasoning by Learning Summaries from Local Continuations
Shared title terminologycs.AIHaoqun Cao, Tengyang Xie
DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
Shared title terminologycs.AIHaochen Li, Xiaobing Tu, Yinggui Wang et al.
When Does Optical Context Compression Pay Off? A Decode-Aware Cost Analysis of Reasoning VLMs
Shared title terminologycs.AIZiqing Ge
Post-Training Agents for Long-Document Reasoning
Shared title terminologycs.AISushant Mehta, Logan Ritchie, Edwin Chen
LifeFuse-Mem: Lifecycle-Aware State Fusion Against Temporary Overwriting for Long-Term Memory
Shared title terminologycs.AIHanyu Zhao, Yuqian Feng, Zhenyu Song et al.