arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.06885cs.LGcs.AI
收藏

深度神经网络架构适应的拓扑导数方法

Topological derivative approach for deep neural network architecture adaptation

C G Krishnanunni, Tan Bui-Thanh, Clint Dawson

AI总结:

本文提出基于拓扑导数的深度神经网络架构适应方法,通过拓扑导数确定最优层插入位置及参数初始化,提升模型性能。

摘要:

本文提出了一种新颖的算法,用于逐步适应神经网络架构的深度。特别地,我们试图以数学上严谨的方式解决以下问题:i) 在训练过程中在哪里添加新的能力(层)?ii) 如何初始化新的能力?我们的方法的核心是两个关键要素:i) 引入一个需要最小化的“形状函数”,该函数依赖于神经网络拓扑,ii) 引入关于神经网络拓扑的形状函数的拓扑导数。从最优控制的角度出发,我们展示了在某些条件下网络拓扑导数存在,并推导了其闭式表达式。特别地,我们首次探索了拓扑优化框架中的拓扑导数与最优控制理论中的哈密顿量之间的联系。此外,我们展示了形状函数的最优性条件导致了深度神经架构适应的特征值问题。因此,我们的方法确定了训练阶段需要插入新层的最敏感位置以及新添加层的参数初始化。我们还证明,我们的层插入策略可以由最优传输的观点得出,作为在$p$-Wasserstein空间中最大化拓扑导数的解,其中$p≥1$。在全连接网络、卷积神经网络和视觉变换器上对各种回归和分类问题进行的数值研究表明,我们的方法可以优于随机基线网络和其他架构适应策略。此外,我们还展示了拓扑导数在迁移学习等领域的其他应用。

英文摘要:

This work presents a novel algorithm for progressively adapting neural network architecture along the depth. In particular, we attempt to address the following questions in a mathematically principled way: i) Where to add a new capacity (layer) during the training process? ii) How to initialize the new capacity? At the heart of our approach are two key ingredients: i) the introduction of a ``shape functional" to be minimized, which depends on neural network topology, and ii) the introduction of a topological derivative of the shape functional with respect to the neural network topology. Using an optimal control viewpoint, we show that the network topological derivative exists under certain conditions, and its closed-form expression is derived. In particular, we explore, for the first time, the connection between the topological derivative from a topology optimization framework with the Hamiltonian from optimal control theory. Further, we show that the optimality condition for the shape functional leads to an eigenvalue problem for deep neural architecture adaptation. Our approach thus determines the most sensitive location along the depth where a new layer needs to be inserted during the training phase and the associated parametric initialization for the newly added layer. We also demonstrate that our layer insertion strategy can be derived from an optimal transport viewpoint as a solution to maximizing a topological derivative in $p$-Wasserstein space, where $p>= 1$. Numerical investigations with fully connected network, convolutional neural network, and vision transformer on various regression and classification problems demonstrate that our proposed approach can outperform an ad-hoc baseline network and other architecture adaptation strategies. Further, we also demonstrate other applications of topological derivative in fields such as transfer learning.

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

↑