atlas

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

Unmasking and Improving Data Credibility: A Study with Datasets for Training Harmless Language Models

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Safety alignment after fine-tuning · 2 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 Docta, a training-free framework that estimates label-noise transition matrices and data credibility from k-NN label consensus, then uses it to detect and fix label errors in 11 harmlessness/toxicity datasets.

Problem

Annotation errors and biases in safety-alignment datasets (toxicity and harmlessness classification) can cause harmful fine-tuned models, but manually re-annotating large datasets is prohibitively expensive.

Approach

Estimate the noise transition matrix without true labels using k-NN label clusterability and consensus statistics over neighboring examples, define a scalar data credibility from the transition matrix's distance to identity, and flag low-agreement instances via cosine-similarity scores with a Bayes-derived per-class threshold.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Clean training labels with DoctaBERT · BeaverTails (i.i.d. test)accuracy: 88.44 -> 92.14Helped
Clean training labels with DoctaBERT · SafeRLHF (i.i.d. test)accuracy: 86.04 -> 91.38Helped
Clean training labels with DoctaBERT · Anthropic Harmless (i.i.d. test)accuracy: 49.72 -> 68.81Helped
Clean training labels with DoctaBERT · Anthropic Red-Team (i.i.d. test)accuracy: 79.26 -> 82.13Helped
Clean training labels with DoctaBERT · BeaverTails (consensus test)accuracy: 91.64 -> 92.05Helped
Clean training labels with DoctaBERT · SafeRLHF (consensus test)accuracy: 90.22 -> 91.28Helped
Clean training labels with DoctaBERT · Anthropic Harmless (consensus test)accuracy: 48.01 -> 63.16Helped
Clean training labels with DoctaBERT · Anthropic Red-Team (consensus test)accuracy: 82.12 -> 82.88Helped
Clean training labels with DoctaLlama2 · Anthropic Harmless pairwise (i.i.d. test)accuracy: 63.74 -> 70.32Helped
Clean training labels with DoctaLlama2 · Anthropic Harmless pairwise (consensus test)accuracy: 70.16 -> 72.21Helped
Clean training labels with DoctaBERT and GPT2 · Civil Comments ToxicityF1: 69.83 -> 73.49; 66.02 -> 71.83Mixed
Clean training labels with DoctaGPT2 · Civil Comments Toxicity (Human Sampled test)F1: 41.27 -> 55.16Helped

Surprising findings

Limitations

Experimental setup

Datasets: Jigsaw Civil Comments PKU BeaverTails PKU SafeRLHF Anthropic Harmless Anthropic Red-Team

Benchmarks: Jigsaw Civil Comments PKU BeaverTails PKU SafeRLHF Anthropic Harmless Anthropic Red-Team

Metrics: data credibility estimated transition matrix F1-score test accuracy labeling accuracy hit rate cost reduction

Baselines: Raw training labels

Builds on: k-NN label clusterability transition matrix estimation for noisy labels co-teaching

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