LipShiFT: A Certifiably Robust Shift-based Vision Transformer

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Menon, Rohan, Franco, Nicola, Günnemann, Stephan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910884087988224
author Menon, Rohan
Franco, Nicola
Günnemann, Stephan
author_facet Menon, Rohan
Franco, Nicola
Günnemann, Stephan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_14751
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LipShiFT: A Certifiably Robust Shift-based Vision Transformer
Menon, Rohan
Franco, Nicola
Günnemann, Stephan
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
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.
title LipShiFT: A Certifiably Robust Shift-based Vision Transformer
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.14751