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

通过输出序列的离散傅里叶变换对循环神经网络归纳偏置的实证分析

Empirical Analysis of the Inductive Bias of Recurrent Neural Networks by Discrete Fourier Transform of Output Sequences

University of Tokyo(东京大学)

Taiga Ishii, Ryo Ueda, Yusuke Miyao

AI总结:

本研究通过将模型输出视为离散时间信号进行频域分析,直接计算输出序列频率,揭示了LSTM和GRU偏向低频模式而Elman RNN偏向高频模式的归纳偏置,并发现该偏置受层数和隐藏层大小影响。

摘要:

循环神经网络(RNNs)的一个独特特征是它会增量式地处理输入序列。在本研究中,我们旨在揭示RNNs固有的泛化特性,即归纳偏置,具体关注在序列分类任务中RNNs在各时间步切换输出的频率,我们将其称为输出序列频率。先前的研究通过使用少量合成数据训练模型,并将模型的泛化情况与候选泛化模式进行比较来分析归纳偏置。然而,在考察输出序列频率时,由于对于较长序列枚举候选模式在计算上很困难,先前的方法无法直接应用。为此,我们提出通过将模型的输出视为离散时间信号并应用频域分析,来直接计算每个模型的输出序列频率。实验结果表明,长短期记忆网络(LSTM)和门控循环单元(GRU)具有偏向低频模式的归纳偏置,而Elman RNN倾向于学习输出以高频变化的模式。我们还发现,LSTM和GRU的归纳偏置会随层数和隐藏层大小而变化。

英文摘要:

A unique feature of Recurrent Neural Networks (RNNs) is that it incrementally processes input sequences. In this research, we aim to uncover the inherent generalization properties, i.e., inductive bias, of RNNs with respect to how frequently RNNs switch the outputs through time steps in the sequence classification task, which we call output sequence frequency. Previous work analyzed inductive bias by training models with a few synthetic data and comparing the model's generalization with candidate generalization patterns. However, when examining the output sequence frequency, previous methods cannot be directly applied since enumerating candidate patterns is computationally difficult for longer sequences. To this end, we propose to directly calculate the output sequence frequency for each model by regarding the outputs of the model as discrete-time signals and applying frequency domain analysis. Experimental results showed that Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) have an inductive bias towards lower-frequency patterns, while Elman RNN tends to learn patterns in which the output changes at high frequencies. We also found that the inductive bias of LSTM and GRU varies with the number of layers and the size of hidden layers.

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

↑