arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01567cs.CLcs.LGstat.ML
收藏

具有变分贝叶斯推理时计算的潜在思维模型

Latent Thought Models with Variational Bayes Inference-Time Computation

UCLA(加州大学洛杉矶分校);Lambda, Inc.(Lambda公司);Salesforce Research(Salesforce研究院)

Deqian Kong, Minglu Zhao, Dehong Xu, Bo Pang, Shu Wang, Edouardo Honig, Zhangzhang Si, Chuan Li, Jianwen Xie, Sirui Xie, Ying Nian Wu

AI总结:

提出 Latent Thought Models(LTM),通过显式潜在思维向量、变分贝叶斯双速率训练和推理时计算,提升语言模型的样本与参数效率及推理能力。

摘要:

我们提出了一类新颖的语言模型,即 Latent Thought Models(LTM,潜在思维模型),它纳入了显式的潜在思维向量,这些向量遵循潜在空间中的显式先验模型。这些潜在思维向量通过 Transformer 解码器引导基础 token 的自回归生成。训练在经典变分贝叶斯框架内采用双速率优化过程:快速学习潜在向量后验分布的局部变分参数(推理时计算),并缓慢学习全局解码器参数。实证研究表明,LTM 除了传统 Large Language Models(LLM,大语言模型)之外还具有额外的扩展维度,例如推理时计算中的迭代次数以及潜在思维向量的数量。通过增加每个 token 的训练计算量可以实现更高的样本效率,并且通过用模型规模换取更多推理步骤还可能获得进一步收益。基于这些扩展特性设计的 LTM,与自回归模型和离散扩散模型相比,展现出更优的样本效率和参数效率。它们在验证困惑度和零样本语言建模任务中显著优于这些对照模型。此外,LTM 表现出随模型规模扩展而涌现的少样本上下文推理能力,并在条件和无条件文本生成中取得具有竞争力的性能。

英文摘要:

We propose a novel class of language models, Latent Thought Models (LTMs), which incorporate explicit latent thought vectors that follow an explicit prior model in latent space. These latent thought vectors guide the autoregressive generation of ground tokens through a Transformer decoder. Training employs a dual-rate optimization process within the classical variational Bayes framework: fast learning of local variational parameters for the posterior distribution of latent vectors (inference-time computation), and slow learning of global decoder parameters. Empirical studies reveal that LTMs possess additional scaling dimensions beyond traditional Large Language Models (LLMs), such as the number of iterations in inference-time computation and number of latent thought vectors. Higher sample efficiency can be achieved by increasing training compute per token, with further gains possible by trading model size for more inference steps. Designed based on these scaling properties, LTMs demonstrate superior sample and parameter efficiency compared to autoregressive models and discrete diffusion models. They significantly outperform these counterparts in validation perplexity and zero-shot language modeling tasks. Additionally, LTMs exhibit emergent few-shot in-context reasoning capabilities that scale with model size, and achieve competitive performance in conditional and unconditional text generation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑