From Multimodal to Unimodal Attention in Transformers using Knowledge Distillation
Dhruv Agarwal, Tanay Agrawal, Laura M. Ferrari, Fran\c{c}ois Bremond

TL;DR
This paper introduces a knowledge distillation approach in transformers to convert multimodal models into unimodal ones, reducing computational costs while maintaining high accuracy, and addressing missing modality issues.
Contribution
It is the first to apply knowledge distillation to transformers for transitioning from multimodal to unimodal inference, improving efficiency and robustness.
Findings
Achieved 3% accuracy improvement over state-of-the-art
Reduced model parameters by 2.5 times
Decreased inference time by 22%
Abstract
Multimodal Deep Learning has garnered much interest, and transformers have triggered novel approaches, thanks to the cross-attention mechanism. Here we propose an approach to deal with two key existing challenges: the high computational resource demanded and the issue of missing modalities. We introduce for the first time the concept of knowledge distillation in transformers to use only one modality at inference time. We report a full study analyzing multiple student-teacher configurations, levels at which distillation is applied, and different methodologies. With the best configuration, we improved the state-of-the-art accuracy by 3%, we reduced the number of parameters by 2.5 times and the inference time by 22%. Such performance-computation tradeoff can be exploited in many applications and we aim at opening a new research area where the deployment of complex models with limited…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsKnowledge Distillation
