TGMS: An Agent-Native Bi-Temporal Graph Management System

📅 2026-07-11
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge that large language model (LLM) agents struggle to reliably process temporal graph data involving conventional evolution and post-hoc corrections, particularly when querying belief states under transaction time semantics. The paper introduces the first native dual-temporal (valid time/transaction time) property graph management system designed for LLM agents, decoupling graph computation from language generation. Agents plan using 13 typed, validated temporal operators provided by the system, while all graph operations are executed and verified by the system through content-addressable trajectory checking of values, entities, orderings, and assertions. Key innovations include default dual-temporal operators, an output contract mechanism, and an evidence-integrity-based assertion validator. Evaluated on a real-world telecommunications network benchmark with a 14B open-source LLM, the approach achieves a 0.409 exact match score—significantly outperforming baselines like Vector-RAG—and attains 0.67 accuracy on correction probe tasks (versus 0 for baselines), with the validator detecting all 500 injected errors without false positives.
📝 Abstract
Temporal graph questions require reliable handling of time, identifiers, and arithmetic. Large language model (LLM) agents often fail on these tasks, especially when a graph records both ordinary evolution and later corrections. We present TGMS, a bi-temporal property graph management system that exposes thirteen verified temporal operators as agent tools. Each operator is typed, deterministic, bounded, cost-guarded, and bi-temporal by default. The LLM plans operator calls and writes the final response, while the system performs all graph computation. Numeric, entity, ordering, and pattern claims are checked against the content-addressed execution trace. TGMS separates valid time from transaction time. It can therefore answer belief-state questions such as ``as of transaction time $T$, what did the system believe?'' Standard latest-state snapshots and retrieval pipelines do not preserve enough information to answer such questions. On a development benchmark built from a real communication network, TGMS with a 14B open-source model reaches 0.409 exact match. Vector-RAG, static-graph RAG, and text-to-Cypher reach 0.045--0.182 under the same serving setup. TGMS reaches 0.67 exact match on correction probes, while the three 14B baselines score zero. The claim verifier detects all 500 injected count and entity errors with no false positives on the clean answers. Two implementation findings were especially important. First, operator output contracts prevent plans from referring to fields that do not exist. Second, verification must track whether the cited evidence is complete, because correct arithmetic over a truncated result is still misleading. The code, benchmark, and trace viewer are open source under Apache-2.0.
Problem

Research questions and friction points this paper is trying to address.

temporal graph
belief-state questions
bi-temporal data
LLM agent failures
time handling
Innovation

Methods, ideas, or system contributions that make the work stand out.

bi-temporal graph
LLM agent tools
temporal operators
claim verification
transaction time vs valid time
🔎 Similar Papers
No similar papers found.