Vito: Vision Transformer Optimization Via Knowledge Distillation On Decoders
In this paper, we propose ViTO, a novel knowledge distillation strategy that aims to convert a CNN model into a transformer-based counterpart that incorporates the advantages of transformers while retaining or improving its inductive bias. Our approach is based on a two-level transformer architecture that includes an inner model for learning visual representations and an outer model that aims to match the teacher’s predictions through autoregression. Specifically, given an image in a batch, the outer model classifies the image by using, in addition to the image’s visual properties, also the predictions it has made on images previously seen within the same batch. The effect of this strategy is to allow the transformer to estimate self- and cross-attention across all input batch images to learn autoregressively intra-class and inter-class correlations.We experimentally validate ViTO on several standard benchmarks obtaining better performance than existing knowledge distillation strategies on transformers. Furthermore, our distilled transformer-based model shows better robustness properties than standard vision transformers, demonstrating the effectiveness of our proposed distillation strategy.
Authors
- Efstratios Gavves (ORCID: https://orcid.org/0000-0001-8947-1332)
- Renato Sortino (ORCID: https://orcid.org/0000-0002-3906-797X)
- Paolo Spadaro
- Simone Palazzo (ORCID: https://orcid.org/0000-0002-2441-0982)
- Federica Proietto Salanitri (ORCID: https://orcid.org/0000-0002-6122-4249)
- Giuseppe Fiameni (ORCID: https://orcid.org/0000-0001-8687-6609)
- Concetto Spampinato
- Giovanni Bellitto (ORCID: https://orcid.org/0000-0002-1333-8348)
Institutions
- University of Catania (IT)
- University of Amsterdam (NL)
Publication Details
- Published
- 2024-09-27
- DOI
- https://doi.org/10.1109/icip51287.2024.10647295
- Citations
- 1
- Primary Topic
- Image Processing Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.32