[论文解读] Learning to Combine Top-Down and Bottom-Up Signals in Recurrent Neural Networks with Attention over Modules
本文提出双向循环独立机制(BRIMs),一种模块化循环神经网络架构,通过注意力机制动态结合自上而下(上下文预期)与自下而上(感官输入)信号。通过在模块间注意力机制实现双向信息流,BRIMs在序列建模、语言建模、视频预测和Atari强化学习任务中达到最先进性能,显著提升了鲁棒性与分布外泛化能力。
Robust perception relies on both bottom-up and top-down signals. Bottom-up signals consist of what's directly observed through sensation. Top-down signals consist of beliefs and expectations based on past experience and short-term memory, such as how the phrase `peanut butter and~...' will be completed. The optimal combination of bottom-up and top-down information remains an open question, but the manner of combination must be dynamic and both context and task dependent. To effectively utilize the wealth of potential top-down information available, and to prevent the cacophony of intermixed signals in a bidirectional architecture, mechanisms are needed to restrict information flow. We explore deep recurrent neural net architectures in which bottom-up and top-down signals are dynamically combined using attention. Modularity of the architecture further restricts the sharing and communication of information. Together, attention and modularity direct information flow, which leads to reliable performance improvements in perceptual and language tasks, and in particular improves robustness to distractions and noisy data. We demonstrate on a variety of benchmarks in language modeling, sequential image classification, video prediction and reinforcement learning that the \emph{bidirectional} information flow can improve results over strong baselines.
研究动机与目标
- 开发一种深度学习架构,以动态、上下文相关的方式有效整合自上而下(预期、上下文)与自下而上(感官输入)信号。
- 通过在循环网络中利用双向信息流,提升对噪声与分布偏移的鲁棒性。
- 探究模块化与注意力机制在限制信息流与增强分层序列模型泛化能力中的作用。
- 证明双向、基于注意力的模块化循环网络在多样化序列建模任务中优于强基线模型。
- 探究通过注意力机制显式控制信号组合是否能在感知与语言任务中带来更优性能与泛化能力。
提出的方法
- 提出一种新颖架构——双向循环独立机制(BRIMs),其中每个模块保持独立的循环动态,并通过注意力机制进行通信。
- 引入注意力机制,使高层模块能够关注当前时间步的低层表示,以及前一时间步的高层表示。
- 在循环权重中采用块对角结构,以保持模块化并减少参数共享,增强信息流控制。
- 采用分层结构,使高层从低层抽象并过滤相关信息,提升表征能力与泛化能力。
- 在多个任务中应用该架构,共享组件包括Transformer、RNN与策略网络,各领域均取得一致性能提升。
- 采用键值注意力机制,从自下而上与自上而下路径中选择性关注相关特征,实现动态、上下文相关的信号组合。
实验结果
研究问题
- RQ1自上而下与自下而上路径之间的双向信息流在序列建模任务中如何提升性能?
- RQ2注意力机制在循环架构中动态整合自上而下与自下而上信号方面起到何种作用?
- RQ3架构模块化在深度循环网络中在多大程度上增强泛化能力与鲁棒性?
- RQ4分层、模块化、基于注意力的循环网络是否能在长上下文与分布外任务中超越标准LSTM与Transformer?
- RQ5自上而下信号如何以动态、上下文敏感的方式影响模糊或噪声感官输入的处理?
主要发现
- BRIMs在sCIFAR-10与sMNIST数据集上达到最先进性能,sCIFAR-10准确率达98.1%,sMNIST达99.8%,显著优于标准LSTM与Transformer。
- 在使用PPO的Atari-100k基准测试中,BRIMs取得30700 ± 3200的平均人类归一化得分,显著超越标准LSTM与基于注意力的基线模型。
- 消融研究显示,移除自上而下连接会降低性能,证实双向信息流对鲁棒泛化的必要性。
- 注意力机制至关重要:无注意力模型(如标准LSTM)性能显著下降,尤其在长上下文与噪声环境下。
- 模块化设计提升性能:BRIMs及其分层变体优于非模块化基线,表明独立动态与受控通信可增强学习效果。
- 尽管结构更复杂,BRIMs的参数量与标准LSTM相当(约150万参数),得益于块对角结构;而无模块化的更大LSTM反而性能下降。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。