Abstract
We release a corpus of 43 million atomic edits across 8 languages. These edits are mined from Wikipedia edit history and consist of instances in which a human editor has inserted a single contiguous phrase into, or deleted a single contiguous phrase from, an existing sentence. We use the collected data to show that the language generated during editing differs from the language that we observe in standard corpora, and that models trained on edits encode different aspects of semantics and discourse than models trained on raw, unstructured text. We release the full corpus as a resource to aid ongoing research in semantics, discourse, and representation learning.
Introduction
Most Natural Language Processing (NLP) models are trained on "raw" text—the final, static version of a document. However, raw text represents the end result of human thought, omitting the iterative process of refinement. When an editor revises a sentence, they explicitly address deficiencies such as ambiguity, lack of detail, or poor flow.
This research introduces "atomic edits"—simple insertions or deletions of contiguous phrases—as a high-quality supervision signal. An insertion implies that specific information was missing, deemed necessary by a human editor, and successfully communicated by the added phrase. Standard models often struggle with these nuances of discourse because they lack exposure to the "before" and "after" snapshots that define these relationships.
Methodology
The primary technical challenge involves mining millions of edits from Wikipedia’s extensive version history. The authors implemented an Atomic Constraint, focusing on changes where a sentence is modified by exactly one contiguous span of text. This avoids the complexity of multi-part rewrites. To handle the scale, they utilized an Efficient Alignment strategy, employing a precision-oriented approximation with BLEU scores to match sentences within fixed-size windows across page versions.
To evaluate the utility of this data, two model types were developed:
- Discriminative: A biLSTM encoder predicting the insertion index for a phrase.
- Generative: A sequence-to-sequence model with attention (using FastText embeddings) to generate the missing phrase given a sentence and insertion point.
The WikiAtomicEdits Corpus
The resulting WikiAtomicEdits corpus contains 43 million total edits, comprising 26 million insertions and 17 million deletions across eight languages.
To ensure data quality, the researchers collected 7,000 human annotations for English, Spanish, and German, establishing a gold standard for insertion locations and verifying the validity of the mined edits.
Analysis and Key Insights
A core finding is the "Refinement Signal": inserted language is qualitatively different from general text. Insertions are nearly 3.5 times more likely to contain adjectives (JJ) and adverbs (RB) than general Wikipedia text, serving as hedges, clarifications, or scoping-down of claims.
Words like "famous," "current," or "former" appear at significantly higher rates in insertions than in general text. This suggests that while original authors often leave such details implicit, editors feel the need to make them explicit for clarity.
Performance Results
- Location Prediction: The discriminative model trained on edits achieved 71.8% average accuracy in predicting insertion points, outperforming a state-of-the-art general Language Model (68.0%).
- Generative Quality: The edit-trained model achieved an Exact Match score of 13.1% for phrase generation, compared to 8.0% for a model trained on general text.
- Discourse Modeling: Qualitative analysis indicated that the "Edits" model better captured discourse functions, such as elaborating on previously stated facts, whereas general models produced syntactically correct but generic insertions.
Conclusion
While the current analysis focuses on insertions, the corpus includes 17 million deletions which present a noisier but potentially valuable signal for future research. The WikiAtomicEdits dataset provides a unique resource for representation learning, suggesting that training models to predict human edits can lead to a deeper understanding of the "missing pieces" in communication.
The dataset is available at: http://goo.gl/language/wiki-atomic-edits
Summary updated