DECAF: A Dynamically Extensible Corpus Analysis Framework

The study of generalization in Language Models (LMs) requires controlled experiments that can precisely measure complex linguistic variations between training and testing datasets.We introduce DECAF, a framework that enables the analysis and filtering of linguisticallyannotated datasets down to the character level.Rather than creating new resources for each experiment, DECAF starts from datasets with existing linguistic annotations, and leverages them to analyze, filter, and generate highly controlled and reproducible experimental settings targeting specific research questions.We demonstrate DECAF's functionality by adding 28 morphosyntactic annotation layers to the 115M-word BabyLM corpus and indexing the resulting 1.1B annotations to analyze its internal domain variance, and to create a controlled training data curriculum for a small-scale gender bias study.We release DECAF as an opensource Python library, along with the parsed and indexed version of BabyLM, as resources for future generalization research.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-demo.34
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DECAF: A Dynamically Extensible Corpus Analysis Framework

Anna Rogers, Rob van der Goot, Max Müller-Eberstein
Natural Language Processing Techniques
article

DECAF: A Dynamically Extensible Corpus Analysis Framework

Anna Rogers, Rob van der Goot, Max Müller-Eberstein
article en

Abstract

The study of generalization in Language Models (LMs) requires controlled experiments that can precisely measure complex linguistic variations between training and testing datasets.We introduce DECAF, a framework that enables the analysis and filtering of linguisticallyannotated datasets down to the character level.Rather than creating new resources for each experiment, DECAF starts from datasets with existing linguistic annotations, and leverages them to analyze, filter, and generate highly controlled and reproducible experimental settings targeting specific research questions.We demonstrate DECAF's functionality by adding 28 morphosyntactic annotation layers to the 115M-word BabyLM corpus and indexing the resulting 1.1B annotations to analyze its internal domain variance, and to create a controlled training data curriculum for a small-scale gender bias study.We release DECAF as an opensource Python library, along with the parsed and indexed version of BabyLM, as resources for future generalization research.

IT University of Copenhagen (DK)
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.