Abstract
The BabyLM Challenge aims at pre-training a language model on a small-scale dataset of inputs intended for children. In this work, we adapted the architecture and masking policy of BabyBERTa (Huebner et al., 2021) to solve the strict-small track of the BabyLM challenge. Our model, Penn & BGU BabyBERTa+, was pre-trained and evaluated on the three benchmarks of the BabyLM Challenge. Experimental results indicate that our model achieves higher or comparable performance in predicting 17 grammatical phenomena, compared to the RoBERTa baseline.
Introduction
Modern Large Language Models (LLMs) like GPT-4 or RoBERTa are notoriously data-hungry, often requiring trillions of words to reach peak performance. This creates two problems: it is computationally expensive, and it is cognitively unrealistic. Human children become linguistically competent by hearing only a tiny fraction of that data.
The BabyLM Challenge tasks researchers with pre-training models on a "child-scale" dataset (10M or 100M words). This paper focuses on the strict-small track (10M words). The authors address the challenge of how to design a model architecture and training objective that can extract the maximum amount of linguistic knowledge from an extremely limited corpus. Penn & BGU BabyBERTa+ is a compact, encoder-only language model designed to master grammar using only 10 million words—roughly the amount of language a child hears during early development.
Methods
The authors built BabyBERTa+, an adaptation of the original BabyBERTa architecture. Key technical choices include:
- Compact Architecture: Unlike RoBERTa-base, BabyBERTa+ is significantly smaller to prevent over-fitting on the tiny dataset. This reduction in parameter count acts as a form of regularization.
- Unmasking Removal Policy: Standard Masked Language Modeling (MLM) typically masks 80% of chosen tokens, replaces 10% with random words, and leaves 10% unchanged. BabyBERTa+ changes this: 90% are masked and 10% are replaced with random tokens, completely removing the "unchanged" category. This forces the model to rely entirely on context rather than occasionally seeing the ground truth.
- Extended Training: While the baseline RoBERTa was trained for 20 epochs, BabyBERTa+ was trained for 100 epochs, finding that performance continued to improve with more passes over the small dataset.
- Tokenizer: A Byte-Pair Encoding (BPE) tokenizer with a vocabulary size of 30,000, specifically trained on the 10M-word challenge dataset.
Datasets and Evaluation
The model was trained on the BabyLM strict-small dataset (~10 million words) and evaluated on three benchmarks:
- BLiMP (Benchmark of Linguistic Minimal Pairs): Evaluates the ability to distinguish grammatically correct sentences.
- SuperGLUE: A suite of Natural Language Understanding (NLU) tasks.
- MSGS (Mixed Signals Generalization Set): Tests preference for syntactic rules over surface-level patterns.
Key Results and Insights
The primary finding is that for low-data regimes, a smaller model is often superior. By shrinking the model and adopting a specialized masking strategy, the researchers outperformed the much larger RoBERTa-base on grammatical benchmarks.
- Grammar Mastery: BabyBERTa+ achieved an average score of 69.86% on BLiMP, a significant 6% improvement over the RoBERTa-base baseline (63.02%).
- NLU Performance: On SuperGLUE, BabyBERTa+ scored 69.50%, slightly lower than the RoBERTa-base baseline of 71.42%.
- Syntactic Bias: On MSGS, it achieved 78.72%, compared to the baseline's 81.35%.
- Learning Curves: Grammatical proficiency and NLU performance both trended upward throughout the 100-epoch training cycle, suggesting that even with very little data, models benefit from more training time than is standard for LLMs.
Conclusion
While BabyBERTa+ excels at grammar, it still lags behind larger models on complex downstream NLU tasks. The authors suggest that future work should explore curriculum learning and other pre-training factors to maintain high grammatical accuracy while boosting performance on downstream reasoning tasks.
Summary updated