Giter VIP home page Giter VIP logo

wwnet's Introduction

WWNet

Wiggling Weights to Improve the Robustness of Classifiers

This is the official implementation of our work Wiggling Weights to Improve the Robustness of Classifiers in Pytorch.

Abstract: Robustness against unwanted perturbations is an important aspect of deploying neural network classifiers in the real world. Common natural perturbations include noise, saturation, occlusion, viewpoint changes, and blur deformations. All of them can be modelled by the newly proposed transform-augmented convolutional networks. While many approaches for robustness train the network by providing augmented data to the network, we aim to integrate perturbations in the network architecture to achieve improved and more general robustness. To demonstrate that wiggling the weights consistently improves classification, we choose a standard network and modify it to a transform-augmented network. On perturbed CIFAR-10 images, the modified network delivers a better performance than the original network. For the much smaller STL-10 dataset, in addition to delivering better general robustness, wiggling even improves the classification of unperturbed, clean images substantially. We conclude that wiggled transform-augmented networks acquire good robustness even for perturbations not seen during training.

Rotation scaling transform and local elastic transform:

Experiments

To reproduce the experiments on STL10 follow the instructions below

For training in the scripts folder run

bash train.sh

For testing in the scripts folder run

bash test.sh

Acknowledgements

The Robert Bosch GmbH is acknowledged for financial support.

BibTeX

If you found this work useful in your research, please consider citing

@article{gulshad2021wiggling,
  title={Wiggling Weights to Improve the Robustness of Classifiers},
  author={Gulshad, Sadaf and Sosnovik, Ivan and Smeulders, Arnold},
  journal={arXiv e-prints},
  pages={arXiv--2111},
  year={2021}
}

or

@article{gulshad2021built,
  title={Built-in Elastic Transformations for Improved Robustness},
  author={Gulshad, Sadaf and Sosnovik, Ivan and Smeulders, Arnold},
  journal={arXiv e-prints},
  pages={arXiv--2107},
  year={2021}
}

wwnet's People

Contributors

sadafgulshad1 avatar

Stargazers

Ivan Sosnovik avatar

Watchers

James Cloos avatar Ivan Sosnovik 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.