TL;DR
TransEdge is a novel edge-centric knowledge graph embedding model that contextualizes relation representations based on specific head-tail entity pairs. By treating relations as dynamic, context-dependent "edge embeddings" rather than static global vectors, it prevents entity representations from collapsing into indistinguishable clusters. This simple yet effective twist achieves state-of-the-art results in entity alignment and highly competitive performance in link prediction.
What Problem Does This Paper Address?
Traditional knowledge graph (KG) embedding models, such as the classic TransE, interpret relations as static translation vectors between entities ($h + r \approx t$). While computationally efficient, this relation-level modeling struggles to capture complex graph topologies, particularly 1-to-N, N-to-1, and N-to-M relations.
For instance, if a movie entity points to multiple actors via the same starring relation, TransE forces all those distinct actor embeddings to be clustered tightly together in the vector space. This representation collapse introduces ambiguity, leading to incorrect relation inferences and severely hindering downstream tasks like entity alignment (cross-linking matching entities across different KGs) and link prediction (predicting missing facts).
Methods
The authors introduce TransEdge, which shifts the paradigm from relation-level embeddings to edge-centric embeddings. Instead of a fixed vector for each relation, TransEdge computes a contextualized translation vector tailored to the specific head and tail entities it connects.
The scoring function is defined as: $$f(h, r, t) = \|h + \psi(h_c, t_c, r) - t\|$$
Where:
- $h$ and $t$ are the general embeddings of the head and tail entities, capturing their global geometric positions.
- $h_c$ and $t_c$ are separate interaction embeddings used exclusively to compute context.
- $\psi$ is the contextualization operator that outputs the final edge embedding.
The paper evaluates two distinct architectures for the operator $\psi$:
- Context Compression (CC): Employs multi-layer perceptrons (MLPs) to non-linearly compress and fuse the edge direction ($h_c, t_c$) and edge label ($r$).
- Context Projection (CP): Projects the relation vector $r$ onto a hyperplane dynamically defined by the head-tail entity pair. The hyperplane's normal vector is generated via an MLP from the interaction embeddings.
Datasets
The model was rigorously evaluated on two primary tasks using standard benchmarks:
- Entity Alignment:
- DBP15K: Three cross-lingual datasets (Chinese-English, Japanese-English, French-English) extracted from DBpedia, each containing 15,000 aligned entity pairs.
- DWY100K: Two large-scale monolingual datasets (DBP-WD and DBP-YG) containing 100,000 aligned pairs extracted from DBpedia, Wikidata, and YAGO3.
- Link Prediction:
- FB15K-237 and WN18RR: Standardized, cleaned versions of the FB15K and WN18 datasets that omit inverse relations to prevent trivial pattern memorization.
Key Insights and Ideas
- Contextualization Prevents Collapse: By allowing a relation's embedding to shift depending on its endpoints, the model successfully disentangles entities that share common relations, preserving their unique semantic identities.
- Separation of Concerns: Splitting entity representations into general and interaction embeddings prevents the optimization of the context function from interfering with the global geometric positioning of the entities.
- Geometric Constraints Matter: Context Projection (CP) consistently outperforms Context Compression (CC). Projecting vectors onto dynamically generated hyperplanes provides a more rigid, robust geometric interpretation than unconstrained MLP combinations.
- Embeddings and Logic are Complementary: Structural graph embeddings capture different signals than traditional symbolic alignment tools (like LogMap, which relies on string matching and logical axioms). Combining them yields a powerful hybrid alignment strategy.
Key Results
- State-of-the-Art Entity Alignment: On the DBP15K (
DBP_ZH-EN) dataset, TransEdge-CP achieved a Hits@1 score of 0.735, substantially outperforming the previous state-of-the-art bootstrapping model, BootEA (0.629). - Top-Tier Link Prediction: TransEdge-CP achieved the highest Hits@1 scores on both FB15K-237 (0.243) and WN18RR (0.433), outperforming advanced bilinear rotation models like RotatE and complex neural architectures like ConvE, while maintaining lower computational complexity.
- Successful Hybridization: Integrating TransEdge-CP with the conventional ontology matching tool LogMap produced the highest overall precision, recall, and F1-scores on the large-scale DWY100K benchmark.
Limitations and Future Work
- 1-Hop Local Context: The current contextualization strategy only considers immediate head and tail neighbors. It does not account for broader, multi-hop path contexts across the graph.
- Structural Exclusivity: TransEdge relies entirely on the graph's relational structure and does not natively integrate literal attributes (such as text descriptions or numerical values).
- Future Directions: The authors plan to explore language modeling techniques to capture multi-hop relation contexts and intend to incorporate attribute similarity measures to further enrich the structural embeddings.
Summary updated