← Latest papers
🤖 AI

KEEP: A KV-Cache-Centric Memory Management System for Efficient Embodied Planning

This paper introduces KEEP, a KV-cache-centric memory management system that employs static-dynamic construction, multi-hop re-computation, and layer-balanced loading to significantly accelerate embodied planning in memory-augmented LLMs while maintaining high accuracy.

Original authors: Zebin Yang, Tong Xie, Baotong Lu, Shaoshan Liu, Bo Yu, Meng Li

Published 2026-03-18
📖 5 min read🧠 Deep dive

Original authors: Zebin Yang, Tong Xie, Baotong Lu, Shaoshan Liu, Bo Yu, Meng Li

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a robot trying to cook a complex meal in a busy kitchen. You have a super-smart brain (a Large Language Model) that knows how to cook, but it has a short-term memory problem: every time you ask it to plan the next step, you have to read it a giant book containing your entire history, the current state of the kitchen, and the instructions.

If the book is too thick, your brain takes forever to read the beginning before it can even start thinking about the next move. This is the problem KEEP solves.

Here is a simple breakdown of how KEEP works, using everyday analogies:

The Problem: The "Giant Book" vs. The "Changing Kitchen"

In traditional robot planning, the robot keeps a text log of everything that happened.

  • The Issue: If you move a cup from the counter to the sink, the robot has to rewrite the entire history book to reflect that change. If the book is 10,000 pages long, rewriting even one sentence makes the whole book invalid for the next step.
  • The Result: The robot spends most of its time just "reading" and "rewriting" the book, leaving very little time to actually think about what to do next. It's like trying to drive a car while constantly rewriting the map in your head.

The Solution: KEEP (The Smart Librarian)

KEEP is a new system that manages the robot's memory not as text, but as "pre-calculated thought chunks" (called KV Caches). Think of these chunks as pre-cooked meals. Instead of cooking the whole meal from scratch every time, you just grab the pre-cooked parts and heat them up.

However, in a kitchen, things change fast. KEEP uses three clever tricks to handle this:

1. The "Static vs. Dynamic" Filing System

Imagine you have two types of files in your office:

  • Static Files: Things that rarely change, like the company's founding date or the layout of the building.
  • Dynamic Files: Things that change every minute, like the temperature of the oven or the location of the milk.

How KEEP works:
Instead of treating all files the same, KEEP puts them in different folders.

  • For Static files (like the building layout), it groups them together and calculates the "thought" for the whole group at once. It's efficient because these facts don't change often.
  • For Dynamic files (like the milk), it keeps them separate. If the milk moves, it only updates that one tiny file, not the whole group.
  • The Benefit: You don't have to rewrite the whole book just because the milk moved. You only update the "milk page."

2. The "Detective Chain" (Multi-hop Re-computation)

Sometimes, two pieces of information seem unrelated until you connect the dots.

  • Example: You need to "Unlock the door."
    • Memory A: "The door is locked."
    • Memory B: "The key is on the table."
    • Memory C: "The table is in the kitchen."

If you just look at the door, you might forget the table. If you just look at the table, you might forget the door.
How KEEP works:
KEEP acts like a detective. It starts with the current goal ("Unlock the door") and asks, "What is important?" It finds the key. Then it asks, "Where is the key?" and finds the table. It follows this chain of logic (Multi-hop) to find the most critical connections.

  • The Trick: It only "re-cooks" (re-computes) the specific thoughts related to this chain. It ignores the irrelevant stuff (like the TV in the living room). This saves massive amounts of time while keeping the robot smart.

3. The "Assembly Line" (Layer-balanced Loading)

Imagine a factory assembly line where workers are building a car.

  • The Problem: In the old system, the first few workers (early layers of the brain) had very little to do, while the last few workers (later layers) were buried under a mountain of heavy parts to load. This caused the line to stop and start, creating "bubbles" of wasted time.
  • How KEEP works: KEEP acts as a smart manager. It sees that the first workers are idle, so it tells them to start loading parts for the later workers while the current work is being done.
  • The Benefit: The assembly line never stops. While one part of the brain is thinking, another part is already fetching the next memory. It keeps the pipeline full and smooth.

The Result: A Faster, Smarter Robot

By using these three tricks, KEEP allows the robot to:

  1. Think faster: It cuts the time it takes to start planning (Time-to-First-Token) by nearly half compared to other methods.
  2. Be more accurate: It doesn't forget important connections between memories, so it completes tasks (like cooking or cleaning) more successfully.
  3. Save energy: It doesn't waste power recalculating things that haven't changed.

In short: KEEP is like upgrading a robot's brain from a chaotic notebook that needs constant rewriting to a smart, organized digital filing system that only updates what's necessary, connects the dots automatically, and keeps the workflow moving without ever stopping.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →