arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2602.01439cs.LGcs.AI
收藏

TQL: 通过防止注意力崩溃来扩展Q函数

TQL: Scaling Q-Functions with Transformers by Preventing Attention Collapse

Stanford University(斯坦福大学)

Perry Dong, Kuo-Han Hung, Alexander Swerdlow, Dorsa Sadigh, Chelsea Finn

AI总结:

TQL通过防止注意力崩溃,提升Transformer在强化学习中扩展价值函数的性能,实现43%的性能提升。

摘要:

尽管规模驱动了最近机器学习中的重大进展,但强化学习(RL)方法仍然主要使用小价值函数。简单地扩展价值函数——包括使用已知高度可扩展的Transformer架构——往往导致学习不稳定和更差的性能。在本工作中,我们问是什么阻止了Transformer有效地扩展价值函数?通过实证分析,我们确定了在扩展中的关键失败模式:容量增加时注意力分数崩溃。我们的关键见解是,我们可以通过控制注意力分数的熵来有效防止这种崩溃,从而稳定训练,从而使得可以使用更大的模型。为此,我们提出了Transformer Q-Learning(TQL),一种方法,它解锁了在RL中学习价值函数的Transformer的扩展潜力。我们的方法在从最小到最大网络规模扩展时,性能提高了高达43%,而先前的方法则会受到性能下降的影响。

英文摘要:

Despite scale driving substantial recent advancements in machine learning, reinforcement learning (RL) methods still primarily use small value functions. Naively scaling value functions -- including with a transformer architecture, which is known to be highly scalable -- often results in learning instability and worse performance. In this work, we ask what prevents transformers from scaling effectively for value functions? Through empirical analysis, we identify the critical failure mode in this scaling: attention scores collapse as capacity increases. Our key insight is that we can effectively prevent this collapse and stabilize training by controlling the entropy of the attention scores, thereby enabling the use of larger models. To this end, we propose Transformer Q-Learning (TQL), a method that unlocks the scaling potential of transformers in learning value functions in RL. Our approach yields up to a 43% improvement in performance when scaling from the smallest to the largest network sizes, while prior methods suffer from performance degradation.

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

↑