# Instant Weight-Space Consolidation for Long-Term Memory in LLMs

LLM의 장기 기억을 위한 즉각적 가중치 공간 통합

Manan Suri, Dinesh Manocha · arXiv · 2026년 11월 16일

- **연구 문제** 기존 에이전트형 메모리는 대화를 텍스트로 추출해 검색하므로 추출 오류가 누적되고, 가중치는 상호작용으로 바뀌지 않습니다.
- **연구 방법** 재귀 하이퍼네트워크가 세션 활성화를 고정 크기 잠재 상태에 누적해 한 번의 순방향 전달로 저랭크 어댑터를 만들고, 에피소드 버퍼가 원문 세부 정보를 보완합니다.

## 기존 메모리 시스템의 한계

기존 LLM 메모리 시스템은 대화 내용을 텍스트로 추출해 두고 질의 시점에 다시 검색해 문맥에 넣습니다. 이 방식은 추출 과정에서 생긴 오류가 파이프라인을 거치며 누적되고, 여러 세션에 걸친 암묵적 패턴이나 점진적으로 쌓이는 선호를 한 조각의 텍스트로 드러내기 어렵습니다. 또한 메모리를 만드는 데 드는 생성 호출 비용이 대화가 늘수록 커집니다. 모델의 가중치는 상호작용을 거치며 바뀌지 않습니다. 가중치를 직접 갱신하는 테스트 시점 fine-tuning도 있지만 서빙 시점에 역전파가 필요하고 긴 이력에서 성능이 떨어진다고 이 논문은 설명합니다. 따라서 이 논문은 가중치 공간에 메모리를 즉시 구축하면서도 긴 이력에서 안정적으로 누적되는 방법이 필요하다는 문제 설정에서 출발합니다.

## CLAM의 통합 채널과 에피소드 버퍼

CLAM은 기반 모델을 동결한 상태에서 재귀 하이퍼네트워크로 세션 스트림을 통합하고, 그 결과를 저랭크 어댑터 ∆W로 만듭니다. 각 세션의 은닉 상태 Zt를 Perceiver 교차 어텐션으로 고정 크기 잠재 작업 공간에 압축한 뒤, 게이트 재귀로 이전 상태 Qt−1과 새 결과를 섞어 Qt를 갱신합니다. 게이트는 슬롯마다 하나의 스칼라를 내므로 일부 슬롯은 오래 유지되는 사실을 보존하고 다른 슬롯은 새 증거로 덮어쓸 수 있습니다. 마지막 작업 공간 QN은 디코더 블록으로 각 레이어의 랭크 r 어댑터로 바뀝니다. 어댑터 랭크는 세션 수 N과 무관하게 고정되므로 세션을 하나 추가하는 통합은 상수 비용의 갱신입니다.

질의 시점에는 캐시된 어댑터를 θ′ = θ + ∆W로 병합하고, 에피소드 버퍼가 검색한 상위 k개 조각을 문맥으로 넣어 답을 생성합니다. 에피소드 버퍼는 문장 인코더의 코사인 유사도로 검색하며, 어댑터는 교차 세션 구조를, 버퍼는 날짜나 고유명사 같은 정확한 표면 형태를 맡는 역할 분담으로 설명됩니다.

![Figure 1: (a) CLAM overview: sessions are consolidated into a carried workspace Qt via a recurrent hypernetwork that decodes QN into a LoRA adapter; the episo…](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-415cead27200d5bfeea838e5948f6b2a.png?thumb=512)

**Figure 1** : (a) CLAM overview: sessions are consolidated into a carried workspace Qt via a recurrent hypernetwork that decodes QN into a LoRA adapter; the episodic buffer retrieves spans at query time. (b) One consolidation step: Qt−1 cross-attends into session activations Zt, slots reorganise via self-attention, and a gate controls the write.

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 컨텍스트 증류와 학습 데이터

CLAM의 하이퍼네트워크는 컨텍스트 증류로 학습됩니다. 교사 모델은 전체 세션 이력을 문맥으로 받아 답을 만들고, 학생은 어댑터만 붙인 동결 기반 모델로 같은 답을 재현하도록 교차 엔트로피 손실을 최소화합니다. 이 학습에서는 검색을 쓰지 않으므로 어댑터만으로 답이 이어져야 합니다. 1단계는 공개된 단일 문서-어댑터 체크포인트에서 시작하고, 재귀 구성요소는 보존 동작을 유지하는 항등 형태로 추가됩니다. 2단계는 3~30세션의 다중 세션 예시로 상태 이월과 게이트를 학습하며, 절단 역전파 시간으로 활성화 메모리를 제한합니다. 학습 데이터는 여섯 단계 파이프라인으로 자동 생성된 약 900K 궤적입니다. 페르소나, 사건 그래프, 세션, 방해 세션, 질문, 메모리 필터를 거치며, 기반 모델이 이력 없이 답할 수 있는 질문은 필터로 제외합니다.

이 학습 데이터 구성은 저자들이 구축한 합성 자료이며 LoCoMo나 LongMemEval-S 자체가 아닙니다.

![Table 1: Synthetic corpus statistics and scale](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-6e1ecba15324813699a044df2c0394d0.png?thumb=512)

**Table 1** : Synthetic corpus statistics and scale.

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 벤치마크와 비교군 설정

평가는 LoCoMo와 LongMemEval-S에서 수행했습니다. 세 기반 모델은 Gemma-2-2B, Qwen3-4B, Mistral-7B입니다. 비교군은 Mem0, A-Mem, Generative Agents, MemoryBank, SimpleMem 같은 토큰 공간 에이전트 시스템과 TMEM, TLM, 테스트 시점 LoRA, FT-Ceiling, D2L 같은 파라메트릭 기준선입니다. 채점은 Llama-3.3-70B 기반 LLM 판정 정확도를 기본으로 하며, Cover-EM은 부록 지표로 따로 보고합니다.

![Table 7: Agentic memory under Cover-EM.Identical layout to Table 2, scored with Cover-EM (Press et al., 2023; Rosset et al., 2020) — the normalised gold answer…](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-5bebc1812e407a1d78c1ca852a82e05f.png?thumb=512)

**Table 7** :Agentic memory under Cover-EM.Identical layout to Table 2, scored with Cover-EM (Press et al., 2023; Rosset et al., 2020) — the normalised gold answer appears in the prediction — instead of the LLM judge. Unlike token-F1 this does not penalise answer length, so systems with different generation styles remain comparable.

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 주요 정확도 결과

LoCoMo와 LongMemEval-S에서 CLAM은 토큰 공간 에이전트 기준선보다 높은 정확도를 기록했습니다. Gemma-2-2B 기준 LoCoMo 전체 정확도는 CLAM 47.7, 통합 채널만 쓴 설정 21.9, 에피소드 버퍼만 쓴 설정 40.6입니다. 파라메트릭 비교에서는 Qwen3-4B 기준 FT-Ceiling이 LongMemEval-S 긴 이력에서 떨어지는 반면 통합 채널은 15.0에서 15.6 사이를 유지했다고 적혀 있습니다. 메모리 구축 비용은 CLAM이 생성 LLM 호출, 기울기 단계, 생성 토큰을 모두 0으로 두는 점이 특징입니다. 다만 Qwen3-4B에서 Mem0는 LongMemEval-S 전체 정확도가 CLAM보다 6.4점 높게 측정되었으며, 이는 논문이 유의하지 않은 차이로 제시한 결과입니다.

![Figure 3: Pareto frontier of cost versus quality on both benchmarks (LoCoMo and LongMemEval-S)](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-329ee962443fcb36ff7bf7044126581f.png?thumb=512)

**Figure 3** : Pareto frontier of cost versus quality on both benchmarks (LoCoMo and LongMemEval-S).

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 두 채널의 기여와 상태 유지 효과

절제 실험은 두 채널이 서로 보완하는지 확인합니다. 버퍼의 정답 근거가 검색되지 않은 질문 36%에서는 어댑터가 Gemma, Qwen, Mistral에 대해 각각 +12.4, +13.7, +15.1점을 더했고, 근거가 검색된 경우에는 +3.9, +9.7, +3.2점이었습니다. 정답 근거를 문맥에 직접 넣은 오라클 버퍼에서도 Gemma와 Qwen은 각각 +4.8, +5.0점이 올랐지만 Mistral은 +0.1점으로 차이가 거의 없었습니다. 게이트 설정에서는 세션마다 이전 상태를 버리는 재설정이 Gemma와 Qwen에서 4.8에서 5.2점 낮았다고 보고됩니다. 무작위 어댑터는 0.0에서 0.6%로 거의 맞히지 못했습니다.

![Table 5: Ablations(LoCoMo, judge accuracy %): (a) one stream versus both, (b) the consolidation gate, (c) whether any adapter would do](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-e186931debe802abbc9ace70fd93a746.png?thumb=512)

**Table 5** :Ablations(LoCoMo, judge accuracy %): (a) one stream versus both, (b) the consolidation gate, (c) whether any adapter would do.

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 5: The adapter pays when retrieval fails(Lo- CoMo). Gain from adding the adapter, split by whether the buffer retrieved the gold evidence](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-a2b82f41a769692484ab27b0c4ad7044.png?thumb=512)

**Figure 5** :The adapter pays when retrieval fails(Lo- CoMo). Gain from adding the adapter, split by whether the buffer retrieved the gold evidence.

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 긴 이력에서의 파라메트릭 안정성

긴 이력에서 테스트 시점 학습과 통합 채널을 비교하면 차이가 커집니다. LongMemEval-S의 긴 이력에서 FT-Ceiling은 5.2에서 7.5로 떨어진 반면 통합 채널은 15.0에서 15.6을 유지했습니다. 근거 깊이를 늘리면 FT-Ceiling은 10세션당 2.2점씩 떨어지지만 CLAM은 거의 평평했습니다. 합성 검증 세트에서 16에서 192청크까지 늘린 실험에서도 통합 채널은 비슷한 수준을 유지했고, 어댑터는 버퍼 위에 6에서 11점을 더했으며 테스트 시점 학습은 5% 아래에 머물렀습니다. 다만 이 깊이 실험은 주로 LongMemEval-S와 합성 검증 세트에서 얻은 결과이며, LoCoMo 전체 결과와 같은 설정으로 묶지 않습니다.

## 범위와 남은 문제

저자들이 밝힌 범위는 영어 대화형 메모리 벤치마크 두 개와 2에서 7B 규모의 기반 모델 세 개입니다. 더 큰 규모, 다른 언어, 문서나 코드 같은 비대화형 이력은 확인하지 않았습니다. 고정 크기 어댑터는 랭크와 하이퍼네트워크 파라미터 수를 키워 개선할 여지가 있다고 저자들은 봅니다. 하이퍼네트워크는 기반 모델마다 합성 다중 세션 데이터로 한 번 학습되며, 학습되지 않은 기반 모델로의 전이는 이 연구의 범위 밖입니다. 부록에서는 독립 판정기 세 개로 다시 채점해 부호와 유의성 변화가 없음을 확인했지만, 이는 같은 출력에 대한 재채점이며 다른 과제나 데이터의 일반화를 뜻하지 않습니다.

![Table 6: Agreement with independent judgeson the same 2,880 judgments.Sig. flips: CLAM-vs-baseline comparisons whose sign changes with significance](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81/figures/figure-a8881e4f317baadcace7d575ab8bda31.png?thumb=512)

**Table 6** :Agreement with independent judgeson the same 2,880 judgments.Sig. flips: CLAM-vs-baseline comparisons whose sign changes with significance.

[원문](https://arxiv.org/abs/2611.20759v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Manan Suri, Dinesh Manocha · Instant Weight-Space Consolidation for Long-Term Memory in LLMs · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Manan Suri, Dinesh Manocha
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 16일
- **등록일**: 2026년 11월 17일
- **수정일**: 2026년 11월 16일
- **버전**: v1
- **arXiv**: 2611.20759
- **분류**: cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.20759v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.20759v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Agentic memory systems give LLMs persistent memory by extracting experience into text and retrieving it at query time, but the model itself does not evolve: however many interactions it has had, it starts each query the same. Extraction errors compound, implicit cross-session patterns that no single fragment states cannot be surfaced, and the construction cost grows with every conversation. Fine-tuning on past interactions does change the weights, but requires backpropagation at serving time and degrades on long histories. We introduce CLAM (Carried Latent Adapter Memory), which combines the strengths of both: a recurrent hypernetwork performs parametric consolidation, compiling a stream of session activations into a low-rank adapter in a single forward pass with no gradient steps and no language-model generation calls, while a complementary episodic buffer supplies verbatim detail at inference. A gated latent state carries knowledge across sessions in fixed size, so the parametric memory accumulates without growing. On LoCoMo and LongMemEval-S across three open models (2-7B parameters), CLAM leads all agentic baselines by 1-45 points and all gradient-based parametric methods by 10-45 points, while requiring zero generative LLM calls, zero gradient steps, and 3-151x less wall-clock time than extraction systems to build its memory. The two channels are complementary: the consolidated adapter adds 12-15 accuracy points when the episodic buffer misses the gold evidence, and still adds 4-5 points even with an oracle buffer.

## 원문 인용

Manan Suri, Dinesh Manocha (2026). Instant Weight-Space Consolidation for Long-Term Memory in LLMs. arXiv:2611.20759v1. https://arxiv.org/abs/2611.20759v1

**BibTeX**

```
@misc{suri2026instant,
  title = {{Instant Weight-Space Consolidation for Long-Term Memory in LLMs}},
  author = {Manan Suri and Dinesh Manocha},
  year = {2026},
  eprint = {2611.20759},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20759v1}
}
```

## 이 논문의 용어

- [Test-Time Training](https://refivu.com/terms/a740f645f3da-test-time-training)
- [LoCoMo](https://refivu.com/terms/3b4496410f17-locomo)
- [truncated backpropagation through time](https://refivu.com/terms/e873452387c0-truncated-backpropagation-through-time)
- [LongMemEval-S](https://refivu.com/terms/655e1d8b9d8d-longmemeval-s)
- [low-rank adapter](https://refivu.com/terms/b299217e8d1c-low-rank-adapter)
- [CLAM](https://refivu.com/terms/16c2745029fd-clam)
- [Context distillation](https://refivu.com/terms/b29adfb034f0-context-distillation)
- [Cover-EM](https://refivu.com/terms/46e0f4c02be1-cover-em)

## 다른 논문 해설

- [A First Look at System One Decision Models for Malware Detection](https://refivu.com/papers/d7188362-7fe4-49a4-b9d4-ee9f2814aa06-a-first-look-at-system-one-decision-models.md)
- [Instrumenting Failure: Scoring Language Model Agents at Every Decision Node in Imperfect-Information Games](https://refivu.com/papers/4f932edd-6e37-4f45-b224-f502edc8ea06-instrumenting-failure-scoring-language-model-agents-at-every.md)
- [Can LLMs Give Good Product Advice? A Framework for Diagnosing Failures](https://refivu.com/papers/3ad444ba-7cfd-475f-a797-b246d242ef25-can-llms-give-good-product-advice-a-framework.md)
- [Benchmarking LLM Inference on Desktop-Scale NVIDIA Grace Blackwell Clusters](https://refivu.com/papers/bd9d6d1b-ae00-44bf-a5aa-580cfc265437-benchmarking-llm-inference-on-desktop-scale-nvidia-grace.md)
- [Language Models Meet Vibration Testing for LEO Constellation Satellites with Calibrated Response Prediction from Few-show Sweeps](https://refivu.com/papers/d307c57d-6ae8-4165-a834-80f2827101d4-language-models-meet-vibration-testing-for-leo-constellation.md)
- [When the Cheapest Feasible Router Fails: Auditing Deployment Commitments in Cost-Aware LLM Routing](https://refivu.com/papers/d992d0b2-38b5-446b-9139-ac49d02c18fb-when-the-cheapest-feasible-router-fails-auditing-deployment.md)
- [UniGraph: A Unified Graph-based Index for Dynamic Hybrid Dense-Sparse Vector Retrieval](https://refivu.com/papers/a5ee1bb8-7883-49ee-91f4-322d407f8039-unigraph-a-unified-graph-based-index-for-dynamic.md)
- [AdMem: Expectation-Grounded Procedural Memory for Long-Horizon Task-Solving Agents](https://refivu.com/papers/38393e75-1ceb-46fa-abaa-bc11cb447cee-admem-expectation-grounded-procedural-memory-for-long.md)
- [AgentFaultBench: State-Verified Evaluation of Tool-Fault Recovery](https://refivu.com/papers/3827e00d-6638-4455-92c0-e50eb3bf605e-agentfaultbench-state-verified-evaluation-of-tool-fault.md)
- [ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents](https://refivu.com/papers/c86b8c10-1fa4-4795-ab5c-6d8fbed7450e-toolgraph-as-a-q-function-for-test-time.md)
- [Self-supervised learning for zebrafish embryo phenotype evaluation: Systematic comparison of algorithms, label-efficient classification, and transfer learning](https://refivu.com/papers/56d236c3-0e3a-4769-877f-5ed56b1eedca-self-supervised-learning-for-zebrafish-embryo-phenotype.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81-instant-weight-space-consolidation-for-long-term-memory)
