Abstract
Standard Large Language Models (LLMs) are fundamentally bottlenecked by the sequential generation of discrete tokens. This paper introduces Continuous Autoregressive Language Models (CALM), a framework that compresses chunks of tokens into continuous vectors and generates text vector-by-vector. By increasing the "semantic bandwidth" of each generative step, CALM reduces the number of autoregressive iterations by a factor of $K$. To support this paradigm, we develop a fully likelihood-free toolkit for training, evaluation, and sampling. Our results demonstrate that CALM achieves performance comparable to discrete baselines while significantly reducing computational FLOPs during both training and inference.
Introduction: The Tokenization Bottleneck
Modern LLMs generate text sequentially, predicting one discrete token at a time. Because computational cost scales with sequence length, this process is a massive bottleneck for long-form generation. Historically, the field moved from character-level to subword tokenization to increase information density. However, standard tokens are limited to approximately 15 bits of information. Scaling vocabulary size exponentially to capture whole phrases is computationally intractable due to the softmax bottleneck.
CALM addresses this by shifting to a continuous vector space. In this regime, the information per step can be scaled gracefully by increasing vector dimensionality rather than vocabulary size. This allows the model to predict multiple tokens' worth of information in a single step.
Methodology: Building a Continuous Toolkit
Transitioning from discrete to continuous generation requires a complete overhaul of the standard LLM architecture and training pipeline.
High-Fidelity Autoencoder
CALM utilizes an autoencoder to compress a chunk of $K$ discrete tokens into a single continuous vector. To ensure the resulting latent space is navigable for an autoregressive model, the authors employ variational regularization (VAE-style), KL-divergence clipping, and dropout. These techniques force the latent space to be smooth and robust against the small prediction errors inherent in continuous modeling.
Energy-Based Generative Head
Unlike standard LLMs that use a softmax layer, CALM employs a lightweight "Energy Transformer" head to predict continuous vectors. This head is designed to generate vectors in a single step, avoiding the multi-step iterative decoding required by diffusion or flow-matching models.
Likelihood-Free Training and Sampling
Because calculating exact probabilities in continuous space is intractable, CALM is trained using an "Energy Score"—a strictly proper scoring rule that measures alignment between predictions and ground truth using sample distances. For evaluation, the authors adapt the Brier Score into BrierLM, allowing for unbiased language model assessment without explicit likelihoods. Additionally, a novel rejection-sampling algorithm is introduced to enable exact temperature sampling from the continuous generative head.
Key Results and Insights
- Efficiency Gains: The CALM-M model (371M parameters, $K=4$) achieves BrierLM scores comparable to a standard Transformer-S baseline (281M parameters) while requiring 44% fewer training FLOPs and 34% fewer inference FLOPs.
- Reconstruction Accuracy: The autoencoder successfully compresses 4 tokens into a 128-dimensional vector with over 99.9% reconstruction accuracy, even under noise injection.
- The Role of Discrete Inputs: Interestingly, the model performs best when predicted vectors are decoded back into discrete tokens before being fed into the next step. Discrete tokens appear to provide a more structured and stable input signal than raw continuous vectors.
- Semantic Bandwidth as a Scaling Axis: The research suggests that scaling the information generated per step ($K$) is a potent new lever for optimizing the performance-compute trade-off, alongside traditional scaling of parameters and data.
Limitations and Future Work
While CALM shows great promise, it faces a "continuous penalty" when $K=1$, where it underperforms discrete transformers. This suggests that predicting continuous distributions is inherently more challenging than discrete classification. Future work will focus on "semantic autoencoders" where latent space proximity corresponds to semantic similarity, and the reformulation of alignment techniques like RLHF for likelihood-free, sample-based regimes.
Summary updated