Giter Club home page Giter Club logo

frequency_sensitivity's Introduction

frequency_sensitivity

Code for the experiments in Regularized linear convolutional networks inherit frequency sensitivity from image statistics.

Overview

Core functionality computing model gradients with respect to the Fourier basis as well as various statistics thereof is in freq_sens.py. Code for training the models used in our experiments is in zoo.py and its imports. The remaining scripts are either dependencies of the previous two or used for analysis (e.g. the aptly named generate_all_plots.py).

We gratefully acknowledge dependence on two submodules, namely learning_with_noise and pytorch-vgg-cifar10.

A conda environment is specified in freq_sens.yaml. In theory it can be created using the following command.

conda env create --file=freq_sens.yaml 

Hyperparameters and model accuracies

Tables of training hyperparameters and model accuracies can be found in ./model_details.

Contribution statement

This repository was extracted from a larger research codebase to which Eleanor Byler and Elise Bishoff made many contributions. In particular, Eleanor Byler wrote the first version of training.py and both Charles Godfrey and Elise Bishoff made further modifications, and datasets.py was a collaborative effort of Charles Godfrey and Eleanor Byler. The procedural generation (using the wavelet marginal model) and unsupervised training of AlexNets using learning_with_noise was implemented by Davis Brown. The remainder of the code was written by Charles Godfrey, although it should be noted that all authors listed in the citation below contributed substantially in the form of experiment ideas, feedback, suggestions and debugging advice.

Citation

If you find this repository useful, please cite:

@article{frequency_sensitivity,
  doi = {10.48550/ARXIV.2210.01257},
  url = {https://arxiv.org/abs/2210.01257},
  author = {Godfrey, Charles and Bishoff, Elise and Mckay, Myles and Brown, Davis and Jorgenson, Grayson and Kvinge, Henry and Byler, Eleanor},
  keywords = {Machine Learning (cs.LG), Machine Learning (stat.ML), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {Regularized linear convolutional networks inherit frequency sensitivity from image statistics},
  publisher = {arXiv},
  year = {2022},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

frequency_sensitivity's People

Contributors

devcentral-pnnl avatar godfrey-cw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.