On Tree-Based Neural Sentence Modeling

Haoyue Shi, Hao Zhou, Jiaze Chen, Lei Li
8/29/2018
cs.CL

Official code: ExplorerFreda/TreeEnc (65 stars, Python, MIT, last commit 2019-03-06).

Abstract

Neural networks with tree-based sentence encoders have shown better results on many downstream tasks. Most of existing tree-based encoders adopt syntactic parsing trees as the explicit structure prior.

Show full abstract

To study the effectiveness of different tree structures, we replace the parsing trees with trivial trees (i.e., binary balanced tree, left-branching tree and right-branching tree) in the encoders. Though trivial trees contain no syntactic information, those encoders get competitive or even better results on all of the ten downstream tasks we investigated. This surprising result indicates that explicit syntax guidance may not be the main contributor to the superior performances of tree-based neural sentence modeling. Further analysis show that tree modeling gives better results when crucial words are closer to the final representation. Additional experiments give more clues on how to design an effective tree-based encoder. Our code is open-source and available at https://github.com/ExplorerFreda/TreeEnc.

View on arXivView PDF

Code Implementations(1)

MIT

[EMNLP 2018] On Tree-Based Neural Sentence Modeling.

659PythonAug 21, 20187 years agoMIT

Similar Papers

Cite this paper

@article{shi2018treebased,
  title  = {On Tree-Based Neural Sentence Modeling},
  author = {Haoyue Shi and Hao Zhou and Jiaze Chen and Lei Li},
  year   = {2018},
  eprint = {1808.09644},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.09644}
}

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

Discussion