scimeatlas

Research map / Large language models / Language, safety and interpretability

Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Models

Tongshuang Wu, Marco Tulio Ribeiro, Jeffrey Heer, Daniel S. Weld

ACL 2021Large language models › Language, safety and interpretabilityapproach: Faithfulness of LLM explanationsopen problems in this approach420 citations (OpenAlex)

University of Washington · Microsoft · Allen Institute for Artificial Intelligence

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
2no clear effect
1hurt
2mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
finetune GPT-2 on paired sentences with control codes (Polyjuice) vs non-finetuned GPT-2counterfactual generator · 300 sentencesLevenshtein / syntactic tree distance: 0.70 -> 0.25 and 6.35 -> 2.13Improved
add control codes to prompts (ablation)Polyjuice finetuning · desired perturbation typessuccess rate: up to +42%Improved
use Polyjuice instead of RoBERTa infillingcounterfactual generator · 300 sentencesSelf-BLEU (lower is more diverse): 0.47 -> 0.34Improved
augment SST-2 training with Polyjuice counterfactuals (vs n+m original examples)roberta-base · Senti140accuracy: 88.9 -> 90.7Improved
augment SST-2 training with Polyjuice counterfactualsroberta-base · SST-2 (in-domain)accuracy: 92.9 -> 92.7No clear effect
augment SNLI training with Polyjuice counterfactualsroberta-base · DNCaccuracy: 54.5 -> 57.7Improved
augment SNLI training with Polyjuice instead of manual counterfactuals (CAD)roberta-base · DNCaccuracy: 55.8 -> 57.7Improved
augment SNLI training with Polyjuice counterfactualsroberta-base · SNLI (in-domain)accuracy: 85.7 -> 85.3No clear effect
augment QQP training with Polyjuice counterfactualsroberta-base · PAWS-QQPaccuracy: 37.0 -> 38.7Improved
augment QQP training with Polyjuice counterfactualsroberta-base · QQP CheckList teststests with lower failure rate: better on 11 of 27 tests, worse on 2Mixed
augment SST-2 training with Polyjuice counterfactualsroberta-base · Sentiment CheckList teststests improved: improves 5 of 15 tests, hurts 1Mixed
use a very high ratio of counterfactuals to original data (m=n) (ablation)roberta-base · augmentation experimentsaccuracyHurt

Later papers that compared with this method

1 later accepted paper reports Polyjuice as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in faithfulness of LLM explanations

Do explanation and dialogue evaluations hold beyond English, one dataset and a few models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy