princeton-vl / DecorrelatedBN

Code for Decorrelated Batch Normalization
BSD 2-Clause "Simplified" License
82 stars 9 forks source link

Decorrelated Batch Normalization

Code for reproducing the results in the following paper:

Decorrelated Batch Normalization
Lei Huang, Dawei Yang, Bo Lang, Jia Deng
IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. arXiv:1804.08450

Requirements and Dependency

Experiments

1. Reproduce the results for PCA whitening:

2. Reproduce the results for MLP architecture:

(1) FIM experiments on YaleB dataset

You can experiment with different hyperparameters by running these scripts -- execute_MLP_1FIM_YaleB_HyperP.sh and execute_MLP_1FIM_YaleB_HyperP_nnn.sh.

(2) Experiments on PIE dataset
 bash execute_MLP_2PIE.sh
 bash execute_MLP_2PIE_nnn.sh

Note that the experiments until this point can be run on CPU, so MAGMA is not needed in above experiments.


3. Reproduce the results for VGG-A architecture on CIFAR-10:

4. Analyze the properties of DBN on CIFAR-10 datset:

5. Reproduce the ResNet experiments on CIFAR-10 datset:

6. Reproduce the ImageNet experiments.

Contact

Email: huanglei@nlsde.buaa.edu.cn. Any discussions and suggestions are welcome!