Wisdom of Committee: Distilling from Foundation Model to Specialized Application Model

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Zichang, Liu, Qingyun, Li, Yuening, Liu, Liang, Shrivastava, Anshumali, Bi, Shuchao, Hong, Lichan, Chi, Ed H., Zhao, Zhe
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910447627665408
author Liu, Zichang
Liu, Qingyun
Li, Yuening
Liu, Liang
Shrivastava, Anshumali
Bi, Shuchao
Hong, Lichan
Chi, Ed H.
Zhao, Zhe
author_facet Liu, Zichang
Liu, Qingyun
Li, Yuening
Liu, Liang
Shrivastava, Anshumali
Bi, Shuchao
Hong, Lichan
Chi, Ed H.
Zhao, Zhe
contents Recent advancements in foundation models have yielded impressive performance across a wide range of tasks. Meanwhile, for specific applications, practitioners have been developing specialized application models. To enjoy the benefits of both kinds of models, one natural path is to transfer the knowledge in foundation models into specialized application models, which are generally more efficient for serving. Techniques from knowledge distillation may be applied here, where the application model learns to mimic the foundation model. However, specialized application models and foundation models have substantial gaps in capacity, employing distinct architectures, using different input features from different modalities, and being optimized on different distributions. These differences in model characteristics lead to significant challenges for distillation methods. In this work, we propose creating a teaching committee comprising both foundation model teachers and complementary teachers. Complementary teachers possess model characteristics akin to the student's, aiming to bridge the gap between the foundation model and specialized application models for a smoother knowledge transfer. Further, to accommodate the dissimilarity among the teachers in the committee, we introduce DiverseDistill, which allows the student to understand the expertise of each teacher and extract task knowledge. Our evaluations demonstrate that adding complementary teachers enhances student performance. Finally, DiverseDistill consistently outperforms baseline distillation methods, regardless of the teacher choices, resulting in significantly improved student performance.
format Preprint
id arxiv_https___arxiv_org_abs_2402_14035
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Wisdom of Committee: Distilling from Foundation Model to Specialized Application Model
Liu, Zichang
Liu, Qingyun
Li, Yuening
Liu, Liang
Shrivastava, Anshumali
Bi, Shuchao
Hong, Lichan
Chi, Ed H.
Zhao, Zhe
Machine Learning
Artificial Intelligence
Recent advancements in foundation models have yielded impressive performance across a wide range of tasks. Meanwhile, for specific applications, practitioners have been developing specialized application models. To enjoy the benefits of both kinds of models, one natural path is to transfer the knowledge in foundation models into specialized application models, which are generally more efficient for serving. Techniques from knowledge distillation may be applied here, where the application model learns to mimic the foundation model. However, specialized application models and foundation models have substantial gaps in capacity, employing distinct architectures, using different input features from different modalities, and being optimized on different distributions. These differences in model characteristics lead to significant challenges for distillation methods. In this work, we propose creating a teaching committee comprising both foundation model teachers and complementary teachers. Complementary teachers possess model characteristics akin to the student's, aiming to bridge the gap between the foundation model and specialized application models for a smoother knowledge transfer. Further, to accommodate the dissimilarity among the teachers in the committee, we introduce DiverseDistill, which allows the student to understand the expertise of each teacher and extract task knowledge. Our evaluations demonstrate that adding complementary teachers enhances student performance. Finally, DiverseDistill consistently outperforms baseline distillation methods, regardless of the teacher choices, resulting in significantly improved student performance.
title Wisdom of Committee: Distilling from Foundation Model to Specialized Application Model
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2402.14035