Language Modeling with Sparse Product of Sememe Experts

Yihong Gu, Jun Yan, Hao Zhu, Zhiyuan Liu, Ruobing Xie +3 more
10/29/2018
cs.CLcs.LG

Official code: thunlp/SDLM-pytorch (25 stars, Python, last commit 2018-12-31).

Abstract

Most language modeling methods rely on large-scale data to statistically learn the sequential patterns of words. In this paper, we argue that words are atomic language units but not necessarily atomic semantic units.

Show full abstract

Inspired by HowNet, we use sememes, the minimum semantic units in human languages, to represent the implicit semantics behind words for language modeling, named Sememe-Driven Language Model (SDLM). More specifically, to predict the next word, SDLM first estimates the sememe distribution gave textual context. Afterward, it regards each sememe as a distinct semantic expert, and these experts jointly identify the most probable senses and the corresponding word. In this way, SDLM enables language models to work beyond word-level manipulation to fine-grained sememe-level semantics and offers us more powerful tools to fine-tune language models and improve the interpretability as well as the robustness of language models. Experiments on language modeling and the downstream application of headline gener- ation demonstrate the significant effect of SDLM. Source code and data used in the experiments can be accessed at https:// github.com/thunlp/SDLM-pytorch.

View on arXivView PDF

Code Implementations(1)

Code accompanying EMNLP 2018 paper Language Modeling with Sparse Product of Sememe Experts

255Python, TeXAug 25, 20187 years ago
language-modelsememe

Similar Papers

Cite this paper

@article{gu2018language,
  title  = {Language Modeling with Sparse Product of Sememe Experts},
  author = {Yihong Gu and Jun Yan and Hao Zhu and Zhiyuan Liu and Ruobing Xie and Maosong Sun and Fen Lin and Leyu Lin},
  year   = {2018},
  eprint = {1810.12387},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.12387}
}

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

Discussion