Distillation-Based Model Compression Framework for Swin Transformer

Vision Transformers (ViTs) have gained significant attention in computer vision due to their exceptional model capa-bilities. However, most ViT models suffer from high complexity, with a large number of parameters that demand considerable memory and inference time, limiting their applicability on resource-constrained devices. To address this issue, we propose a distillation-based framework for compressing large models for smaller datasets. The framework leverages fine-tuning and knowledge distillation to accelerate the training process of compressed models. To evaluate its effectiveness, two compressed Swin Transformer models, Swin-N and Swin-M, were introduced and tested on the CIFAR-100 dataset. Experimental results demonstrate that when trained using the proposed framework, both Swin-N and Swin-M exhibit significant improvements in accuracy compared to their counterparts trained from scratch, with Swin-N achieving an 18.89% increase and Swin-M showing a 20.10% improvement. Additionally, Swin-M closely approximates the accuracy of the Swin- T teacher model, further validating the effectiveness of the framework.

Authors

Institutions

Publication Details

Published
2024-11-20
DOI
https://doi.org/10.1109/fmlds63805.2024.00100
Primary Topic
Real-time simulation and control systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Distillation-Based Model Compression Framework for Swin Transformer

Mohammad Jubran, Aziz Qaroush, Ahmad Khatib, Mazen Amria et al.
Real-time simulation and control systems
article

Distillation-Based Model Compression Framework for Swin Transformer

Mohammad Jubran, Aziz Qaroush, Ahmad Khatib, Mazen Amria, Alaa Zuhd
article en

Abstract

Vision Transformers (ViTs) have gained significant attention in computer vision due to their exceptional model capa-bilities. However, most ViT models suffer from high complexity, with a large number of parameters that demand considerable memory and inference time, limiting their applicability on resource-constrained devices. To address this issue, we propose a distillation-based framework for compressing large models for smaller datasets. The framework leverages fine-tuning and knowledge distillation to accelerate the training process of compressed models. To evaluate its effectiveness, two compressed Swin Transformer models, Swin-N and Swin-M, were introduced and tested on the CIFAR-100 dataset. Experimental results demonstrate that when trained using the proposed framework, both Swin-N and Swin-M exhibit significant improvements in accuracy compared to their counterparts trained from scratch, with Swin-N achieving an 18.89% increase and Swin-M showing a 20.10% improvement. Additionally, Swin-M closely approximates the accuracy of the Swin- T teacher model, further validating the effectiveness of the framework.

Birzeit University (PS)
Affordable and clean energy
Openalex Percentile: Top 66%
Real-time simulation and control systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Distillation-Based Model Compression Framework for Swin Transformer — Mohammad Jubran, Aziz Qaroush, et al. · (2024) | TGRS Research Map | TGRS