TL;DR
"Adam’s Law" (or the Textual Frequency Law) reveals that Large Language Models (LLMs) perform significantly better when prompted or fine-tuned using high-frequency, common language rather than low-frequency, complex paraphrases. By restructuring prompts into more common expressions and training models using a rare-to-frequent curriculum, researchers achieved substantial performance boosts across math reasoning, translation, and commonsense tasks.
What Problem Does This Paper Address?
Any practitioner knows that LLMs are notoriously sensitive to prompt phrasing. Changing a few words can cause a model's accuracy to plummet or soar, but why this happens remains poorly understood.
The authors investigate this phenomenon through the lens of textual frequency—how common words and phrases are in language. While cognitive science has long known that humans process frequent words faster, its impact on LLMs is understudied. Furthermore, because state-of-the-art LLMs are closed-source, developers cannot inspect the pre-training data to know exactly which phrases the model saw most often. This paper addresses how to systematically estimate and leverage textual frequency to optimize both prompting and fine-tuning without direct access to a model's original training corpus.
Methods
The authors propose a three-part framework to operationalize Adam's Law:
- Textual Frequency Law (TFL): The core principle stating that when semantic meaning is preserved, higher-frequency text should always be preferred. Sentence-level frequency is estimated using a position-unaware geometric mean of word-level frequencies derived from open-source web corpora.
- Textual Frequency Distillation (TFD): To adapt to closed-source models, the authors query the target LLM to perform "story completion" on the evaluation datasets. The frequency of the words the model chooses to generate is used to refine the initial web-based frequency estimation.
- Curriculum Textual Frequency Training (CTFT): For fine-tuning, instead of feeding data randomly, the framework sorts the training instances in an increasing order of sentence-level frequency (from rare/complex expressions to common/simple ones).
At test time, an input paraphraser rewrites prompts into highly frequent textual expressions before submitting them to the LLM.
Datasets
Because no standard dataset evaluated this phenomenon, the authors curated the Textual Frequency Paired Dataset (TFPD). Built on top of existing benchmarks—GSM8K (math), FLORES-200 (translation), CommonsenseQA, and ToolBench (agent tool calling)—TFPD uses GPT-4o-mini to generate 20 paraphrases for each prompt (10 complex/rare, 10 simple/common). To ensure perfect semantic equivalence, three human annotators with linguistics degrees validated and filtered the pairs.
Key Insights and Ideas
- High-Frequency Outperforms Ground Truth: Remarkably, fine-tuning an LLM on high-frequency paraphrases yielded better results than fine-tuning on the original, unaltered benchmark datasets.
- Frequency $\neq$ Simplicity: One might assume "high frequency" just means "syntactically simple." However, the authors compared their metric against traditional complexity metrics (like Max Dependency Tree Depth) and found a very weak correlation. TFL captures a distinct data property that traditional curriculum learning misses.
- Why It Works: High-frequency data is inherently more abundant in pre-training corpora. Phrasing inputs this way ensures they land in regions of the model's embedding space that are better calibrated, leading to more stable gradient signals during training and more reliable reasoning pathways during inference.
Key Results
The framework demonstrated consistent improvements across multiple model families (DeepSeek, OpenAI, Llama, and Qwen):
- Math Reasoning: On the GSM8K partition of TFPD, switching from low-frequency to high-frequency prompts boosted the solve rate of DeepSeek-V3 from 63.55% to 71.54%, and Llama-3.3-70B-Instruct from 80.49% to 88.75%.
- Machine Translation: Across 100 languages in the FLORES-200 alignment, high-frequency prompting consistently delivered the highest BLEU, chrF, and COMET scores. For DeepSeek-V3, 99 out of 100 language pairs saw clear BLEU improvements.
- Curriculum Training (CTFT): Sorting fine-tuning data from rare to frequent expressions yielded the absolute best results, outperforming standard fine-tuning and traditional easy-to-hard curriculum baselines.
Limitations and Future Work
- Computational Cost: Textual Frequency Distillation (TFD) requires generating text from target LLMs, which can be expensive and slow at scale.
- Unigram Approximation: The sentence frequency metric uses a simplified unigram approach (geometric mean of individual words), completely ignoring word order and complex syntactic dependencies.
- Semantic Drift: Automated paraphrasing can introduce subtle shifts in meaning. While human validation mitigated this for the paper's dataset, automating this pipeline fully remains a challenge.
- Theoretical Gap: While the authors provide a formal proof showing that high-frequency text minimizes negative log-likelihood (NLL) loss, bridging the gap between lower loss and actual downstream task accuracy remains an empirically strong hypothesis rather than a mathematical certainty.
Summary updated