长时标的涌现机制依赖于训练课程并影响记忆任务中的性能
Emergent mechanisms for long timescales depend on training curriculum and affect performance in memory tasks
AI总结:
该研究发现循环神经网络解决记忆任务的长时标涌现机制依赖训练课程,多头课程通过循环连接形成长时标,可提升训练速度、稳定性、泛化能力及大N任务下GRU和LSTM的训练效果。
摘要:
大脑和计算机模拟中的循环神经网络(RNN)擅长解决具有复杂时间依赖关系的任务。解决此类任务所需的长时标可源于单个神经元的特性(单神经元时标$τ$,例如生物神经元的膜时间常数),也可源于神经元之间的循环交互(网络介导的时标)。然而,对于最优解决依赖记忆的任务而言,每种机制的贡献仍未得到充分理解。\n在本研究中,我们训练RNN来解决$N$-奇偶校验任务和$N$-延迟匹配样本任务,通过同时优化循环权重和$τ$,以$N$控制不断提升的记忆需求。我们发现,对于这两种任务,RNN都会随着$N$的增大形成更长的时标,但根据学习目标的不同,它们会采用不同的机制。两种不同的课程定义了学习目标:单个$N$的顺序学习(单头)或多个$N$的同时学习(多头)。\n单头网络的$τ$会随$N$增大而增加,能够解决大$N$的任务,但会遭受灾难性遗忘的问题。而多头网络被明确要求同时持有多个记忆,其$τ$保持恒定,并通过循环连接形成更长的时标。此外,我们证明多头课程提升了训练速度,增强了网络对消融和扰动的稳定性,还能让RNN更好地泛化到训练范围之外的任务。该课程还显著提升了针对大$N$任务训练GRU和LSTM的效果。我们的研究结果表明,通过循环交互使时标适应任务需求,能够学习更复杂的目标,并提升RNN的性能。
英文摘要:
Recurrent neural networks (RNNs) in the brain and in silico excel at solving tasks with intricate temporal dependencies. Long timescales required for solving such tasks can arise from properties of individual neurons (single-neuron timescale, $τ$, e.g., membrane time constant in biological neurons) or recurrent interactions among them (network-mediated timescale). However, the contribution of each mechanism for optimally solving memory-dependent tasks remains poorly understood. Here, we train RNNs to solve $N$-parity and $N$-delayed match-to-sample tasks with increasing memory requirements controlled by $N$ by simultaneously optimizing recurrent weights and $τ$s. We find that for both tasks RNNs develop longer timescales with increasing $N$, but depending on the learning objective, they use different mechanisms. Two distinct curricula define learning objectives: sequential learning of a single-$N$ (single-head) or simultaneous learning of multiple $N$s (multi-head). Single-head networks increase their $τ$ with $N$ and are able to solve tasks for large $N$, but they suffer from catastrophic forgetting. However, multi-head networks, which are explicitly required to hold multiple concurrent memories, keep $τ$ constant and develop longer timescales through recurrent connectivity. Moreover, we show that the multi-head curriculum increases training speed and network stability to ablations and perturbations, and allows RNNs to generalize better to tasks beyond their training regime. This curriculum also significantly improves training GRUs and LSTMs for large-$N$ tasks. Our results suggest that adapting timescales to task requirements via recurrent interactions allows learning more complex objectives and improves the RNN's performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。