Introduction
Large Language Models (LLMs) are typically evaluated on their ability to generate coherent text. However, fundamentally, an LM is a probability engine that computes a distribution over its entire vocabulary at each step. Due to the "softmax bottleneck"—where high-dimensional internal representations are mapped onto a lower-dimensional output space—LMs cannot produce every mathematically possible distribution. This paper introduces "Distribution Prompting" to investigate the intrinsic expressivity of LMs: can a model be prompted to output any specific probability distribution?
Methodology: Distribution Prompting
To probe the limits of model expressivity without altering underlying weights, the researchers employed Prompt Tuning. They explored three distinct prompting strategies to minimize the Kullback–Leibler (KL) divergence between the LM's output and a target distribution:
- Hard Prompting: Searching for discrete tokens (actual words or characters) that elicit the target distribution.
- Soft Prompting: Optimizing continuous vectors in the embedding space, representing a theoretical upper bound for expressivity.
- Hybrid Prompting: A combination of discrete and continuous optimization.
The study utilized the internal architectures of models such as GPT-2, Llama 3.2, and Falcon-7B. Target distributions were systematically varied by entropy and the presence of "outlier" tokens to map the models' expressive capabilities.
The "Unimodal Difficulty" of Entropy
A central finding is the relationship between a target distribution's entropy and the model's ability to approximate it. The researchers observed a "unimodal difficulty" curve: LMs struggle most with distributions of moderate entropy (typically between 8-10 bits). In contrast, very low-entropy (highly predictable) and very high-entropy (near-uniform) distributions are significantly easier to replicate.
This suggests that LMs have inherent "blind spots." The models excel at producing "spiky" distributions—where a few tokens dominate the probability mass—which aligns with their training objective of predicting a single "correct" next token.
Structural Properties and Model DNA
The research reveals that LM-generated distributions possess a unique "DNA." A distribution produced by one LM is much easier for another LM to mimic than a randomly generated distribution of equivalent entropy. This suggests that despite differences in architecture or tokenization, LM outputs share structural properties that make them mutually recognizable.
Furthermore, the study found that instruction tuning tends to increase model rigidity. Models like Llama-3.2-1B-Instruct were harder to prompt into specific distributions compared to their base versions. This indicates that the process of aligning models with human preferences may narrow their expressive range in favor of specific linguistic patterns.
Conclusion
Distribution Prompting provides a new lens for understanding the fundamental limits of language models. By identifying the difficulty of eliciting moderate-entropy distributions and the shared structural traits of LM outputs, this work informs the use of LMs as probability proposers in complex tasks. Future work may leverage these "distributional signatures" to improve machine-generated text detection or develop more expressive decoding strategies.
Summary updated