TinyHelen's First Curriculum: Training and Evaluating Tiny Language Models in a Simpler Language Environment

Ke Yang, Volodymyr V. Kindratenko, ChengXiang ZhaiarXiv 2024 · DOI

Introduction

The computational cost of training Large Language Models (LLMs) remains a significant barrier to entry for many researchers. While "tiny" models (those with fewer than 100 million parameters) offer a more accessible path for experimentation, they frequently struggle to extract meaningful patterns from standard web-scale datasets like Common Crawl. These datasets are often saturated with "noise"—including malformed text, advertisements, and specialized jargon—that overwhelms the limited capacity of smaller architectures.

The TinyHelen framework addresses this challenge by positing that tiny models require a "primordial training ground." Much like human language acquisition begins with simplified input before progressing to complex literature, tiny models benefit from a simplified language environment where core linguistic structures are transparent and distraction-free.

Methodology: The LEANER Pipeline

The core of the TinyHelen approach is the "no noise, low complexity" principle. To achieve this, the authors developed a pipeline leveraging high-capacity teacher models (such as GPT-4) to systematically rewrite original text into a more digestible format.

Comparison of original text versus the simplified LEANER output, illustrating vocabulary capping and entity standardization.

The pipeline employs several key simplification strategies:

  • Vocabulary Capping: Restricting the lexicon to the 2,000 most frequent English words.
  • Grammatical Simplification: Deconstructing complex sentence structures into straightforward, declarative forms.
  • Entity Standardization: Reducing the variety of proper nouns to a consistent, smaller set of identifiers (e.g., standardizing diverse names to "Charlotte" or "Benjamin").
  • Curriculum Learning: Implementing pacing functions that prioritize easier samples—defined by shorter length or lower loss—during the initial stages of training.

The LEANER Dataset Ecosystem

To support this research, the authors introduced the LEANER suite, a comprehensive ecosystem designed specifically for tiny model evaluation and training. This suite includes LEANER-Pretrain, a 71M token dataset comprising simplified web text, books, Wikipedia, code, and mathematics.

Table comparing TinyHelen's dataset and model size parameters against other prominent small-scale language modeling works.

Beyond pre-training, the suite includes LEANER-Instruct (7M tokens) for instruction-tuning, and LEANER-GLUE, a simplified version of the General Language Understanding Evaluation benchmark. These tools allow researchers to measure basic linguistic proficiency without the confounding variable of vast world knowledge requirements.

Key Insights and Empirical Results

The study yielded several critical insights into the training of small-scale models:

  • Efficiency and Quality: Data quality and simplicity proved more impactful than raw volume. Models trained on the 71M simplified tokens of LEANER-Pretrain consistently outperformed those trained on larger, unrefined datasets across downstream tasks.
  • The Entropy Floor: Mathematical analysis suggests that simplifying text distributions lowers the information entropy, effectively reducing the "complexity floor" necessary for a model to begin internalizing linguistic patterns.
  • Curriculum Efficacy: The most effective training strategy involved "ITER. LM-LOSS," which uses the loss value from a pre-trained model as a difficulty metric. This approach allowed models to reach peak performance 20% earlier and required 20% less data than standard random sampling.
  • Architectural Sensitivity: The research revealed that different architectures respond uniquely to clean data. While Transformer decoders (e.g., Llama) and State Space Models (e.g., Mamba) were prone to overfitting on simplified data, encoders (BERT) and permutation-based models (XLNet) demonstrated superior robustness. On the LEANER-GLUE benchmark, the performance hierarchy was generally XLNet > BERT > Llama > Mamba.

Conclusion

TinyHelen demonstrates that a "leaner" approach to data can significantly lower the barriers to language model research. While 14M parameter models still face challenges in high-quality instruction following compared to human standards, the improvements in grammar and coherence are marked. Future work will focus on scaling the LEANER pipeline and investigating how these simplified foundations can serve as a springboard for models to eventually master complex, real-world language environments.

Summary updated

BibTeX
@misc{yang2024tinyhelen,
  author = {Ke Yang and Volodymyr V. Kindratenko and ChengXiang Zhai},
  title = {{TinyHelen's First Curriculum: Training and Evaluating Tiny Language Models in a Simpler Language Environment}},
  year = {2024},
  eprint = {2501.00522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.00522},
}
Figure