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

DynaLay:一种用于深度网络动态层选择的反思性方法

DynaLay: An Introspective Approach to Dynamic Layer Selection for Deep Networks

Georgia State University(佐治亚州立大学)

Mrinal Mathur, Sergey Plis

AI总结:

DynaLay通过决策智能体动态选择网络层,对复杂输入投入更多计算,在保持精度的同时显著降低推理成本。

摘要:

深度学习模型已变得日益计算密集,在训练和推理阶段都需要大量的计算资源与时间。导致这一挑战的一个重要因素是,无论每个输入样本的复杂度如何,模型都对其施加统一的计算量。我们提出了一种替代架构DynaLay,该架构引入一个决策智能体,能够自适应地为每个输入选择最合适的层进行处理,从而赋予模型显著的反思能力。DynaLay在推理过程中会重新评估更复杂的输入,调整计算量以同时优化性能与效率。该系统的核心是一个配备固定点迭代(FPI)层的主模型,能够精确逼近复杂函数,并配有一个智能体,该智能体基于对模型内部状态的反思来选择这些层或直接执行动作。模型在处理较难的样本时会投入更多时间,而对较简单的样本仅需极少的计算。这种反思性方法是向开发能够“思考”和“深思”而非“弹道式”直接产生答案的深度学习模型迈出的一步。我们的实验表明,DynaLay在实现与传统深度模型相当的准确率的同时,显著降低了计算需求。

英文摘要:

Deep learning models have become increasingly computationally intensive, requiring extensive computational resources and time for both training and inference. A significant contributing factor to this challenge is the uniform computational effort expended on each input example, regardless of its complexity. We introduce \textbf{DynaLay}, an alternative architecture that features a decision-making agent to adaptively select the most suitable layers for processing each input, thereby endowing the model with a remarkable level of introspection. DynaLay reevaluates more complex inputs during inference, adjusting the computational effort to optimize both performance and efficiency. The core of the system is a main model equipped with Fixed-Point Iterative (FPI) layers, capable of accurately approximating complex functions, paired with an agent that chooses these layers or a direct action based on the introspection of the models inner state. The model invests more time in processing harder examples, while minimal computation is required for easier ones. This introspective approach is a step toward developing deep learning models that "think" and "ponder", rather than "ballistically'' produce answers. Our experiments demonstrate that DynaLay achieves accuracy comparable to conventional deep models while significantly reducing computational demands.

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

↑