LoopSight:带门控预测记忆的循环视觉Transformer
LoopSight: Looped Vision Transformers with Gated Prediction Memory
AI总结:
LoopSight是带门控预测记忆的循环视觉Transformer,通过门控预测记忆分离预测与计算状态,在ARC-AGI等任务上优于LoopViT,提升了预测性能与稳定性。
摘要:
循环视觉Transformer通过重复应用共享Transformer核心来扩展视觉推理的计算过程,面临的挑战是在循环迭代中保留有用的预测信息,同时允许计算状态演化。本文提出LoopSight,一种循环视觉Transformer,它使用门控预测记忆(Gated Prediction Memory,GPM)为读出任务维护持久的预测状态,该状态与核心的演化计算状态相分离。在每次迭代中,交叉注意力门利用核心的候选特征、上一时刻的预测状态和当前任务状态,在补丁和通道层面控制写入操作;模型从更新后的记忆中解码预测结果。我们使用渐近循环编码将当前迭代条件传递给共享核心,并通过监督从截断高斯分布采样的循环次数下的预测结果来训练模型。LoopSight在ARC-AGI-1和ARC-AGI-2上的三种模型规模下均优于LoopViT:在ARC-AGI-1上,LoopSight-Small的pass@2达到67.4%,在参数数量和浮点运算量(FLOPs)相当的情况下,比LoopViT-Small提升了6.6个百分点;LoopSight在视觉数独和ImageNet分类任务上也优于LoopViT。对ARC-AGI-1的进一步分析显示,随着计算状态持续演化,LoopSight能保留更多已正确的预测,并维持更稳定的读出特征。代码将在该httpsURL发布。
英文摘要:
Looped vision transformers extend computation for visual reasoning by repeatedly applying a shared Transformer core. A challenge is to preserve useful prediction information across loop iterations while allowing the computation state to evolve. In this paper we introduce LoopSight, a looped vision transformer that uses Gated Prediction Memory (GPM) to maintain a persistent prediction state for readout, separate from the core's evolving computation state. At each iteration, a cross-attention gate uses the core's candidate features, the previous prediction state, and the current task state to control writes at the patch and channel level. The model decodes its prediction from the updated memory. We condition the shared core on the current iteration using asymptotic loop encoding and train the model by supervising its prediction at loop counts sampled from a truncated Gaussian distribution. LoopSight outperforms LoopViT across three model scales on ARC-AGI-1 and ARC-AGI-2. On ARC-AGI-1, LoopSight-Small achieves 67.4% pass@2, a gain of 6.6 percentage points over LoopViT-Small with comparable parameter counts and FLOPs. LoopSight also outperforms LoopViT on Visual Sudoku and ImageNet classification. Further analyses on ARC-AGI-1 show that LoopSight preserves more already-correct predictions and maintains more stable readout features as its computation state continues to evolve. The code will be released at https://github.com/feufhd/LoopSight.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。