Coder Social home page Coder Social logo

causal-relations-between-representations's Introduction

causal-relations-between-representations

@inproceedings{
  wang2022ncinet,
  title={Do learned representations respect causal relationships?},
  author={Lan Wang and Vishnu Naresh Boddeti},
  booktitle={Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2022}
}

Overview

image

NCINet is an approach for observational causal discovery from high-dimensional data. It is trained purely on synthetically generated representations and can be applied to real representations. It's also be applied to analyze the effect on the underlying causal relation between learned representations induced by various design choices in representation learning.

Dataset

image

We annotate each face image in CASIA-Webface with eight multi-label attributes: color of hair, visibility of eyes, type of eyewear, facial hair, whether the mouth is open, smiling or not, wearing a hat, visibility of forehead, and gender.

How to evalute NCInet (3Dshape)

Causal consistency on 6 causal pair graphs.

image

How to evalute NCInet (CASIA-Webface)

Causal consistency on 6 causal pair graphs.

image

Neural Causal Inference Net (Generalization Experiment on Synthetic Dataset)

Training and testing the Model

  1. cd ./NCINet, set the causal function idx and adversarial as Example in run.sh:

     python main.py --args args/NN.txt --idx=0 --w=1
    
  2. Run run.sh

  3. For other parameters and settings, check args/NN.txt and config.py.

  4. For visualization, run:

     tensorboard --logdir=runs
    

causal-relations-between-representations's People

Contributors

lan-lw avatar vboddeti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

causal-relations-between-representations's Issues

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.