---
title: Yearly Knowledge Embeddings
url: https://www.emergentmind.com/topics/yearly-knowledge-embeddings
type: topic
---

# Yearly Knowledge Embeddings

Yearly knowledge embeddings are vector-based representations of entities and relations in knowledge graphs that are explicitly parameterized at an annual time granularity. This approach is designed to capture temporal evolution in real-world facts, optimizing for both the retrieval and prediction of facts relevant to specific years as well as aggregation across years. The construction of yearly knowledge embeddings leverages methods from dynamic and temporal knowledge graph embedding, episodic and semantic memory modeling, and continual learning under growing or evolving graphs.

## 1. Formal Representation and Temporal Extension

Episodic knowledge graphs encode facts as quadruples $(e_s, e_p, e_o, t)$, with time $t$ denoting the year of factual validity. These are assembled into a 4-way tensor $\mathcal{X} \in \mathbb{R}^{N_e \times N_r \times N_e \times N_t}$, where $x_{s, p, o, t} = 1$ if the triple is true at year $t$ and $0$ otherwise [1807.00228]. Embedding models assign each entity and relation a latent vector, and analogously a vector $a_{e_t}$ for each year.

The temporal extension of static embedding models is achieved by appending the yearly embedding $a_{e_t}$, enabling score functions such as
$$f(s, p, o, t) = f^{epi}(a_{e_s}, a_{e_p}, a_{e_o}, a_{e_t}),$$
where $f^{epi}$ generalizes the classic tensor or compositional models to include time. This framework supports DistMult-T, HolE-T, ComplEx-T, RESCAL-T, and Tucker-T, with yearly time embeddings augmenting the original score functions.

## 2. High-Capacity Tensor Methods and the ConT Model

To adequately capture temporal dependencies at yearly resolution, high-capacity tensor models are employed. The ConT model generalizes the Tucker decomposition by introducing a dedicated core tensor $\mathcal{G}_t$ for each year, yielding the score function [1807.00228]
$$
\theta_{t,s,p,o} = \sum_{i=1}^r \sum_{j=1}^r \sum_{k=1}^r 
a_{e_s,i}a_{e_p,j}a_{e_o,k}g_t(i,j,k),
$$
or in vector notation,
$$
\theta_{t,s,p,o} = \mathrm{flatten}(\mathcal{G}_t) \cdot (a_{e_s} \otimes a_{e_p} \otimes a_{e_o}).
$$
Parameter complexity is $O(N_e r + N_r r + N_t r^3)$, enabling per-year modeling of complex relational structure. Empirically, such models outperform lower-capacity methods when entity-relation patterns shift annually.

## 3. Yearly Semantic Embeddings via Temporal Aggregation

The marginalization of episodic knowledge yields static (semantic) yearly embeddings. For models factorizing as $\theta_{t,s,p,o} = a_{e_t} \cdot \tilde{f}(a_{e_s}, a_{e_p}, a_{e_o})$, the time-projective embedding is
$$
\theta_{s,p,o}^{proj} = \left(\sum_{t=1}^{N_t} a_{e_t}\right) \cdot \tilde{f}(a_{e_s}, a_{e_p}, a_{e_o}),
$$
aggregating over yearly contributions to recover a temporally agnostic score [1807.00228]. For facts with explicit start and end years, the aggregate can be adjusted:
$$
\theta_{s,p,o}^{proj} = \left[\sum_{t_{start}} a(t_{start}) - \sum_{t_{end}} a(t_{end})\right] \cdot \tilde{f}(a_{e_s}, a_{e_p}, a_{e_o}),
$$
ensuring expired events are excluded from current-year memory.

## 4. Incremental and Lifelong Embedding Update Mechanisms

Yearly knowledge graphs grow with new facts, entities, and relations added in each annual snapshot. Methods for maintaining up-to-date yearly embeddings without full retraining fall into two main families:

- **Incremental Optimization** [2109.10896]: Following each year's changes $\Delta E^+, \Delta E^-, \Delta V^+, \Delta R^+$, analytic ("positive-only") or gradient-based initialization sets new embeddings. Training proceeds by interleaving "general" epochs (all data) with "change"-focused epochs (recent additions/removals), with learning rates and epochs scheduled to maintain stability. For yearly graphs with up to 10% changes per year, 20 "change" epochs to 180 "general" epochs and learning rate ratios $1:5$ are optimal. This yields $<$1% absolute drop in MRR compared to full retraining, with 15–30% of the runtime.

- **Lifelong Masked Autoencoding and Transfer** [2211.15845]: Each year, new entity/relation embeddings are initialized via neighbor aggregation from prior-year embeddings. A masked autoencoder reconstructs masked entity/relation vectors from their (old+new) context, facilitating both update and transfer. The objective regularizes changes to old embeddings to avoid catastrophic forgetting, weighting by the frequency of appearances in the current snapshot. This approach produces embeddings that integrate new information while stably retaining past knowledge, suitable for decade-scale continuous KG growth.

## 5. Adaptive Dimension and Capacity in Yearly Evolution

Graph growth can necessitate adaptive embedding dimension. SAGE (Scale-Aware Gradual Evolution) proposes a principled mechanism for yearly adjustment [2508.11347]. Embedding dimension at year $i$ is set via a scale-to-parameter law,
$$
P_i = a\,\log_b(N_i), \quad y_i = P_i / (|\mathcal{E}_i| + |\mathcal{R}_i|).
$$
Given confidence intervals $(y_{min}, y, y_{max})$, the dimension $d_i$ is adapted according to a growth rule:
$$
d_{i+1} = 
\begin{cases} 
r\,d_i, & \text{if } r d_i < y_{min} \\
y_{min}, & \text{if } r d_i > y_{min} \text{ and } d_i \leq y_{min} \\
d_i + s, & \text{if } y_{min} < d_i \leq y_{max} \\
y_{max}, & \text{if } d_i > y_{max}
\end{cases}
$$
This ensures sufficient capacity for increasingly complex yearly graphs while preventing overexpansion. Each expansion is accompanied by dynamic distillation: highly reliable historical embeddings are preserved, while more novel or changed entities/relations are optimized for current-year data. Stage-wise optimization minimizes margin loss over hard samples and a distillation loss penalized by footprint ratios, maintaining both knowledge acquisition and retention.

## 6. Empirical Performance and Practical Guidelines

Empirical evaluation on public datasets—ICEWS (72 yearly steps, $\sim$320K quadruples) and GDELT (365 steps, $\sim$2.56M quadruples)—demonstrates the superiority of high-capacity, temporally aware embeddings for annual predictions. Tables below summarize representative results [1807.00228, 2508.11347]:

| Model         | Dataset   | Entity MRR | Timestamp MRR | H@10 |
|---------------|-----------|------------|---------------|------|
| DistMult-T    | ICEWS     | 0.222      | —             | —    |
| HolE-T        | ICEWS     | 0.229      | —             | —    |
| ComplEx-T     | ICEWS     | 0.229      | 0.354         | —    |
| Tucker-T      | ICEWS     | 0.257      | 0.923         | —    |
| **ConT**      | ICEWS     | 0.264      | 0.982         | —    |
| **SAGE**      | ENTITY    | 0.280      | —             | 0.477|

SAGE achieves improvements of up to 1.4% in MRR and 1.6% in Hits@10 over previous continual KG embedding (CKGE) methods after five yearly updates. Incremental update methods [2109.10896] maintain within 1% absolute MRR of full retraining at a fraction of the runtime.

Best practices for construction and maintenance:

- Choose embedding dimension per model family: Tucker/RESCAL $r\in\{40,50,60\}$; compositional $r\in\{100,150\}$.
- Tune margin ($\gamma$), learning rate, step size, and regularization via annual validation.
- For dynamic capacity: update $d_i$ using regression-derived scaling laws.
- Monitor evaluation metrics (MRR, Hits@k) after each year; early-stop if no improvement.
- Combine yearly negative sampling (corrupt $o$ or $t$) with proper weighting for efficient training.

## 7. Synthesis and Outlook

Yearly knowledge embeddings formalize the representation of evolving real-world knowledge by associating entities and relations with vectors parameterized per year, leveraging temporal extensions of standard embedding models, high-capacity tensor factorizations, continual learning, and adaptive capacity control [1807.00228, 2211.15845, 2109.10896, 2508.11347]. The resulting frameworks enable effective link prediction, knowledge retention, and scalable updates across large and continuously growing knowledge graphs. Empirical results on benchmark datasets affirm the necessity of temporal modeling and dynamic adaptation for practical knowledge graph maintenance. A plausible implication is that as knowledge graphs grow over years or decades, such yearly embedding methods will be central in applications requiring both historical and current-state reasoning, including question answering, event prediction, and longitudinal analysis.

Source: https://www.emergentmind.com/topics/yearly-knowledge-embeddings