Manuscript Offprint

arXiv:2610.24378

PACE-Mem: Prefix-Aware Complementary Evidence for Multimodal Agents

Shidu Ren, Rong-cheng Tu, Hang Zhou, Xiao Luo

Shidu Ren, Rong-cheng Tu, Hang Zhou, and Xiao Luo

Abstract—As multimodal agents accumulate experience, their long-term memories contain many similar observations of recurring scenes, actions, and entities. Answer quality depends on the evidence retrieved from these memories into the model's context. However, query-relevant memories may contain overlapping information, and a fixed retrieval depth may return too little or too much evidence for a given question. To address these challenges, we propose PACE-Mem, Prefix-Aware Complementary Evidence, which constructs a complementary evidence sequence and determines its length from the same selection trajectory. For structured memories, query-guided pooling combines records within each clip to obtain relevance scores and representations. Using these relevance scores and representations, maximal marginal relevance (MMR) selection balances query relevance against overlap with previously selected evidence. From the resulting score trajectory, a prefix-length selection algorithm determines retrieval depth by comparing length-normalized adjacent declines, accounting for both score changes and the amount of evidence accumulated. PACE-Mem is a training-free, plug-in retrieval method for clip-based agent memory systems, leaving memory construction and answer generation unchanged. Across three long-video benchmarks and two agent frameworks, PACE-Mem improves question-answering accuracy by an average of 1.6% over Adaptive-k, the strongest baseline at comparable mean retrieval depths. Further analysis reveals that jointly adding and removing evidence is associated with larger net accuracy gains than either change alone.

Index Terms—Long-term memory, memory retrieval, multimodal agents, retrieval depth, video question answering.

I. INTRODUCTION

MULTIMODAL agents use long-term memory to answer questions about visual events and speech encountered in past experiences [1], [2], [3]. As interactions accumulate, this memory preserves information beyond the agent's current observation. Retrieval brings relevant experiences into the model's context [4], [5], making the evidence available at answering time depend on which parts of the stored history are returned.

Agent memory retrieval operates over an accumulated stream of experience, where relevant records can be strongly correlated.

Code: https://github.com/Shidu-Ren/PACE-Mem.

Corresponding author: Rong-cheng Tu.

Shidu Ren is with the Edward S. Rogers Sr. Department of Electrical and Computer Engineering, University of Toronto, Toronto, ON M5S 3G4, Canada (e-mail: ryan.ren@mail.utoronto.ca).

Rong-cheng Tu is with the College of Computing and Data Science, Nanyang Technological University, Singapore 639798 (e-mail: rongcheng.tu@ntu.edu.sg).

Hang Zhou is with the Department of Statistics and Operations Research and the School of Data and Information Science, The University of North Carolina at Chapel Hill, Chapel Hill, NC 27599 USA (e-mail: hzh@unc.edu).

Xiao Luo is with the Department of Statistics, University of Wisconsin–Madison, Madison, WI 53706 USA (e-mail: xiao.luo@wisc.edu).

Figure

Retrieved memories

Fig. 1. Evidence selection in long-video memory, illustrated with VideoMME-Long frames. Top: retrieved views repeat nearby activity around a pole-vault attempt while omitting the view that reveals contact with the bar. Middle: a short prefix misses the check handoff. Bottom: a long prefix includes unrelated artwork after the key view. PACE-Mem chooses prefix length from the scores obtained while selecting complementary clips.

This overlap within a shared history distinguishes memory retrieval from search over heterogeneous document collections [6]. In multimodal memory, adjacent video intervals often depict the same scene, people, or ongoing action. An event may appear in both visual descriptions and speech transcripts, and structured memory may associate multiple episodic and semantic records with one interval. Ranking records independently by relevance can therefore return repeated content while overlooking a decisive detail. In the top example of Fig. 1, relevance-only retrieval returns similar pole-vault views but misses the view revealing contact with the bar. Evidence needs also vary by question: a short context may omit necessary facts, while a long one can make relevant information difficult to use [7]. The middle and bottom examples of Fig. 1 illustrate a missed check handoff and the inclusion of visually salient but unrelated artwork, respectively.

These examples show why retrieval must determine both which records to return and how many. A longer context can preserve existing evidence while adding new clips, whereas changing its composition can introduce a missing fact and remove competing information without increasing its size.

Preprint

Existing work addresses agent memory through memory-system design and retrieval-time evidence selection. xMemory builds a revisable hierarchy of memory components and groups, then retrieves through this hierarchy with uncertainty-guided evidence expansion [6]. A-MEM organizes memories as interconnected notes and updates their links and contextual attributes as new experiences arrive [8]. A complementary direction develops retrieval methods that control which evidence enters the answer context. Adaptive-RAG uses a question-complexity classifier to choose among no retrieval, single-step retrieval, and iterative retrieval [9]. Adaptive-k locates the largest gap in ranked query-document relevance scores and extends the resulting cutoff with a fixed buffer [10]. Redundancy-aware selection has also been combined with quantity control, using relative declines between consecutive maximal marginal relevance (MMR) scores or gaps between utilities that account for redundancy [11], [12].

Improved memory organization alone does not ensure complementary evidence or a suitable retrieval depth. Even structured memories can retain overlapping observations of the same scene from similar viewpoints. Fixed-depth retrieval cannot adapt to varying evidence needs, while question-based routing and initial relevance-gap cutoffs do not track overlap with subsequently selected evidence. Redundancy-aware selection accounts for this overlap, but adjacent score declines alone do not explicitly reflect the amount of evidence already selected. The remaining question is how to compare candidate stopping points that correspond to different prefix lengths.

To address this problem, we propose PACE-Mem, Prefix-Aware Complementary Evidence, which determines evidence composition and retrieval depth from a shared selection trajectory. For structured memories, query-guided pooling combines related records within each clip to obtain relevance scores and representations for ranking and redundancy assessment. Flat memories use their existing clip representations. MMR [13] then constructs an evidence sequence by balancing query relevance against overlap with earlier selections. From the recorded scores, our prefix-length selection algorithm chooses the initial portion of this sequence to return. It compares adjacent score declines after length normalization, accounting for both local score changes and the amount of evidence accumulated. PACE-Mem is training-free and can be plugged into these memory interfaces without changing memory construction or answer generation. Evidence selection requires no additional foundation-model calls.

We evaluate PACE-Mem with M3-Agent and a retrieval-based SiLVR configuration on M3Bench Robot, M3Bench Web, and VideoMME-Long. Average accuracy rises from 44.2% with Original M3-Agent to 52.2% with PACE-Mem, an 8.0% gain. Across the two frameworks and three benchmarks, PACE-Mem improves accuracy by an average of 1.6% over Adaptive-k, the strongest baseline at comparable mean retrieval depths.

Further evidence-set analysis shows that similar retrieval depths can correspond to different evidence compositions. In SiLVR's single-retrieval setting, questions for which PACE-Mem both adds and removes clips relative to Fixed-7 exhibit larger within-group net accuracy gains than those involving only additions or only removals. This finding highlights the importance of evidence composition: retrieval must determine not only how much evidence to return, but also which evidence to retain, introduce, and remove.

Our contributions are as follows:

• We formulate memory retrieval as the joint selection of evidence composition and retrieval depth, where the returned amount depends on the complementary evidence accumulated for each question.

• We propose PACE-Mem, a training-free, plug-in method that combines complementary sequence construction with length-normalized prefix-length selection. For structured memories, query-guided pooling supplies relevance scores and representations for both candidate ranking and redundancy assessment.

• We evaluate PACE-Mem in two agent frameworks across three long-video benchmarks, covering structured and flat memory interfaces. Paired evidence-set analysis relates membership changes to answer corrections and regressions, complementing aggregate accuracy and retrieval-depth comparisons.

References (54)