Exploiting Syntactic Structure for Better Language Modeling: A Syntactic Distance Approach

Wenyu Du, Zhouhan Lin, Yikang Shen, Timothy J. O'Donnell, Yoshua Bengio +1 more
5/12/2020
cs.CL

Official code: wenyudu/SDLM (3 stars, Python, BSD-3-Clause, last commit 2021-07-07).

Abstract

It is commonly believed that knowledge of syntactic structure should improve language modeling. However, effectively and computationally efficiently incorporating syntactic structure into neural language models has been a challenging topic.

Show full abstract

In this paper, we make use of a multi-task objective, i.e., the models simultaneously predict words as well as ground truth parse trees in a form called "syntactic distances", where information between these two separate objectives shares the same intermediate representation. Experimental results on the Penn Treebank and Chinese Treebank datasets show that when ground truth parse trees are provided as additional training signals, the model is able to achieve lower perplexity and induce trees with better quality.

View on arXivView PDF

Code Implementations(1)

wenyudu/SDLMOfficial100%
BSD-3-Clause

This repository contains the code used for SDLM paper

30Python, CApr 9, 20205 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{du2020exploiting,
  title  = {Exploiting Syntactic Structure for Better Language Modeling: A Syntactic Distance Approach},
  author = {Wenyu Du and Zhouhan Lin and Yikang Shen and Timothy J. O'Donnell and Yoshua Bengio and Yue Zhang},
  year   = {2020},
  eprint = {2005.05864},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.05864}
}

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

Discussion