Towards Optimal Trade-offs in Knowledge Distillation for CNNs and Vision Transformers at the Edge

John Violos, Symeon Papadopoulos, Ioannis Kompatsiaris
6/25/2024
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

This paper discusses four facets of the Knowledge Distillation (KD) process for Convolutional Neural Networks (CNNs) and Vision Transformer (ViT) architectures, particularly when executed on edge devices with constrained processing capabilities. First, we conduct a comparative analysis of the KD process between CNNs and ViT architectures, aiming to elucidate the feasibility and efficacy of employing different architectural configurations for the teacher and student, while assessing their performance and efficiency. Second, we explore the impact of varying the size of the student model on accuracy and inference speed, while maintaining a constant KD duration. Third, we examine the effects of employing higher resolution images on the accuracy, memory footprint and computational workload. Last, we examine the performance improvements obtained by fine-tuning the student model after KD to specific downstream tasks. Through empirical evaluations and analyses, this research provides AI practitioners with insights into optimal strategies for maximizing the effectiveness of the KD process on edge devices.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{violos2024towards,
  title  = {Towards Optimal Trade-offs in Knowledge Distillation for CNNs and Vision Transformers at the Edge},
  author = {John Violos and Symeon Papadopoulos and Ioannis Kompatsiaris},
  year   = {2024},
  eprint = {2407.12808},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.12808v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.12808.svg)](https://codeofpaper.com/paper/2407.12808)

Discussion