potentialpaper

HeMeR: Heterogeneous Memory Reconciliation for Embodied Agents via Structured KV Reuse

Saehun Chun, Wonje Choi, Jinwoo Jang, TaeYoon Kwack, Honguk Woo

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. HeMeR: Heterogeneous Memory Reconciliation for Embodied Agents via Structured KV Reuse

Abstract. Embodied agents make decisions by combining information from heterogeneous memory modules, including declarative memory for explicit knowledge, procedural memory for learned routines, and working memory for current observations. During interaction, the memory contents required for decision making change with the agent's state, goal, and task progress, while many contents remain shared across consecutive decisions. However, existing memory modules are typically accessed through separate interfaces, so each updated memory context is often processed as a new input to the foundation model. This prevents selective key-value (KV) cache reuse for unchanged memory contents and forces full KV cache recomputation even when much of the memory context remains valid. We introduce HeMeR, an inference framework that performs KV reconciliation between dynamically updated memory contexts and reusable KV states. HeMeR tracks declarative, procedural, and working memory contents across action decisions, preserves KV states for unchanged contents, and reconciles only the KV states affected by memory-content updates. This enables efficient and stable inference as memory contents evolve during interaction. We evaluate HeMeR on ALFWorld, Habitat, and real-world robotic deployments requiring coordinated use of heterogeneous memory contents. In the real-world setting, HeMeR achieves 83.20% task success and reduces per-step inference time from 2.94 to 1.87 seconds compared with MemRL, while preserving compatible KV states as task progress updates the memory context.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (oral)forumreviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (oral) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (oral)
Read decision
Meta-review

This work introduces a structured KV-cache reconciliation framework that selectively reuses unchanged declarative, procedural, and working-memory states for embodied agents.

The problem is timely, the technical formulation is useful, and the evaluation spans multiple simulation benchmarks and real-robot tasks.

Nevertheless, the reviewers identify several issues and raise important questions.

After a careful check, the AC leans toward acceptance; however, the rebuttal should address the reviewers’ questions.

Final justification

After the rebuttal, the authors have successfully addressed the reviewers’ remaining concerns. The AC therefore recommends acceptance with high confidence.

Area Chair qyrV · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This work introduces a structured KV-cache reconciliation framework that selectively reuses unchanged declarative, procedural, and working-memory states for embodied agents.

The problem is timely, the technical formulation is useful, and the evaluation spans multiple simulation benchmarks and real-robot tasks.

Nevertheless, the reviewers identify several issues and raise important questions.

After a careful check, the AC leans toward acceptance; however, the rebuttal should address the reviewers’ questions.

Final justification

After the rebuttal, the authors have successfully addressed the reviewers’ remaining concerns. The AC therefore recommends acceptance with high confidence.

2 comments
Authors · CommentOpenReview ↗

Summary of Author Responses to Shared Concerns

Dear Area Chair,

Thank you for taking the time to coordinate this entire review process and for providing the thoughtful Meta Review. To facilitate the Phase 2 discussion, we summarize below how we addressed the shared weaknesses and the points that we consider particularly important. Full details are provided in our responses to the individual reviewers.

Raised Concerns and Our Responses

  • Details of non-prefix KV reuse — mentioned by Reviewer eCUy, Reviewer KYZL, Reviewer QPNp.

    • Reused downstream states stay close to Full Rebuild, with hidden-state cosine at or above 0.984 and no accumulation over 30 updates.
    • The memory context is prefilled in full as a single causal sequence, so RoPE remapping is exact for a pure position shift while downstream reuse is the approximation Prompt Cache and CacheBlend also accept, and local recomputation returns HeMeR to 0.974 against 0.949 for naive reuse.
  • Isolating the effect of KV reconciliation — mentioned by Reviewer eCUy, Reviewer KYZL.

    • KV reconciliation changes the cost of inference without changing its outcome, with closely matched task success and latency of 0.18 against 0.84 s/step.
    • The comparison holds the schema, context, adapters, and decoding fixed, so the gap is confined to recomputation, where recomputed tokens fall from 74,784 to 4,219.
  • Runtime complexity, memory complexity, and scalability — mentioned by Reviewer KYZL, Reviewer QPNp.

    • HeMeR is never asymptotically worse than Full Rebuild, and its advantage widens with scale, from 0.330 to 0.206 relative step cost between 8 and 128 chunks.
    • Reconciliation is O(N+RL+L)\mathcal{O}(N+RL+L), reducing to O((E/N)L2)\mathcal{O}((E/N)L^2), so cost scales with the update fraction, and we compared this with CacheBlend, KEEP, and LRAgent.
  • Ablation fallback definitions — mentioned by Reviewer eCUy, Reviewer QPNp.

    • Neither ablation removes KV caching, which is why the two variants still reuse 51.39% and 42.75%.
    • In w/o Memory Schema, reuse requires unchanged normalized content at an unchanged position, and in w/o Chunk-Level KV Reconciliation, only the unchanged prefix survives, which is prefix caching.
  • Real-world protocol, success criteria, and error bars — mentioned by Reviewer KYZL, Reviewer QPNp.

    • The protocol is fully specified, with two tasks, 10 trials per method, goal-condition success, and error bars over physical repetitions.
    • Failures follow the irreversible-outcome and budget-exhaustion criteria, and every trial resets the scene and the runtime state.
  • LoRA adapter compatibility — mentioned by Reviewer KYZL.

    • Cached keys stay compatible across an adapter switch because the key path is shared, with a cross-adapter worst-layer cosine of 0.985 for keys and 0.929 for values.
    • Adapters are rank-8 on the query and value projections with a shared down-projection, applied to the entire forward sequence, so the adapter identifier stays part of the compatibility condition and adapter-dependent ranges are recomputed.
  • Reproducibility, presentation, and positioning against MemRL — mentioned by Reviewer KYZL.

    • The implementation was inadvertently omitted during packaging and will be provided in the revision, along with the redrawn Figure 1 and the MemRL distinction.
    • Figure 1 will be redrawn on scenario-grounded memory contexts, and MemRL retrieves episodic memory as conventional context while HeMeR reconciles an already composed one.
  • Expanded limitations and future works — mentioned by Reviewer QPNp.

    • The genuine limitation is an undeclared dependency, since a declared one only costs recomputation and a missed one leaves a deviation the drift analysis quantifies.
    • Behavior is verified only to 128 chunks and four trained adapters, so many-adapter interference stays unmeasured.

Discussion Points

  • New measurements so far, namely the controlled Full Rebuild comparison, the operator-level and latency decompositions, the approximation and drift analyses, and the scaling studies.
  • Operational definitions added for the prefill procedure, the reuse criterion, the ablation fallbacks, and the real-world protocol.
  • Responses posted and further points still welcome during the remaining discussion.

If any concerns remain unresolved or if you have any additional questions, please feel free to let us know. We would appreciate the opportunity to clarify them further and are prepared to respond promptly.

Sincerely,

The Authors

Authors · CommentOpenReview ↗

Summary of Rebuttal and Discussion Outcomes

Dear Area Chair,

Thank you for coordinating the review process. The reviewers' constructive questions and precise identification of weaknesses have greatly improved our paper. To facilitate the Phase 3 evaluation, we summarize below how each concern was addressed.

Executive Summary

  • All three reviewers recognized the problem importance and evaluation breadth.
  • eCUy and QPNp participated in the discussion, while KYZL has not yet responded.
  • eCUy's W1 and W3 are resolved and W2 is accepted empirically, all of QPNp's concerns are resolved with one camera-ready suggestion, and every analysis KYZL requested has been provided.

Recognized Strengths

  • Important and timely problem of memory management for embodied agents (eCUy, KYZL, QPNp)
  • Evaluation spanning ALFWorld, Habitat, and real-world robotic tasks (eCUy, KYZL, QPNp)
  • Well-written and easy to follow (eCUy, KYZL)
  • Novel reframing of heterogeneous memory as a KV-cache reconciliation problem (QPNp)
  • Strong empirical gains on task success rate and per-step latency (KYZL)

Key Concerns and Responses

  • Concern 1: Details of non-prefix KV reuse

    • Raised by: eCUy, KYZL, QPNp
    • Reviewer rationale: Downstream KV states depend on preceding tokens, so non-prefix reuse cannot be exact.
    • Our response: We clarified the single-sequence causal prefill, exact RoPE remapping for position shifts, and that downstream reuse is the same approximation Prompt Cache and CacheBlend accept, decided by the schema. We added update-pattern deviation and 30-update drift analyses against Full Rebuild.
    • Revision plan: State the prefill procedure, safety criterion, and approximation explicitly.
    • Status: Partially addressed (confirmed by QPNp, eCUy accepts the empirical support)
  • Concern 2: Isolating the effect of KV reconciliation

    • Raised by: eCUy, KYZL
    • Reviewer rationale: The comparisons conflate memory organization, adapter handling, and KV reuse.
    • Our response: We added a controlled Full Rebuild comparison under identical schema, context, adapters, and decoding, with operator-level and latency decompositions.
    • Revision plan: Include the controlled protocol and both decompositions.
    • Status: Addressed (confirmed by eCUy)
  • Concern 3: Runtime complexity, memory complexity, and scalability

    • Raised by: KYZL, QPNp
    • Reviewer rationale: Complexity is unreported, and scale could erode reuse.
    • Our response: We derived the reconciliation complexity with baseline comparisons, and added chunk-scaling and dependency-density experiments.
    • Revision plan: Include the complexity and scaling analyses.
    • Status: Addressed (confirmed by QPNp)
  • Concern 4: Ablation fallback definitions

    • Raised by: eCUy, QPNp
    • Reviewer rationale: Both ablations retain substantial reuse through unspecified residual mechanisms.
    • Our response: We operationally defined both fallbacks and clarified that neither removes KV caching, which explains the residual reuse ratios.
    • Revision plan: Add the operational definitions.
    • Status: Addressed (confirmed by eCUy and QPNp)
  • Concern 5: Real-world protocol, success criteria, and error bars

    • Raised by: KYZL, QPNp
    • Our response: We specified the tasks, trial counts, success and failure criteria, reset protocol, and error-bar definition.
    • Revision plan: Expand these details and flag the trial count as a scope limitation in the camera-ready.
    • Status: Addressed (confirmed by QPNp)
  • Concern 6: LoRA adapter compatibility

    • Raised by: KYZL
    • Our response: We clarified the shared-attention adapter architecture and the adapter-aware compatibility condition, and measured cross-adapter key and value drift.
    • Status: Awaiting KYZL's confirmation
  • Concern 7: Reproducibility, presentation, and positioning against MemRL

    • Raised by: KYZL
    • Our response: We clarified that the code was omitted during packaging and that MemRL retrieves episodic memory while HeMeR reconciles a composed context.
    • Revision plan: Include the code and redraw Figure 1 on scenario-grounded contexts.
    • Status: Awaiting KYZL's confirmation
  • Concern 8: Expanded limitations and future works

    • Raised by: QPNp
    • Our response: We identified the genuine limitation as an undeclared dependency the schema cannot detect and stated the unverified regimes.
    • Revision plan: Expand the limitations with these empirical boundaries.
    • Status: Addressed (confirmed by QPNp)

We appreciate the productive discussion, which has strengthened our work, and we hope the Phase 3 evaluation reflects the responses and analyses provided during the rebuttal.

Sincerely,

The Authors

Reviewer QPNpOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces HEMER, an inference framework for embodied agents that treats heterogeneous memory use as a KV-cache reconciliation problem. At each decision step, the agent retrieves declarative, procedural, and working-memory contents and composes them into a memory context. Instead of processing each updated context as a fresh flat prompt, HEMER represents the context as typed memory chunks with schema metadata, including memory type, semantic role, dependency annotation, token span, KV range, and adapter ID. It then computes a schema-guided difference between consecutive memory contexts, reusing unchanged KV ranges, locally recomputing inserted or modified chunks, evicting removed chunks, and applying RoPE-based remapping when unchanged chunks move to new positions.

A key part of HEMER is its treatment of procedural memory via LoRA adapters. Since KV states may become incompatible when the active procedural adapter changes, HEMER includes adapter identity in its KV compatibility checks. The method also uses a shared-attention LoRA pool to reduce adapter-induced drift in key/value states, while recomputing affected ranges when adapter changes make reuse unsafe.

HEMER reports consistent gains across ALFWorld, Habitat, and real-world tabletop tasks, improving both success rate and per-step latency over memory, cache-reuse, and LoRA-switching baselines. Its efficiency analyses suggest the gains come from preserving more KV states under longer and more frequently updated memory contexts, while hidden-state drift remains more localized around changed chunks. Ablations indicate that the memory schema, chunk-level reconciliation, and adapter-stable compatibility checks are all important, with chunk-level reconciliation contributing the largest performance drop when removed.

Strengths and weaknesses

Strengths

  1. The paper reframes heterogeneous embodied-agent memory as a KV-cache reconciliation problem, which is a novel and useful angle beyond memory retrieval alone.
  2. The method is technically sound: typed memory chunks, KV-range indexing, RoPE remapping for position shifts, and adapter-aware compatibility checks form a plausible system for selective reuse.
  3. Evaluation spans ALFWorld, Habitat, and real-world tabletop robotics, which makes the empirical story more compelling than simulation-only work.
  4. The paper includes ablations, TTFT scaling with memory length, reuse under invalidation, hidden-state drift, and distractor-action robustness.

Weaknesses

  1. Non-prefix KV reuse is delicate because cached states depend on prior context, dependencies, position, and adapter state. The paper relies on schema/dependency compatibility, but the exact safety criterion for this KV reuse is not discussed in detail.
  2. Ablation definitions are ambiguous. “w/o Memory Schema” and “w/o Chunk-Level KV Reconciliation” are tightly coupled in the method, yet both still retain substantial reuse. The authors should clearly explain how the chunk-level KV recon is being done without memory schema and vice-versa.
  3. The paper does not clearly state the exact number of real-world tasks, total physical trials, success criteria, failure modes, reset protocol, or how real-world error bars are computed.
  4. Many adapters, many skills, very long memory contexts and cache fragmentation could all reduce reuse or increase overhead. The scalability of this method is not discussed in detail.
Questions
  1. Can the authors expand the limitations beyond multi-agent settings to include dependency tracking errors, long-context scaling, many-adapter settings?
  2. How do you determine that a chunk is safe to reuse when earlier context has changed? RoPE remapping fixes position, but cached states may also depend on preceding tokens and attention dependencies.
  3. What exactly are the fallback implementations for w/o Memory Schema and w/o Chunk-Level KV Reconciliation? Since these components seem tightly coupled, the ablations need clearer operational definitions.
  4. How many distinct real-world tasks and total physical trials were run per method, what were the exact success criteria, and what do the reported error bars represent?
  5. How does HEMER perform with many more memory chunks, many LoRA adapters/skills, frequent adapter switches, or dense dependencies? Does cache fragmentation or bookkeeping overhead become significant?
Limitations

The authors do not discuss limitations in detail in the paper. The scalability of this approach in terms of context length and many-adapters would be the primary thing to discuss.

Final justification

The rebuttal addressed all my main concerns. The KV-reuse criterion is precisely defined and supproted. The previous ambiguous ablation fallbacks are clearly distinguished. Real-world trials are still limited and should stay flagged in the camera-ready version. I am retaining my score (Accept) and increasing the scores in other sections accordingly.

Formatting concerns

No concerns.

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer QPNp and Area Chair,

We thank the reviewer for highlighting the strengths of our method and for the helpful comments that will further clarify our paper.

[Q1] Expanded limitations with measured boundaries

For dependency tracking errors, a spuriously declared dependency only moves ranges from reuse to local recomputation, and the density analysis in our response to Question 5 shows the cost stays below 0.45 of Full Rebuild even when every chunk carries a dependency annotation. A missed dependency leaves a stale reused range, and the drift analysis in our response to Question 2 quantifies the resulting deviation. The genuine limitation is that the schema cannot detect an undeclared dependency.

For long-context scaling, our response to Question 5 characterizes behavior up to 128 chunks, where the advantage over Full Rebuild widens and bookkeeping stays below 0.05 percent of step cost. Behavior beyond this scale or under different update patterns remains unverified.

For many-adapter settings, pool memory grows linearly at 9.18 MB per adapter, while switching cost comes from adapter dispatch in the serving library. Because our trained pool contains four adapters, interference or drift among many distinct trained adapters remains unmeasured.

These limitations become important beyond the evaluated application regimes and will be stated with the current empirical boundaries in the expanded limitations section.

[Q2 + W1] The schema-based safety criterion for non-prefix KV reuse

HeMeR decides reuse through the memory schema rather than through token overlap. A cached range is reused only when its schema fields, normalized content, and adapter identifier are unchanged between consecutive memory contexts. Position-only changes trigger relocation and RoPE remapping. Changes to content, dependency annotation, or adapter identifier trigger local recomputation, including declared dependents. The criterion is deliberately conservative.

The reviewer is correct that RoPE remapping fixes position only. The remaining dependence on preceding tokens and attention dependencies is handled by the schema, whose spatiotemporal metadata and dependency annotations capture how each memory content relates to the agent's current state and environment and map each memory update to the affected KV ranges, which are rebuilt by local recomputation inside the updated context. HeMeR does not claim exactness for the remaining reused ranges. Like Prompt Cache[1] and CacheBlend[2], it accepts non-prefix reuse, but its ranges were first computed within a full causal sequence. The table compares reconciled and fully recomputed caches over five memory contexts matching the ALFWorld composition. K cos compares reused key ranges, hidden cos compares last-layer hidden states, and KL, Top-1, and Top-5 compare next-token distributions at the final probe position. Hidden-state cosine remains at least 0.984, with the largest deviation under eviction because reused states retain the influence of removed content.

Update pattern K cos Hidden cos KL (nats) Top-1 Top-5
Reordering 0.973±0.0030.973\pm0.003 0.985±0.0010.985\pm0.001 0.036±0.0080.036\pm0.008 0.80 0.96
Insertion before reused ranges 0.987±0.0010.987\pm0.001 0.990±0.0010.990\pm0.001 0.061±0.0130.061\pm0.013 1.00 0.92
Eviction before reused ranges 0.986±0.0010.986\pm0.001 0.984±0.0010.984\pm0.001 0.078±0.0170.078\pm0.017 0.80 0.76
Content edit 0.997±0.0010.997\pm0.001 0.998±0.0000.998\pm0.000 0.006±0.0030.006\pm0.003 0.80 1.00
Adapter switch 0.999±0.0020.999\pm0.002 0.992±0.0080.992\pm0.008 0.009±0.0100.009\pm0.010 1.00 0.88

The second table shows that this bound holds over long update sequences instead of accumulating, because every content, dependency, or adapter change triggers local recomputation that resets the deviation of the affected ranges, while naive reuse without reconciliation lacks any such reset and ends at 0.949, and CacheBlend fluctuates with the distance to its most recent periodic recomputation. Naive reuse rises briefly at step 20 only because evictions remove previously edited content along with its accumulated mismatch, not because any cached state is corrected. The criterion also degrades safely. As more ranges are detected as changed, more of the context is locally recomputed, and the worst case of recomputing every range recovers Full Rebuild exactly, so reuse never extends beyond ranges whose own contents the schema verifies as unchanged.

Regime Step 1 Step 5 Step 10 Step 20 Step 30
HeMeR 0.993±0.0070.993\pm0.007 0.989±0.0060.989\pm0.006 0.969±0.0080.969\pm0.008 0.979±0.0030.979\pm0.003 0.974±0.0070.974\pm0.007
Naive reuse 0.993±0.0070.993\pm0.007 0.974±0.0120.974\pm0.012 0.948±0.0120.948\pm0.012 0.971±0.0150.971\pm0.015 0.949±0.0160.949\pm0.016
CacheBlend 0.993±0.0070.993\pm 0.007 0.974±0.0120.974\pm0.012 0.947±0.0120.947\pm0.012 0.980±0.0040.980\pm0.004 0.972±0.0090.972\pm0.009

[Q3 + W2] Operational definitions of the coupled ablation fallbacks

We agree that the fallback implementations should be stated more explicitly. Although Memory Schema and Chunk-Level KV Reconciliation are tightly coupled, they serve distinct roles. The Memory Schema anchors each memory content as a typed memory chunk with an associated KV range and determines schema-compatible matches. Chunk-Level KV Reconciliation applies Insert, Evict, Reorder, and Reuse operations to those ranges.

In w/o Memory Schema, memory chunks and KV caching are retained, but schema-guided matching based on memory type, semantic role, dependency annotation, and adapter identifier is removed. The fallback matches chunks only by normalized content and position, and locally recomputes unmatched chunks.

In w/o Chunk-Level KV Reconciliation, the Memory Schema and schema-guided reconciliation plan are retained, but localized Insert, Evict, and Reorder operations and RoPE-based remapping are disabled. The fallback therefore preserves only the unchanged prefix before the first affected memory chunk and recomputes the remaining suffix.

Thus, neither ablation removes KV caching itself. The former removes schema-compatible identification of reusable memory chunks, while the latter removes the ability to reconcile non-prefix KV ranges. This distinction explains why the two variants retain reuse ratios of 51.39% and 42.75%, respectively. We will clarify these operational definitions in the revision.

[Q4 + W3] Real-world task protocol, success criteria, and error bars

We specify these details below and will expand them in the revised paper. Two real-world tasks were evaluated, with five physical repetitions each and 10 trials in total per method. The Success Rate reflects the proportion of satisfied goal conditions defined over the subtasks in Figures 7 and 8. Failures were determined by two criteria. The first is an irreversible failure such as burning the toast, letting the ice melt, dispensing water without a cup in place, or pumping syrup without the cup. The second is the agent declaring the task complete or exhausting the step budget while some goal conditions remained unsatisfied. After every trial we returned the UR7e to its initial pose, restored objects and consumables, re-randomized positions, and reset the runtime working memory and KV cache. Error bars denote the mean ±\pm standard deviation of goal-condition success rates over the physical repetitions.

[Q5 + W4] Scaling behavior across memory chunks, adapters, switching, and dependencies

The scaling behavior of HeMeR follows from a structural property. Full Rebuild scales with the entire memory context, whereas HeMeR scales mainly with the ranges affected by each update. We therefore report the two axes that most directly stress reuse, the number of memory chunks and dependency density, and summarize the adapter results with their key figures.

The first table scales the number of memory chunks N from 8 to 128 under the ALFWorld memory composition, with 10% of the chunks updated at each step. HeMeR's cost relative to Full Rebuild decreases from 0.330 to 0.206 as N increases, while the GPU-memory gap widens to 22.0 GB versus 46.8 GB at 128 chunks. Reconciliation planning grows from 37 to 310 microseconds and remains below 0.05 percent of HeMeR's step cost, while cache assembly grows from 0.7 to 5.7 ms and stays below 1% over the tested range. Thus, bookkeeping and fragmentation remain negligible relative to recomputation at the evaluated scales.

N Step cost relative to Full Rebuild HeMeR GPU peak (GB) Full Rebuild GPU peak (GB)
8 0.330 7.1 7.6
32 0.255 8.7 11.3
128 0.206 22.0 46.8

The second table stresses dependency density, where reuse is most likely to decrease. Invalidation propagates only from edited chunks along declared dependencies, so denser dependencies expand the ranges requiring local recomputation without automatically invalidating the entire context. As density rises from 0% to 100%, reuse ratio decreases from 85.4 to 61.3, while cost relative to Full Rebuild increases from 0.247 to 0.368. The degradation is gradual, and HeMeR remains below Full Rebuild at every tested density.

Density (%) Reuse ratio (%) Cost relative to Full Rebuild Step cost (ms)
0 85.4±0.385.4\pm0.3 0.247±0.0160.247\pm0.016 18
25 81.8±1.581.8\pm1.5 0.274±0.0170.274\pm0.017 21
50 73.1±2.273.1\pm2.2 0.304±0.0140.304\pm0.014 23
100 61.3±7.561.3\pm7.5 0.368±0.0620.368\pm0.062 27

Adapter memory grows linearly at 9.18 MB per adapter, so a pool of 64 adapters occupies 587.2 MB. Larger pools replicate the four trained adapters and therefore measure system-level memory and switching overhead rather than semantic interference among distinct skills. When switching is forced at every decision step as a stress test, HeMeR retains a reuse ratio of 77.9%, whereas disabling adapter-stable KV reconciliation under the same forced switching reduces reuse to zero and yields latency comparable to Full Rebuild. We will include the full scaling analysis in the revision.


[1] Prompt Cache: Modular Attention Reuse for Low-Latency Inference

[2] CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion

Authors · CommentOpenReview ↗

Summary of Responses and Additional Clarifications

Dear reviewer QPNp,

We are grateful for the reviewer's positive assessment of our method's strengths. We would like to expand on the limitations and future-work discussion and briefly summarize how we addressed the remaining concerns.

[Q1] Expanding the limitations and future work

The reviewer's questions on scalability, dependency density, and limitations point to a shared concern, and we agree the limitations section can offer a broader discussion on top of the measured boundaries. Our paper states that HeMeR focuses on single-agent memory reconciliation and names multi-agent embodied systems as future work, and we will expand this discussion as follows. Extending the application domain to multi-agent collaboration systems or robot fleet control would produce memory dynamics larger and less predictable than a single-agent system exhibits, since multiple agents would share declarative, procedural, and working memory contents and memory-content updates would arrive from agents outside one's own decision steps. Our framework does not yet address resolving conflicting memory contents across agents, aligning procedural adapters between agents, or safely reusing KV states across agents that share memory contents but hold separate caches. A recent architectural perspective on multi-agent memory identifies the absence of cache sharing protocols, structured memory access control, and cross-agent memory consistency as open problems[1], which matches the direction we outline. We will state these as the research directions that such domain expansion necessitates, alongside the empirical boundaries already reported.

[Q2 + W1] The schema-based safety criterion for non-prefix KV reuse

Reuse is decided by the memory schema rather than token overlap, and a cached range is reused only when its schema fields, normalized content, and adapter identifier are unchanged. The approximation this admits stays small under every update pattern, with hidden-state cosine at least 0.984 and the largest deviation under eviction, and it does not accumulate over successive updates because attributable changes trigger local recomputation. The criterion degrades safely, since the worst case recovers Full Rebuild exactly.

[Q3 + W2] Operational definitions of the coupled ablation fallbacks

Although Memory Schema and Chunk-Level KV Reconciliation are tightly coupled, they serve distinct roles, and neither ablation removes KV caching itself. w/o Memory Schema removes schema-compatible identification of reusable chunks while w/o Chunk-Level KV Reconciliation removes non-prefix reconciliation, which is why the two variants retain reuse ratios of 51.39% and 42.75% from different residual mechanisms.

[Q4 + W3] Real-world task protocol, success criteria, and error bars

Two real-world tasks were evaluated with five physical repetitions each and 10 trials in total per method, and the success criteria, failure modes, and reset protocol are now specified. Error bars denote the mean ±\pm standard deviation of goal-condition success rates over the physical repetitions, and these details will appear in the revision.

[Q5 + W4] Scaling behavior across memory chunks, adapters, switching, and dependencies

HeMeR scales mainly with the ranges affected by each update rather than the entire memory context. The advantage over Full Rebuild widens as the number of memory chunks grows, reuse degrades gradually as dependency density rises while cost stays below Full Rebuild at every tested density, and bookkeeping and fragmentation remain negligible at the evaluated scales.

We sincerely appreciate the reviewer's thoughtful comments, which helped us state the safety criterion and the boundaries of our method far more precisely. We hope these clarifications address the reviewer's concerns, and we would be glad to discuss any remaining question before the discussion period closes. Thank you again for the time and care devoted to reviewing our paper.


[1] Multi-Agent Memory from a Computer Architecture Perspective: Visions and Challenges Ahead

Reviewer QPNp · CommentOpenReview ↗

Response to rebuttal

Thank you for the detailed rebuttal. The clarified KV-reuse safety criterion, the disambiguated ablation definitions, and the additional scaling analyses directly address my concerns, and I appreciate the candor about which regimes remain untested. My one remaining suggestion is to keep the real-world trial count clearly flagged as a scope limitation in the camera-ready.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the thoughtful engagement and for confirming that the concerns have been addressed. Following the remaining suggestion, the camera-ready will flag the real-world trial count explicitly as a scope limitation. The limitations section will state that the real-world evaluation covers two tasks with five physical repetitions each (ten trials per method), and that the reported error bars reflect variation across physical repetitions rather than random seeds. It will note that these results should be read as a demonstration within this limited physical scope, with broader task coverage left to future work. This statement will be added alongside the expanded limitations on dependency tracking errors, long-context scaling, and many-adapter settings discussed above. Your detailed feedback has been invaluable in strengthening both the clarity and rigor of the paper.

Sincerely,

The Authors

Reviewer KYZLOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses efficient memory management for foundation-model-based embodied agents. It proposes HEMER, a heterogeneous memory reconciliation framework that represents declarative, procedural, and working-memory contents as typed memory chunks with associated key-value (KV) cache ranges. When the memory context changes across decision steps, HEMER performs localized KV operations to reuse unchanged chunks, recompute affected ranges, and handle procedural adapter changes. By combining chunk-level KV reconciliation with adapter-stable reconciliation, the method aims to preserve compatible KV states without rebuilding the full cache at every step. The paper evaluates HEMER on ALFWorld, Habitat, and real-world tabletop manipulation tasks, reporting improved task success and reduced per-step inference time compared with several memory, cache-reuse, and adapter-switching baselines.

Strengths and weaknesses

Strengths:

  • The paper addresses an important problem in embodied agents: efficient memory management for foundation-model-based decision making under dynamically changing memory contexts.
  • The paper is generally well written, clearly structured, and easy to follow.
  • HeMeR reports strong empirical performance across the evaluated metrics, especially on the key metrics of task success rate and per-step inference latency.
  • The method is evaluated on a broad set of simulated embodied-agent benchmarks, including ALFWorld and Habitat, as well as real-world tabletop manipulation tasks.

Weaknesses:

  • The supplementary material appears to be incomplete: after unzipping, the HEMER folder seems to contain only a README and no code. This makes it difficult to verify the implementation or reproduce the reported results.
  • Figure 1 does not clearly communicate the key technical difference between HEMER and the baselines. The motivation figure would benefit from a more explicit explanation of what is reused, what is recomputed, and why the baseline fails in familiar KV-cache terms.
  • The related work section should more clearly distinguish HEMER from MemRL. In particular, it should explain whether the main difference is memory retrieval, memory organization, KV-cache reconciliation, procedural adapter handling, or some combination of these.
  • The paper should report the runtime and memory complexity of HEMER’s reconciliation procedure and compare it with key baselines such as Full Rebuild, CacheBlend, KEEP, and LRAgent.
  • The paper should clarify when chunk-level KV reuse is exact versus approximate, especially after insertions, deletions, or reorderings in the middle of the context. In a standard causal transformer, downstream KV states can depend on earlier tokens, so the validity of localized reuse needs more justification.
Questions

RoPE remapping validity. Is the RoPE-based KV remapping used in HEMER intended to be exact or approximate? If approximate, can the authors quantify the hidden-state or output error relative to full KV recomputation, and identify which memory edit patterns—e.g., insertion before reused chunks, deletion, reordering, or dependency changes—cause the largest degradation?

Real-world evaluation size and error bars. How many total real-world trials were conducted per method? Are the reported error bars computed over physical repetitions, task instances, random seeds, or some combination of these?

Runtime and memory complexity. What are the runtime and memory complexities of HEMER’s reconciliation procedure as a function of the number of memory chunks, sequence length, and number of edited chunks? How does this compare theoretically or empirically with Full Rebuild, CacheBlend, KEEP, and LRAgent?

LoRA adapter compatibility. Which model matrices receive LoRA updates in the procedural adapters? Are adapter-specific parameters applied globally to all tokens or only to procedural-memory chunks? If adapters modify Q, O, MLP, or other non-K/V paths, why are cached K/V states computed under a previous adapter still compatible after an adapter switch?

Latency decomposition. Could the authors report a breakdown of per-step latency into average generated token count, decode time, prefill time, KV reconciliation time, local recomputation time, and memory retrieval time? This would clarify whether the observed latency gains come primarily from KV reuse or from differences in generation length / other overheads.

Limitations

yes

Final justification

The clarifications on RoPE remapping, approximate chunk reuse, latency decomposition, complexity, and the distinction from MemRL address many of my main concerns. I would encourage the authors to make the approximation boundary and adapter compatibility rule explicit in the revision, clearly report the small real-world evaluation scale as a limitation, and ensure the promised code/reproduction materials are included. Overall, the author response improves my confidence in the paper, I would like to increase my score assuming these clarifications and materials appear in the final version.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer KYZL and AC,

We are grateful to the reviewer for recognizing the motivation of our work and for the constructive and actionable feedback. All clarifications and analyses below will be reflected in the revised paper.

W1 + W2

Upon re-checking, we found that the HeMeR implementation was inadvertently omitted during packaging, and we sincerely apologize. The revised paper will include verifiable code materials, and the full implementation will be publicly released upon publication.

We also agree that Figure 1 does not clearly communicate HeMeR’s technical distinction from the baselines. We will replace its abstract blocks with scenario-grounded memory contexts and mark reuse, relocation, and recomputation in familiar KV-cache terms.

W3

MemRL and HeMeR address complementary stages of memory-augmented embodied inference. MemRL retrieves episodic memories from previous trajectories as conventional context, whereas HeMeR processes an already composed memory context as it changes across decision steps.

HeMeR organizes declarative, procedural, and working memory as schema-indexed chunks with associated KV ranges and reconciles their updates by preserving compatible KV states and recomputing affected ranges, with the active adapter included in KV compatibility. Thus, the main distinction is not an alternative retrieval method but the combination of structured memory-context organization, chunk-level KV reconciliation, and adapter-stable KV reconciliation. The two are therefore complementary and can be combined.

Q1 + W5

The answer has two parts. First, RoPE remapping is exact for a pure position shift. A cached key carries RoPE as a rotation, so k~=R(θp′)R(θp)−1k\tilde{k} = R(\theta p') R(\theta p)^{-1} k is identical to the key computed at position p′p' from the same inputs. Value states carry no positional rotation and therefore require no correction.

Second, downstream reuse after a memory update is approximate because a cached range depends on preceding tokens. At each subsequent decision step, HeMeR keeps schema-compatible ranges reused with only their positions corrected, and recomputes a range only when its own content, dependency, or adapter changes. The approximation therefore comes from changed preceding context, not RoPE remapping. Prompt Cache[1] and CacheBlend[2] make a related non-prefix-reuse approximation, whereas HeMeR reuses ranges originally computed within a complete causal sequence.

The table compares this approximation with full KV recomputation over five memory contexts following the ALFWorld composition. K cos compares reused key ranges, hidden cos compares last-layer hidden states, and KL, Top-1, and Top-5 compare next-token distributions.

Update pattern K cos Hidden cos KL (nats) Top-1 Top-5
Reordering 0.973±0.0030.973\pm0.003 0.985±0.0010.985\pm0.001 0.036±0.0080.036\pm0.008 0.80 0.96
Insertion before reused ranges 0.987±0.0010.987\pm0.001 0.990±0.0010.990\pm0.001 0.061±0.0130.061\pm0.013 1.00 0.92
Eviction before reused ranges 0.986±0.0010.986\pm0.001 0.984±0.0010.984\pm0.001 0.078±0.0170.078\pm0.017 0.80 0.76
Content edit 0.997±0.0010.997\pm0.001 0.998±0.0000.998\pm0.000 0.006±0.0030.006\pm0.003 0.80 1.00
Adapter switch 0.999±0.0020.999\pm0.002 0.992±0.0080.992\pm0.008 0.009±0.0100.009\pm0.010 1.00 0.88

The pattern follows the reconciliation policy. Eviction yields the largest output deviation, with KL 0.078 and Top-5 0.76, because reused states retain removed content. Reordering perturbs key states most, with K cos 0.973, because relocated ranges inherit changed neighbors. Content edits and adapter switches are locally recomputed and remain closest to full recomputation, with KL below 0.01.

We also tested 30 successive updates following the benchmark operation mix, over five sequences. Naive reuse preserves all cached states, while CacheBlend recomputes trailing chunks every K=5K=5 updates.

Regime Step 1 Step 5 Step 10 Step 20 Step 30
HeMeR 0.993±0.0070.993\pm0.007 0.989±0.0060.989\pm0.006 0.969±0.0080.969\pm0.008 0.979±0.0030.979\pm0.003 0.974±0.0070.974\pm0.007
Naive reuse 0.993±0.0070.993\pm0.007 0.974±0.0120.974\pm0.012 0.948±0.0120.948\pm0.012 0.971±0.0150.971\pm0.015 0.949±0.0160.949\pm0.016
CacheBlend 0.993±0.0070.993\pm 0.007 0.974±0.0120.974\pm0.012 0.947±0.0120.947\pm0.012 0.980±0.0040.980\pm0.004 0.972±0.0090.972\pm0.009

HeMeR reaches 0.969 and recovers to 0.974 through local recomputation, while naive reuse ends at 0.949.

Q2

The real-world evaluation used the Dual-Section Kitchen-Café and the Single-Section Beverage Station. Each method was evaluated in five physical repetitions per task, for 10 trials in total, with initial object positions and instruction phrasings varied across trials. The reported error bars are mean ±\pm standard deviation over these physical repetitions. The backbone and decoding configuration matched the EmbodiedBench Habitat setup.

Q3 + W4

Let NN denote the number of memory chunks, LL the total context length, EE the number of affected chunks after dependency propagation, and RR the tokens in those chunks. Constructing the schema-guided reconciliation plan costs O(N)\mathcal{O}(N). We count runtime as the attention operations needed to update the cache, where each recomputed token attends over its full prefix under causal attention, following the standard cost accounting in KV-cache serving work such as CacheBlend. Local recomputation over the affected ranges therefore costs O(RL)\mathcal{O}(RL), while RoPE remapping, KV-range relocation, and final cache assembly are linear in the processed sequence length. The overall runtime is therefore O(N+RL+L)\mathcal{O}(N+RL+L). For approximately balanced chunks, R≈EL/NR\approx EL/N, giving a dominant recomputation cost of O((E/N)L2)\mathcal{O}((E/N)L^2).

HeMeR scales the O(L2)\mathcal{O}(L^2) cost of Full Rebuild by the update fraction E/NE/N and is therefore never asymptotically worse. The two coincide only when every chunk changes at E=NE=N, where full recomputation is unavoidable, and sparse updates keep HeMeR below this worst case, with only additive planning and assembly costs. CacheBlend selects recomputation across the context and retains an O(L2)\mathcal{O}(L^2)-order term even under sparse updates, KEEP scales with the invalidated region and approaches the same order under broad updates, and LRAgent handles procedural-adapter switching without chunk-level reconciliation. All methods hold the same O(L)\mathcal{O}(L) KV cache, while HeMeR adds an O(N)\mathcal{O}(N) schema index and an O(R)\mathcal{O}(R) transient buffer, smaller than the full-context buffer whenever R<LR<L.

The table below gives a controlled operator-level comparison on the same sequence of memory contexts and updates. HeMeR locally recomputes about 5.6 percent of the tokens that Full Rebuild processes, and cache-processing time falls by 7.7$\times$.

Operator HeMeR Events HeMeR Tokens HeMeR Time (s) Full Rebuild Events Full Rebuild Tokens Full Rebuild Time (s)
Reuse 5,167 64,128 0.0 0 0 —
Reorder 528 6,437 0.0 0 0 —
Recompute 418 4,219 12.9 6,113 74,784 186.5
Insert 408 5,358 12.4 408 5,358 12.4
Evict 113 1,742 0.0 113 1,742 0.0
Assemble Kt\mathcal{K}_t — — 0.5 — — 0.5
Total 6,634 81,884 25.8 6,634 81,884 199.4

Q4

The procedural adapters adopt the shared-attention LoRA design of LRAgent[3]. Adapter parameters are rank-8 and confined to the query and value projections, the low-rank down-projection is shared across all adapters, and only the up-projections are adapter specific, so the key path and all remaining paths, including the output projection and the MLP, stay shared. The active adapter is applied to the entire forward sequence rather than only to procedural-memory tokens.

Cached KV remains useful across adapter switches for three reasons. Queries are recomputed at every step under the active adapter and therefore do not directly modify stored KV. The key projection is shared across all adapters, so cached key states are adapter independent at the projection level and residual differences arise only indirectly through earlier layers. Values use adapter-specific up-projections, but the shared down-projection constrains all adapters to the same low-rank subspace and limits cross-adapter drift.

Across eight contexts, the cross-adapter key cosine exceeds 0.98 at every layer and adapter pair, with a mean worst-layer value of 0.985, and the value cosine exceeds 0.92, with a mean worst-layer value of 0.929. The ordering matches the architecture, since keys pass only through the shared projection while values carry the adapter through their up-projections, and this is exactly why the adapter identifier is part of the KV compatibility condition.

HeMeR therefore does not assume exact cross-adapter equality, and adapter-dependent ranges are selectively recomputed rather than reused. The Q1 adapter-switch result shows a KL divergence of 0.009 from full recomputation.

Q5

We added an instrumented ALFWorld profiling experiment that separates per-step latency into the requested components, reported in ms. It is intended for latency attribution rather than reproduction of the appendix’s benchmark-level TTFT averages, so the absolute values are not directly comparable. HeMeR and Full Rebuild use the same protocol, prompts, and decoding configuration, and the components sum to measured step latency within 1%.

Component HeMeR Full Rebuild
Memory retrieval and context build 0.6 0.6
Prompt construction 2.3 2.4
KV reconciliation 0.6 0.6
Local recomputation 39.5 267.4
Fresh-tail prefill 131.4 131.7
Decode after the first token 868.9 884.8
Generated tokens per step 36.2 36.9
Decode cost (ms/token) 24.0 24.0

All components except local recomputation are closely matched across the two methods, and the 227.9 ms reduction in local recomputation explains nearly all of the 228.2 ms TTFT difference, showing that the gain comes from reduced memory-context recomputation.


[1] Prompt Cache: Modular Attention Reuse for Low-Latency Inference

[2] CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion

[3] LRAgent: Efficient KV Cache Sharing for Multi-LoRA LLM Agents

Authors · CommentOpenReview ↗

Summary of Responses and Additional Clarifications

Dear reviewer KYZL,

To facilitate a more efficient discussion, we would like to briefly summarize how we addressed the reviewer's feedback and state the answer to Question 5 more directly.

[W1 + W2] Missing code in the supplementary material and the clarity of Figure 1

The missing implementation will accompany the revision and be publicly released upon publication. The revised Figure 1 will replace the abstract blocks with scenario-grounded memory contexts marking reuse, relocation, and recomputation in KV-cache terms.

[W3] The main distinction from MemRL

The main difference from MemRL is not an alternative memory retrieval method but the combination of structured memory-context organization, chunk-level KV reconciliation, and adapter-stable KV reconciliation, and the two remain complementary.

[Q1 + W5] RoPE remapping validity and when chunk-level reuse is exact versus approximate

RoPE remapping itself is exact for a pure position shift, while chunk-level reuse under memory-content updates is approximate. The deviation stays small in every memory edit pattern, with eviction causing the largest output degradation and reordering perturbing key states most, and it does not accumulate over successive updates because local recomputation resets the affected ranges.

[Q2] Real-world evaluation size and error bars

The real-world evaluation used two long-horizon tasks with five physical repetitions each, and the error bars are the mean ±\pm standard deviation over these physical repetitions.

[Q3 + W4] Runtime and memory complexity

HeMeR's reconciliation has a dominant recomputation cost of O((E/N)L2)\mathcal{O}((E/N)L^2), so it scales the cost of Full Rebuild by the update fraction and is never asymptotically worse, whereas CacheBlend retains an O(L2)\mathcal{O}(L^2)-order term even under sparse updates, KEEP approaches the same order under broad updates, and LRAgent provides no equivalent EE-dependent reconciliation procedure.

[Q4] LoRA adapter compatibility

The procedural adapters follow the shared-attention design of LRAgent, with rank-8 updates confined to the query and value projections. The measured cross-adapter drift matches the architecture, and the adapter identifier remains part of the KV compatibility condition, so adapter-dependent ranges are selectively recomputed rather than reused.

[Q5] Latency decomposition and where the gain comes from

The reviewer asked whether the observed latency gains come primarily from KV reuse or from differences in generation length and other overheads, and we would like to state the direct answer. The answer comes from the instrumented ALFWorld profiling experiment we added for latency attribution, which profiles HeMeR and Full Rebuild under the same protocol, prompts, and decoding configuration, with the components summing to the measured step latency within 1%. The two methods generate nearly the same number of tokens per step at 36.2 and 36.9 with an identical decode cost of 24.0 ms per generated token, and memory retrieval, prompt construction, KV reconciliation, and fresh-tail prefill agree within about two percent because these stages do not depend on the cache policy. The entire gap is carried by local recomputation, where the 227.9 ms reduction accounts for nearly all of the 228.2 ms TTFT difference. The latency gain therefore comes from KV reuse reducing how much of the memory context must be recomputed at each step, not from shorter generations, cheaper decoding, faster retrieval, or other overheads.

We sincerely appreciate the reviewer's constructive and actionable feedback, which shaped much of the added analysis. We hope this summary makes each answer easier to check against its question, and we would be glad to provide further clarification on any remaining point before the discussion period ends. Thank you again for the time devoted to reviewing our paper.

Authors · CommentOpenReview ↗

Follow-up Before the Discussion Period Closes

As the discussion period approaches its conclusion, we would like to kindly ask whether our response has adequately addressed your concerns. Should any point remain unclear or require further evidence, we would be happy to provide additional clarification before the discussion closes. If our response has sufficiently resolved your concerns, we would also greatly appreciate any brief indication to that effect.

Reviewer eCUyOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents HeMeR, an inference framework for memory-augmented embodied agents that reduces redundant KV-cache recomputation when declarative, procedural, and working memory contexts change across decision steps. HeMeR represents the memory context as structured chunks with metadata such as memory type, token span, KV range, dependency relation, and adapter configuration, then selectively reuses or recomputes KV states as chunks are inserted, removed, reordered, or affected by procedural LoRA adapter switches. Experiments on ALFWorld, EmbodiedBench Habitat, and real-world robotic tasks report improved success rates and lower inference latency over prompting, memory, cache-reuse, and LoRA-agent baselines.

Strengths and weaknesses

Strength

  1. The paper addresses an important problem for memory-augmented embodied agents. Long-horizon agents operate with memory contexts that change across steps, while much of the context remains reusable. Avoiding full KV-cache recomputation in this setting is a practical and timely systems problem.

  2. The experiments covers various setting, including a text-only embodied benchmark, a vision-based 3D embodied benchmark, also real-world robotic tasks.

  3. The method part is well-written and easy to follow.

Weakness

  1. The current comparisons conflate several factors, including structured memory organization, chunk indexing, procedural adapter handling, and KV cache reuse. A necessary controlled baseline would use the same HeMeR memory schema, the same rendered memory context, the same procedural adapters, and the same decoding setup, but perform full KV recomputation at every decision step. Such a comparison would isolate the effect of KV reconciliation from the effects of memory/context construction and adapter selection, making the paper’s claims and contributions substantially more persuasive.

  2. The paper does not clearly specify how the memory context is prefetched/prefilled into the model. A central ambiguity is whether each memory chunk is independently prefilled and then composed at the KV-cache level, or whether the full rendered memory context is prefetched as a single causal sequence. If the full memory context is prefetched as one causal sequence, then the proposed chunk-level KV reuse raises a correctness concern that in a standard causal transformer, the KV states of a later chunk depend not only on its own content and position, but also on all preceding tokens. Therefore, when an earlier memory chunk is inserted, removed, reordered, or modified, the hidden states and KV states of downstream chunks may change even if their textual content remains unchanged.

  3. Several ablations are difficult to interpret because the paper does not clearly define what remains when a component is removed. For example, in “w/o Memory Schema,” the method still reports a non-trivial reuse ratio, but it is unclear how chunks are matched or how KV ranges are selected for reuse without schema fields such as memory type, semantic role, dependency annotation, and adapter identifier. Similarly, in “w/o Chunk-Level KV Reconciliation,” the method still reuses some cache states, but the fallback mechanism is not specified: is it prefix caching, segment-level reuse, raw token overlap, normalized string matching, fixed block reuse, or adapter-only reuse?

Questions

See weakness, I am willing to raise my score if the concerns mentioned in weakness are resolved.

Limitations

Yes

Final justification

The rebuttal and additional experiments address most of my concerns and provide sufficient empirical support for the proposed approximation. However, the conceptual issue regarding downstream KV reuse remains. I will maintain my original rating.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer eCUy and Area Chair,

We deeply appreciate the reviewer's careful reading and for the incisive points. We sincerely hope our responses provide clear answers to the reviewer's concerns.

[W1] Controlled Full Rebuild baseline isolating the effect of KV reconciliation

We compare HeMeR with Full Rebuild on ALFWorld under identical memory schema and contents, rendered context XtX_t, procedural adapters, backbone, and decoding settings. Full Rebuild recomputes the entire memory-context KV at every step, whereas HeMeR preserves schema-compatible ranges and recomputes only affected ranges.

The controlled comparison shows nearly identical task success of 71.43% and 71.59% but substantially different inference cost. Full Rebuild requires 0.84 s/step, whereas HeMeR requires 0.18 s/step while preserving 75.30% of KV states. Since all other factors are fixed, this isolates KV reconciliation as the source of the speedup without loss of decision quality.

Method SR (%) Latency (s/step) Reuse ratio(%)
HeMeR $71.43\pm$2.05 0.18±0.020.18\pm0.02 75.30±4.3375.30\pm4.33
Full Rebuild 71.59±2.5471.59\pm2.54 0.84±0.050.84\pm0.05 -

The second table localizes this gap. Both methods replay the same memory contexts and updates, so insertion, eviction, and cache-assembly costs are identical. The difference lies in recomputation: Full Rebuild recomputes 74,784 tokens, whereas HeMeR reuses 64,128, relocates 6,437, and recomputes only 4,219. Total cache-processing time therefore falls from 199.4 s to 25.8 s. The reuse ratio in the first table is a per-step average over benchmark episodes, while the token counts here aggregate the whole replayed update stream, so the two are measured on different bases. Assemble Kt\mathcal{K}_t is the final cache-assembly step in Algorithm 1. We will include this protocol and result in the revision.

Operator HeMeR Events HeMeR Tokens HeMeR Time (s) Full Rebuild Events Full Rebuild Tokens Full Rebuild Time (s)
Reuse 5,167 64,128 0.0 0 0 —
Reorder 528 6,437 0.0 0 0 —
Recompute 418 4,219 12.9 6,113 74,784 186.5
Insert 408 5,358 12.4 408 5,358 12.4
Evict 113 1,742 0.0 113 1,742 0.0
Assemble Kt\mathcal{K}_t — — 0.5 — — 0.5
Total 6,634 81,884 25.8 6,634 81,884 199.4

[W2] Full-sequence prefill and the causal approximation of downstream KV reuse

We clarify that the initial memory context is prefilled in full as a single causal sequence rather than by independently prefilling chunks and composing them at the KV-cache level. At each subsequent decision step, every inserted or locally recomputed chunk is prefilled at its position in the current context, and the memory schema records the resulting KV range of every chunk. It follows that the reviewer's correctness concern is stated on the right premise. The KV states of a later chunk depend on all preceding tokens, so when an earlier chunk is inserted, removed, reordered, or modified, the states of downstream chunks would change under full recomputation even if their textual content is unchanged.

We therefore do not claim that reused downstream KV states are mathematically identical to those obtained by full causal recomputation after an upstream update. HeMeR intentionally keeps downstream ranges reused unless the affected chunk itself requires recomputation. This is the approximation that Prompt Cache[1] and CacheBlend[2] adopt for non-prefix reuse, where Prompt Cache accepts segments computed without their preceding context and CacheBlend recomputes only the most deviated tokens and accepts the remaining deviation. HeMeR starts from a milder point, since every cached range was originally computed inside a full causal sequence, so a reused range reflects a complete preceding context rather than an isolated one, and the only deviation to manage comes from later updates to that context. Concretely, a cached range is reused only when its schema fields, normalized content, and adapter identifier are unchanged, it is relocated with RoPE remapping when only its position changes, and it is locally recomputed when its content, dependency annotation, or adapter identifier changes.

The first table below quantifies this approximation against Full Rebuild for each memory update pattern, over five memory contexts that follow the composition used in the ALFWorld experiments. Each metric compares the cache produced by reconciliation with the cache obtained by recomputing the same updated context in full. K cos is measured on reused key ranges, hidden cos on last-layer hidden states over a short task probe after the memory context, and KL, Top-1, and Top-5 compare the next-token distributions the two caches produce at the final probe position. The structure of the results follows directly from the reconciliation policy. Content edits and adapter switches trigger local recomputation of the affected ranges, so their deviation nearly vanishes. Insertion, eviction, and reordering preserve the downstream reused ranges and therefore expose the approximation induced by causal dependency, and even there the hidden-state cosine stays at least 0.984.

Update pattern K cos Hidden cos KL (nats) Top-1 Top-5
Reordering 0.973±0.0030.973\pm0.003 0.985±0.0010.985\pm0.001 0.036±0.0080.036\pm0.008 0.80 0.96
Insertion before reused ranges 0.987±0.0010.987\pm0.001 0.990±0.0010.990\pm0.001 0.061±0.0130.061\pm0.013 1.00 0.92
Eviction before reused ranges 0.986±0.0010.986\pm0.001 0.984±0.0010.984\pm0.001 0.078±0.0170.078\pm0.017 0.80 0.76
Content edit 0.997±0.0010.997\pm0.001 0.998±0.0000.998\pm0.000 0.006±0.0030.006\pm0.003 0.80 1.00
Adapter switch 0.999±0.0020.999\pm0.002 0.992±0.0080.992\pm0.008 0.009±0.0100.009\pm0.010 1.00 0.88

The second table addresses the remaining possibility that small per-update deviations compound over a long horizon. It reports the hidden-state cosine to Full Rebuild over 30 successive memory-content updates whose operation mix follows the benchmark, as mean plus or minus standard deviation over five update sequences. Naive reuse keeps all cached states without reconciliation, so its curve shows what happens when downstream states are reused without any correction, which is precisely the failure mode the reviewer's concern describes, and it ends at 0.949 with no mechanism that resets what has accumulated. Its transient rise at step 20 comes from evictions in the update stream, which remove previously edited content together with its accumulated mismatch, rather than from any correction of the cached states. HeMeR instead reaches its lowest value in the middle of the horizon and recovers to 0.974, because every content edit and adapter switch triggers local recomputation that resets the accumulated deviation of the affected ranges. CacheBlend recomputes trailing chunks with boundary period K=5K=5, so its values fluctuate with the distance to the most recent boundary recomputation. The controlled comparison in our response to Weakness 1 further shows that the remaining deviation does not degrade task success, with 71.43% SR for HeMeR and 71.59% for Full Rebuild.

Regime Step 1 Step 5 Step 10 Step 20 Step 30
HeMeR 0.993±0.0070.993\pm0.007 0.989±0.0060.989\pm0.006 0.969±0.0080.969\pm0.008 0.979±0.0030.979\pm0.003 0.974±0.0070.974\pm0.007
Naive reuse 0.993±0.0070.993\pm0.007 0.974±0.0120.974\pm0.012 0.948±0.0120.948\pm0.012 0.971±0.0150.971\pm0.015 0.949±0.0160.949\pm0.016
CacheBlend 0.993±0.0070.993\pm 0.007 0.974±0.0120.974\pm0.012 0.947±0.0120.947\pm0.012 0.980±0.0040.980\pm0.004 0.972±0.0090.972\pm0.009

We will revise the paper to explicitly describe the initial and incremental prefill procedures, distinguish schema-compatible reuse from exact causal equivalence, clarify the limited role of RoPE remapping, and state that HeMeR’s downstream reuse is an empirically evaluated approximation.

[W3] Operational definitions of the ablation fallback mechanisms

We agree that the residual reuse mechanisms in these ablations should be defined explicitly. Although the Memory Schema and Chunk-Level KV Reconciliation are tightly coupled in the full method, they serve distinct roles. The Memory Schema provides the compatibility metadata and the mapping from memory chunks to token spans and KV ranges. Chunk-Level KV Reconciliation uses this information to execute localized Insert, Evict, Reorder, and Reuse operations after memory-content updates.

In w/o Memory Schema, we remove schema-guided compatibility matching based on memory type, semantic role, dependency annotation, and adapter identifier. We retain only chunk boundaries and token spans so that matched chunks can be mapped to their cached KV ranges. These retained fields are not used to determine semantic compatibility. A KV range is reused only when the normalized content of the chunk and its fixed position in the rendered memory context remain unchanged between consecutive decision steps. Otherwise, the chunk is recomputed. Thus, this variant uses fixed-position normalized-content matching, not raw token overlap, schema-guided segment matching, fixed-block reuse, or adapter-only reuse.

In w/o Chunk-Level KV Reconciliation, we retain the Memory Schema and schema-compatible change detection, but disable the localized Insert, Evict, and Reorder operations and RoPE-based remapping. The schema is used to identify the earliest affected memory chunk. The unchanged cache before this boundary is preserved, while the full remaining suffix is recomputed. This fallback is therefore standard prefix caching and does not perform non-prefix segment reuse, normalized-string-based KV-range reuse, or fixed-block reconciliation.

Neither ablation removes KV caching itself. The 51.39% reuse ratio in w/o Memory Schema comes from normalized-text-identical chunks that remain at the same ordinal positions. The 42.75% reuse ratio in w/o Chunk-Level KV Reconciliation comes from the unchanged prefix before the earliest affected chunk. We will add these operational definitions to the revised paper.


[1] Prompt Cache: Modular Attention Reuse for Low-Latency Inference

[2] CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion

Authors · CommentOpenReview ↗

Summary of Responses and Additional Clarifications

Dear reviewer eCUy,

To facilitate a more efficient discussion, we would like to briefly summarize how we addressed the reviewer's concerns and add one clarification on what the ablations are designed to show.

[W1] Controlled Full Rebuild baseline isolating the effect of KV reconciliation

We added the controlled Full Rebuild baseline the reviewer requested, sharing the same memory schema, rendered memory context, procedural adapters, and decoding configuration. Task success is nearly identical at 71.43% and 71.59%, while per-step latency falls from 0.84 s to 0.18 s with 75.30% of KV states preserved, and the operator breakdown confines the entire gap to the Recompute operator. KV reconciliation therefore changes the cost of inference without changing its outcome.

[W2] Full-sequence prefill and the causal approximation of downstream KV reuse

We clarified that the full rendered memory context is prefilled as a single causal sequence and that the reviewer's premise about downstream dependence is correct. HeMeR's downstream reuse is an empirically evaluated approximation. Its deviation stays small under every update pattern with hidden-state cosine at least 0.984, it does not compound over 30 successive updates because local recomputation resets the deviation of the affected ranges, and it does not degrade task success under the controlled comparison of Weakness 1.

[W3] Operational definitions of the ablation fallbacks and what each isolates

We defined both fallbacks operationally. w/o Memory Schema retains KV caching but matches chunks only by normalized content and fixed position, while w/o Chunk-Level KV Reconciliation falls back to prefix caching.

Beyond the definitions, we add what each ablation isolates. w/o Memory Schema tests whether schema-compatible matching is necessary once KV caching is available. Its reuse ratio falls from 75.30% to 51.39% because memory chunks that move or whose surroundings change can no longer be identified by fixed-position normalized-content matching, so schema-guided matching is what sustains reuse under the reorderings and interleaved memory-content updates that arise in dynamic memory contexts. w/o Chunk-Level KV Reconciliation tests whether prefix caching alone suffices once schema-compatible matches are known. Its reuse ratio falls to 42.75% because any early memory-content update invalidates the entire suffix, so most reuse opportunities lie beyond the unchanged prefix and are recoverable only through the localized Insert, Evict, and Reorder operations on non-prefix KV ranges.

We sincerely appreciate the reviewer's incisive questions, which led us to add the controlled comparison and the approximation analysis and made the paper substantially stronger. We hope these clarifications address the key concerns raised in the review, and we would be glad to answer any remaining questions before the discussion period ends. Thank you again for the careful reading and the time devoted to reviewing our paper.

Reviewer eCUy · CommentOpenReview ↗

Thanks to the authors for the detailed response. The controlled Full Rebuild baseline and the explicit definitions of the ablation fallback mechanisms satisfactorily address my first and third concerns. For the second concern, the rebuttal confirms that the full context is causally prefilled and that downstream KV reuse is an approximation rather than exact causal equivalence. The additional experiments provide useful empirical support, but they do not fully resolve the conceptual issue that modifying an earlier chunk generally changes the contextualized hidden states and KV states of downstream tokens in a causal Transformer. RoPE remapping corrects positional shifts but also does not account for this changed prefix dependence. Since the empirical results nevertheless support the practical effectiveness of the approximation, I tentatively maintain my current rating. I also note that reviewer KYZL raised a similar concern, and I will take their assessment and any further discussion into account.

Authors · CommentOpenReview ↗

Response to Reviewer eCUy on the Conceptual Basis of Downstream KV Reuse

Dear reviewer eCUy,

We sincerely thank the reviewer for the careful reading and thoughtful engagement. We are glad that the controlled Full Rebuild comparison and the operational definitions of the ablation fallbacks have resolved Weakness 1 and Weakness 3. We are also grateful that the reviewer articulated the remaining conceptual concern so clearly and gave us the opportunity to address it. We organize our response around three points, the basis on which downstream KV ranges are reused when earlier context changes, how prior chunk-level reuse relates to this approximation, and what HeMeR contributes beyond it.

  • By structuring the embodied memory context as schema-indexed chunks, HeMeR can selectively reuse schema-compatible downstream KV ranges even when earlier context changes.

    • Embodied contexts consist of role-specific contents, such as declarative, procedural, and working memory. Many of these contents remain unchanged across decision steps. HeMeR therefore evaluates compatibility at the typed memory-chunk level rather than relying only on a flat token prefix.
    • The schema does not remove causal dependence. Instead, it distinguishes KV ranges that require recomputation from reuse candidates. The distinction is based on changes in content, explicit dependency annotations, and adapter configuration.
    • A range is recomputed when its content, dependency annotation, or adapter changes. It is reused when these fields remain compatible. RoPE remapping is applied when only its position changes.
    • Figure 2 draws this decision in time order while the agent makes iced coffees.
      1. The coffees are prepared → task progress is observed. The working observation chunk is updated to the current observation.
      2. The ice melts → a declarative content change occurs. The chunk stating the ice is intact is evicted. Chunks recording the melted ice and the needed bucket are inserted.
      3. The coffee bottle fact is untouched but shifted → its KV range is reused with only a RoPE position correction.
      4. The bucket filling adapter becomes active → the adapter-dependent range is locally recomputed. The shared component keeps the remaining chunks schema-compatible and reusable across the switch.
  • Recent studies [1,2,3] have shown that KV caches can be reused at the chunk or modular-context level without fully prefilling the prompt at every step.

    • These works showed that recurring prompt components need not be prefilled from scratch. Their cached KV states can be reused or recombined. Method-specific correction or recomputation is applied where needed.
    • Prompt Cache [1] reuses precomputed attention states for modular prompt components.
    • CacheBlend [2] combines non-prefix cached chunks and selectively recomputes tokens with large cross-attention deviations.
    • EPIC [3] supports position-independent context caching with an additional mechanism for connecting reusable contexts.
  • The contribution of HeMeR is not the first use of chunk-level KV reuse. It is to determine KV compatibility and invalidation scope based on the type, semantic role, dependency, position, and adapter configuration of embodied memory.

    • It jointly considers these schema fields when deciding which KV ranges to reuse, remap, or recompute.
    • Its downstream reuse is therefore a schema-guided systems approximation rather than a theoretical guarantee of exact causal equivalence.
    • Unlike prior KV reuse systems [1,2,3] focused on recurring prompt or context segments, HeMeR extends chunk-level reuse to dynamically evolving embodied memory contexts, jointly reconciling declarative and working-memory updates with procedural adapter switches.
    • Three analyses attached to our responses quantify what this decision leaves as approximation. The memory update pattern analysis shows that the deviation from Full Rebuild stays small in every pattern. The accumulation analysis over 30 successive updates shows that the deviation is repeatedly reset by local recomputation instead of compounding. The controlled comparison in our response to Weakness 1 shows that the remaining deviation does not degrade task success.

We hope this clarifies the conceptual basis of downstream reuse. If any further questions arise, we will be glad to respond promptly during the phase 2 discussion period.


[1] Prompt Cache: Modular Attention Reuse for Low-Latency Inference

[2] CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion

[3] EPIC: Efficient Position-Independent Caching for Serving Large Language Models

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…