EMNLP papers
Search EMNLP papers by title, author, or track. Open a paper’s abstract to read more.
Explore the EMNLP analysisSearch results
161–180 of 207
- EMNLP · Findings
EMMA: Event-Driven Multimodal Memory System with Multi-Agent Retrieval
Ruochen Zhao, Jiazheng Kang, Dongying Lin, Gezi Li, Ting Bai
Abstract
Long video understanding requires reasoning over hours of content that far exceed the context window of multimodal large language models (MLLMs). Existing approaches compress video into fixed-length clips, yet events are fragmented and unrelated content is merged, yielding noisy retrieval. To overcome this challenge, we propose EMMA, an Event-driven Multimodal Memory system with Multi-Agent retrieval, which organizes memory around semantic events in three stages: (1) Event segmentation: a dual-stream detector adaptively locates event boundaries by fusing visual semantic drift with spoken transitions, rather than fixed windows. (2) Memory construction: built on the detected events, a three-level hierarchy of raw video, clip-level memory, and event-level memory stores content at progressively higher semantic abstraction. (3) Memory retrieval: a multi-agent framework collaboratively queries this hierarchy through query decomposition, tiered search, evidence validation, and answer generation, narrowing evidence from coarse events to precise clips. Extensive experiments on three challenging benchmarks demonstrate substantial improvements, showing the effectiveness of our event-aligned memory system. Code, prompt templates, and reproduction scripts are available at https://github.com/BAI-LAB/EMMA.
Abstract source - EMNLP · Findings
Extending LLM Context via Associative Recurrent Memory
Gleb Kuzmin, Ivan Rodkin, Aydar Bulatov, Yuri Kuratov, Lyudmila Rvanova, Mikhail Katkov, Ilia Sochenkov, Misha Tsodyks, Timothy Baldwin, Mikhail Burtsev, Artem Shelmanov
Abstract
Extending the context length of large language models (LLMs) is critical for many real-world applications, yet standard transformers remain constrained by quadratic compute and linear memory scaling. In this work, we investigate the Associative Recurrent Memory Transformer (ARMT) as a practical approach for enabling long-context processing in LLMs, constant memory scaling, and better efficiency. We make three main contributions. First, we construct two domain-specific long-context datasets designed to evaluate realistic workloads, focusing on narrow-domain fine-tuning scenarios. Second, we propose a comprehensive training recipe for ARMT-based context extension, combining continued pre-training, synthetic long-context data generation, curriculum learning, and selective integration of associative memory into chosen model layers. Third, we present an extensive experimental study demonstrating that ARMT-augmented models: (i) process inputs well beyond their original context limits without degrading performance relative to in-limit baselines; (ii) generalize more effectively to out-of-distribution context lengths; and (iii) need 30% fewer FLOPs while preserving baseline performance within the original context window.
Abstract source - EMNLP · Findings
When Users Don’t Ask: Benchmarking Context-Driven Memory Retrieval in Conversational Agents
Wen Yu Chang, Yun-Nung Chen
Abstract
Large Language Models (LLMs) are increasingly deployed as long-horizon conversational agents, motivating growing interest in memory systems. However, existing benchmarks primarily evaluate memory through QA-style probing rather than in-situ conversational usage. We introduce LOCOMO-CONV, a conversational memory benchmark derived from LoCoMo with four query styles: dialog, implicit, counterfactual, and composed. Across four representative memory systems, we evaluate both retrieval recall and end-to-end response quality. Our experiments show that conversational framing exposes substantial retrieval gaps overlooked by QA benchmarks, especially on implicit and composed queries, which multi-facet query rewriting narrows for raw-turn but not abstractive memory. We further find that strong retrieval does not fully translate into response quality, and that implicit queries exhibit silent grounding, where memory improves contextual grounding without explicitly surfacing the gold fact. These results point to reasoning-based memory elaboration as a promising direction, and we release auxiliary supportive_memory annotations capturing conversationally useful context beyond the original gold evidence.
Abstract source - EMNLP · Findings
Prism: Persistent Faceted File Memory for Cost-Efficient Coding Agents
Ziyun Zhang, Yihao Liu, Yuzhe Zhang, Huaqian Cai
Abstract
Coding agents working on sequential maintenance tasks re-read the same files across related tasks, wasting more than a third of their input tokens on redundant context. The natural fix, caching file summaries, fails to reliably reduce cost: tool-use traces are consistent with agents over-relying on generic descriptions, skipping re-reads, and offsetting token savings with less effective downstream decisions, leaving net cost roughly unchanged. We introduce Prism, a content-hash-keyed file memory that augments summaries with bounded facets: identifier-grounded facts distilled from the agent’s own prior reasoning. On 12 SWE-Chain dependency-upgrade chains, Prism reduces cost by 24.9% on GPT-5 and 9.9% on GPT-5.4-mini, while maintaining comparable aggregate Build+Fix F1. Against no memory, a summary-only ablation yields only a nominal 2.4% cost decrease that falls within run-to-run variability, while a static Aider-style repo-map baseline costs substantially more at 13% over no memory. Two controlled ablations isolate the causal contributions: wiping the persistent store before every task raises cost by 37% over no memory, and replacing facets with a 3× larger unstructured summary raises it by 41%. Code: https://github.com/WhiteFlamesCN/Prism-Opencode.
Abstract source - EMNLP · Findings
Same Ranking, Different Winner: How Scoring Targets Shape LLM Memory Benchmarks
Sugam Panthi, Rabab Abdelfattah
Abstract
Conversational-memory systems increasingly transform dialogue history into facts, summaries, timelines, and other source-linked descendants, so a single source turn can coexist with several derived memories in the same retrieval index. This raises an under-specified evaluation question: which stored form should receive retrieval credit? We show that this scoring-target choice is often left implicit and can materially change benchmark conclusions. We present TIAP, a fixed-output audit that rescores saved ranked outputs under three targets—Raw, Source, and Canonical—without rerunning retrieval. On LoCoMo and LongMemEval-S, switching only the credited target changes nDCG on 83.4%–94.0% of shared queries, flips target orderings on Mem0 and MemoryOS transfer runs, and reverses parser-density recommendations. A 1,902-case semantic audit further shows that relaxed source-linked credit is fully justified only 29.2% of the time, despite high rubric reliability in a validation subset. These results reveal target noninvariance: conclusions about memory architectures can silently flip with a single benchmark-design choice. Conversational-memory papers should therefore define and report the scoring target explicitly.
Abstract source - EMNLP · Findings
Query-Efficient Memory Injection Attacks on LLM Agents
Yicong Tan, Yang Zhang
Abstract
LLM agents increasingly rely on persistent, shared memory, turning the memory module into a new attack surface through which attackers can inject malicious text via query-only interaction. Existing query-only attacks, however, remain expensive, requiring multiple bridging injected queries per target and leaving visible directive traces in stored records. We present AMIA (Agent Memory Injection Attack), which improves both query efficiency and stealth through three injection families along a stealth-to-effectiveness axis: prompt injection, semi-instruction that hides the misleading answer in a benign restate or discredit request, and no-instruction that delivers the false claim as the presupposition of a natural follow-up question. We progressively scale AMIA from QA agents on flat key-value memory, to multi-agent shared memory, and to three production-oriented memory architectures (Mem0, A-MEM, MemoryOS), and finally to three non-QA agent classes (clinical support, code summarization, web shopping), where AMIA exceeds prior query-only attacks on most settings while using a fraction of their inject query budget. We further evaluate defenses that mitigate all three attack families across settings. Our code is available at: https://github.com/TrustAIRLab/AMIA.
Abstract source - EMNLP · Findings
PEAM: Parametric Embodied Agent Memory for Continual Skill Learning via Internalization of Experience in Minecraft
Yuchen Guo, Junli Gong, Weicheng Wang, Hongmin Cai, Yiu-ming Cheung, Weifeng Su
Abstract
We present PEAM, a Parametric Embodied Agent Memory framework in Minecraft that transforms agent memory from inference-time retrieval into parameter-resident skills internalized through experience. PEAM pairs a slow deliberative LLM for open-ended reasoning with a fast parametric module for reflexive execution of consolidated skills. The fast module is a multimodal Mixture-of-Experts LoRA architecture with per-category physically isolated adapters, enabling parameter-level continual learning with structural resistance to cross- category forgetting. We treat failure as a first-class training signal: failure–correction trajectory pairs are internalized through a joint behavioral-cloning and contrastive objective, so the agent learns not only what succeeds but also how corrected actions differ from failed ones. To govern consolidation, PEAM introduces a parameterization-worthiness score for deciding which experience should be internalized, and a scale-free self-triggered consolidation mechanism for deciding when to internalize without task-specific hand-tuned thresholds, making the agent self-evolving as the trigger transfers across task distributions without re-tuning. Experiments in Minecraft show that PEAM improves long-horizon task performance, mitigates forgetting on previously consolidated skills, and improves parametric-versus-retrieval efficiency over retrieval-based embodied agents and parametric memory variants.
Abstract source - EMNLP · Findings
Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference
Md Mostafizer Rahman, Md Faizul Ibne Amin, Md. Shahajada Mia, Yutaka Watanobe, Fang Liu
Abstract
Large language model (LLM) inference is constrained by the quadratic scaling of self-attention and the linear scaling of the KV cache, increasing latency, energy consumption, and GPU memory demand as context length scales. Existing soft-compression methods either lack query-guided memory selection at inference time, train without answer-targeted supervision, or couple compression tightly to a specific decoder architecture. We propose a Context-to-Answer-Aligned Memory Compression (CMC) framework, which compresses long input contexts into compact Context Memory Embeddings (CMEs) aligned to any frozen decoder’s embedding space, reducing inference costs without modifying decoder weights. CMC introduces a two-tier KV cache that combines question-guided CME selection with a local context window, and trains the compressor with answer-targeted distillation from a frozen LLM. Experiments across nine encoder-decoder combinations and four QA benchmarks show that CMC consistently outperforms the baseline, achieving up to 7.3 EM and 4.0 F1 point gains on SQuAD, while reducing inference time and energy consumption by up to 20% and peak reserved GPU memory by up to 50% at 3,000 generation tokens. Ablation studies confirm that each architectural component and training objective contributes to the performance.
Abstract source - EMNLP · Findings
From Memory to Skills: Evidence-Grounded Governance for Long-Horizon LLM Agents
Bo Tang, Yang Zhang, Guomian Zhuang, Wenqiang Wei, Gaoyang Zheng, Lindong Xie, Yanchao Tan, Feiyu Xiong, Qingyu Yang, Edward Chung, Zhiyu li
Abstract
Existing memory systems for long-horizon LLM agents often retrieve prior traces as passive context rather than converting them into executable capabilities. In this paper, we propose MSCE, a training-free Memory–Skill Co-Evolution framework that organizes agent experience into grounded step traces, reusable procedural policies, and declarative environmental cognition. MSCE crystallizes evidence-backed L2 policies with positive estimated gain into callable skills that retain evidence links, applicability boundaries, decision guidance, verification rules, and reliability estimates. It further introduces reflection-weighted value backfilling, which propagates sparse terminal feedback through dense local self-reflections to produce evidence-calibrated trace values for governing memory and skill evolution. Experiments on EvoAgentBench and LoCoMo show that MSCE achieves the best aggregate performance among the evaluated skill-augmented and memory-driven baselines, with statistically supported aggregate gains, positive cross-domain transfer, and continual improvement as online experience accumulates. Our code is available at https://github.com/MemTensor/MemOS/tree/main/apps/memos-local-plugin.
Abstract source - EMNLP · Findings
Mem-ABC: Attitude-Aware Agent Memory for Personalized Question Answering
Yinghan Shi, Kai Fu, Quanyou Chu, Xinyu Liu, Ming Du, Hongya Wang, Xiaojun Meng, Jiansheng Wei, Yanghua Xiao, Bo Xu
Abstract
Personalized Question Answering (PQA) requires models to shift from a fact-centric to a user-centric paradigm, inferring implicit intents from historical interactions. However, standard Retrieval-Augmented Generation (RAG) struggles with narrative noise and fragmented semantics. Similarly, while Agent Memory was proposed to maintain long-term consistency, existing implementations predominantly focus on accumulating objective facts, neglecting the subjective attitudes essential for personalization. We argue that for PQA, while objective facts provide the necessary foundational context, relying solely on them is insufficient; they must be augmented by explicit modeling of subjective attitudes to capture a comprehensive user profile. To address this, we introduce Mem-ABC, an Attitude-Aware Agent Memory framework grounded in the Tripartite Model of Attitudes (Affect, Behavior, and Cognition). Mem-ABC employs a two-stage offline process: first autonomously refining raw history into general memories to eliminate noise, and subsequently reorganizing them into a structured attitude-aware memory. This structure enables the agent to explicitly retrieve context aligned with user psychology. Experiments on the LaMP-QA benchmark demonstrate that Mem-ABC consistently outperforms strong baselines across multiple domains.
Abstract source - EMNLP · Findings
Beyond Static Dialogues: Benchmarking Realistic, Heterogeneous, and Evolving Long-Horizon Memory
Han Zhang, Zihao Tang, Xin Yu, Xiao Liu, Yeyun Gong, Haizhen Huang, Yan Lu, Weiwei Deng, Feng Sun, Qi Zhang, Hanfang Yang
Abstract
In existing memory benchmarks for Large Language Models (LLMs), the evaluated dialogue sessions often lack long-term semantic consistency, and the underlying personas tend to be flat and static. Furthermore, in real-world scenarios, interactions between users and assistants involve more diverse, heterogeneous data streams, such as documents and emails. These shortcomings significantly limit the realism and effectiveness of current evaluations. To address these limitations, we introduce \textbf{RHELM} (\underline{R}ealistic, \underline{H}eterogeneous, and \underline{E}volving \underline{L}ong-term \underline{M}emory). Driven by meticulously crafted user profiles and a novel \textbf{LOOP} (p\underline{L}an-r\underline{O}llout-ev\underline{O}lve-\underline{P}rune) module, we construct realistic dialogues across diverse interaction scenarios that exhibit dynamic temporal evolution and long-term coherence. Crucially, these dialogues are deeply integrated with heterogeneous external sources synchronized with the user’s temporal event trajectory. The resulting benchmark encompasses challenging question-answer pairs spanning \textbf{seven} inquiry types, with each question mapping to at least one of \textbf{27} critical memory characteristics that we identify as essential yet underexplored in current research. Comprehensive experiments across full-context models, retrieval-augmented generation (RAG) methods, and representative memory frameworks reveal that contemporary approaches still expose critical weaknesses in complex, real-world settings, particularly in resolving multi-source aggregation and real-world contextual reasoning.
Abstract source - EMNLP · Findings
Remember and Reweight: Enhancing Multi-Agent Debate with Experience Memory and Confidence Estimation
Xuanfa Jin, Zhijian Ma, Yongcheng Zeng, Xinyu Cui, Haifeng Zhang, Jun Wang
Abstract
Multi-agent debate (MAD) improves the reasoning capabilities of large language models by having multiple agents iteratively refine their responses through discussion. However, MAD suffers from a critical vulnerability known as shared misconception: when a majority of agents initially converge on an incorrect answer, the debate process tends to amplify rather than correct the error. Existing methods primarily address peer skew but leave the agents’ inherently biased concept priors unaddressed. To mitigate this systematic weakness, we propose **R^2-MAD** (Remember and Reweight for Multi-Agent Debate), a framework that equips agents with an experience memory accumulated from past debates. R^2-MAD intervenes on both failure modes through two complementary mechanisms: A debate-state-aware retrieval policy dynamically calibrates the concept prior by retrieving relevant historical evidence based on the current consensus level. Then these retrieved experiences provide a basis for estimating per-agent reliability, yielding confidence weights to modulate peer influence. Experiments on various benchmarks show that R^2-MAD achieves consistent improvements over existing single-agent and MAD baselines.
Abstract source - EMNLP · Findings
MemoryCD: Benchmarking Long-Context User Memory of LLM Agents for Lifelong Cross-Domain Personalization
Weizhi Zhang, Xiaokai Wei, Wei-Chieh Huang, Zheng Hui, Chen Wang, Michelle Gong, Philip S. Yu
Abstract
Recent advancements in Large Language Models (LLMs) have expanded context windows to million-token scales, yet benchmarks for evaluating memory remain limited to short-session synthetic dialogues. We introduce MemoryCD, the first large-scale, user-centric, cross-domain memory benchmark derived from lifelong real-world behaviors in the Amazon Review dataset. Unlike existing memory datasets that rely on scripted personas to generate synthetic user data, MemoryCD tracks authentic user interactions across years and multiple domains. We construct a multi-faceted long-context memory evaluation pipeline of 14 state-of-the-art LLM base models with 6 memory method baselines on 4 distinct personalization tasks over 12 diverse domains to evaluate an agent’s ability to simulate real user behaviors in both single and cross-domain settings. Our analysis reveals that existing memory methods are far from user satisfaction in various domains, offering the first testbed for cross-domain life-long personalization evaluation.
Abstract source - EMNLP · Findings
ShardMemo: Scope-Before-Routing for Agentic Memory Retrieval
Yang Zhao, Chengxiao Dai, Mengying Kou, Yue Xiu, Dusit Niyato
Abstract
Agentic systems accumulate persistent memory across sessions, tools, and tasks, and a later request must retrieve from it under two distinct constraints: which memories it is permitted to access, and which are relevant under a limited search budget. Existing memory systems handle access scope in two flawed ways: applying scope after retrieval wastes probe budget on inadmissible memories, while treating scope as a learned ranking feature makes a hard constraint depend on router quality. We present ShardMemo, an agentic memory system built on scope-before-routing: metadata predicates first identify the admissible shards, and a learned router then selects a small number of them for shard-local approximate nearest neighbor retrieval. This separates hard admissibility from learned relevance ranking, so inadmissible shards cannot consume shard-probe budget. We evaluate on LoCoMo, HotpotQA, and ToolBench, covering conversational, long-context, and procedural memory. Under matched supervision and fixed budgets, ShardMemo improves over a learned router baseline by roughly +3 F1 on LoCoMo; in end-to-end LoCoMo evaluation it improves over the strongest evaluated memory baseline by up to +6.8 F1, with gains on HotpotQA and ToolBench.
Abstract source - EMNLP · Findings
ECO-Mem: An Event-Centric Organization Framework for Visibility-Controlled Long-Term Memory
Xing Pei, Dandan Song, Zhijing Wu, Yuhang Tian, Jun Yang, Yitian Ma, Yading Li, Xudong Li, Huipeng Ma, Yan Xu
Abstract
Large language models have achieved strong single-turn language understanding and generation abilities, but long-term agent applications require models to handle dynamic interaction history beyond an isolated inference call. Existing agent memory systems address this need through external storage and retrieval and have achieved promising results. However, many existing frameworks rely on full storage or highly structured memory representations, which can increase cost and noise while disrupting event coherence. Inspired by cognitive views of event organization and adaptive forgetting, we introduce ECO-Mem, an event-centric organization framework for visibility-controlled long-term memory. ECO-Mem segments dialogue into source-linked event episodes and connects them through typed event relations, representing memory as linked events rather than isolated facts. It implements forgetting as non-destructive visibility control instead of destructive deletion. At query time, it traverses the event-relation graph to identify relevant hidden support and reactivates it only when the source evidence confirms the query context. Experiments on LoCoMo and RealTalk validate ECO-Mem’s effectiveness and efficiency for long-term agent memory.
Abstract source - EMNLP · Findings
MemBook: A Hierarchical Reasoning-based Memory Framework for Hallucination-Resistant LLM Agents
Tongshu Bian, Yunxin li, Zhenran Xu, Tianqi Shi, Longyue Wang, Baotian Hu, Min Zhang
Abstract
Memory is a cornerstone of foundation model-based agents for ultra-long-term interaction. However, hallucinated or noisy information can accumulate inside memory systems and progressively contaminate downstream tasks. Existing systems face two key challenges: (1) memory construction mechanisms trade off between faithful recall and hallucination suppression; and (2) retrieval relies on shallow semantic similarity, failing to distinguish logically irrelevant memories. We propose **MemBook**, a hierarchical time-aware memory framework for hallucination-resistant agents. For memory construction, MemBook introduces a stateful memory stabilization mechanism that prevents hallucinated claims from being consolidated into persistent memory and organizes reliable memories into an evolving Session–Chapter–Memory Point hierarchy. For memory retrieval, MemBook performs reasoning-based hierarchical retrieval over this evolving memory book to identify temporally and logically relevant memories. Experiments on HaluMem-Medium, HaluMem-Long, and LongMemEval show that MemBook improves extraction quality and downstream performance while suppressing cross-stage hallucination propagation. Notably, MemBook remains stable under ultra-long contexts, outperforming GAM by absolute 19.57% QA accuracy improvement on HaluMem-Long.
Abstract source - EMNLP · Findings
AWM: Answerable Working Memory for Long-Document VQA Agents
Dongzhuoran Zhou, Yuqicheng Zhu, Yule Liu, Zhen Yang, Rui Lu, Yuxiao Dong, Jie Tang, Evgeny Kharlamov
Abstract
Long-document visual question answering increasingly relies on VLM agents that retrieve candidate pages, inspect page images, write findings to working memory, and synthesize answers. Working memory should carry answer-supporting evidence across page inspections for later grounded answering, yet existing evaluation mainly checks final-answer correctness and evidence-page access. This creates a memory-quality blind spot: an agent may reach the right page and answer correctly while leaving behind memory too generic or incomplete to support answering once page context is removed. We introduce memory-only answerability, a diagnostic that asks whether a reader can answer from the question and terminal working memory alone. Building on this diagnostic, Answerable Working Memory (AWM) treats terminal working memory as an answerable evidence artifact, and AWM-GRPO incorporates this signal into the GRPO reward while preserving final-answer priority. Under GRPO, this reward assigns higher advantages to answer-correct trajectories whose terminal working memory remains answerable. On MMLongBench-Doc, even when gold evidence pages are provided, 42.5% of correct answers still cannot be answered from terminal working memory alone. AWM-GRPO improves final-answer accuracy over the RAG baseline by 8.1 and 11.9 points on MMLongBench-Doc and LongDocURL and reduces the memory-missing-correct rate by 2.7 points over answer-only GRPO.
Abstract source - EMNLP · Findings
Memory Beyond Recall: A Dual-Process Cognitive Memory System for Self-Evolving LLM Agents
Tianxiang Fei, Mingyang Song, Mao Zheng, Xiang Yu
Abstract
Long-term memory for an LLM agent requires more than retrieving a relevant passage. Many existing systems address belief revision, causal connections and cross-domain abstraction primarily through storage and retrieval mechanisms, limiting their ability to support implicit personalisation as a user’s preferences evolve. We present DPCM, which organises memory into a capability hierarchy spanning raw inputs, atomic facts, belief trajectories, identity, domain schemas, prospective intentions and cross-domain patterns. A synchronous daytime writer (SYSTEM 1) records revisions as doubly linked supersedes chains; an asynchronous nighttime engine (SYSTEM 2) induces schemas and intentions, then uses cross-domain collisions to derive core schemas. Dual-process theory motivates this separation between online encoding and offline abstraction without implying that agent memory reproduces human cognition. Across single-run evaluations on LongMemEval, PersonaMem and PersonaMem-v2, SYSTEM 2 yields its largest observed gain on implicit cross-session inference (+5.20 on PersonaMem-v2) and its smallest on the recall-oriented LongMemEval aggregate (+0.33). When the inference budget is limited to 8k tokens and the full history no longer fits, DPCMfull exceeds the long-context baseline by 10.5–17.9 points across both backbones.
Abstract source - EMNLP · Findings
Calibrating Hierarchical Memory Utilization for Long-Term Memory QA
Hang Lv, Xuyang Zhi, Hongchao Gu, Hao Wang
Abstract
Long-term memory systems increasingly organize interaction histories into hierarchical contexts, where coarse summaries, mid-level events, and fine-grained evidence provide complementary signals for future queries. Yet after retrieval, these signals are often collapsed into a single generation context and used implicitly. We ask how retrieved hierarchical memory should shape generation after access, framing it as a post-retrieval calibration problem. We propose HiR, a training-free inference-time framework that contrasts full-hierarchy decoding with a coarse-only reference view, preserving the complete hierarchy while tempering over-reliance on broad abstractions. Extensive experiments and analyses show that HiR enables more effective and robust use of hierarchical memory without changing memory construction or retrieval; more broadly, our results suggest that memory research should consider not only what to store or retrieve, but also how retrieved information shapes generation.
Abstract source - EMNLP · Findings
Sparse Long Memory and Transition Bottlenecks Shape Positional Recall in Mamba Language Models
Muhammad Cendekia Airlangga, Hilal AlQuabeh, Munachiso Samuel Nwadike, Kentaro Inui
Abstract
Mamba language models process sequences recurrently, but recurrent processing does not imply that all tokens are retained equally. We study this gap using structured recall tasks that expose primacy, recency, and lost-in-the-middle behavior. Our results suggest that Mamba uses two functional memory regimes: a short-lived state that supports recency, and a sparse long-lived channel subspace that preserves selected early inputs. Targeted interventions on this long-memory subspace selectively degrade early recall and transfer to long-context QA and summarization, indicating that the same channels support real long-context use. We then ask why middle items are forgotten despite being processed sequentially. We find that the central failure is a short-to-long memory transition bottleneck: middle items are no longer recent enough for short memory, but are often not promoted into the sparse long-lived subspace. Repeated input structure strengthens this bottleneck by changing the input-dependent discretization dynamics. These findings provide a mechanistic account of Mamba’s U-shaped recall curve as the interaction between long memory, short memory, and a fragile transition between them.
Abstract source