Skip to content

Unofficial implementation of the paper - "Do CNNs Encode Augmentations?"

License

Notifications You must be signed in to change notification settings

rohanbanerjee/DCEA_implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

By Dr. Eddie Yan and Dr. Yanping Huang

This is an unofficial tensorflow implementation of the above paper by Sourav Sharan and me.

The code implementation can found in the form of a jupyter notebook.

Absract

Data augmentations are important ingredients in the recipe for training robust neural networks, especially in computer vision. A fundamental question is whether neural network features encode data augmentation transformations. To answer this question, we introduce a systematic approach to investigate which layers of neural networks are the most predictive of augmentation transformations. Our approach uses features in pre-trained vision models with minimal additional processing to predict common properties transformed by augmentation (scale, aspect ratio, hue, saturation, contrast, and brightness). Surprisingly, neural network features not only predict data augmentation trans- formations, but they predict many transformations with high accuracy. After validating that neural networks encode features corresponding to augmentation transformations, we show that these features are encoded in the early layers of modern CNNs, though the augmentation signal fades in deeper layers.

In case of any required changes, feel free to open a pull request or contact us over mail at: banerjee.rohan98@gmail.com or souravthesharan@gmail.com.

About

Unofficial implementation of the paper - "Do CNNs Encode Augmentations?"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published