arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.06841cs.CL
收藏

使用 RNN Seq2seq 模型学习转导与对齐

Learning Transductions and Alignments with RNN Seq2seq Models

Stony Brook University(石溪大学);Institute for Advanced Computational Science(高级计算科学研究院)

Zhengxiang Wang

AI总结:

本文研究了RNN seq2seq模型在四种转导任务上的学习能力,发现其仅能拟合分布内数据而无法泛化,并基于此为无注意力模型建立了新的复杂性层级。

摘要:

本文研究了循环神经网络序列到序列(RNN seq2seq)模型在学习四种转导任务上的能力:恒等、反转、完全复制和二次复制。这些转导在有限状态转换器下已有充分研究,并具有递增的复杂性。我们发现,RNN seq2seq模型只能近似拟合训练或分布内数据的映射,而无法学习底层函数。尽管注意力机制使学习更高效和鲁棒,但它未能克服分布外泛化的局限。我们为无注意力的RNN seq2seq模型建立了一种新的学习这四项任务的复杂性层级,这可以理解为形式语言的复杂性层级,而非字符串转导。RNN变体也在结果中发挥作用。特别地,我们证明Simple RNN seq2seq模型无法计算输入长度。

英文摘要:

The paper studies the capabilities of Recurrent-Neural-Network sequence to sequence (RNN seq2seq) models in learning four transduction tasks: identity, reversal, total reduplication, and quadratic copying. These transductions are traditionally well studied under finite state transducers and attributed with increasing complexity. We find that RNN seq2seq models are only able to approximate a mapping that fits the training or in-distribution data, instead of learning the underlying functions. Although attention makes learning more efficient and robust, it does not overcome the out-of-distribution generalization limitation. We establish a novel complexity hierarchy for learning the four tasks for attention-less RNN seq2seq models, which may be understood in terms of the complexity hierarchy of formal languages, instead of string transductions. RNN variants also play a role in the results. In particular, we show that Simple RNN seq2seq models cannot count the input length.

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

↑