Time is Not a Label: Continuous Phase Rotation for Temporal Knowledge Graphs and Agentic Memory
AI 摘要
提出RoMem,一种基于连续相位旋转的时间知识图谱模块,提升Agent记忆的时序推理能力。
主要贡献
- 提出RoMem模块,用于处理时间知识图谱和Agent记忆。
- 使用语义速度门学习关系的易变性,区分持续事实和演变事实。
- 通过连续相位旋转和几何阴影,解决旧知识被覆盖的问题。
方法论
利用预训练的语义速度门和连续相位旋转,将时间信息编码到知识图谱的向量空间中,实现高效的时序推理。
原文摘要
Structured memory representations such as knowledge graphs are central to autonomous agents and other long-lived systems. However, most existing approaches model time as discrete metadata, either sorting by recency (burying old-yet-permanent knowledge), simply overwriting outdated facts, or requiring an expensive LLM call at every ingestion step, leaving them unable to distinguish persistent facts from evolving ones. To address this, we introduce RoMem, a drop-in temporal knowledge graph module for structured memory systems, applicable to agentic memory and beyond. A pretrained Semantic Speed Gate maps each relation's text embedding to a volatility score, learning from data that evolving relations (e.g., "president of") should rotate fast while persistent ones (e.g., "born in") should remain stable. Combined with continuous phase rotation, this enables geometric shadowing: obsolete facts are rotated out of phase in complex vector space, so temporally correct facts naturally outrank contradictions without deletion. On temporal knowledge graph completion, RoMem achieves state-of-the-art results on ICEWS05-15 (72.6 MRR). Applied to agentic memory, it delivers 2-3x MRR and answer accuracy on temporal reasoning (MultiTQ), dominates hybrid benchmark (LoCoMo), preserves static memory with zero degradation (DMR-MSC), and generalises zero-shot to unseen financial domains (FinTMMBench).