arXiv:2510.27688cs.CLcs.AI2025-10被引 11

用连续向量替代离散分词,让语言模型生成效率提升数十倍。

Continuous Autoregressive Language Models

  • 将一段文本压缩为一个连续向量,直接预测向量而非逐词生成。
  • 在保持99.9%还原率前提下,生成步骤减少K倍,计算成本大幅降低。
  • 适合追求高效率、低延迟的部署场景,如实时对话系统。

大语言模型的效率受制于其逐标记的串行生成过程。我们提出通过提升每一步生成的语义带宽来突破这一瓶颈。为此,引入连续自回归语言模型(CALM),实现从离散下一个词预测到连续下一个向量预测的范式转变。CALM利用高保真自编码器将K个标记压缩为单一连续向量,可实现超过99.9%的原始标记重建准确率。该方法使语言建模转变为连续向量序列,生成步骤减少K倍。为此,我们构建了一个无似然框架,支持在连续空间中的鲁棒训练、评估与可控采样。实验表明,CALM在显著降低计算成本的同时达到强基线性能。这些发现确立了向量预测作为超高效语言模型的重要可扩展路径。代码:https://github.com/shaochenze/calm。项目页:https://shaochenze.github.io/blog/2025/CALM。

原文摘要 · Abstract (English)

The efficiency of large language models (LLMs) is fundamentally limited by their sequential, token-by-token generation process. We argue that overcoming this bottleneck requires a new design axis for LLM scaling: increasing the semantic bandwidth of each generative step. To this end, we introduce Continuous Autoregressive Language Models (CALM), a paradigm shift from discrete next-token prediction to continuous next-vector prediction. CALM uses a high-fidelity autoencoder to compress a chunk of K tokens into a single continuous vector, from which the original tokens can be reconstructed with over 99.9\% accuracy. This allows us to model language as a sequence of continuous vectors instead of discrete tokens, which reduces the number of generative steps by a factor of K. The paradigm shift necessitates a new modeling toolkit; therefore, we develop a comprehensive likelihood-free framework that enables robust training, evaluation, and controllable sampling in the continuous domain. Experiments show that CALM significantly improves the performance-compute trade-off, achieving the performance of strong discrete baselines at a significantly lower computational cost. More importantly, these findings establish next-vector prediction as a powerful and scalable pathway towards ultra-efficient language models. Code: https://github.com/shaochenze/calm. Project: https://shaochenze.github.io/blog/2025/CALM.

高效生成连续表示自回归

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。