End-to-End Structure-Aware Convolutional Networks for Knowledge Base Completion

Chao Shang, Yun Tang, Jing Huang, Jinbo Bi, Xiaodong He, Bowen Zhou

Introduction

Knowledge Bases (KBs) such as Freebase and WordNet are foundational to modern information retrieval and question-answering systems. These KBs represent facts as triplets in the form of $(subject, relation, object)$. Despite their scale, these repositories are notoriously incomplete, necessitating robust methods for Knowledge Base Completion (KBC), or link prediction.

Historically, models for KBC have evolved from simple translational approaches like TransE—which treats relations as translations in vector space ($e_s + e_r \approx e_o$)—to complex deep learning architectures like ConvE. While ConvE introduced significant expressive power through convolutional layers, it introduced two primary drawbacks: it treats triplets in isolation, ignoring the rich global connectivity of the graph, and it loses translational geometric consistency by reshaping embeddings into 2D matrices. This paper introduces the Structure-Aware Convolutional Network (SACN), an end-to-end architecture designed to unify structural graph encoding with translation-aware convolutional decoding.

Methodology

SACN consists of two primary components: a Weighted Graph Convolutional Network (WGCN) as the encoder and a Conv-TransE layer as the decoder.

Weighted Graph Convolutional Network (WGCN)

Unlike standard GCNs that treat all neighboring nodes equally, the WGCN encoder learns specific weights ($\alpha_t$) for different types of relations. This allows the model to adaptively determine the importance of information aggregated from a neighbor based on the nature of their connection.

Furthermore, SACN introduces a novel way to handle node attributes (e.g., a person's gender or age). Instead of treating attributes as high-dimensional feature vectors, which often leads to sparsity issues, the authors treat attributes as additional nodes in the graph. These attribute nodes act as "bridges," allowing metadata to flow into entity embeddings during the graph convolution process, thereby enriching the representation of entities with relevant contextual information.

The SACN architecture featuring the WGCN encoder and Conv-TransE decoder.

Conv-TransE Decoder

The decoder, Conv-TransE, is a simplified and translation-aware evolution of ConvE. To maintain the intuitive geometric properties of TransE, Conv-TransE avoids the 2D reshaping of embeddings. Instead, it stacks the subject and relation embeddings and applies $2 \times k$ convolutional kernels. This design captures high-level features while preserving the additive translational property, leading to a more robust and interpretable embedding space.

Experimental Setup

The model was evaluated on three key datasets:

  1. FB15k-237: A standard Freebase subset with redundant inverse relations removed to prevent data leakage.
  2. WN18RR: A cleaned subset of WordNet.
  3. FB15k-237-Attr: A new dataset constructed by the authors to test attribute integration. It maps FB15k-237 entities to the FB24k dataset, incorporating 78,334 attribute triplets across 203 unique attributes.

Results and Discussion

SACN demonstrated superior performance compared to strong baselines such as DistMult, ComplEx, and ConvE. The model achieved a ~10% relative improvement over ConvE across standard metrics including HITS@1, HITS@3, and HITS@10. On the FB15k-237 dataset, SACN reached a HITS@10 of 0.54, significantly outperforming ConvE’s 0.49.

MRR performance comparison between SACN, SACN+Attr, and Conv-transE over training epochs.

The Impact of Attributes and Connectivity

The inclusion of node attributes on the FB15k-237-Attr dataset further boosted performance, raising the HITS@10 to 0.55. A key insight from the analysis is the "Low-Degree Advantage": SACN is particularly effective for entities with few connections (low indegree). By aggregating information from a node's entire neighborhood, the WGCN encoder provides a form of structural regularization that allows the model to "fill in the blanks" for isolated entities more effectively than models that analyze triplets in a vacuum.

Conclusion

SACN successfully bridges the gap between structural graph encoding and translational convolutional decoding. By leveraging global connectivity and node attributes, it sets a new benchmark for Knowledge Base Completion. While the model faces challenges such as potential "over-smoothing" in extremely high-degree nodes, future work incorporating attention mechanisms (like Graph Attention Networks) could further refine the aggregation process. SACN proves that preserving the underlying geometric logic of a graph is just as important as the depth of the neural network used to process it.

Summary updated

BibTeX
@inproceedings{shang2019end,
  author = {Chao Shang and Yun Tang and Jing Huang and Jinbo Bi and Xiaodong He and Bowen Zhou},
  title = {{End-to-End Structure-Aware Convolutional Networks for Knowledge Base Completion}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013060},
}
Figure