arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.07571cs.LGcs.AI
收藏

迈向Transformer测试时计算的理论理解:基于上下文线性回归的研究

Towards Theoretical Understanding of Transformer Test-Time Computing: Investigation on In-Context Linear Regression

Department of XXX, University of YYY, Location, Country(XXX系,YYY大学,地点,国家);School of ZZZ, Institute of WWW, Location, Country(ZZZ学院,WWW研究所,地点,国家)

Xingwu Chen, Miao Lu, Beining Wu, Difan Zou

AI总结:

本文通过引入随机性与采样,在上下文线性回归框架下模拟语言模型解码,为测试时计算技术提供理论分析,旨在弥合实际推理与理论Transformer研究之间的差距。

摘要:

在语言模型推理过程中使用更多测试时计算,例如生成更多中间思考或采样多个候选答案,已被证明能显著提升模型性能。本文通过引入随机性和采样,在弥合实际语言模型推理与理论Transformer分析之间的差距方面迈出了初步一步。我们聚焦于具有连续/二值系数的上下文线性回归,其中我们的框架通过噪声注入和二值系数采样来模拟语言模型解码。借助该框架,我们对广泛采用的推理技术进行了详细分析。在实证结果的支持下,我们的理论框架与分析展示了为理解现实世界语言模型中的推理行为提供新见解的潜力。

英文摘要:

Using more test-time computation during language model inference, such as generating more intermediate thoughts or sampling multiple candidate answers, has proven effective in significantly improving model performance. This paper takes an initial step toward bridging the gap between practical language model inference and theoretical transformer analysis by incorporating randomness and sampling. We focus on in-context linear regression with continuous/binary coefficients, where our framework simulates language model decoding through noise injection and binary coefficient sampling. Through this framework, we provide detailed analyses of widely adopted inference techniques. Supported by empirical results, our theoretical framework and analysis demonstrate the potential for offering new insights into understanding inference behaviors in real-world language models.

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

↑