arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.10962cs.CVcs.LG
收藏

基于递归稀疏重构的视觉注意涌现

Visual Attention Emerges from Recurrent Sparse Reconstruction

University of California, Berkeley(加州大学伯克利分校);Microsoft Research(微软研究院)

Baifeng Shi, Yale Song, Neel Joshi, Trevor Darrell, Xin Wang

摘要:

视觉注意力有助于在人类视觉中的噪声、腐败和分布偏移下实现稳健的感知,这些都是现代神经网络仍然不足的领域。我们提出了VAR,从递归稀疏重建的视觉注意力,一个新的注意力公式建立在人类视觉注意力机制的两个突出特点:递归和稀疏。相关特征通过神经元之间的循环连接分组在一起,通过稀疏正则化出现突出对象。VARS采用具有周期性连接的吸引子网络,该网络随着时间的推移收敛到稳定的模式。网络层被表示为常微分方程(ODE),将注意力公式化为一个经常性吸引子网络,该网络使用编码底层数据模式的“模板”字典来等效地优化输入的稀疏重建。我们表明,自注意是一个特殊的情况下,VARS的单步优化和稀疏约束。VARS可以很容易地用作流行的视觉Transformer中自注意力的替代品,从而在各种基准测试中不断提高其鲁棒性。代码发布在GitHub(https://github.com/bfshi/VARS)上。

英文摘要:

Visual attention helps achieve robust perception under noise, corruption, and distribution shifts in human vision, which are areas where modern neural networks still fall short. We present VARS, Visual Attention from Recurrent Sparse reconstruction, a new attention formulation built on two prominent features of the human visual attention mechanism: recurrency and sparsity. Related features are grouped together via recurrent connections between neurons, with salient objects emerging via sparse regularization. VARS adopts an attractor network with recurrent connections that converges toward a stable pattern over time. Network layers are represented as ordinary differential equations (ODEs), formulating attention as a recurrent attractor network that equivalently optimizes the sparse reconstruction of input using a dictionary of "templates" encoding underlying patterns of data. We show that self-attention is a special case of VARS with a single-step optimization and no sparsity constraint. VARS can be readily used as a replacement for self-attention in popular vision transformers, consistently improving their robustness across various benchmarks. Code is released on GitHub (https://github.com/bfshi/VARS).

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

↑