All papers

Paper notes · Memory

What if choosing an agent's memories worked like recommendations on Netflix?

Agent Memory as Recommendation: Recommender-System Design for Long-Term Memory of LLM Agents

Xinyu Zhang, Weiwei Sun

arXiv (cs.IR) · Oct 26, 2026 · 4 min read

In one breath

Picking which memories fit into an agent's limited context is a recommendation problem. Borrowing recommender-system design, AgentMemRec chooses memories with zero LLM calls — and beats several memory systems by 10–31 points on multi-session questions.

+10–31

accuracy points on LongMemEval multi-session questions

3.2×

lower serving cost than a 64-call LLM reranker, same accuracy

0

LLM calls to select memories

The problem, in one example

An agent's context window is like a small plate at a huge buffet. For every request it can only take a few dishes — memories — from a buffet that keeps growing. And some questions need every ingredient, not just the tastiest one.

Many memory systems solve this by calling an LLM hundreds or thousands of times to build notes and graphs. That gets expensive, and with each system designed differently, it's hard to tell which part actually helps.

What they did

They reframed memory as budgeted slate recommendation: the request is the “user”, stored memories are the “items”, and the context window is the “slate” you're allowed to show. Then they borrowed the classic recommender pipeline — generate candidates, rank them, build the final slate — so memories are selected without a single LLM call.

The framing also splits accuracy into how complete each stage keeps the evidence, which makes it clear where gains come from.

What they found

On LongMemEval's multi-session questions, AgentMemRec beat A-Mem, HippoRAG 2, DynamicRAG and T-Mem by 10 to 31 points. It matched an LLM reranker that makes 64 calls per query at 3.2 times lower serving cost, and on LoCoMo it beat Mem0 and Zep without any LLM call when writing memories. The gains came from slates that more often contained all of the evidence.

My understanding

Netflix doesn't ask a giant model to watch every film for you. It shortlists, ranks, and builds a balanced row. Memory can work the same way.

Decades of recommender-system engineering apply directly to agent memory — and they are cheap.

Why it matters to me

When you serve tens of thousands of students, the cost of every request matters. A memory selector that needs no LLM calls fits how I like to build: deterministic, testable engineering where it works, and models only where they're needed.

What I'd still ask

  • How much training data does the ranking stage need for a new domain, like medical tutoring?
  • How does it handle a user asking it to forget something?
  • Does the advantage hold when memories are long, messy clinical notes instead of chat turns?

These are my notes, written from the paper's abstract and framing to make the ideas easy to follow. The everyday examples are mine. For the full method and results, read the original paper.