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

LipShiFT:一种可认证鲁棒的基于移位的视觉Transformer

LipShiFT: A Certifiably Robust Shift-based Vision Transformer

Technical Univ. of Munich(慕尼黑工业大学);Fraunhofer Institute for Cognitive Systems IKS(弗劳恩霍夫认知系统研究所IKS)

Rohan Menon, Nicola Franco, Stephan Günnemann

AI总结:

针对Transformer架构Lipschitz界推导难、训练易出现次优结果的问题,研究聚焦ShiftViT的Lipschitz连续变体,通过Lipschitz间隔训练正则化,给出l2范数下模型Lipschitz常数上界,实现可扩展且更优的可认证鲁棒性。

摘要:

为基于Transformer的架构推导紧致的Lipschitz界是一项重大挑战。大输入尺寸和高维注意力模块通常是训练过程中的关键瓶颈,会导致次优结果。本研究揭示了这些方法在视觉任务中的实际局限性。我们发现,基于Lipschitz的间隔训练是一种强正则化手段,同时会约束模型连续层中的权重。我们聚焦于ShiftViT模型的一种Lipschitz连续变体,解决了范数约束输入设置下基于Transformer的架构的重大训练难题。我们在常见图像分类数据集上,使用$l_2$范数给出了该模型Lipschitz常数的上界估计。最终,我们证明该方法可扩展到更大规模的模型,并刷新了基于Transformer架构的可认证鲁棒性的当前最优水平。

英文摘要:

Deriving tight Lipschitz bounds for transformer-based architectures presents a significant challenge. The large input sizes and high-dimensional attention modules typically prove to be crucial bottlenecks during the training process and leads to sub-optimal results. Our research highlights practical constraints of these methods in vision tasks. We find that Lipschitz-based margin training acts as a strong regularizer while restricting weights in successive layers of the model. Focusing on a Lipschitz continuous variant of the ShiftViT model, we address significant training challenges for transformer-based architectures under norm-constrained input setting. We provide an upper bound estimate for the Lipschitz constants of this model using the $l_2$ norm on common image classification datasets. Ultimately, we demonstrate that our method scales to larger models and advances the state-of-the-art in certified robustness for transformer-based architectures.

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

↑