Learning to Scaffold: Optimizing Model Explanations for Teaching

Patrick Fernandes, Marcos Treviso, Danish Pruthi, André F. T. Martins, Graham Neubig
4/22/2022
cs.LGcs.CLcs.CV

Official code: CoderPat/learning-scaffold (20 stars, Jupyter Notebook, last commit 2022-05-19).

Abstract

Modern machine learning models are opaque, and as a result there is a burgeoning academic subfield on methods that explain these models' behavior. However, what is the precise goal of providing such explanations, and how can we demonstrate that explanations achieve this goal?

Show full abstract

Some research argues that explanations should help teach a student (either human or machine) to simulate the model being explained, and that the quality of explanations can be measured by the simulation accuracy of students on unexplained examples. In this work, leveraging meta-learning techniques, we extend this idea to improve the quality of the explanations themselves, specifically by optimizing explanations such that student models more effectively learn to simulate the original model. We train models on three natural language processing and computer vision tasks, and find that students trained with explanations extracted with our framework are able to simulate the teacher significantly more effectively than ones produced with previous methods. Through human annotations and a user study, we further find that these learned explanations more closely align with how humans would explain the required decisions in these tasks. Our code is available at https://github.com/coderpat/learning-scaffold

View on arXivView PDF

Code Implementations(1)

This is the official implementation for the paper "Learning to Scaffold: Optimizing Model Explanations for Teaching"

205Jupyter Notebook, PythonFeb 15, 20214 years ago
explainable-mlinterpretable-machine-learningmeta-learning

Similar Papers

Cite this paper

@article{fernandes2022learning,
  title  = {Learning to Scaffold: Optimizing Model Explanations for Teaching},
  author = {Patrick Fernandes and Marcos Treviso and Danish Pruthi and André F. T. Martins and Graham Neubig},
  year   = {2022},
  eprint = {2204.10810},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10810}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.10810.svg)](https://codeofpaper.com/paper/2204.10810)

Discussion