arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13341cs.CV
收藏

基于大语言模型的多维度知识蒸馏

Multi-aspect Knowledge Distillation with Large Language Model

Artificial Intelligence Graduate School, UNIST(蔚山科学技术院人工智能研究生院)

Taegyeong Lee, Jinsik Bang, Soyeong Kwon, Taehwan Kim

AI总结:

针对现有图像分类方法难以学习类别多维度知识的问题,提出基于多模态大语言模型的多维度知识蒸馏方法,通过查询提取对数并扩展输出维度优化损失,提升模型性能并验证其在视觉任务中的有效性。

摘要:

深度学习的最新进展显著提升了计算机视觉任务的性能。以往的图像分类方法主要通过修改模型架构或添加特征,并利用类别对数上的交叉熵损失优化模型。由于这些方法仅关注基于类别标签的图像分类,可能难以学习类别的各种维度(例如自然位置和形状变化)。从新视角重新思考现有方法,我们提出一种基于多模态大语言模型(MLLMs)的多维度知识蒸馏方法。该方法包括:1)使用与待迁移知识相关的多维度问题查询大语言模型;2)从MLLM中提取相应的对数;3)扩展模型的输出维度以蒸馏这些多维度对数。随后,我们对类别对数应用交叉熵损失,对多维度对数应用二元交叉熵损失。通过该方法,模型不仅能学习视觉维度的知识,还能学习需要深度理解的抽象和复杂维度知识。我们主要将该方法应用于图像分类,并探索其扩展至目标检测等任务的潜力。所有实验结果显示,该方法提升了基线模型的性能。此外,我们分析了多维度知识蒸馏的效果。这些结果表明,该方法可向模型迁移各类维度的知识,且维度知识能增强模型在计算机视觉任务中的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑