MemCode: Discrete Semantic Representations for Long-Term Agent Memory
Update NeurIPS 2026 submission PYZcd99axs: 6 notes
@openreview[bot] · 2026-11-24 15:50 UTC · d16ebbbe20dd ·
reviews/openreview/pyzcd99axs/notes/1lbqzce5ta.json modified
+++ b/reviews/openreview/pyzcd99axs/notes/1lbqzce5ta.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair 5Vfu","content": {- "metareview": "This paper proposes MemCode, a long-term memory framework that addresses the write–retrieve mismatch by converting dialogue into self-contained Atomic Memory Units and combining dense retrieval with discrete codebook-based associative retrieval. It further introduces asynchronous consolidation and reports improved overall accuracy and substantially lower memory-construction cost on LongMemEval-S and LoCoMo.\n\n* A central issue across Reviewers FAjq and hCSC is whether the reported gains can be clearly attributed to the codebook retrieval path. The current results do not fully separate the effects of AMUs, codebook retrieval, and asynchronous consolidation, and some temporal, multi-hop, and open-domain results appear inconsistent with the stated motivation. A clearer decomposition and explanation of these behaviours would be important for the discussion.\n\n* Reviewer FAjq raises a significant concern about missing closely related baselines, particularly graph-based associative retrieval such as HippoRAG or GraphRAG, as well as stronger modern RAG variants. Reviewer mdqw similarly notes the absence of attention-based memory baselines. These comparisons would help establish whether the benefit is specific to the discrete codebook design rather than associative retrieval more generally.\n\n* Reviewers FAjq and mdqw question whether the current evaluation directly supports the retrieval claims. Direct retrieval-level measures such as evidence recall@k, AMU hit rate, or MRR, together with the original LoCoMo metrics, would make it easier to verify that the codebook path recovers useful evidence rather than only improving end-to-end judged accuracy.\n\n* Reviewer mdqw also raises concerns about evaluation objectivity and reproducibility, including the use of GPT-4o-mini both within the pipeline and as an evaluator, the underspecified VQ-VAE/codebook training setup, possible overlap from DailyDialog, and the risk of noisy co-occurrence links creating spurious associations. \n\nThese points will be important considerations in the post-rebuttal discussion."+ "metareview": "This paper proposes MemCode, a long-term memory framework that addresses the write–retrieve mismatch by converting dialogue into self-contained Atomic Memory Units and combining dense retrieval with discrete codebook-based associative retrieval. It further introduces asynchronous consolidation and reports improved overall accuracy and substantially lower memory-construction cost on LongMemEval-S and LoCoMo.\n\n* A central issue across Reviewers FAjq and hCSC is whether the reported gains can be clearly attributed to the codebook retrieval path. The current results do not fully separate the effects of AMUs, codebook retrieval, and asynchronous consolidation, and some temporal, multi-hop, and open-domain results appear inconsistent with the stated motivation. A clearer decomposition and explanation of these behaviours would be important for the discussion.\n\n* Reviewer FAjq raises a significant concern about missing closely related baselines, particularly graph-based associative retrieval such as HippoRAG or GraphRAG, as well as stronger modern RAG variants. Reviewer mdqw similarly notes the absence of attention-based memory baselines. These comparisons would help establish whether the benefit is specific to the discrete codebook design rather than associative retrieval more generally.\n\n* Reviewers FAjq and mdqw question whether the current evaluation directly supports the retrieval claims. Direct retrieval-level measures such as evidence recall@k, AMU hit rate, or MRR, together with the original LoCoMo metrics, would make it easier to verify that the codebook path recovers useful evidence rather than only improving end-to-end judged accuracy.\n\n* Reviewer mdqw also raises concerns about evaluation objectivity and reproducibility, including the use of GPT-4o-mini both within the pipeline and as an evaluator, the underspecified VQ-VAE/codebook training setup, possible overlap from DailyDialog, and the risk of noisy co-occurrence links creating spurious associations. \n\nThese points will be important considerations in the post-rebuttal discussion.",+ "final_justification": "All three reviewers now assign positive scores (Rating: 4), and the authors' rebuttal has substantively addressed the core concerns raised during the initial review.\n\nReviewer FAjq's central concern regarding the attribution of gains to the codebook path was resolved via a clean 2×2 ablation isolating codebook retrieval and asynchronous consolidation as independent, complementary contributors. The addition of same-budget HippoRAG2 and hybrid retrieval baselines confirms competitive accuracy without prohibitive overhead, and new retrieval-level diagnostics (Recall@K, coverage) validate that the codebook recovers evidence missed by dense retrieval.\n\nReviewer hCSC's concerns about the codebook's contribution and the model's behavior across question types were addressed through stratified analysis by evidence cardinality and component attribution tables. The reviewer confirmed their concerns were resolved and maintained their positive score.\n\nReviewer mdqw's concerns regarding evaluation objectivity, reproducibility, and association noise were mitigated by a multi-judge robustness analysis (five external models showing no significant bias), a completed VQ-VAE training specification and overlap audit, and explicit ablation of IDF noise controls that improve Multi-Hop and Temporal reasoning. The reviewer maintained their positive score.\n\nThe paper presents a novel and practically valuable solution to the write-retrieve mismatch in long-term agent memory, with strong empirical support and demonstrated efficiency-accuracy trade-offs. The authors have been responsive and thorough in their revisions. I therefore recommend acceptance."},"createdAt": "2026-07-20T07:57:31.982Z",- "modifiedAt": "2026-11-18T15:25:38.238Z",+ "modifiedAt": "2026-11-19T05:03:35.064Z","url": "https://openreview.net/forum?id=PYZcd99axs¬eId=1LbQzce5ta","license": "CC-BY-4.0"}
reviews/openreview/pyzcd99axs/notes/36cckorup3.json added
+++ b/reviews/openreview/pyzcd99axs/notes/36cckorup3.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "36CCkORUP3",+ "replyTo": "JzkuwGoDoH",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "A kind reminder",+ "comment": "Thank you again for your constructive and detailed review. We would like to kindly follow up on our response. We have seriously addressed your concerns in detail through the requested 2x2 ablation separating codebook retrieval from asynchronous consolidation, same-budget comparisons with graph-based and modern RAG methods, and retrieval-level diagnostics of evidence recovered beyond dense retrieval.\n\n**Follow-up to W1/Q1 (codebook vs. consolidation), W2/Q2 (graph-based retrieval), and W3/Q3 (retrieval-level verification).** Table R1 shows that codebook retrieval contributes independently without consolidation, while the two components provide comparable and complementary gains. Tables R2--R3 show that explicit associative graph retrieval reaches statistically indistinguishable accuracy but requires substantially greater construction and query cost. Table R4 further verifies that the codebook path improves source-grounded evidence coverage beyond dense retrieval. Our claim is therefore not that associative retrieval is unique to the codebook, but that MemCode provides a lightweight associative design suited to continuously updated long-term agent memory.\n\nWe hope these controlled experiments and clarifications effectively address your concerns. We greatly value your continued feedback and participation in this discussion. Thank you once again for your time and for helping us improve the paper."+ },+ "createdAt": "2026-07-31T15:49:04.523Z",+ "modifiedAt": "2026-11-19T17:04:32.749Z",+ "url": "https://openreview.net/forum?id=PYZcd99axs¬eId=36CCkORUP3",+ "license": "CC-BY-4.0"+}
reviews/openreview/pyzcd99axs/notes/b8xi2wzoh8.json added
+++ b/reviews/openreview/pyzcd99axs/notes/b8xi2wzoh8.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "B8xI2wzOH8",+ "replyTo": "4RKYbrKGos",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer hCSC",+ "content": {+ "comment": "Thank the author effect for their response. Nearly my concern is solved. I will maintain my positive score."+ },+ "createdAt": "2026-07-31T11:35:54.221Z",+ "modifiedAt": "2026-11-19T17:04:32.789Z",+ "url": "https://openreview.net/forum?id=PYZcd99axs¬eId=B8xI2wzOH8",+ "license": "CC-BY-4.0"+}
reviews/openreview/pyzcd99axs/notes/hwzeyrju4u.json added
+++ b/reviews/openreview/pyzcd99axs/notes/hwzeyrju4u.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "hWzEYRJu4U",+ "replyTo": "B8xI2wzOH8",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thank you for the reply",+ "comment": "Thank you for reviewing our response and for your encouraging feedback. We are glad that our clarifications addressed nearly all of your concerns, and we sincerely appreciate your continued positive assessment. If you have any further concerns, please feel free to let us know.\n\nBest regards,\n\nThe Authors"+ },+ "createdAt": "2026-07-31T15:29:23.597Z",+ "modifiedAt": "2026-11-19T17:04:32.827Z",+ "url": "https://openreview.net/forum?id=PYZcd99axs¬eId=hWzEYRJu4U",+ "license": "CC-BY-4.0"+}
reviews/openreview/pyzcd99axs/notes/mc0qbghh3k.json added
+++ b/reviews/openreview/pyzcd99axs/notes/mc0qbghh3k.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Mc0Qbghh3k",+ "replyTo": "1LbQzce5ta",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to AC by Authors",+ "comment": "Dear Area Chair,\n\nThank you for highlighting the key issues for the post-rebuttal discussion. We have addressed each point in the corresponding responses to FAjq, hCSC, and mdqw:\n\n1. **Attribution and category behavior.** We add the requested 2x2 Multi-Hop ablation with the AMU store and retrieval budget fixed. Codebook retrieval adds 5.32/3.90 points without/with consolidation, while consolidation adds 5.67/4.26 points with dense-only/dense+codebook retrieval. Thus, both contribute independently and complementarily. We also separate AMU construction from topology, stratify Temporal Reasoning by evidence cardinality, audit BM25's competing-date errors, and report the Open breakdown. These analyses explain why codebook retrieval helps distributed evidence, whereas Open can favor lexical anchors or episode continuity.\n\n2. **Missing baselines.** Beyond the original A-MEM graph baseline, we add Full HippoRAG2@40, hybrid dense-sparse reranking, and HyDE-style expansion under the same AMU store and evidence budget. HippoRAG2 is statistically indistinguishable but slightly lower than MemCode (77.92% vs. 78.12%), with 12,779 extra model calls and 47.8x retrieval latency. We also clarify that Full Text is the controlled full-history self-attention alternative under the same backbone; separately trained attention-memory methods would change the protocol, backbone, or training regime. We accordingly narrow our claim to competitive accuracy with lower lifecycle cost, not uniquely superior topology.\n\n3. **Retrieval evidence and LoCoMo metrics.** Because LoCoMo labels source turns rather than unique rewritten AMUs or AMU rankings, cross-system AMU hit rate/MRR is not directly defined. We nevertheless add a source-grounded diagnostic: codebook retrieval improves Recall@K/complete coverage@K by 3.60/3.71 points over Dense-20 and 1.13/1.69 over equal-budget Dense-40, while recovering 114/95 new evidence instances beyond them. We label this as a supplementary retrieval diagnostic accompanying QA. For BLEU/F1, we acknowledge reduced cross-paper lexical comparability, while explaining that all studied methods share one free-form generation and blinded-judging protocol and were not optimized under a common short-answer overlap objective.\n\n4. **Objectivity and reproducibility.** Qwen3 separates generation from the GPT-4o-mini judge, and five external judges re-evaluate the same outputs; the paper judge differs from their majority vote by only -0.19/-0.52 points, with $\\kappa=0.834/0.869$, and no significant same-family affinity. We also provide the fixed VQ-VAE/codebook training setup, an overlap audit finding only generic DailyDialog matches are shorter than eight tokens, and explicit noise controls. The IDF ablation improves Multi-Hop, Temporal Reasoning, and Overall by 3.90, 1.87, and 1.95 points.\n\nWe will incorporate these analyses, baselines, diagnostics, and clarified limitations into the revised main text and appendix. Thus, each issue in the meta-review is addressed in the corresponding reviewer response, and our revised claims will follow the resulting evidence.\n\nBest regards,\n\nThe Authors"+ },+ "createdAt": "2026-08-02T13:42:45.991Z",+ "modifiedAt": "2026-11-19T17:04:33.310Z",+ "url": "https://openreview.net/forum?id=PYZcd99axs¬eId=Mc0Qbghh3k",+ "license": "CC-BY-4.0"+}
reviews/openreview/pyzcd99axs/notes/nutkxsjrym.json added
+++ b/reviews/openreview/pyzcd99axs/notes/nutkxsjrym.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "nutkXsJRYm",+ "replyTo": "YYbwLXynMb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "A kind reminder",+ "comment": "Thank you again for your constructive review. We have carefully addressed each of your concerns in our detailed response and would like to add one clarification directly related to your concern that broad code associations may amplify retrieval noise.\n\n**Follow-up to W3 (spurious associations and noise control).** IDF is intended to suppress broad, weak associations for structured retrieval, rather than improve every category uniformly. Table R3 shows that IDF raises Multi-Hop by 3.90 points, Temporal by 1.87, and Overall by 1.95, while lowering Open by 7.29; some Open questions can benefit from broader narrative cues. Appendix Table 7 provides complementary sensitivity evidence: the deployed setting $(K=3, \\alpha=0.3, \\tau_{\\mathrm{IDF}}=0.5)$ reaches 78.12% Overall, whereas expanding to $K=9$ falls to 76.49%, and weaker IDF thresholds of 0.1 and 0.3 reach 77.27% and 77.34%. These results support bounded expansion and moderate filtering as safeguards against spurious propagation, while also making the category-level tradeoff explicit.\n\nTogether with our responses on attention-based comparisons, evaluation protocol, multi-judge robustness, and VQ-VAE training overlap, we hope these will address your concerns. We would greatly value your further feedback and participation in the discussion. Thank you again for your time and for helping us strengthen the paper."+ },+ "createdAt": "2026-07-31T15:52:37.052Z",+ "modifiedAt": "2026-11-19T17:04:32.691Z",+ "url": "https://openreview.net/forum?id=PYZcd99axs¬eId=nutkXsJRYm",+ "license": "CC-BY-4.0"+}