atlas

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

Explanations that reveal all through the definition of encoding

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Data and evaluation methodology · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Defines encoding in feature-attribution explanations as conditional dependence between the selection indicator and the label given explanation values, shows ROAR and FRESH fail to weakly detect it and EVAL-X is only weak, and proposes STRIPE-X, a strong detector that is shown to flag encoding in LLM-generated sentiment explanations.

Problem

Evaluations of feature attributions score explanations by how well the explanation predicts the label, but explanations can encode label information in their selection pattern, so such evaluations can reward explanations whose selected values are not actually predictive; no general characterization

Approach

Define encoding as a conditional dependence between the label and the explanation-selection indicator given the selected values; show non-encoding explanations are "what you see is what you get", then combine EVAL-X with a conditional mutual information penalty (STRIPE-X) so that encoding explanations are pushed below all non-encoding ones.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use STRIPE-X instead of EVAL-X to score explanationsExplanation evaluation on cats_vs_dogs · cats_vs_dogsencoding discrimination (STRIPE-X score): -0.64 (fixed) vs -5.98 (posenc), -1.40 (predenc), -1.02 (margenc)Helped
Score encoding explanations with ROAR rather than a detector of encodingExplanation evaluation on cats_vs_dogs · cats_vs_dogsROAR: 0.69 (opt), 0.69 (predenc), 0.69 (margenc)No clear effect
Score encoding explanations with FRESH rather than a detector of encodingExplanation evaluation on cats_vs_dogs · cats_vs_dogsFRESH: -0.23 (opt), -0.23 (predenc), -0.23 (margenc)No clear effect
Use EVAL-X instead of STRIPE-X to compare encoding and non-encoding explanationsExplanation evaluation on cats_vs_dogs · cats_vs_dogsencoding discrimination (EVAL-X score): -0.64 (fixed) vs -0.51 (predenc), -0.53 (margenc)Hurt
Prompt Llama 3 to include all words used to produce its explanationLlama 3-generated sentiment explanations · sentiment analysis (movie reviews)STRIPE-X: -2.78Hurt

Surprising findings

Limitations

Experimental setup

Datasets: cats_vs_dogs (TensorFlow) simulated discrete and hybrid DGPs sentiment movie review templates

Benchmarks: simulated DGPs cats_vs_dogs image construction LLM sentiment explanations

Metrics: ROAR log-likelihood FRESH log-likelihood EVAL-X log-likelihood STRIPE-X score encode-meter

Baselines: ROAR FRESH EVAL-X REAL-X

Builds on: ROAR FRESH EVAL-X REAL-X conditional independence testing

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