Imposing Category Trees Onto Word-Embeddings Using A Geometric Construction
Tiansi Dong, Chrisitan Bauckhage, Hailong Jin, Juanzi Li, Olaf Cremers, Daniel Speicher, Armin B. Cremers, Joerg Zimmermann
Abstract
We present a novel method to precisely impose tree-structured category information onto word-embeddings, resulting in ball embeddings in higher dimensional spaces (N-balls for short). Inclusion relations among N-balls implicitly encode subordinate relations among categories. The similarity measurement in terms of the cosine function is enriched by category information. Using a geometric construction method instead of back-propagation, we create large N-ball embeddings that satisfy two conditions: (1) category trees are precisely imposed onto word embeddings at zero energy cost; (2) pre-trained word embeddings are well preserved. A new benchmark data set is created for validating the category of unknown words. Experiments show that N-ball embeddings, carrying category information, significantly outperform word embeddings in the test of nearest neighborhoods, and demonstrate surprisingly good performance in validating categories of unknown words. Source codes and data-sets are free for public access \url{https://github.com/gnodisnait/nball4tree.git} and \url{https://github.com/gnodisnait/bp94nball.git}.
BibTeX
@inproceedings{
dong2018encoding,
title={Encoding Category Trees Into Word-Embeddings Using Geometric Approach},
author={Tiansi Dong and Olaf Cremers and Hailong Jin and Juanzi Li and Chrisitan Bauckhage and Armin B. Cremers and Daniel Speicher and Joerg Zimmermann},
booktitle={International Conference on Learning Representations},
year={2019},
url={https://openreview.net/forum?id=rJlWOj0qF7},
}