面向动态推理代价与自上而下注意力的高层并行与嵌套特征
High-Level Parallelism and Nested Features for Dynamic Inference Cost and Top-Down Attention
AI总结:
本文提出一种融合高层特征并行与嵌套、动态推理代价和自上而下注意力的新型网络拓扑,通过选择性激活任务相关网络片段,在提升预测性能的同时显著降低参数和计算量。
摘要:
本文提出了一种新颖的网络拓扑结构,将动态推理代价与自上而下注意力机制无缝集成,弥补了传统深度学习模型中的两个重要空白。受人类感知机制的启发,我们将通用低层特征的顺序处理与高层特征的并行化和嵌套化相结合。该设计不仅反映了近期神经科学研究中关于人类皮层中空间和上下文上不同的神经激活的发现,还引入了一种新颖的“cutout”技术:能够选择性地仅激活与任务相关类别的网络片段,从而优化推理代价并消除重新训练的需要。我们相信,这为未来轻量级且可自适应的网络设计铺平了道路,使其适用于从紧凑型边缘设备到大规模云端的广泛应用。我们提出的拓扑结构还内置了自上而下的注意力机制,使得处理过程可以直接通过增强或抑制类别特定的高层特征而受到影响,这与人类认知中观察到的选择性注意机制具有相似之处。通过使用有针对性的外部信号,我们在所有测试模型上实验性地提升了预测性能。在动态推理代价方面,我们的方法能够实现最多排除73.48%的参数和减少84.41%的十亿次乘累加(GMAC)运算,与对比基线的分析表明,在我们评估的案例中,参数平均减少40%,GMAC平均减少8%。
英文摘要:
This paper introduces a novel network topology that seamlessly integrates dynamic inference cost with a top-down attention mechanism, addressing two significant gaps in traditional deep learning models. Drawing inspiration from human perception, we combine sequential processing of generic low-level features with parallelism and nesting of high-level features. This design not only reflects a finding from recent neuroscience research regarding - spatially and contextually distinct neural activations - in human cortex, but also introduces a novel "cutout" technique: the ability to selectively activate %segments of the network for task-relevant only network segments of task-relevant categories to optimize inference cost and eliminate the need for re-training. We believe this paves the way for future network designs that are lightweight and adaptable, making them suitable for a wide range of applications, from compact edge devices to large-scale clouds. Our proposed topology also comes with a built-in top-down attention mechanism, which allows processing to be directly influenced by either enhancing or inhibiting category-specific high-level features, drawing parallels to the selective attention mechanism observed in human cognition. Using targeted external signals, we experimentally enhanced predictions across all tested models. In terms of dynamic inference cost our methodology can achieve an exclusion of up to $73.48\,\%$ of parameters and $84.41\,\%$ fewer giga-multiply-accumulate (GMAC) operations, analysis against comparative baselines show an average reduction of $40\,\%$ in parameters and $8\,\%$ in GMACs across the cases we evaluated.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。