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

无向神经网络在结构建模中的应用

Modeling Structure with Undirected Neural Networks

Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);University of Amsterdam(阿姆斯特丹大学);LUMLIS, Lisbon ELLIS Unit(里斯本ELLIS单元LUMLIS);Unbabel

Tsvetomila Mihaylova, Vlad Niculae, André F. T. Martins

摘要:

神经网络是功能强大的函数估计器,这使得它们成为结构化数据建模的首选范例。然而,与其他强调问题模块性的结构化表示不同,因子图--神经网络通常是从输入到输出的单片映射,具有固定的计算顺序。这种限制使它们无法捕捉不同方向的计算和建模变量之间的相互作用。在本文中,我们结合了因子图和神经网络的代表性优势,提出了无向神经网络(UNNs):一个灵活的框架,用于指定可以以任何顺序执行的计算。对于特定的选择,我们提出的模型继承和扩展了许多现有的架构:前馈,递归,自注意网络,自动编码器和隐式层网络。我们证明了无向神经架构的有效性,包括非结构化和结构化,在一系列任务:树约束依存句法分析,卷积图像分类,序列完成与注意。通过改变计算顺序,我们展示了一个UNN如何既可以用作分类器又可以用作原型生成器,以及它如何填充输入序列的缺失部分,使其成为一个有前途的进一步研究领域。

英文摘要:

Neural networks are powerful function estimators, leading to their status as a paradigm of choice for modeling structured data. However, unlike other structured representations that emphasize the modularity of the problem -- e.g., factor graphs -- neural networks are usually monolithic mappings from inputs to outputs, with a fixed computation order. This limitation prevents them from capturing different directions of computation and interaction between the modeled variables. In this paper, we combine the representational strengths of factor graphs and of neural networks, proposing undirected neural networks (UNNs): a flexible framework for specifying computations that can be performed in any order. For particular choices, our proposed models subsume and extend many existing architectures: feed-forward, recurrent, self-attention networks, auto-encoders, and networks with implicit layers. We demonstrate the effectiveness of undirected neural architectures, both unstructured and structured, on a range of tasks: tree-constrained dependency parsing, convolutional image classification, and sequence completion with attention. By varying the computation order, we show how a single UNN can be used both as a classifier and a prototype generator, and how it can fill in missing parts of an input sequence, making them a promising field for further research.

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

↑