RefinedGAW: A Refined German Academic Web Dataset

Maximilian Idahl, Oleh Astappiev, Benedikt Droste, Robert Scholz, Björn Plüster, Jan Philipp Harries, Robert Jäschke, Wolfgang NejdlarXiv 2026 · arXiv

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.
Figure 1: Content composition and token yields in RefinedGAW. Panel (a) reports the share and count of tokens in documents labeled as academic research across German HTML and PDF datasets. Panel (b) reports token yields for selected content labels in the complete RefinedGAW HTML and PDF collections.

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.
Figure 3: Prevalence of selected propella properties for German RefinedGAW subsets and German reference datasets. Each cell displays the percentage of documents falling in the stated category. Columns are grouped by source format, and horizontal rules separate four property groups: extraction quality, subject matter, purpose and audience, and safety and privacy. The largest value within each source-format group is marked in bold, except for marketing bias and the safety and privacy group, where lower is better. German Commons is a mixed-source dataset and belongs to neither group. Content-safety concerns comprise the labels mildly concerning, NSFW, harmful, and illegal.

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

Abstract

The largest open German text datasets are built from broad web crawls, which provide scale but limited coverage of specific domains. We introduce RefinedGAW, a processed and annotated resource derived from 26 semi-annual crawls of the German Academic Web, totaling 122 million documents and 314 billion tokens, with full crawl and capture history of every text. Documents labeled as academic research account for 84% of German RefinedGAW tokens across HTML and PDF. At 87.6 billion tokens, this exceeds the 64.9 billion tokens in the German subsets of FineWeb2 and FinePDFs, despite their almost five-times-larger combined size. RefinedGAW also contains substantial amounts of educational, math-heavy, and expert-oriented content with minimal commercial bias. Across HTML and PDF, 88% of German RefinedGAW documents have no near-duplicate candidate match in the three evaluated reference datasets, supporting complementary coverage. We release a queryable metadata index for fine-grained data selection and a rehydration tool for retrieving and processing source documents.
BibTeX
@misc{idahl2026refinedgaw,
  author = {Maximilian Idahl and Oleh Astappiev and Benedikt Droste and Robert Scholz and Björn Plüster and Jan Philipp Harries and Robert Jäschke and Wolfgang Nejdl},
  title = {{RefinedGAW: A Refined German Academic Web Dataset}},
  year = {2026},
  eprint = {2610.34572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34572},
}
Figure