arXiv:2607.26520v1 cs.DB

대화형 AI 에이전트를 위한 그래프 네이티브 이중시간 메모리 저장소

A Graph-Native Bitemporal Memory Store for Conversational AI Agents

Alp Niksarli, Gopesh Baheti

제출 2026-07-29

한국어 초록

대화형 AI 에이전트(agent)는 세션 전반에 걸쳐 지속되는 메모리가 부족한 경우가 흔합니다. 전체 대화 기록을 컨텍스트 윈도우(context window)에 주입하거나 서드파티 메모리 서비스에 위임하는 것과 같은 직관적인 해결책은 모델(model)의 컨텍스트 예산을 소진하거나 사용자가 제어하지 않는 인프라로 개인 데이터를 전송하는 문제를 야기합니다. 본 논문에서는 두 문제를 모두 피하는 메모리 저장소를 설명합니다. 이는 HNSW 벡터 인덱스와 완전한 이중시간(bitemporal) 데이터 모델로 증강된 에이전트 로컬 Neo4j 속성 그래프입니다. 각 메모리는 두 개의 반열린 구간(closed-open time intervals)을 갖는 버전 관리된 콘텐츠 노드(node)와 연결된 불변 식별 노드로 저장됩니다. 이 두 구간은 유효 시간(valid time, 현실에서 해당 사실이 참이었던 시점)과 트랜잭션 시간(transaction time, 데이터베이스가 이를 기록한 시점)입니다. 이러한 설계를 통해 이력을 물리적으로 덮어쓰지 않고도 특정 시점 기준의 의미론적 검색(point-in-time semantic retrieval)을 지원합니다. 관련된 메모리 간의 의미론적 엣지는 1024차원 임베딩(embedding)에 대한 코사인 유사도를 사용하여 쓰기 시점에 자동으로 유지됩니다. 장기 메모리에 부하를 주도록 설계된 6개 질문 유형에 걸친 500개 질문 벤치마크(benchmark)인 LongMemEval에서 시스템을 평가(evaluation)합니다. 샘플링된 60개 질문 전체에서 현재 상태 의미론적 검색 경로는 종합 46.7% R@10을 달성하며, 지식 업데이트 질문에서는 80%까지 상승합니다. 시간 여행(time-travel) 경로는 지식 업데이트에서 80% R@10을 보이지만, 사후 필터링 희석(post-filter dilution)의 결과로 시간 추론 질문에서는 재현율(recall)이 감소(50%에서 37.5%)하며, 이는 구체적인 설계 개선 방향을 직접적으로 시사합니다. 본 논문에서는 이러한 결과가 다양한 질문 유형에 대한 순수 검색의 한계에 대해 무엇을 드러내는지, 그리고 각 실패 모드가 향후 연구에 어떤 점을 시사하는지 논의합니다.

원문 초록

Conversational AI agents commonly lack persistent memory across sessions. The obvious fixes like injecting full chat histories into the context window, or delegating to a third-party memory service, either exhaust the model's context budget or send personal data through infrastructure the user does not control. We describe a memory store that avoids both problems: an agent-local Neo4j property graph augmented with HNSW vector indexes and a full bitemporal data model. Each memory is stored as an immutable identity node linked to versioned content nodes carrying two closed-open time intervals: valid time (when the fact was true in the world) and transaction time (when the database recorded it). This design supports point-in-time semantic retrieval without physically overwriting history. Semantic edges between related memories are maintained automatically at write time using cosine similarity over 1024-dimensional embeddings. We evaluate the system on LongMemEval, a 500-question benchmark spanning six question types designed to stress long-term memory. Across 60 sampled questions, the current-state semantic search path achieves 46.7% R@10 overall, rising to 80% on knowledge-update questions. The time-travel path yields 80% R@10 on knowledge-update but decreases recall on temporal-reasoning questions (50% to 37.5%), a consequence of post-filter dilution that points directly to a concrete design improvement. We discuss what these results reveal about the limits of pure retrieval for different question types and what each failure mode suggests for future work.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.26520v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.