Multi-aspect Knowledge Distillation with Large Language Model
Journal:
arXiv
Published Date:
Jan 23, 2025
Abstract
Recent advancements in deep learning have significantly improved performance
on computer vision tasks. Previous image classification methods primarily
modify model architectures or add features, and they optimize models using
cross-entropy loss on class logits. Since they focus on classifying images with
considering class labels, these methods may struggle to learn various
\emph{aspects} of classes (e.g., natural positions and shape changes).
Rethinking the previous approach from a novel view, we propose a multi-aspect
knowledge distillation method using Multimodal Large Language Models (MLLMs).
Our approach involves: 1) querying Large Language Model with multi-aspect
questions relevant to the knowledge we want to transfer to the model, 2)
extracting corresponding logits from MLLM, and 3) expanding the model's output
dimensions to distill these multi-aspect logits. We then apply cross-entropy
loss to class logits and binary cross-entropy loss to multi-aspect logits.
Through our method, the model can learn not only the knowledge about visual
aspects but also the abstract and complex aspects that require a deeper
understanding. We primarily apply our method to image classification, and to
explore the potential for extending our model, such as object detection. In all
experimental results, our method improves the performance of the baselines.
Additionally, we analyze the effect of multi-aspect knowledge distillation.
These results demonstrate that our method can transfer knowledge about various
aspects to the model and the aspect knowledge can enhance model performance in
computer vision tasks.