线性循环网络在长序列上括号计数的理论条件与经验失效
Theoretical Conditions and Empirical Failure of Bracket Counting on Long Sequences with Linear Recurrent Networks
AI总结:
本文研究了线性单细胞RNN的精确计数问题,证明了其充要条件,并通过Dyck-1类任务实验发现标准训练难以满足该条件。
摘要:
先前的研究表明,具有无界激活函数的RNN具备精确计数的能力。然而,研究也表明RNN难以有效训练,通常无法学习到精确的计数行为。本文聚焦此问题,研究最简单的RNN,即线性单细胞网络。我们对线性RNN进行了理论分析,并确定了模型表现出精确计数行为的条件。我们提供了形式化证明,表明这些条件是必要且充分的。我们还使用涉及Dyck-1类平衡括号语言的任务,在两种不同设置下进行了经验分析。我们观察到,使用标准方法训练时,线性RNN通常不满足计数行为的充要条件。我们研究了改变训练序列长度和利用不同目标类别如何影响训练期间的模型行为,以及线性RNN模型有效近似指示条件的能力。
英文摘要:
Previous work has established that RNNs with an unbounded activation function have the capacity to count exactly. However, it has also been shown that RNNs are challenging to train effectively and generally do not learn exact counting behaviour. In this paper, we focus on this problem by studying the simplest possible RNN, a linear single-cell network. We conduct a theoretical analysis of linear RNNs and identify conditions for the models to exhibit exact counting behaviour. We provide a formal proof that these conditions are necessary and sufficient. We also conduct an empirical analysis using tasks involving a Dyck-1-like Balanced Bracket language under two different settings. We observe that linear RNNs generally do not meet the necessary and sufficient conditions for counting behaviour when trained with the standard approach. We investigate how varying the length of training sequences and utilising different target classes impacts model behaviour during training and the ability of linear RNN models to effectively approximate the indicator conditions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。