arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.04536cs.CVcs.AIcs.LG
收藏

当免训练 NAS 遇上 Vision Transformer:神经正切核视角

When Training-Free NAS Meets Vision Transformer: A Neural Tangent Kernel Perspective

Shanghai University of Electric Power(上海电力大学);College of Mathematics and Physics(数学与物理学院);Midea Group(美的集团)

Qiqi Zhou, Yichen Zhu

AI总结:

针对 NTK 指标在免训练 ViT 架构搜索中失效的问题,提出融合输入 Fourier features 的 ViNTK,以补足高频特征学习评估,并在分类与分割任务中显著降低搜索成本。

摘要:

本文研究利用 Neural Tangent Kernel(NTK,神经正切核)在不训练的情况下搜索 vision transformer。与此前认为基于 NTK 的指标能够在初始化时有效预测 CNN 性能的观察相反,我们通过实验表明,这些指标在 ViT 搜索空间中并不有效。我们假设,ViT 内部基础性的特征学习偏好导致了将 NTK 应用于 ViT 的 NAS 时失效。我们从理论和实验两方面验证,NTK 本质上估计的是神经网络学习低频信号的能力,而完全忽略了高频信号在特征学习中的影响。为解决这一局限,我们提出一种名为 ViNTK 的新方法,通过整合来自输入的 Fourier features,将标准 NTK 推广到高频域。在多个 ViT 搜索空间上针对图像分类和语义分割任务的实验表明,相较于此前最先进的 ViT NAS 方法,我们的方法能够显著加快搜索成本,同时在所搜索到的架构上保持相近性能。

英文摘要:

This paper investigates the Neural Tangent Kernel (NTK) to search vision transformers without training. In contrast with the previous observation that NTK-based metrics can effectively predict CNNs performance at initialization, we empirically show their inefficacy in the ViT search space. We hypothesize that the fundamental feature learning preference within ViT contributes to the ineffectiveness of applying NTK to NAS for ViT. We both theoretically and empirically validate that NTK essentially estimates the ability of neural networks that learn low-frequency signals, completely ignoring the impact of high-frequency signals in feature learning. To address this limitation, we propose a new method called ViNTK that generalizes the standard NTK to the high-frequency domain by integrating the Fourier features from inputs. Experiments with multiple ViT search spaces on image classification and semantic segmentation tasks show that our method can significantly speed up search costs over prior state-of-the-art NAS for ViT while maintaining similar performance on searched architectures.

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

↑