Git Product home page Git Product logo

disentangling-influence's Introduction

Disentangling Influence

This repository contains the code from our 2019 paper on indirect influence audits. We leverage disentangled representations to capture indirect influence on both individual and aggregate model predictions. Please see our paper for an explanation of our methods.

Above: Direct (left) and indirect (right) influence distributions in a synthetic example where a model learns to predict label x+y given independent features x, y, and c. Unlike direct influence audits, indirect influence captures that features such as 2x and 2y influence the prediction as proxy variables for x and y.

Installation

  • If you don't already have python3, you can install the current version from here.
  • Navigate to the directory where you would like to download the package and run the command:

$ git clone https://github.com/charliemarx/disentangling-influence

  • Navigate to the top directory and run the following commands:
$ python setup.py
$ pip install -r requirements.txt
  • To run experiments with the dSprites dataset you will need to clone the dSprites dataset github repository into DisentanglingInfluence/data/dsprites/dsprites-dataset. You can do this by navigating to DisentanglingInfluence/data/dsprites/ then running the command:

$ git clone https://github.com/deepmind/dsprites-dataset

Usage

Scripts to run our experiments are in the DisentanglingInfluence/scripts directory. Output files are saved to the outputs/<experiment_name>_test directory.

disentangling-influence's People

Contributors

charliemarx avatar

Stargazers

Minal S Patil  avatar Spyros Mouselinos avatar Xinyang Zhang avatar xyz avatar

Watchers

paper2code - bot avatar

Forkers

chengjianhong

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.