arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.00967cs.CLcs.LG
收藏

R2D2:基于可微树的递归Transformer可解释层次语言建模

R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling

Ant Financial Services Group(蚂蚁金融服务集团);Hasso Plattner Institute(哈索·普拉特纳研究所);University of Potsdam(波茨坦大学)

Xiang Hu, Haitao Mi, Zujie Wen, Yafang Wang, Yi Su, Jing Zheng, Gerard de Melo

摘要:

人类语言理解在多个粒度级别上操作(例如,单词、短语和句子),其中抽象级别增加,可以分层组合。然而,现有的具有堆叠层的深度模型没有明确地对任何类型的分层过程进行建模。本文提出了一种基于CKY型二叉树的递归Transformer模型来模拟合成过程。我们将双向语言模型预训练目标扩展到该架构,尝试预测每个单词的左和右抽象节点。为了扩大我们的方法,我们还引入了一个有效的修剪树归纳算法,使编码在一个线性数量的组成步骤。语言建模和无监督句法分析的实验结果表明了该方法的有效性。

英文摘要:

Human language understanding operates at multiple levels of granularity (e.g., words, phrases, and sentences) with increasing levels of abstraction that can be hierarchically combined. However, existing deep models with stacked layers do not explicitly model any sort of hierarchical process. This paper proposes a recursive Transformer model based on differentiable CKY style binary trees to emulate the composition process. We extend the bidirectional language model pre-training objective to this architecture, attempting to predict each word given its left and right abstraction nodes. To scale up our approach, we also introduce an efficient pruned tree induction algorithm to enable encoding in just a linear number of composition steps. Experimental results on language modeling and unsupervised parsing show the effectiveness of our approach.

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

↑