arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.09644cs.CL
收藏

基于树的神经语句建模研究

On Tree-Based Neural Sentence Modeling

Peking University(北京大学);ByteDance(字节跳动);Toyota Technological Institute at Chicago(芝加哥丰田理工学院)

Haoyue Shi, Hao Zhou, Jiaze Chen, Lei Li

摘要:

具有基于树的句子编码器的神经网络在许多下游任务上显示出更好的结果。现有的树型编码器大多采用句法分析树作为显式结构先验。为了研究不同树结构的有效性,我们用平凡树(即,二进制平衡树、左分支树和右分支树)。虽然平凡树不包含语法信息,但这些编码器在我们研究的所有十个下游任务上都获得了竞争性甚至更好的结果。这一令人惊讶的结果表明,显式语法指导可能不是基于树的神经句子建模优越性能的主要贡献者。进一步的分析表明,树模型给出了更好的结果时,关键词更接近最终表示。额外的实验提供了更多的线索,如何设计一个有效的基于树的编码器。我们的代码是开源的,可以在https://github.com/ExplorerFreda/TreeEnc上找到。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑