Giter Site home page Giter Site logo

gonlairo / ssl_identifiability Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ysharma1126/ssl_identifiability

0.0 1.0 0.0 854 KB

Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style

License: MIT License

Python 92.03% Dockerfile 4.80% Shell 3.17%

ssl_identifiability's Introduction

Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style [NeurIPS 2021]

Official code to reproduce the results and data presented in the paper Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style.

Problem Formulation

Numerical data

To train:

> python main_mlp.py --style-change-prob 0.75 --statistical-dependence --content-dependent-style

To evaluate:

> python main_mlp.py --style-change-prob 0.75 --statistical-dependence --content-dependent-style --evaluate

Causal3DIdent Dataset

Causal3DIdent dataset example images

You can access the dataset here. The training and test datasets consists of 250000 and 25000 samples, respectively.

High-dimensional images: Causal3DIdent

To train:

> python main_3dident.py --offline-dataset OFFLINE_DATASET --apply-random-crop --apply-color-distortion

To evaluate:

> python main_3dident.py --offline-dataset OFFLINE_DATASET --apply-random-crop --apply-color-distortion --evaluate

BibTeX

@inproceedings{vonkugelgen2021self,
  title={Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style},
  author={von Kügelgen, Julius and Sharma, Yash and Gresele, Luigi and Brendel, Wieland and Schölkopf, Bernhard and Besserve, Michel and Locatello, Francesco},
  booktitle={Advances in Neural Information Processing Systems},
  year={2021}
}

Acknowledgements

This repository builds on the following codebase. If you find the dataset/code provided here to be useful, I would recommend you to also cite the following,

@article{zimmermann2021cl,
  author = {
    Zimmermann, Roland S. and
    Sharma, Yash and
    Schneider, Steffen and
    Bethge, Matthias and
    Brendel, Wieland
  },
  title = {
    Contrastive Learning Inverts
    the Data Generating Process
  },
  booktitle = {Proceedings of the 38th International Conference on Machine Learning,
    {ICML} 2021, 18-24 July 2021, Virtual Event},
  series = {Proceedings of Machine Learning Research},
  volume = {139},
  pages = {12979--12990},
  publisher = {{PMLR}},
  year = {2021},
  url = {http://proceedings.mlr.press/v139/zimmermann21a.html},
}

ssl_identifiability's People

Contributors

ysharma1126 avatar

Watchers

James Cloos 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.