CausaLM: Causal Model Explanation Through Counterfactual Language Models

By Amir Feder, Nadav Oved, Uri Shalit, Roi Reichart. 2020

193 citations recorded by the source corpus.

Abstract Understanding predictions made by deep neural networks is notoriously difficult, but also crucial to their dissemination. As all machine learning–based methods, they are as good as their training data, and can also capture unwanted biases. While there are tools that can help understand whether such biases exist, they do not distinguish between correlation and causation, and might be ill-suited for text-based models and for reasoning about high-level language concepts. A key problem of estimating the causal effect of a concept of interest on a given model is that this estimation requires the generation of counterfactual examples, which is challenging with existing generation technology. To bridge that gap, we propose CausaLM, a framework for producing causal model explanations using counterfactual language representation models. Our approach is based on fine-tuning of deep contextualized embedding models with auxiliary adversarial tasks derived from the causal graph of the problem. Concretely, we show that by carefully choosing auxiliary adversarial pre-training tasks, language representation models such as BERT can effectively learn a counterfactual representation for a given concept of interest, and be used to estimate its true causal effect on model performance. A byproduct of our method is a language representation model that is unaffected by the tested concept, which can be useful in mitigating unwanted bias ingrained in the data.1

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Safety, Robustness & Interpretability, Causal Inference & Discovery

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yonatan Belinkov
  2. Hinrich Schütze
  3. Yoav Goldberg
  4. Mohit Bansal
  5. Noah A. Smith
  6. Ana Marasovic
  7. Yejin Choi
  8. Percy Liang

In Computer Vision and Pattern Recognition

  1. Yonatan Belinkov
  2. Hinrich Schütze
  3. Yoav Goldberg
  4. Efstratios Gavves
  5. Abhilasha Ravichander
  6. Leonard Bereska
  7. Ana Marasovic
  8. Marta Ruiz Costa-jussà

In Natural Language Processing

  1. Yonatan Belinkov
  2. Hinrich Schütze
  3. Yoav Goldberg
  4. Mohit Bansal
  5. Noah A. Smith
  6. Ana Marasovic
  7. Yejin Choi
  8. Yanai Elazar

In Safety, Robustness & Interpretability

  1. Yonatan Belinkov
  2. Ana Marasovic
  3. Efstratios Gavves
  4. Leonard Bereska
  5. Yoav Goldberg
  6. Marta Ruiz Costa-jussà
  7. Hinrich Schütze
  8. Roi Reichart

In Causal Inference & Discovery

  1. Yonatan Belinkov
  2. Katherine A. Keith
  3. Efstratios Gavves
  4. Leonard Bereska
  5. Zach Wood-Doughty
  6. Jacob Eisenstein
  7. Hinrich Schütze
  8. Roi Reichart

Citations in the corpus