
ConvE
Graphs and geometry33 ops5M params
A knowledge graph link predictor that applies 2D convolutions to reshaped entity and relation embeddings.
Graphs and geometry · 33 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
ConvE is a link prediction model for knowledge graphs: given facts stored as relationships between entities, it predicts which relationships are missing. The paper argues that earlier work favored shallow, fast models that learn less expressive features than deep, multi-layer ones, and introduces ConvE as a multi-layer convolutional network for the task.
The entity and relation embeddings are reshaped into 2D and concatenated, the result goes through a convolutional layer, and the feature maps are flattened, projected to the embedding dimension and matched with candidate object embeddings. The paper describes the model as a single convolution layer, a projection layer to the embedding dimension, and an inner product layer. It also develops 1-N scoring, in which one subject and relation pair is scored against all entities at once, and reports that this speeds up training three-fold and evaluation by 300x.
The paper reports that ConvE is parameter efficient, giving the same performance as DistMult and R-GCN with 8x and 17x fewer parameters. It also examines test set leakage in the WN18 and FB15k datasets, where inverse relations from the training set appear in the test set, and finds that a simple rule-based model could match the best reported results on both. In response the authors created WN18RR, a version of WN18 that cannot easily be completed using a single rule. The model on this page is the PyKEEN implementation, pykeen.models.ConvE.
Key idea. ConvE applies 2D convolutions over reshaped entity and relation embeddings to predict missing links in knowledge graphs, matching DistMult and R-GCN with 8x and 17x fewer parameters.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{dettmers2018convolutional2dknowledgegraph,
title={Convolutional 2D Knowledge Graph Embeddings},
author={Tim Dettmers and Pasquale Minervini and Pontus Stenetorp and Sebastian Riedel},
year={2018},
eprint={1707.01476},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1707.01476},
}