循环视觉语言模型解决猜壳游戏
Recurrent Vision Language Models Solve the Shell Game
AI总结:
针对视觉语言模型追踪视频隐藏物体的瓶颈,提出RecurrentVLM,通过让预训练VLM的注意力层随时间循环,在猜壳游戏基准上取得优异性能,为视频中未观测物体状态追踪提供潜在方案。
摘要:
人类能轻松追踪视频中隐藏的物体,但这仍是视觉语言模型(VLM)的一个瓶颈。在猜壳游戏中,一个球被藏在几个相同杯子中的一个下面,随后杯子被交换,直接回答的VLM表现接近随机,思考模型在长游戏中失效,微调仅能学习到见过的游戏长度。我们认为瓶颈在于串行计算:每次交换必须与上一结果结合,固定深度的VLM仅有固定数量的状态转换。为解决此问题,我们提出RecurrentVLM,它通过从各层自身输出计算已完成帧组的键(key)和值(value),使预训练VLM的每个注意力层随时间循环。仅用一个答案token,RecurrentVLM在VET-Bench上达到100%准确率,在MET-Bench上达到99.6%,在最多30次交换的训练后,50次交换游戏上达到99%准确率。我们还观察到几个有趣现象:长度泛化在“顿悟时刻”突然出现;无循环时,每次交换消耗一个注意力层;球的状态在前四个注意力层形成;循环以丢失早期时刻细节为代价保留最新状态。这些结果表明,循环视觉语言模型是追踪视频中未观测物体状态的潜在解决方案,代码将被发布。
英文摘要:
Tracking a hidden object through a video is effortless for humans, yet it remains a bottleneck for vision language models (VLMs). In the shell game, where a ball is hidden under one of several identical cups that are then swapped, VLMs that answer directly stay near chance, thinking models fail on long games, and fine-tuning learns only the lengths it has seen. We argue that the limit is serial computation: each swap must be composed with the last result, and a VLM of fixed depth has only a fixed number of state transitions for it. To address this, we propose RecurrentVLM, which makes every attention layer of a pretrained VLM recur over time by computing the keys and values of finished frame groups from the layer's own output. With a single answer token, RecurrentVLM reaches 100% on VET-Bench and 99.6% on MET-Bench, and 99% on 50-swap games after training on at most 30 swaps. We also observe several interesting phenomena: length generalization emerges suddenly at an aha moment; without recurrence, each swap costs an attention layer; the ball's state forms in the first four attention layers; and recurrence keeps the latest state at the cost of details of earlier moments. These results suggest that recurrent VLMs are a potential solution for tracking the states of unobserved objects in video. Code will be released.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。