2601.07468v1 Jan 12, 2026 cs.AI

대화 시간을 넘어서: 개인화된 LLM 에이전트를 위한 시간적 의미 메모리

Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agents

Miao Su
Miao Su
Citations: 70
h-index: 2
Yucan Guo
Yucan Guo
Citations: 113
h-index: 2
Zhongni Hou
Zhongni Hou
Citations: 111
h-index: 5
Long Bai
Long Bai
Institute of Computing Technology, Chinese Academy of Sciences
Citations: 617
h-index: 11
Zixuan Li
Zixuan Li
Citations: 1,119
h-index: 14
Yufei Zhang
Yufei Zhang
Citations: 27
h-index: 2
Guojun Yin
Guojun Yin
Citations: 147
h-index: 6
Wei Lin
Wei Lin
Citations: 141
h-index: 6
Xiaolong Jin
Xiaolong Jin
Citations: 4,259
h-index: 32
Jiafeng Guo
Jiafeng Guo
Citations: 199
h-index: 6
Xueqi Cheng
Xueqi Cheng
Citations: 633
h-index: 13

메모리는 거대 언어 모델(LLM) 에이전트가 과거 대화의 정보를 인식, 저장 및 사용할 수 있게 해주며, 이는 개인화에 필수적입니다. 그러나 기존 방법들은 두 가지 측면에서 메모리의 시간적 차원을 제대로 모델링하지 못합니다. 1) 시간적 부정확성: 메모리가 실제 발생 시간이 아닌 대화 시간을 기준으로 구성됩니다. 2) 시간적 파편화: 기존 방법들은 시점별(point-wise) 메모리에 집중하여 지속적인 상태와 진화하는 패턴을 포착하는 지속적(durative) 정보를 놓칩니다. 이러한 한계를 해결하기 위해, 우리는 시점별 메모리에 대해 의미적 시간을 모델링하고 지속적 메모리의 구축 및 활용을 지원하는 메모리 프레임워크인 시간적 의미 메모리(TSM)를 제안합니다. 메모리 구축 과정에서 TSM은 대화 타임라인이 아닌 의미적 타임라인을 먼저 구축한 다음, 시간적으로 연속적이고 의미적으로 관련된 정보를 통합하여 지속적 메모리로 만듭니다. 메모리 활용 과정에서는 의미적 타임라인에 질의의 시간적 의도를 반영하여 시간적으로 적절한 지속적 메모리를 검색하고, 시간적으로 유효하며 기간 일관성이 있는 문맥을 제공하여 응답 생성을 지원합니다. LongMemEval 및 LoCoMo에 대한 실험 결과, TSM은 기존 방법들을 일관되게 능가하며 정확도를 최대 12.2% 절대 향상시켜 제안된 방법의 유효성을 입증했습니다.

Original Abstract

Memory enables Large Language Model (LLM) agents to perceive, store, and use information from past dialogues, which is essential for personalization. However, existing methods fail to properly model the temporal dimension of memory in two aspects: 1) Temporal inaccuracy: memories are organized by dialogue time rather than their actual occurrence time; 2) Temporal fragmentation: existing methods focus on point-wise memory, losing durative information that captures persistent states and evolving patterns. To address these limitations, we propose Temporal Semantic Memory (TSM), a memory framework that models semantic time for point-wise memory and supports the construction and utilization of durative memory. During memory construction, it first builds a semantic timeline rather than a dialogue one. Then, it consolidates temporally continuous and semantically related information into a durative memory. During memory utilization, it incorporates the query's temporal intent on the semantic timeline, enabling the retrieval of temporally appropriate durative memories and providing time-valid, duration-consistent context to support response generation. Experiments on LongMemEval and LoCoMo show that TSM consistently outperforms existing methods and achieves up to 12.2% absolute improvement in accuracy, demonstrating the effectiveness of the proposed method.

2 Citations
0 Influential
16 Altmetric
82.0 Score

AI Analysis

Korean Summary

이 논문은 대규모 언어 모델(LLM) 에이전트가 장기 기억을 효과적으로 관리하고 활용하기 위한 새로운 프레임워크인 TSM(Temporal Semantic Memory)을 제안합니다. 기존의 메모리 시스템들은 기억을 실제 사건 발생 시간(Semantic Time)이 아닌 대화가 이루어진 시간(Dialogue Time) 기준으로 저장하여 시간적 부정확성과 정보의 파편화 문제를 겪었습니다. TSM은 이를 해결하기 위해 첫째, 에피소드 기억을 시간적 지식 그래프로 구축하고 이를 바탕으로 지속적인 상태와 패턴을 포착하는 '지속성 기억(Durative Memory)'을 생성합니다. 둘째, 메모리 활용 시 사용자 질의의 시간적 의도를 파악하여 의미론적 시간 제약 조건을 적용함으로써, 문맥에 맞고 시간적으로 정확한 정보를 검색합니다. 실험 결과, TSM은 LongMemEval 및 LoCoMo 벤치마크에서 기존 방법론들을 능가하며, 특히 다중 세션 이해 및 시간적 추론 작업에서 뛰어난 성능을 보였습니다.

Key Innovations

  • 대화 시점이 아닌 실제 사건 발생 시점을 기준으로 하는 '의미론적 시간(Semantic Time)' 모델링 도입
  • 단편적인 에피소드 기억들을 클러스터링(GMM)하고 요약하여 주제(Topic)와 페르소나(Persona)를 포함한 '지속성 기억(Durative Memory)' 생성
  • 사용자 질의의 시간적 의도를 파악하고 이를 검색 필터링 및 재순위화(Reranking)에 적용하는 '의미론적 시간 기반 메모리 활용' 메커니즘
  • 실시간 그래프 업데이트와 주기적인(Sleep-time) 지속성 기억 통합을 분리한 계층적 메모리 업데이트 방식

Learning & Inference Impact

TSM은 모델의 가중치를 직접 학습시키는 것이 아니라, 검색 증강 생성(RAG) 파이프라인을 고도화하여 추론 단계의 성능을 향상시킵니다. 메모리 구축 단계에서는 LLM을 사용하여 엔티티와 관계를 추출하고 요약하므로 추가적인 연산 비용이 발생하지만, 이는 'Sleep-time' 통합 과정을 통해 오프라인으로 처리하여 추론 지연을 최소화합니다. 추론(Inference) 시에는 단순한 벡터 유사도 검색을 넘어 질의의 시간적 제약 조건을 분석하고 지식 그래프를 탐색하는 과정이 추가되어, 과거의 특정 시점이나 기간과 관련된 질의에 대해 훨씬 더 정확하고 일관성 있는 컨텍스트를 제공합니다. 이는 에이전트가 장기간의 상호작용에서도 문맥을 잃지 않고 개인화된 응답을 생성할 수 있게 합니다.

Technical Difficulty

중급

Estimated implementation complexity based on methodology.

댓글

댓글을 작성하려면 로그인하세요.

아직 댓글이 없습니다. 첫 번째 댓글을 남겨보세요!