Vector-space models, from word embeddings to neural network parsers, have many advantages for NLP. But how to generalise from fixed-length word vectors to a vector space for arbitrary linguistic structures is still unclear. In this paper we propose bag-of-vector embeddings of arbitrary linguistic graphs. A bag-of-vector space is the minimal nonparametric extension of a vector space, allowing the representation to grow with the size of the graph, but not tying the representation to any specific tree or graph structure. We propose efficient training and inference algorithms based on tensor factorisation for embedding arbitrary graphs in a bag-of-vector space. We demonstrate the usefulness of this representation by training bag-of-vector embeddings of dependency graphs and evaluating them on unsupervised semantic induction for the Semantic Textual Similarity and Natural Language Inference tasks.
Matroids Hitting Sets and Unsupervised Dependency Grammar Induction
Dept of Computer Science, Univ of British Columbia(不列颠哥伦比亚大学计算机科学系);Systems Biology Dept, Harvard Medical School(哈佛医学院系统生物学系);Dept of Computer Science, MIT(麻省理工学院计算机科学系);Google(谷歌)
Minimizing the Bag-of-Ngrams Difference for Non-Autoregressive Neural Machine Translation
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Tencent Inc(腾讯公司)
非自回归神经机器翻译(NAT)通过独立地同时生成目标词来实现显著的解码加速。然而,在非自回归翻译的背景下,词级交叉熵损失不能正确地建模目标端的顺序依赖,导致其与翻译质量的弱相关性。因此,NAT倾向于生成具有过度翻译和翻译不足错误的影响翻译。在本文中,我们建议训练NAT,以最大限度地减少模型输出和参考句子之间的Bag-of-Ngrams(BoN)差异。ngrams包训练目标是可区分的,并且可以被有效地计算,这鼓励NAT捕获目标侧顺序依赖性并且与翻译质量良好地相关。我们在三个翻译任务上验证了我们的方法,并表明我们的方法在WMT 14 En $\leftrightarrow$ De上的BLEU分数约为5.0,在WMT 16 En $\leftrightarrow$ Ro上的BLEU分数约为2.5,大大优于NAT基线。
Identifying Semantic Induction Heads to Understand In-Context Learning
Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Fudan University(复旦大学);The Chinese University of Hong Kong(香港中文大学)