CausaLM: Causal Model Explanation Through Counterfactual Language Models

May 27, 2020 ยท Entered Twilight ยท ๐Ÿ› International Conference on Computational Logic

๐ŸŒ… TWILIGHT: Old Age
Predates the code-sharing era โ€” a pioneer of its time

"No code URL or promise found in abstract"
"Derived repo from GitHub Pages (backfill)"

Evidence collected by the PWNC Scanner

Repo contents: .gitignore, BERT, CODEOWNERS, LICENSE, POMS_GendeRace, README.md, Sentiment_Adjectives, Sentiment_Topics, _config.yml, _layouts, causalm_gpu_env.yml, constants.py, datasets, utils.py

Authors Amir Feder, Nadav Oved, Uri Shalit, Roi Reichart arXiv ID 2005.13407 Category cs.CL: Computation & Language Cross-listed cs.AI, cs.LG Citations 183 Venue International Conference on Computational Logic Repository https://github.com/amirfeder/CausaLM โญ 55 Last Checked 8 days ago
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.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Computation & Language

๐ŸŒ… ๐ŸŒ… Old Age

Attention Is All You Need

Ashish Vaswani, Noam Shazeer, ... (+6 more)

cs.CL ๐Ÿ› NeurIPS ๐Ÿ“š 166.0K cites 8 years ago