EMNLP 2026 · Main Conference

Temporal knowledge graphs × agentic memory

Time is Not
a Label.

Continuous Phase Rotation for Temporal Knowledge Graphs and Agentic Memory

University of Edinburgh · LIGHTSPEED · University of St Andrews

Query-time geometry
Interactive
Who was US president in
?
Top-ranked memory Obama aligned
Obama
0.92
Trump
0.24

Illustration of phase alignment; scores are schematic.

72.6MRR on ICEWS05-15
2–3×MultiTQ MRR & accuracy
0facts destructively deleted
1frozen semantic gate
News

RoMem is accepted to the EMNLP 2026 Main Conference.

Conference ↗

The static–dynamic dilemma

Memory should know
what changes.

Most graph memories treat time as a timestamp attached to a fact. The timestamp says when something was stored, but not whether the relation should remain stable or evolve.

Recency sorting can bury permanent knowledge. Overwriting destroys history. Per-ingestion LLM arbitration adds a costly decision to every update.

01

αborn_in ≈ 0

Persistent relations
stay in phase.

(Obama, born_in, Hawaii) stable across query time
02

αpresident_of → 1

Evolving relations
rotate with time.

(Obama, president_of, US) shadowed when obsolete

The method

Time becomes a
geometric operator.

θr(τ)=τ · s · ω · αr
01

Functional continuous time

A timestamp is evaluated through a continuous phase function rather than a learned lookup, including at unseen times.

02

Semantic Speed Gate

A pretrained MLP maps relation text embeddings to rotation speeds, transferring volatility signals to unseen relations.

03

Geometric shadowing

At query time, obsolete facts rotate out of alignment and rank below temporally valid facts—without deleting history.

Overview of RoMem functional rotation, semantic speed gate, training pipeline, and query-time retrieval modes
Figure 1 RoMem combines continuous phase rotation, a relation-conditioned speed gate, two-phase training, and temporal reranking.

Results

Temporal gains.
Static memory intact.

RoMem improves temporal knowledge graph completion and temporal agentic memory while preserving retrieval on largely non-temporal memory.

Agentic-memory numbers below use GPT-5-mini with text-embedding-3-small.

MultiTQTemporal
0.337

MRR · RoMem

HippoRAG 0.203
LoCoMoHybrid
0.857

Average Recall@10

HippoRAG 0.815
DMR-MSCStatic
0.856

MRR · RoMem

No degradation
FinTMMBenchUnseen domain
0.728

MRR · frozen gate

HippoRAG 0.690
Across temporal complexity

One reranker, three memory regimes.

Higher is better ↑
Bar chart comparing RoMem against memory baselines on MultiTQ, LoCoMo, and DMR-MSC
Geometric shadowing

Rankings cross as time moves.

Temporal knowledge graph scores for two candidate facts crossing around 2009
The query-time score shifts from Blair to Xi as the temporal phase advances.

Use RoMem

Temporal memory,
three lines at a time.

Use the high-level memory wrapper or add the temporal reranker to an existing graph retrieval pipeline.

Read the quick start
quickstart.py
from romem import RoMemLLM

memory = RoMemLLM(
    llm="gpt-4o-mini",
    embedding="text-embedding-3-small",
    save_dir="./my_memory",
)

memory.add("Obama was president from 2009 to 2017.",
           timestamp="2017-01-20")
memory.add("Trump became president in January 2025.",
           timestamp="2025-01-20")

memory.ask("Who was president in 2010?")
# → Obama

Paper

Abstract

Structured memory representations such as knowledge graphs are central to autonomous agents and other long-lived systems. However, most approaches model time as discrete metadata: recency sorting can bury old-yet-permanent knowledge, overwriting loses history, and LLM arbitration adds an expensive call at every ingestion step.

RoMem instead maps relation semantics to a volatility score and combines it with continuous phase rotation. This produces geometric shadowing: obsolete facts rotate out of alignment, so temporally correct facts outrank contradictions without deletion. RoMem reaches 72.6 MRR on ICEWS05-15, improves temporal agentic memory, preserves static memory, and transfers its frozen gate to an unseen financial domain.

Reference

Cite RoMem

If RoMem helps your research, please cite the paper.

@misc{li2026timelabelcontinuousphase,
  title        = {Time is Not a Label: Continuous Phase Rotation
                  for Temporal Knowledge Graphs and Agentic Memory},
  author       = {Weixian Waylon Li and Jiaxin Zhang and
                  Xianan Jim Yang and Tiejun Ma and Yiwen Guo},
  year         = {2026},
  eprint       = {2604.11544},
  archivePrefix= {arXiv},
  primaryClass = {cs.CL},
  url          = {https://arxiv.org/abs/2604.11544}
}