[Paper Review] Assessing Language Models with Scaling Properties
This paper proposes evaluating language models using scaling properties of natural language—specifically vocabulary distribution and long-range memory—beyond perplexity. It tests n-grams, PCFG, Simon and Pitman-Yor processes, hierarchical PY, and neural models on Wikitext-2 and PTB datasets, finding that only neural models (especially AWD-LSTM-Cache) reproduce key scaling behaviors like Taylor’s law and long-range correlation, with exponents closer to natural language, indicating their superiority in capturing long-term dependencies despite limitations in full replication.
Language models have primarily been evaluated with perplexity. While perplexity quantifies the most comprehensible prediction performance, it does not provide qualitative information on the success or failure of models. Another approach for evaluating language models is thus proposed, using the scaling properties of natural language. Five such tests are considered, with the first two accounting for the vocabulary population and the other three for the long memory of natural language. The following models were evaluated with these tests: n-grams, probabilistic context-free grammar (PCFG), Simon and Pitman-Yor (PY) processes, hierarchical PY, and neural language models. Only the neural language models exhibit the long memory properties of natural language, but to a limited degree. The effectiveness of every test of these models is also discussed.
Motivation & Objective
- To address the limitations of perplexity in assessing language models, which fails to reveal qualitative shortcomings in generalization, syntax, and long-term dependencies.
- To introduce scaling properties as a complementary evaluation framework that quantifies how closely generated text matches natural language in terms of statistical structure.
- To identify which scaling properties are most effective for distinguishing model quality, especially in capturing long-range memory and vocabulary dynamics.
- To evaluate the performance of diverse language models—including n-grams, probabilistic grammars, and neural networks—on real-world datasets like Wikitext-2 and PTB.
- To guide future model development by identifying gaps in current models’ ability to reproduce the full statistical richness of natural language.
Proposed method
- Uses five scaling properties: Zipf’s law and Heaps’ law for vocabulary population, and Ebeling’s method, Taylor’s law, and long-range correlation for long memory.
- Generates text from each language model and evaluates whether the generated sequences exhibit the same scaling exponents as natural language.
- Estimates scaling exponents via least-squares fitting of power laws to empirical data (e.g., frequency vs. rank, vocabulary growth, correlation decay).
- Compares model-generated exponents to those of original datasets (e.g., Wikitext-2, PTB) to quantify deviation and model fidelity.
- Employs a two-tiered evaluation: Q1 checks qualitative presence of scaling (does the power law hold?), and Q2 quantifies exponent similarity.
- Uses the AWD-LSTM-Cache model as a benchmark for state-of-the-art performance, comparing its scaling behavior to other models.
Experimental results
Research questions
- RQ1Do language models other than neural networks reproduce the scaling properties of natural language, particularly long-range memory?
- RQ2How well do neural language models replicate the scaling exponents of natural language, especially in terms of vocabulary growth and long-range correlation?
- RQ3Which scaling property—Zipf’s law, Heaps’ law, Ebeling’s method, Taylor’s law, or long-range correlation—is most effective for evaluating model quality?
- RQ4Does the choice of dataset (e.g., Wikitext-2 vs. PTB) significantly affect the evaluation of long-range memory in language models?
- RQ5Can scaling properties reveal limitations in model behavior not detectable through perplexity alone?
Key findings
- Only neural language models, particularly AWD-LSTM-Cache, successfully reproduce all five scaling properties of natural language, especially long-range correlation and Taylor’s law.
- The AWD-LSTM-Cache model achieved a Taylor exponent of 0.59 on Wikitext-2, close to the original text’s 0.62, indicating strong but incomplete replication of long-memory structure.
- Despite improving perplexity, the MoS (Mixture of Softmax) variant degraded long-memory quality, as shown by a lower Taylor exponent, revealing a trade-off between perplexity and memory fidelity.
- The Simon model exhibited strong long-range correlation but failed to reproduce vocabulary scaling, indicating a fundamental mismatch with natural language structure.
- Neural models failed to reproduce long memory on the PTB dataset, even though PTB exhibits weaker but still present long-range correlation, suggesting PTB is less suitable for evaluating long-term dependency.
- Taylor’s law was found to be the most reliable and informative metric for model evaluation, showing strong correlation between exponent similarity and model quality, especially among advanced neural models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.