atlas

Research map / Large language models / Instruction and fine-tuning

Faithfulness Measurable Masked Language Models

ICML 2024 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 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.

Proposes masked fine-tuning of RoBERTa so that token masking is in-distribution, making a model "inherently faithfulness measurable" and enabling cheap erasure-based faithfulness evaluation of importance measures validated with MaSF OOD tests.

Problem

Measuring faithfulness of token importance measures via the erasure (masking) metric is confounded by out-of-distribution inputs created by masking, and existing fixes require expensive retraining or proxy models.

Approach

Fine-tune a masked language model with masked fine-tuning (half of each mini-batch uniformly masked at 0-100% ratio, half unmasked) so that arbitrary masking is in-distribution by design; validate with MaSF non-parametric OOD p-values and measure faithfulness with a Recursive-ROAR-style erasure metric without retraining. Also introduces signed variants of importance measures.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add masked fine-tuning to support variable-rate masking (ablation)RoBERTa fine-tuning · 16 classification datasetsunmasked benchmark performanceNo clear effect
Use only uniformly masked training data, without an unmasked half (ablation)RoBERTa fine-tuning · classification benchmarksunmasked benchmark performanceHurt
Add masked training examples (ablation)Plain-fine-tuned RoBERTa · 100% masked inputsperformance relative to class-majority baselineHelped
Add masked fine-tuning while retaining an unmasked half of the mini-batch (ablation)RoBERTa · unmasked and 100% masked inputsjoint unmasked performance and masking supportHelped
Use occlusion-based explanations (LOO or Beam) rather than gradient-based explanationsRoBERTa-base with masked fine-tuning · SST2 and bAbI-2RACU faithfulness: SST2: Grad (L2) 40.4 vs LOO (abs) 54.9 and Beam 187.3; bAbI-2: Grad (L2) 96.3 vs LOO (abs) 96.3 and Beam 139.2Helped
Use x ⊙ grad (sign) instead of x ⊙ grad (abs)RoBERTa-base with masked fine-tuning · SST2RACU faithfulness: 23.5 -> -12.2Hurt
Use signed rather than absolute x ⊙ gradRoBERTa-base with masked fine-tuning · bAbI-2RACU faithfulness: 92.0 -> 65.7Hurt
Use masked fine-tuning rather than Recursive-ROAR for Grad (L2) explanationsRoBERTa-base · SST2RACU faithfulness: 26.1 -> 40.4Helped
Use masked fine-tuning rather than Recursive-ROAR for Grad (L2) explanationsRoBERTa-base · bAbI-2RACU faithfulness: 57.8 -> 96.3Helped
Apply masking-based faithfulness evaluation without masked fine-tuning (ablation)RoBERTa with plain fine-tuning · importance-measure faithfulnessfaithfulness validityHurt

Surprising findings

Limitations

Experimental setup

Datasets: RTE SNLI MNLI QNLI CB MRPC QQP SST2 IMDB Anemia Diabetes CoLA

Benchmarks: BoolQ MRPC SST2 bAbI-2 RTE SNLI MNLI QNLI CB QQP IMDB Anemia

Metrics: accuracy macro F1 micro F1 Matthews correlation ACU RACU MaSF in-distribution p-values

Baselines: Recursive ROAR plain fine-tuning only masking

Builds on: ROAR Recursive ROAR MaSF RoBERTa integrated gradients

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