arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23506cs.LGcs.AIcs.CL
收藏

信念状态 Transformer

The Belief State Transformer

Microsoft Research(微软研究院);University of Pennsylvania(宾夕法尼亚大学);UT Austin(德克萨斯大学奥斯汀分校)

Edward S. Hu, Kwangjun Ahn, Qinghua Liu, Haoran Xu, Manan Tomar, Ada Langford, Jayden Teoh, Bryon Xu, David Yan, Dinesh Jayaraman, Alex Lamb, John Langford

AI总结:

提出Belief State Transformer,通过同时输入前缀和后缀并双向预测词元,学习紧凑信念状态,有效解决传统前向模型难题,提升目标条件解码与推理性能。

摘要:

我们引入了“Belief State Transformer”,这是一种将前缀和后缀同时作为输入的下一词元预测器,其新颖目标是同时预测前缀的下一词元和后缀的上一词元。该模型以领域无关的方式,有效学习解决了传统纯前向 Transformer 难以处理的复杂问题。此成功的关键在于学习一种紧凑的信念状态,它捕获了准确预测所需的所有相关信息。经验性消融实验表明,在标准 Transformer 表现不佳的困难场景中,模型的各个组件都是必不可少的。对于具有已知前缀和后缀的故事写作任务,我们的方法在达成已知目标方面优于 Fill-in-the-Middle 方法,并且即使目标未知,也展现出性能提升。总而言之,Belief State Transformer 在小规模问题上实现了更高效的目标条件解码、更好的测试时推理以及高质量的文本表示。

英文摘要:

We introduce the "Belief State Transformer", a next-token predictor that takes both a prefix and suffix as inputs, with a novel objective of predicting both the next token for the prefix and the previous token for the suffix. The Belief State Transformer effectively learns to solve challenging problems that conventional forward-only transformers struggle with, in a domain-independent fashion. Key to this success is learning a compact belief state that captures all relevant information necessary for accurate predictions. Empirical ablations show that each component of the model is essential in difficult scenarios where standard Transformers fall short. For the task of story writing with known prefixes and suffixes, our approach outperforms the Fill-in-the-Middle method for reaching known goals and demonstrates improved performance even when the goals are unknown. Altogether, the Belief State Transformer enables more efficient goal-conditioned decoding, better test-time inference, and high-quality text representations on small scale problems. Website: https://edwhu.github.io/bst-website

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

↑