TL;DR
MemPilot trains an orchestrator with Reinforcement Learning to decide, per query, how much memory to retrieve, how to curate it, and which LLM/VLM to delegate to, giving tunable quality-cost-latency trade-offs instead of one fixed operating point.
Why It Matters
Say you’ve built a long-running assistant that accumulates months of multimodal chat history (text plus images). Before every query, you have to decide: do we pre-digest all that history into a compact memory bank up front, or do we leave it raw and process it at query time? Pre-digesting is cheap at query time but loses details you didn’t anticipate needing. Query-time processing keeps everything but costs tokens, dollars, and seconds on every call.
Most agent memory systems pick one strategy and hard-code it. Recent runtime-adaptive systems (the paper cites GAM and BudgetMem among others) specialize in a single operation or expose coarse budget tiers. None give you a single knob that trades answer quality against cost and latency across a broad range. That’s the gap MemPilot targets.
How It Works
The core idea: keep two parallel views of the history. A compressed, query-agnostic memory bank built offline (the paper uses LLMLingua-2 at 0.4 compression), and the raw multimodal history chunked into 256-token pieces. At query time, a small orchestrator model (Qwen3-4B-Instruct) runs a multi-step loop. At each step it picks one of two actions:
•
Retrieve: semantic search over the compressed bank. Cheap, fast, lossy.
•
Curate: pull raw chunks and hand them to an external model with a specific instruction (“extract the two dress types she considered”). The orchestrator picks which model from a pool spanning small Llama/Qwen variants up through Gemini 2.5 Flash Lite and Claude Haiku 4.5, and decides whether to include image pixels.
Crucially, the orchestrator separates what to retrieve from how to curate it, so one textual field isn’t overloaded with two different jobs. After some number of steps, it stops and answers.
Training uses Group Relative Policy Optimization (GRPO) with three separate rewards: answer quality (F1 or judge score), negative monetary cost, negative latency. Two tricks make the multi-objective training work:
•
Objective-wise advantage decoupling (adapted from a method called Group Reward-Decoupled Policy Optimization (GDPO)): normalize each reward within the sampled group before combining them, so a huge cost signal doesn’t drown out the quality signal.
•
Prefix-based marginal utility: after each curation step, cheaply probe “what answer would you give right now?” The quality delta between consecutive probes is credited to the tokens that produced that step. This gives per-step credit assignment instead of one trajectory-level reward.
state = (query, [], []) # query, past actions, past observations
for t in range(T_max):
action = policy(state) # (Retrieve|Curate, args)
if action.type == "Retrieve":
obs = semantic_search(memory_bank, action.query, k=action.k)
else: # Curate
chunks = semantic_search(raw_history, action.query, k=action.k)
obs = call_model(action.model, action.instruction, chunks,
include_images=action.vision)
state = update(state, action, obs)
if policy.should_stop(state): break
answer = policy.generate_answer(state)
At training time, a preference vector (quality weight, cost weight, latency weight) steers the policy. Changing that vector produces different operating points without retraining the base recipe.
What They Found
The paper trains three preference presets, Perf, Bal, and Cost, and evaluates on five multimodal agent-memory benchmarks: Mem-Gallery, WorldMemArena, H2HMem (in-distribution) plus MemEye and MemLens (out-of-distribution).
•
MemPilot-Perf achieves the best LLM-judge score on all five benchmarks under both tested answer models (Qwen3-VL-4B-Instruct and Qwen3.5-9B). The margin over the strongest text-centric baseline is often large on judge scores (e.g., 65.82 vs 51.45 on Mem-Gallery with the 4B answer model).
•
MemPilot-Bal lands in a distinct intermediate regime: judge scores drop modestly from Perf but inference cost drops by roughly 3x on most datasets.
•
Multimodal baselines like MIRIX, M2A, and MemVerse spend substantially more on visual processing without consistently better answers. The paper frames this as evidence that adaptive multimodal access beats always-on multimodal access.
•
Preference sweeps produce a broader Pareto frontier on both performance-cost and performance-latency axes than trade-off-aware baselines (LightMem, BudgetMem, OmniSimpleMem), which mostly expose narrow bands.
•
Ablations (averaged across the five benchmarks): removing LLM/VLM delegation drops judge score from 37.40 to 14.58. Removing marginal-utility credit assignment drops it to 14.82. Removing objective-wise decoupling drops it to 21.94. Each piece earns its place.
•
Behavioral analysis: as preferences shift toward cheaper/faster, the policy coordinates several knobs together, fewer steps, fewer Curate actions, less image access, and routes to smaller models.
One important caveat on the latency numbers: the paper does not measure wall-clock latency during training. It uses a hand-calibrated affine proxy (fixed overhead plus per-input-token and per-output-token coefficients, measured once via OpenRouter requests). Real-world latency will differ depending on serving conditions.
What’s Useful
•
If you’re building an agent with growing conversational memory and already have a memory system you like, MemPilot’s dual-view design is deliberately orthogonal. The paper shows frontiers hold when swapping the default compressed bank for SimpleMem or A-MEM without retraining. Worth testing before you commit to replacing your existing memory layer.
•
If latency control is a hard product requirement (not just “faster is nice”), the explicit preference vector gives you a lever most memory systems don’t. The paper demonstrates this on five benchmarks; whether the frontier shape transfers to your workload needs its own evaluation.
•
If you’re routing between models today, the paper is a useful case study in combining routing with memory decisions in one policy rather than stacking them. The gain mostly comes from LLM/VLM delegation (per the ablation), so even a simpler version of this, learning when to call a big model vs retrieve from a cache, might capture much of the value.
•
The orchestrator is 4B parameters trained with Group Relative Policy Optimization (GRPO) on roughly 3,800 QA pairs. That’s a tractable training budget if you have the infrastructure; the authors release code. The paper does not claim this method helps for short-context single-turn tasks, and the benchmarks are specifically multimodal long-history QA. Don’t generalize to agent memory in general without checking.
Caveats
•
Latency rewards are trained against a proxy, not measured wall-clock time. The paper is upfront about this; the authors cite serving variability as the reason. Reported latency frontiers are proxy-latency frontiers.
•
The MemPilot-Cost preset trades quality aggressively (judge scores collapse into single digits on some benchmarks). The useful trade-off region is between Perf and Bal, not the full sweep.
•
The external model pool, pricing, and latency coefficients are fixed at training time. If OpenRouter prices shift or you want a different pool, the policy’s cost signal is stale and may need recalibration.
•
Benchmarks are from 2025-2026 preprints the authors cite; several are concurrent work. Comparisons to baselines are on the authors’ chosen setup, and some baselines (e.g., M2A) are evaluated with Qwen answer models rather than their original configurations.
•
Sending raw interaction history to external APIs for curation is a privacy consideration the authors flag but do not address.