When Training-Free NAS Meets Vision Transformer: A Neural Tangent Kernel Perspective
<|reference_start|>When Training-Free NAS Meets Vision Transformer: A Neural Tangent Kernel Perspective: 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.<|reference_end|>
@article{zhou2024when,
    title={When Training-Free NAS Meets Vision Transformer: A Neural Tangent Kernel
  Perspective},
    author={Qiqi Zhou, Yichen Zhu},
    journal={arXiv preprint arXiv:2405.04536},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.04536},
    primaryClass={cs.CV cs.AI cs.LG}
}