Skip to content

Official Pytorch implementation of "What does automatic differentiation compute for neural networks?" (ICLR 2024 spotlight)

License

Notifications You must be signed in to change notification settings

SanghyukChun/ad_correctness

Repository files navigation

What does automatic differentiation compute for neural networks? (ICLR 2024 spotlight)

openreview

Sejun Park*, Sanghyuk Chun*, Wonyeol Lee

How to run?

$ python main.py --model vgg11 --log_dir logs/cnns/vgg11

You can check if your training code passed the correctness test or not by:

$ grep False ./logs/cnns/vgg11/ad_log.txt

The full scripts for each network can be found in scripts/

If you have any False in ad_log.txt, it means that the AD checker has been failed.

Reference codes

How to cite?

@inproceedings{park2024autodiff_correctness,
    title={What does automatic differentiation compute for neural networks?},
    author={Sejun Park and Sanghyuk Chun and Wonyeol Lee},
    booktitle={The Twelfth International Conference on Learning Representations},
    year={2024},
    url={https://openreview.net/forum?id=8vKknbgXxf}
}

About

Official Pytorch implementation of "What does automatic differentiation compute for neural networks?" (ICLR 2024 spotlight)

Topics

Resources

License

Stars

Watchers

Forks