Abstract: Standard autoregressive language models perform only polynomial-time computation to compute the probability of the next symbol. While this is attractive, it means they cannot model distributions whose next-symbol probability is hard to compute. Indeed, they cannot even model them well enough to solve associated easy decision problems for which an engineer might want to consult a language model. These limitations apply no matter how much computation and data are used to train the model, unless the model is given access to oracle parameters that grow superpolynomially in sequence length. Thus, simply training larger autoregressive language models is not a panacea for NLP. Alternatives include energy-based models (which give up efficient sampling) and latent-variable autoregressive models (which give up efficient scoring of a given string). Both are powerful enough to escape the above limitations.
Introduction
In the current landscape of Artificial Intelligence, the dominant paradigm is the scaling of autoregressive (AR) Transformers. The prevailing belief is that by increasing parameters, data, and compute, models like GPT-4 will eventually overcome any reasoning or structural hurdle. However, research from Johns Hopkins, Facebook AI, and CMU suggests a fundamental theoretical limit to this approach. The paper, "Limitations of Autoregressive Models and Their Alternatives," argues that AR models are mathematically "misspecified" for certain complex distributions, regardless of scale.
What Problem Does This Paper Address?
Standard autoregressive models generate text one token at a time, calculating the probability of the next symbol $p(x_t | x_{<t})$ in polynomial time. This efficiency is their greatest strength, allowing for rapid sampling. However, it is also a significant blind spot.
If the "true" distribution of the data requires solving a computationally hard problem to determine the next token, a polynomial-time local step will inevitably fail. Consider a scenario where a sentence must satisfy a complex logical constraint, such as the Knapsack problem. To determine if the next "item" fits the remaining "capacity" while maximizing value, the model must solve an NP-hard problem at every step.
The authors challenge the "Scaling Law" assumption. They argue that if a model is restricted to polynomial-time local steps and "compact" (polynomial-sized) parameters, there are certain valid patterns it simply cannot learn to represent or even verify.
Methods and Theoretical Framework
The paper bridges computational complexity theory and deep learning through several key approaches:
- Complexity Analysis: Using the classes P/poly and NP/poly, the authors define "compact" models where parameters grow polynomially with sequence length. They prove that if $NP \not\subseteq P/poly$ (a standard CS assumption), AR models cannot fit distributions whose support is an NP-complete language.
- The SAT Construction: The researchers constructed a synthetic "weighted language" based on the Boolean Satisfiability (SAT) problem. They demonstrated that while an Energy-Based Model (EBM) can easily score these strings, an AR model would require an exponentially large number of parameters—essentially a lookup table—to achieve the same result.
- Residual Energy-Based Models (REBMs): To test a practical solution, they implemented REBMs. This architecture uses a standard AR model as a "base" and adds a global "discriminator" function $g_\theta(x)$ to correct the AR model's local mistakes: $p(x) \propto p_{AR}(x) \cdot \exp(g_\theta(x))$.
Key Insights and Ideas
The core of the paper's argument lies in the trade-offs between different model families. The very mechanism that makes AR models fast—local, polynomial-time prediction—is what limits their expressivity. They are forced to "marginalize" over all possible futures at every step, a computationally heavy operation they attempt to perform with "light" mathematics.
As shown in the table above, different architectures offer different advantages:
- Energy-Based Models (EBMs): These give up efficient sampling but gain the ability to capture global constraints and support all languages in P.
- Latent-variable models: These give up efficient scoring of a given string but can use hidden "thought" steps (latent variables) to solve hard problems before outputting tokens, potentially supporting all languages in NP.
- Lookup models: While they can represent anything, they lack compact parameters, making them impractical for general use.
Key Results and Empirical Evidence
The authors evaluated their hybrid REBM approach on three diverse text datasets: Segmented WikiText-2, Yelp business reviews, and RealNews (using the Grover model as a base).
- Theoretical Proofs: The authors successfully proved that AR models are strictly less expressive than EBMs and latent-variable models under standard complexity assumptions.
- Empirical Gains: The Residual Energy-Based Models (REBMs) consistently outperformed fine-tuned autoregressive baselines. On the Yelp dataset, the REBM improved perplexity by 1.82%, and on WikiText, by 1.44%.
- Statistical Significance: Even when applied to the strong RealNews/Grover baseline, the REBM provided a statistically significant improvement in log-likelihood. This suggests that even our most advanced current models are leaving "structural money on the table" by ignoring global constraints.
Limitations and Future Work
While the theoretical results are compelling, the alternatives present their own challenges. EBMs are notoriously difficult to train because they require estimating a "partition function." Furthermore, while REBMs score text more accurately, they are significantly slower to sample from, often requiring expensive Markov Chain Monte Carlo (MCMC) chains.
The paper concludes that the search for a "Holy Grail" model—one that offers efficient scoring, efficient sampling, and high expressivity—remains ongoing. However, it makes one thing clear: simply building larger versions of current autoregressive models is not the final answer for capturing the full complexity of human language and logic.
Summary updated