Interpretable and Compositional Relation Learning by Joint Training with an Autoencoder

Ryo Takahashi, Ran Tian, Kentaro Inui
5/24/2018
cs.LGstat.ML

Official code: tianran/glimvec (8 stars, C++, BSD-3-Clause, last commit 2018-06-21).

Abstract

Embedding models for entities and relations are extremely useful for recovering missing facts in a knowledge base. Intuitively, a relation can be modeled by a matrix mapping entity vectors.

Show full abstract

However, relations reside on low dimension sub-manifolds in the parameter space of arbitrary matrices---for one reason, composition of two relations $\boldsymbol{M}_1,\boldsymbol{M}_2$ may match a third $\boldsymbol{M}_3$ (e.g. composition of relations currency_of_country and country_of_film usually matches currency_of_film_budget), which imposes compositional constraints to be satisfied by the parameters (i.e. $\boldsymbol{M}_1\cdot \boldsymbol{M}_2\approx \boldsymbol{M}_3$). In this paper we investigate a dimension reduction technique by training relations jointly with an autoencoder, which is expected to better capture compositional constraints. We achieve state-of-the-art on Knowledge Base Completion tasks with strongly improved Mean Rank, and show that joint training with an autoencoder leads to interpretable sparse codings of relations, helps discovering compositional constraints and benefits from compositional training. Our source code is released at github.com/tianran/glimvec.

View on arXivView PDF

Code Implementations(1)

tianran/glimvecOfficial100%
BSD-3-Clause

Graph to linear maps and vectors

80C++, PythonMay 10, 20188 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{takahashi2018interpretable,
  title  = {Interpretable and Compositional Relation Learning by Joint Training with an Autoencoder},
  author = {Ryo Takahashi and Ran Tian and Kentaro Inui},
  year   = {2018},
  eprint = {1805.09547},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.09547}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1805.09547.svg)](https://codeofpaper.com/paper/1805.09547)

Discussion