Giter Site home page Giter Site logo

core's Introduction

CoRe: Conditional Variance Penalties and Domain Shift Robustness

TensorFlow implementation of 'CoRe' (COnditional Variance REgularization), proposed in "Conditional Variance Penalties and Domain Shift Robustness".

Method

The aim is to build classifiers that are robust against specific interventions. These domain-shift interventions are defined in a causal graph, extending the framework of Gong et al (2016). In contrast to Gong et al. we work on a setting where the domain variable itself is latent but we can observe for some instances a so-called identifier variables that indicates, for example, presence of the same person or object across different images. Penalizing the variance across instances that share the same class label and identifier leads to robustness against strong domain-shift interventions.

Software

Requirements

  • Python 3
  • TensorFlow version >1.4

Reproducing examples

Running the following command reproduces the example 2 from the manuscript:

sh examples/submit-nonlinear-core.sh

The pooled estimator can be run with:

sh examples/submit-nonlinear-baseline.sh

For the rotated MNIST example from section 7.5, the respective files are examples/submit-rotmnist-core.sh and examples/submit-rotmnist-baseline.sh. We will be adding more code to reproduce the other experiments shown in the manuscript.

References

C. Heinze-Deml and N. Meinshausen. "Conditional Variance Penalties and Domain Shift Robustness". arXiv.

M. Gong, K. Zhang, T. Liu, D. Tao, C. Glymour, and B. Schoelkopf. Domain adaptation with conditional transferable components. In International Conference on Machine Learning, 2016.

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.