This repo contains the official implementations of Three Mechanisms of Weight Decay Regularization.
- The config file for the experiments are under the directory of
configs/
. - The modified optimization algorithms are in
libs/
.
To cite this work, please use
@inproceedings{
zhang2018three,
title={Three Mechanisms of Weight Decay Regularization},
author={Guodong Zhang and Chaoqi Wang and Bowen Xu and Roger Grosse},
booktitle={International Conference on Learning Representations},
year={2019},
url={https://openreview.net/forum?id=B1lz-3Rct7},
}
This project uses Python 3.5.2. Before running the code, you have to install
# example
$ python main.py --config configs/cifar100/resnet32/kfac/mb128_lr5e2_damp1e3_cov95_bn_aug.json
This repo uses a modified version of Tensorflow K-FAC.
If you have any questions or suggestions about the code or paper, please do not hesitate to contact with Guodong Zhang(gdzhang.cs@gmail.com
or gdzhang@cs.toronto.edu
) and Chaoqi Wang(alecwangcq@gmail.com
or cqwang@cs.toronto.edu
).