atlas

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

Task Contamination: Language Models May Not Be Few-Shot Anymore

AAAI 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 36 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.

Shows that LLMs (GPT-3 series and open models) beat majority baselines more often on datasets released before their training data collection, and extracts task examples and membership-inference evidence suggesting task contamination in zero/few-shot evaluation.

Problem

Zero-shot and few-shot evaluations of LLMs may be inflated by task contamination, where task training examples appear in pre-training data, but this has not been systematically examined.

Approach

Uses chronology: compare LLM performance on datasets released before versus after each LLM's training-data collection date, controlling for difficulty, and complements this with training data inspection, task example extraction by prompting, and an exact-match membership inference check on Spider.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Evaluate on datasets released before rather than after the model's training-data collection dateLLMs across 16 classification datasets · Pre-collection vs post-collection datasetspercentage of model/dataset combinations above majority baselineHelped
Evaluate on pre-collection rather than post-collection datasetsIndividual LLMs · Pre-collection vs post-collection datasetsperformance relative to majority baselineHelped
Add task examples to instruction-tuning dataAlpaca and Vicuna relative to LLaMA · Tasks with more than one task exampleaccuracyHelped
Use GPT-3.5-T rather than davinci on SpiderGPT-3 series · Spiderexecution accuracy: R = 0.88Mixed
Evaluate classification tasks with no demonstrated possibility of task contaminationLLMs in zero- and few-shot settings · Post-collection datasets with no extracted task examplesstatistically significant improvements over majority baseline: 1 out of 51, or $2\%$No clear effect
Advance from davinci-001 to davinci-002GPT-3 series · Pre-2021 datasets, zero-shotperformanceHelped
Advance from davinci-001 to davinci-002GPT-3 series · Post-2021 datasets, zero-shotperformanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: RTE WNLI COPA SST-2 MRPC QNLI CB WiC BoolQ StrategyQA NewsMTSC-MT NewsMTSC-RW

Benchmarks: RTE WNLI COPA SST-2 MRPC QNLI CB WiC BoolQ StrategyQA NewsMTSC-MT NewsMTSC-RW

Metrics: accuracy majority-baseline comparison statistical significance (t-test, Mann-Whitney U, sign test) execution accuracy exact-match count

Baselines: majority baseline LLaMA

Builds on: GLUE SuperGLUE in-context learning

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