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

LSTM与GRU网络在符号序列学习中的比较

A comparison of LSTM and GRU networks for learning symbolic sequences

The University of Manchester(曼彻斯特大学)

Roberto Cahuantzi, Xinye Chen, Stefan Güttel

AI总结:

本文通过生成不同复杂度的符号序列训练并比较LSTM与GRU网络,发现深度增加不一定提升记忆,学习率与每层单元数是关键超参数,且GRU擅长低复杂度序列,LSTM擅长高复杂度序列。

摘要:

我们通过研究循环神经网络(RNN)能够记忆的字符串序列的复杂性来探索其架构。生成不同复杂度的符号序列以模拟RNN训练,并研究参数配置,着眼于网络的记忆与推理能力。我们比较了长短期记忆(LSTM)网络和门控循环单元(GRU)。我们发现,当训练时间受限时,增加RNN深度并不一定带来更好的记忆能力。我们的结果还表明,学习率和每层单元数是需要调整的最重要的超参数之一。总体而言,GRU在低复杂度序列上优于LSTM网络,而在高复杂度序列上LSTM表现更好。

英文摘要:

We explore the architecture of recurrent neural networks (RNNs) by studying the complexity of string sequences it is able to memorize. Symbolic sequences of different complexity are generated to simulate RNN training and study parameter configurations with a view to the network's capability of learning and inference. We compare Long Short-Term Memory (LSTM) networks and gated recurrent units (GRUs). We find that an increase in RNN depth does not necessarily result in better memorization capability when the training time is constrained. Our results also indicate that the learning rate and the number of units per layer are among the most important hyper-parameters to be tuned. Generally, GRUs outperform LSTM networks on low-complexity sequences while on high-complexity sequences LSTMs perform better.

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

↑