atlas

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

What's In My Big Data?

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 3 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 WIMBD, a search-and-count platform (Elasticsearch plus map-reduce counting) and sixteen analyses that reveal the contents, quality, PII, toxicity and benchmark contamination of ten large English text corpora used to train LMs.

Problem

Large pretraining text corpora are released with little documentation of their contents, and there is no practical tool to inspect and compare them at terabyte scale across quality, social, and contamination dimensions.

Approach

Provides two scalable primitives, approximate counting via map-reduce with hashing and exact search via an Elasticsearch inverted index, and uses them to run a standardized set of analyses across multiple web-scale corpora so they can be directly compared.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Intentionally oversample some data sourcesThe Pile · The Pileduplicate documents: more than 60%Hurt
Include unscreened web and caption contentRedPajama and LAION-2B-en · RedPajama and LAION-2B-enduplicate documents: about 50%Hurt
Deduplicate documents during corpus constructionC4 · C4exact duplicate documentsHelped
Use stricter English-language filtering (confidence 0.7 to 0.96)mC4-en compared with C4 · mC4-enEnglish-language documents: 99.67 -> 99.56Helped
Analyze corpora using WIMBD PII detectionmC4-en · mC4-enemail addresses detected: 201M; precision 92Mixed
Analyze corpora using WIMBD PII detectionmC4-en · mC4-enphone numbers detected: 4B; precision 66Mixed
Analyze corpora using WIMBD PII detectionmC4-en · mC4-enIP addresses detected: 97.8M; precision 44Mixed
Use URL metadata to compare HTTPS prevalenceOSCAR versus C4 · OSCAR and C4HTTPS URLs: 62.5% -> 87.6%Mixed

Surprising findings

Limitations

Experimental setup

Datasets: C4 The Pile RedPajama OpenWebText mC4-en OSCAR S2ORC peS2o LAION-2B-en The Stack PromptSource datasets

Benchmarks: GLUE SuperGLUE Winograd Schema Challenge PromptSource datasets

Metrics: document duplicate rate contamination rate PII count and precision n-gram counts toxicity rate

Builds on: Elasticsearch map-reduce PromptSource Hugging Face datasets

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