TL;DR
RefinedGAW is a massive, high-quality German dataset comprising 314 billion tokens extracted from over a decade of academic web archives. By focusing specifically on the German Academic Web, it provides a significantly higher concentration of scientific and educational content than general-purpose crawls like FineWeb, offering a specialized resource for training knowledge-intensive language models.
What Problem Does This Paper Address?
Large Language Models (LLMs) thrive on scale, but not all data is created equal. Most open datasets are derived from broad web crawls (like Common Crawl), which are vast but often dominated by marketing, SEO spam, and low-quality content. For researchers wanting to improve a model's reasoning and domain-specific knowledge, finding a high-density source of expert-level text is a major challenge.
This is particularly true for non-English languages like German. While general German web datasets exist, they often lack the depth required for specialized academic or scientific applications. Furthermore, legal uncertainties in the EU regarding the redistribution of curated text corpora often prevent researchers from sharing the high-quality datasets they build.
Methods
The authors built RefinedGAW by processing 26 semi-annual snapshots of the German Academic Web (GAW) archive, spanning from 2012 to 2025. The construction involved two distinct pipelines:
- HTML Pipeline: Plain text was extracted using
Trafilatura, followed by global exact-text deduplication using SHA-256 hashes. - PDF Pipeline: Because PDFs are computationally expensive to process, the authors first performed byte-level deduplication. They then used Unlimited OCR—a neural OCR approach—to extract text from 15 million unique files, followed by a second round of text-based deduplication.
- Rich Annotation: Every document was annotated using propella-1-4b, a model that assigns 18 different properties, including content quality, educational value, and "academic research" status.
- Metadata-First Release: To navigate EU legal constraints, the authors released a queryable metadata index and a "rehydration" tool. Instead of hosting the text itself, they provide the URLs and hashes, allowing users to fetch and verify the content from the live web.
Datasets
The paper introduces RefinedGAW, which totals 122 million unique documents and 314 billion tokens. The authors compare the German subset (RefinedGAW-DE) against several major reference datasets:
- FineWeb2-DE and FinePDFs-DE (broad web crawls).
- HPLT 3.0-DE (multilingual web crawl).
- German Commons (explicitly licensed mixed sources).
Key Insights and Ideas
- Domain Focus Trumps Raw Scale: Even though RefinedGAW is much smaller than general web crawls, its focus on academic domains results in a higher absolute yield of scientific text. RefinedGAW-DE contains 87.6 billion academic research tokens, surpassing the combined 64.9 billion tokens found in the much larger FineWeb2 and FinePDFs German subsets.
- PDFs are the "High-Value" Tail: While PDFs make up only 9% of the documents, they account for 27% of the tokens. They are significantly longer and have much higher educational and analytical value than HTML pages.
- Minimal Commercial Noise: Unlike general web datasets where marketing content can reach 35%, RefinedGAW has a marketing bias of only about 1%.
- Complementary Coverage: 88% of the documents in RefinedGAW have no near-duplicate match in existing major German datasets, making it a unique addition to the data ecosystem rather than just a redundant copy.
Key Results
- Academic Density: 84% of German tokens in RefinedGAW are categorized as academic research.
- Long-Context Potential: The dataset contains a significant "long tail" of documents; 78 billion tokens belong to documents with at least 131,072 tokens, which is valuable for training long-context models.
- Rehydration Success: In a "rehydration" experiment (fetching live URLs), the authors found that ~36% of HTML and ~40% of PDF records are still recoverable today, though exact text reproduction is rarer due to web pages changing over time.
Limitations and Future Work
- Recoverability: Because the release relies on "rehydration," content that has been taken down from the live web cannot be easily recovered by the public.
- Institutional Bias: The crawl is limited to ~150 seed domains of doctorate-granting institutions, meaning academic content from smaller colleges or non-university research institutes may be underrepresented.
- OCR and Extraction Errors: While neural OCR is powerful, it is not perfect and can introduce noise or reordering in complex PDF layouts.
- Downstream Impact: The authors have not yet evaluated the dataset's impact on actual model training, which remains a primary goal for future research.
Summary updated