cs.LGApr 10, 2026

Is More Data Worth the Cost? Dataset Scaling Laws in a Tiny Attention-Only Decoder

Authors: Götz-Henrik Wiegand, Lorena Raichle, Rico Städeli, Tomas Hrycej, Bernhard Bermeitinger, Siegfried Handschuh

Organizations: Institute of Computer Science, University of St. Gallen, St. Gallen, Switzerland · Institute of Computer Science in Vorarlberg, University of St. Gallen, Dornbirn, Austria

Abstract

Training Transformer language models is expensive, as performance typically improves with increasing dataset size and computational budget. Although scaling laws describe this trend at large scale, their implications in controlled, smaller-scale settings remain less explored. In this work, we isolate dataset-size effects using a strongly reduced attention-only decoder architecture. By training on progressively larger power-of-two subsets, we observe smooth performance improvements accompanied by clear diminishing returns, consistent with scaling-law behavior. Using only about 30% of the training data is sufficient to reach approximately 90% of the full-data validation token-level accuracy. These results provide actionable insights into dataset scaling in a controlled, component-isolated setting and offer practical guidance for balancing dataset size and computational cost in compute- and data-restricted environments, such as small research labs and exploratory model development.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Squeezing More from Limited Data with Recursive Transformers

    Aug 27, 2026Serdar Gülbahar, Lukas Edman, Alexander FraserLanguage Model PretrainingLanguage Model Scaling Laws

  2. When Data Is Scarce: Scaling Sparse Language Models with Repeated Training

    May 31, 2026Boqian Wu, Qiao Xiao, Patrik Okanovic +6Language Model Scaling LawsEfficient Language Model Training

  3. Less Data, Faster Training: repeating smaller datasets speeds up learning via sampling biases

    May 19, 2026Jingwen Liu, Ezra Edelman, Surbhi Goel +1Deep Learning OptimizationStatistical Learning Theory