모델 업그레이드 후에도 에이전트의 메모리는 유지되는가? 메모리 이식성에 대한 통제된 연구
Does Your Agent's Memory Survive a Model Upgrade? A Controlled Study of Memory Portability
한국어 초록
모델 업그레이드는 일상적이지만, 메모리 마이그레이션은 그렇지 않습니다. 에이전트(agent)는 동일한 메모리 저장소를 유지하더라도 망각을 겪을 수 있습니다. 새로운 모델이 기존 노트를 다르게 해석할 수 있고, 혼합된 임베딩(embedding) 버전으로 인해 검색이 중단될 수 있으며, 원본 증거가 없다면 복구에 실패할 수 있습니다. 본 연구에서는 동일한 히스토리를 롱 컨텍스트 읽기를 위해 원문 그대로 보존하는 방식(LC-RAW), 검색-증강 생성(RAG)을 위해 청크로 분할하는 방식, 모델에 의해 자연어 노트로 압축하는 방식(NOTES), 또는 고정 스키마 지식 그래프로 정규화(normalization)하는 방식(KG-fixed)에 따라 메모리를 비교합니다. 이 연구는 무작위 정답 코드, 정확한 채점 방식, 100억 개 미만 매개변수를 가진 두 개의 오픈 가중치(weight) 모델을 포함하는 48개의 합성 히스토리를 사용합니다. 측정 결과에 따르면 고정 스키마 구조는 안정적으로 전이되며, 작성자 교체 후 KG-fixed 정확도는 단 $+0.0004 \pm 0.0020$만큼만 변화했습니다. 반대로 압축된 NOTES는 높은 모델 결합도를 보이며, 특정 마이그레이션 방향에 따라 정확도가 $+9.91$ 또는 $-13.28$ 퍼센트포인트로 비대칭적으로 변동했습니다. RAG 시스템에서 50/50 혼합 인덱스를 사용한 부분 임베딩 마이그레이션은 4.96포인트의 정확도 향상만을 얻어 전체 재임베딩을 통해 달성한 11.90포인트 향상의 대부분을 잃었습니다. 진단적 분해 결과, NOTES 정확도 손실의 80%($0.467 \pm 0.014$)는 초기 구축 중 손실된 정보에 기인한 반면, RAG 손실의 81%($0.364 \pm 0.012$)는 검색 실패로 인해 발생했습니다. 마지막으로, 저장소 전용 NOTES 복구는 48개 테스트 케이스 전체에서 90% 성능 복구 목표를 달성하지 못했으나, 원본 소스 히스토리를 유지했을 때는 테스트된 한 방향에서 48개 케이스 중 34개에서 성공적인 복구가 가능했습니다. 이러한 발견은 방향별 마이그레이션 테스트, 엄격한 임베딩 공간 격리, 그리고 메모리 복구를 위한 소스 히스토리 보존의 필요성을 강조합니다.
원문 초록
Model upgrades are routine; memory migrations are not. An agent can keep the same memory store and still forget: a new model may interpret old notes differently, mixed embedding versions may break retrieval, and repair may fail without the original evidence. We compare memory as the same history is preserved verbatim for long-context reading (LC-RAW), divided into chunks for retrieval-augmented generation (RAG), compressed by a model into natural-language notes (NOTES), or normalized into a fixed-schema knowledge graph (KG-fixed). The study uses 48 synthetic histories with randomized answer codes, exact scoring, and two open-weight models with sub 10 billion parameters. Our measurements show that fixed-schema structures transfer reliably, with KG-fixed accuracy changing by only $+0.0004 \pm 0.0020$ following a writer swap. Conversely, compressed NOTES exhibit high model coupling, with accuracy shifting asymmetrically by $+9.91$ or $-13.28$ percentage points depending on the specific migration direction. In RAG systems, partial embedding migrations using a 50/50 mixed index capture only a 4.96-point accuracy improvement, forfeiting the majority of the 11.90-point gain achieved through full re-embedding. Diagnostic decomposition attributes 80% ($0.467 \pm 0.014$) of the NOTES accuracy deficit to information lost during initial construction, whereas retrieval failures drive 81% ($0.364 \pm 0.012$) of the RAG deficit. Finally, store-only repair of NOTES fails to reach a 90% performance recovery target in all 48 test cases, whereas retaining the raw source history enables successful recovery in 34 of 48 cases for one tested direction. These findings highlight the necessity of direction-specific migration testing, strict embedding space isolation, and the retention of source histories for memory repair.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.05339v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.