Full-History Graph: Temporal Evolution
- Full-History Graph is a graph representation that preserves the entire temporal evolution of a system by recording all events, revisions, or deltas.
- The architecture leverages delta trees and version chains to optimize storage, indexing, and efficient point-in-time snapshot retrieval.
- It serves as a foundation for dynamic learning applications and temporal analytics, enhancing tasks like anomaly detection and network embedding.
In the cited literature, a full-history graph is a graph representation that preserves the entire temporal or versioned evolution of a system rather than restricting analysis to isolated snapshots. The concept appears in several closely related forms: as a historical graph store built from an initial state plus an ordered event stream; as an evolving graph expressed through revision-level additions and deletions; and as a time-unrolled graph with one node per entity per time step and separate structural and temporal edges. Across these formulations, the central objective is the same: to make graph change first-class, so that retrieval, analytics, learning, and reasoning can operate on exact historical state rather than on coarse temporal summaries (Khurana et al., 2012, Khurana et al., 2015, Mohammed et al., 5 Aug 2025).
1. Definitions and formal variants
A classical systems-oriented definition models a full-history graph over a discrete time domain as , where is the initial graph and is a chronologically ordered event stream containing node insertion or deletion, edge insertion or deletion, and node or edge attribute update. A snapshot at time is reconstructed by replaying all events up to : . In this formulation, the full-history graph is the persistent record that makes arbitrary historical snapshots retrievable (Khurana et al., 2012).
A related abstraction treats the full-history graph over as the union of all vertices and edges at all times, annotated by validity. If is the snapshot at time , then
0
The same framework introduces atomic changes between successive snapshots as 1 and 2, with event-level deltas used to encode additions, deletions, and attribute changes (Khurana et al., 2015).
In evolving RDF knowledge graphs, the history is expressed as a revision sequence. For an entity 3, each revision 4 is serialized as an RDF graph 5, and revision-to-revision change is represented by deletion and addition sets
6
If all revisions are globally ordered by revision id, the evolving graph obeys
7
This yields a full-history, evolving RDF knowledge graph whose basic unit of change is the triple-level delta (Schmelzeisen et al., 2021).
A distinct machine-learning-oriented construction unfolds each entity across time. With timesteps 8 and entity set 9, one creates
0
together with intra-time-step edges 1 for relations within a frame and inter-time-step edges 2 connecting an entity to itself across consecutive frames. The full-history graph is then 3. This formulation makes temporal continuity explicit in the graph topology itself (Mohammed et al., 5 Aug 2025).
These definitions are not identical, but they are structurally aligned. A plausible implication is that “full-history graph” functions as an umbrella term for representations that preserve exact temporal provenance, whether the primitive update is an event, a delta, a revision, or a time-unrolled node copy.
2. Storage, indexing, and retrieval architectures
Early full-history graph systems emphasize compact archival and efficient point-in-time reconstruction. DeltaGraph organizes the event stream hierarchically. The stream 4 is partitioned into leaf-eventlists of size 5; leaves correspond to leaf snapshots; interior tree nodes represent synthetic graphs defined by a differential function 6 over children; and each edge stores a delta 7 such that 8. The framework exposes explicit trade-offs among arity 9, leaf-eventlist size 0, and differential function choice, including Intersection, Balanced, Skewed, and Mixed variants. For the Balanced function, the storage model is
1
and single-point snapshot retrieval is modeled as
2
GraphPool complements the index by overlaying multiple resident snapshots using bit-vectors, so that hundreds of historical graph instances can coexist in main memory non-redundantly (Khurana et al., 2012).
Historical Graph Store generalizes time-centric and entity-centric indexing through the Temporal Graph Index (TGI). TGI combines partitioned eventlists, derived partitioned snapshots arranged as a hierarchical delta tree, and per-vertex version chains that point directly to relevant deltas. If there are 3 horizontal partitions and 4 time spans, the index may be viewed as 5, where 6. Under the paper’s balance assumptions, snapshot reconstruction at time 7 costs roughly
8
while vertex-history retrieval depends on the size of the corresponding version chain rather than on the size of the entire graph. TAF, the Temporal Graph Analysis Framework above TGI, introduces temporal operands such as NodeT, SoN, SubgraphT, and SoTS, together with operators including select, timeslice, graph, nodeComputeTemporal, nodeComputeDelta, compare, evolution, and tempAggregate (Khurana et al., 2015).
Wikidated 1.0 applies the same principles to an evolving knowledge graph extracted from Wikidata’s “pages-meta-history” dumps. The pipeline streams entity revisions, converts JSON blobs to RDF graphs via Wikidata Toolkit, computes per-revision deletions and additions, emits incremental revision records, and then performs an external multiway merge by revision id to build a global stream without materializing everything in RAM. Storage is offered in two GZIP-compressed JSON Lines variants: tar-archived per-entity streams and a single global stream. Each incremental revision stores entity ID, revision ID, timestamp, user, comment, and arrays of string-serialized RDF triples named “deletions” and “additions.” The implementation also resolves the blank-node issue by dropping blank-node IDs because, in Wikidata’s RDF export, blank nodes only occur for “some”-value placeholders and each occurs in exactly one triple (Schmelzeisen et al., 2021).
Taken together, these systems establish a recurring architectural pattern: archival history is compressed as deltas; retrieval is accelerated by hierarchical organization and entity-local access paths; and analytical interfaces are built above exact temporal state rather than above ad hoc snapshot collections.
3. Learning over explicit history
Full-history graphs have also become learning substrates. One line of work addresses dynamic network embedding directly. “Dynamic Graph Embedding via LSTM History Tracking” proposes a method that integrates the history of nodes over time into the current state of nodes. Its stated contributions are generating dynamic network embedding by combining both dynamic and static node information, tracking history of neighbors of nodes using LSTM, and significantly decreasing the time and memory by training an autoencoder LSTM model using temporal walks rather than adjacency matrices of graphs. The paper evaluates the method on anomaly detection, link prediction, and node classification across datasets from various domains (Khoshraftar et al., 2019).
A more explicit full-history construction appears in ETDNet. Here every entity-time pair is a node, and the edge set is split into 9 and 0. ETDNet stacks 1 layers, each with three parallel components: Step Attention over 2, History Attention over 3, and a Fusion module. The graph-attention branch aggregates frame-local neighbors through multi-head attention and residual projection; the temporal branch attends over an entity’s predecessor sequence 4; and the fusion step combines the original embedding with both messages using a residual MLP: 5 On Waymo driver-intention forecasting, ETDNet lifts joint accuracy to 6 versus 7 for TGN, with speed F1 improving from 8 to 9 and direction F1 from 0 to 1. On Elliptic++ Bitcoin fraud detection, ETDNet reaches illicit-F1 2 and AUPRC 3, while the reported temporal baselines TGN and DyGFormer reach approximately 4–5 illicit-F1. The ablations further separate the roles of the two edge families: SA-only yields F1 approximately 6, HA-only approximately 7, and the full dual-branch model approximately 8 (Mohammed et al., 5 Aug 2025).
The same literature also clarifies what full-history representations are meant to preserve. ETDNet argues that representing each entity’s state at every time step as its own node preserves exact causal ordering and structural context without compressing events into coarse “snapshots,” while edge-type splitting prevents a single aggregator from mixing signals that evolve at very different rates. This suggests that the learning benefit is not merely longer context, but architectural separation between spatial interaction and temporal recurrence.
4. Knowledge graphs, conversational state, and agent memory
In conversational KBQA, history can itself be graph-structured. HSGE converts every past turn’s logical form into a single, growing history semantic graph 9 whose nodes are entities and Wikidata-derived types and whose edges are predicates plus an IsA relation. Node and edge labels are initialized with BERT embeddings of their surface forms, updated by a single TransformerConv layer, and augmented by a temporal embedding based on turn distance 0, either sinusoidal or learned: 1
These graph representations are then injected into a Transformer-based encoder through token-level and utterance-level multi-head attention before grammar-guided decoding. On the CSQA benchmark of 2K dialogs, HSGE reports an overall score of 3 versus 4 for LASAGNE; it reaches 5 F1 on logical-reasoning versus 6, and 7 accuracy on Boolean verification versus 8. Removing the history semantic graph drops the overall score to 9, and removing temporal modeling yields 0 (Sun et al., 2023).
A different question is whether full history should be shown to the LLM at every decision. In LLM-based KGQA, Full-History Graph prompting serializes the entire symbolic path 1 into each routing prompt through 2. Bounded Path Context replaces this with a 3-bounded suffix 4, while the controller still retains full symbolic paths in memory for expansion and answer extraction. Under a controlled sweep on complete WebQSP and CWQ test sets with Qwen3.5-9B-AWQ, 5 achieves WebQSP F1 6 versus 7 for full history, and 8 reaches CWQ F1 9 versus 0, with 1 and 2 fewer input tokens respectively. The paper reports that 3–4 of examples tie across history-length settings, and characterizes the affected cases as either “Disambiguation wins” or “Stale-context losses” (Shan et al., 26 May 2026).
The same separation between retained history and exposed context appears in LLM-agent memory. Engram stores extracted facts as bi-temporal tuples
5
with optional end-times, a supersedes pointer, provenance metadata, surface text, embedding, salience, and confidence. Contradictions are resolved by non-destructive invalidation: older facts are clipped in valid-time and transaction-time, never deleted, so that provenance and supersession chains remain intact. Retrieval uses an “as-of” filter
6
together with dense, lexical, graph, recency, and salience signals fused by weighted scoring and Reciprocal Rank Fusion. On the full 7-question LongMemEval8, Engram’s lean configuration answers from an approximately 9k-token retrieved slice, never the full history, and scores 0 versus 1 for the full-context baseline, with paired McNemar exact 2 and approximately 3 fewer tokens 4k versus 5k6 (Wang, 5 Jun 2026).
A common misconception is therefore that a full-history graph implies full-history prompting. The recent KGQA and agent-memory results show the opposite design: retain complete symbolic or graph history for auditability and exact answer extraction, but expose only a bounded or retrieved slice at inference time.
5. Representative datasets and empirical domains
Full-history graphs are now instantiated at Internet and blockchain scale, as well as in collaborative knowledge systems.
| Resource | History unit | Reported scale |
|---|---|---|
| Wikidated 1.0 | RDF triple additions and deletions between revisions | 96.6 M entities; 1.43 B revisions |
| Software Heritage graph | Full Merkle-DAG of public VCS history | 7; 8 |
| BTC full-history network | Transaction-derived address graph from genesis to block 845651 | 1 013 989 952 transactions; 1 411 482 182 distinct addresses |
Wikidated 1.0 covers 30 Oct 2012–2 Jun 2021 and is described as the first large dataset of an evolving knowledge graph. Its summary statistics show a graph whose updates are usually small but whose long tail is operationally important: revisions per entity have mean 9, standard deviation 00, and median 01; only 02 of entities have a single revision; 03 have fewer than 04 revisions. Inter-revision times have median 05 days and mean 06 days, yet 07 occur within 08 seconds. Additions per revision have mean 09 and median 10; deletions have mean 11 and median 12; 13 of revisions add fewer than 14 triples and 15 delete none. Triple churn is asymmetric: 16 of all added triples are never deleted, 17 are deleted exactly once, and less than 18 see more than one deletion, though some “edit wars” exceed 19 toggles (Schmelzeisen et al., 2021).
Software Heritage exposes public software development history as a directed acyclic Merkle graph with node types for contents, directories, revisions, releases, snapshots, origins, and visits. As of the September 25 2018 snapshot, the reported node counts include 20 contents, 21 directories, 22 revisions, 23 snapshots, and 24 origins, for a total of approximately 25 nodes. The average parent-degree of a revision is 26, reflecting predominantly linear commit histories with rarer merges. A complementary large-scale topological analysis compresses an approximately 27-billion-node, 28-billion-edge graph to approximately 29 GB on disk using WebGraph compression, reports one giant connected component of size approximately 30–31, and observes average commit-layer path lengths of approximately 32–33 hops with diameter approximately 34–35 (Pietri et al., 2020, Pietri et al., 2020).
In Bitcoin analysis, Cheng et al. build a full-history transaction graph from block 36 through block 37. They synchronize a full Bitcoin Core node to block 38 and, using BlockSci, extract 39 transactions, 40 inputs, 41 outputs, and 42 distinct addresses. Because the UTXO model does not record explicit input-to-output pairings, each transaction with inputs 43 and outputs 44 is converted into the complete bipartite directed edge set 45, with edge weights allocated in proportion to output value. On top of this full-history graph, the paper defines decentralization measures based on centrality dispersion, top-balance concentration 46, ranking stability, and normalized HHI-based decentralization 47, and reports three phases: “rapid decentralization” from Jan 2009–Feb 2010, “re-centralization” from Feb 2010–Mar 2012, and “long-term stability” from Mar 2012–May 2024 (Cheng et al., 2024).
These datasets show that “full history” is not tied to one domain. It covers collaboratively edited KGs, public software archives, financial transaction networks, and, by extension in the cited work, traffic and fraud graphs.
6. Limits, misconceptions, and research directions
The main practical limitation of full-history graphs is scale, but the cited systems show that scale interacts with access pattern rather than with raw size alone. DeltaGraph makes storage and retrieval tunable through 48, 49, and differential-function choice; TGI uses partitioned eventlists and version chains to avoid whole-graph scans; ETDNet notes that the Step-Attention branch may be accelerated via sparse-attention kernels or neighbor sampling, while the History-Attention branch requires only 50 memory per node (Khurana et al., 2012, Khurana et al., 2015, Mohammed et al., 5 Aug 2025).
A second limitation is incompleteness of the historical record. Wikidated 1.0 omits deleted entities and revisions because they are absent from public “pages-meta-history” dumps, excludes lexicographic data because Wikidata Toolkit does not yet serialize lexemes, forms, or senses, and does not include talk pages, templates, or other meta wikitext. Software Heritage’s public-history studies also note crawl lag and exploratory methodology limits, including the absence of full goodness-of-fit testing in the reported power-law analysis (Schmelzeisen et al., 2021, Pietri et al., 2020).
A third issue is methodological: full-history data are not always directly observed. “Reconstructing Graph Diffusion History from a Single Snapshot” studies DASH, where only the final snapshot 51 is available and the true diffusion parameters are unknown. The paper proves that parameter estimation is NP-hard under SIR and that MLE-based history recovery is sensitive to parameter error. It therefore replaces single-history MLE with a barycenter formulation based on posterior expected hitting times, and implements DITTO using mean-field parameter estimation, an unsupervised GNN proposal, and Metropolis–Hastings MCMC. Reported results include mean-field 52 with NRMSE 53 on synthetic data, approximately 54 NRMSE gain on COVID relative to baselines, and runtime 55 (Qiu et al., 2023).
The recent prompt-engineering and memory papers further correct a common overgeneralization. Full-history graphs preserve exact symbolic or temporal state, but that does not imply that the entire state should be serialized into every prompt. Bounded Path Context argues that path-serialization length 56 should be treated as a tunable interface hyperparameter rather than as a fixed default, and Engram shows that a lean retrieved context can outperform full-history replay even when the underlying memory remains lossless and bi-temporal (Shan et al., 26 May 2026, Wang, 5 Jun 2026).
Several forward directions are already explicit in the literature. ETDNet identifies continuous-time extension, adaptive history-window learning, and theoretical analysis of over-smoothing in decoupled message passing as open directions. Wikidated’s update statistics suggest cheap incremental updates for most revisions, but the non-negligible fraction of rapid edits and high-frequency churn argues for dynamic index structures and caching; the long tail of repeated triple flips invites change-classification research (Mohammed et al., 5 Aug 2025, Schmelzeisen et al., 2021).
Across these strands, the durable idea is exact historical state. Whether realized as event replay, delta streams, bi-temporal facts, revision-level RDF changes, or time-unrolled entity replicas, the full-history graph is the mechanism by which graph evolution becomes directly queryable, learnable, and auditable.