Skip to content

Demystifying the Neural Tangent Kernel from a Practical Perspective: Can it be trusted for Neural Architecture Search without training? (CVPR 2022)

License

Notifications You must be signed in to change notification settings

naver-ai/demystifying-ntk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demystifying the Neural Tangent Kernel from a Practical Perspective: Can it be trusted for Neural Architecture Search without training? (CVPR 2022)

Jisoo Mok1*, Byunggook Na1, Ji-Hoon Kim2,3†, Dongyoon Han2†, Sungroh Yoon1
(†corresponding authors, *works done while at NAVER AI Lab)
1Seoul National University, 2NAVER AI Lab, 3NAVER CLOVA

This is the official PyTorch codebase for Demystifying the Neural Tangent Kernel from a Practical Perspective: Can it be trusted for Neural Architecture Search without training.

Prepare Image Datasets

  • Download CIFAR-10 and CIFAR-100 datasets (available from Torchvision) into ./image_data folder
  • Download ImageNet16-120 dataset into ./image_data folder

Prepare NAS Benchmarks

Rank correlation at Initialization:

cd ntk_nas_init && ./ntk_prediction.sh

Rank correlation Post-training:

cd ntk_nas_train && ./ntk_prediction_train.sh

Kernel correlation / Relative Kernel Difference:

cd kernel_track && ./nb201_track_ntk.sh

How to cite

@inproceedings{mok2022demystifying,
  title={Demystifying the neural tangent kernel from a practical perspective: Can it be trusted for neural architecture search without training?},
  author={Mok, Jisoo and Na, Byunggook and Kim, Ji-Hoon and Han, Dongyoon and Yoon, Sungroh},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={11861--11870},
  year={2022}
}

License

demystifying-ntk
Copyright (c) 2024-present NAVER Cloud Corp.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Demystifying the Neural Tangent Kernel from a Practical Perspective: Can it be trusted for Neural Architecture Search without training? (CVPR 2022)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published