A Hierarchical N-Gram Framework for Zero-Shot Link Prediction

Mingchen Li, Junfan Chen, Samuel Mensah, Nikolaos Aletras, Xiulong Yang +1 more
4/16/2022
cs.CLcs.AI

Official code: ToneLi/HNZSLP (2 stars, Python, last commit 2022-10-08).

Abstract

Due to the incompleteness of knowledge graphs (KGs), zero-shot link prediction (ZSLP) which aims to predict unobserved relations in KGs has attracted recent interest from researchers. A common solution is to use textual features of relations (e.g., surface name or textual descriptions) as auxiliary information to bridge the gap between seen and unseen relations.

Show full abstract

Current approaches learn an embedding for each word token in the text. These methods lack robustness as they suffer from the out-of-vocabulary (OOV) problem. Meanwhile, models built on character n-grams have the capability of generating expressive representations for OOV words. Thus, in this paper, we propose a Hierarchical N-Gram framework for Zero-Shot Link Prediction (HNZSLP), which considers the dependencies among character n-grams of the relation surface name for ZSLP. Our approach works by first constructing a hierarchical n-gram graph on the surface name to model the organizational structure of n-grams that leads to the surface name. A GramTransformer, based on the Transformer is then presented to model the hierarchical n-gram graph to construct the relation embedding for ZSLP. Experimental results show the proposed HNZSLP achieved state-of-the-art performance on two ZSLP datasets.

View on arXivView PDF

Code Implementations(1)

ToneLi/HNZSLPOfficial100%

LatticeTransformer (word, bytes,..) for Zero shot learning

20PythonDec 6, 20214 years ago

Similar Papers

Cite this paper

@article{li2022hierarchical,
  title  = {A Hierarchical N-Gram Framework for Zero-Shot Link Prediction},
  author = {Mingchen Li and Junfan Chen and Samuel Mensah and Nikolaos Aletras and Xiulong Yang and Yang Ye},
  year   = {2022},
  eprint = {2204.10293},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10293}
}

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/2204.10293.svg)](https://codeofpaper.com/paper/2204.10293)

Discussion