TL;DR
Current temporal knowledge graph (TKG) forecasting models rely heavily on complex, opaque architectures like graph neural networks and reinforcement learning agents. CountTRuCoLa demonstrates that a deliberately simple, fully interpretable rule-based model—using single-body temporal rules scored by recency and frequency—can match or outperform state-of-the-art neural baselines across nine benchmark datasets while running efficiently on standard CPUs.
What Problem Does This Paper Address?
Temporal knowledge graphs (TKGs) track multi-relational facts annotated with timestamps (e.g., (subject, relation, object, time)). TKG forecasting involves predicting future events—such as which entity will interact with another at an upcoming timestamp $t^*$.
Recent work has thrown increasingly complex machinery at this task: multi-hop graph neural networks, reinforcement learning paths, and large language models. However, these models suffer from severe memory bottlenecks (often running Out Of Memory or Out Of Time on large benchmarks) and behave as black boxes. Furthermore, recent studies revealed that simple recurrence baselines (predicting that past facts will merely repeat) often outperform sophisticated neural approaches. This raises a fundamental question: Do we actually need complex neural architectures for TKG forecasting, or can transparent symbolic rules achieve state-of-the-art results?
Methods
CountTRuCoLa (Temporal Rule Confidence Learning) restricts itself to transparent, single-body rules (a single premise causing the prediction) across four structural types:
- $xy$-rules: Predict future relations between pairs of entities based on prior relations: $h(x, y, t^*) \leftarrow b(x, y, t) \wedge (t^* > t)$. When $h = b$, this captures fact recurrence; when $h \neq b$, it learns cross-relational transitions (e.g., dating implies future engagement).
- $c$-rules: Rules conditioned on specific, frequent constants (e.g., studying at a specific university given a birth city).
- $z$-rules and $f$-rules: Static prior distributions capturing global relation frequencies or entity-specific behavioral baselines.
Parametric Temporal Confidence Functions
Rather than assigning static probabilities or fixed decay rates, CountTRuCoLa scores each temporal rule with an interpretable, parameterized confidence function $conf_r(\Delta) = f_r(\Delta) + g_r(\Delta)$:
- Recency ($f_r$): An exponential decay parameterized by starting confidence $\alpha_r$, decay rate $\lambda_r$, and an asymptotic floor $\phi_r$ (allowing rules to retain a non-zero baseline score even over long horizons).
- Frequency ($g_r$): A clipped linear term parameterized by slope $\rho_r$, distance offset $\kappa_r$, and clipping bound $\gamma_r$, capturing how often the body fact occurred within an observation window $W$.
Parameters are optimized rule-by-rule on the training set via two-step least-squares error minimization. Predictions from multiple firing rules are combined using a decayed noisy-or aggregation over the top-$H$ rules.
[ Prior Temporal Facts in Window W ]
│
┌──────────────┴──────────────┐
▼ ▼
Recency Feature (min Δ) Frequency Feature (|Δ_W| / W)
│ │
▼ ▼
Exponential Decay f(Δ) Clipped Linear Term g(Δ)
└──────────────┬──────────────┘
▼
Rule Confidence Score
│
▼
Decayed Noisy-OR Aggregation
│
▼
Final Candidate Ranking
Datasets
The authors evaluated CountTRuCoLa across nine standard and large-scale benchmarks (no new datasets were introduced):
- Traditional benchmarks: ICEWS14, ICEWS18, GDELT, YAGO, and WIKI.
- TGB 2.0 benchmarks:
smallpedia,polecat,icews, and the massivewikidata(comprising over 1.2 million nodes and 10 million quadruples).
Key Insights and Ideas
- High performance does not require structural complexity: Capturing when (recency) and how often (frequency) a single relation occurred is sufficient to rival or beat models performing 4-hop GNN aggregations.
- Temporal dynamics differ fundamentally across domains:
- Coarse, yearly datasets (YAGO, WIKI) exhibit massive direct recurrence (>85%). A tiny time window ($W=3$) works best, decay is steep, and frequency adds little value.
- Fine-grained event datasets (ICEWS, GDELT) operate at daily or 15-minute granularities. Here, cross-relational rules and frequency accumulation over larger windows ($W \ge 50$) are critical to filter out transient noise.
- Rule parameters must be learned per-rule: Fixing decay rates across rules (as done in prior rule systems like TLogic) degrades MRR by up to 7 points on ICEWS14. Different real-world processes decay at vastly different rates.
Key Results
- Predictive Performance: CountTRuCoLa achieved the top Mean Reciprocal Rank (MRR) on 4 datasets (
smallpedia: 64.4,icews: 21.4,wikidata: 60.9, and tied for best onYAGO: 90.9) and ranked 2nd or 3rd on the remaining five. - Scalability & Robustness: Complex neural competitors (such as CognTKE, RE-GCN, and CEN) suffered out-of-memory (OOM) or out-of-time (OOT) failures on the largest datasets (
wikidata,icews). CountTRuCoLa scaled seamlessly across all nine without GPU acceleration. - Efficiency: On CPU, CountTRuCoLa was over 5× faster than the strongest neural baseline (CognTKE) running on an Nvidia RTX A6000 GPU (e.g., 280 seconds vs. 63,300 seconds on
smallpedia). - Intrinsic Interpretability: Every prediction directly maps to specific fired rules, their fitted parameter plots, and the exact timestamps of supporting historical triples.
Limitations and Future Work
- Lack of Multi-Hop Chains: By restricting rules to a single body atom, the model cannot reason over multi-step entity transitions (e.g., $A \to B \to C$).
- Struggles on Mixed-Frequency Dynamics: On GDELT, CountTRuCoLa underperformed the pure Recurrency Baseline (23.8 vs. 24.5 MRR), likely because 15-minute media-burst cycles overlap confusingly with long-term political trends.
- Combinatorial Mining Limits: Full mining of constant-specific ($c$-rules) across large graphs is computationally prohibitive, requiring frequency-based pruning heuristics.
Summary updated