σ-GPTs:一种自回归模型的新方法
σ-GPTs: A New Approach to Autoregressive Models
AI总结:
本文提出 σ-GPTs,通过为输出添加位置编码实现逐样本动态生成顺序,支持任意 token 子集采样与多 token 一次性生成,并在多领域将生成步骤降低一个数量级。
摘要:
诸如 GPT 系列之类的自回归模型使用固定顺序(通常是从左到右)来生成序列。然而,这并非必要条件。在本文中,我们挑战了这一假设,并表明只需为输出添加位置编码,该顺序就可以针对每个样本进行动态调节,从而带来关键的优势特性。它允许对任意 token 子集进行采样并以此为条件,还允许根据拒绝策略一次性动态采样多个 token,从而使模型评估次数达到亚线性。我们在多个领域评估了该方法,包括语言建模、路径求解和飞机垂直速率预测,将生成所需的步骤数减少了一个数量级。
英文摘要:
Autoregressive models, such as the GPT family, use a fixed order, usually left-to-right, to generate sequences. However, this is not a necessity. In this paper, we challenge this assumption and show that by simply adding a positional encoding for the output, this order can be modulated on-the-fly per-sample which offers key advantageous properties. It allows for the sampling of and conditioning on arbitrary subsets of tokens, and it also allows sampling in one shot multiple tokens dynamically according to a rejection strategy, leading to a sub-linear number of model evaluations. We evaluate our method across various domains, including language modeling, path-solving, and aircraft vertical rate prediction, decreasing the number of steps required for generation by an order of magnitude.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。