English

LEVI: Generalizable Fine-tuning via Layer-wise Ensemble of Different Views

Machine Learning 2024-06-21 v2 Artificial Intelligence

Abstract

Fine-tuning is becoming widely used for leveraging the power of pre-trained foundation models in new downstream tasks. While there are many successes of fine-tuning on various tasks, recent studies have observed challenges in the generalization of fine-tuned models to unseen distributions (i.e., out-of-distribution; OOD). To improve OOD generalization, some previous studies identify the limitations of fine-tuning data and regulate fine-tuning to preserve the general representation learned from pre-training data. However, potential limitations in the pre-training data and models are often ignored. In this paper, we contend that overly relying on the pre-trained representation may hinder fine-tuning from learning essential representations for downstream tasks and thus hurt its OOD generalization. It can be especially catastrophic when new tasks are from different (sub)domains compared to pre-training data. To address the issues in both pre-training and fine-tuning data, we propose a novel generalizable fine-tuning method LEVI (Layer-wise Ensemble of different VIews), where the pre-trained model is adaptively ensembled layer-wise with a small task-specific model, while preserving its efficiencies. By combining two complementing models, LEVI effectively suppresses problematic features in both the fine-tuning data and pre-trained model and preserves useful features for new tasks. Broad experiments with large language and vision models show that LEVI greatly improves fine-tuning generalization via emphasizing different views from fine-tuning data and pre-trained features.

Keywords

Cite

@article{arxiv.2402.04644,
  title  = {LEVI: Generalizable Fine-tuning via Layer-wise Ensemble of Different Views},
  author = {Yuji Roh and Qingyun Liu and Huan Gui and Zhe Yuan and Yujin Tang and Steven Euijong Whang and Liang Liu and Shuchao Bi and Lichan Hong and Ed H. Chi and Zhe Zhao},
  journal= {arXiv preprint arXiv:2402.04644},
  year   = {2024}
}

Comments

In Proceedings of the 41st International Conference on Machine Learning (ICML), 2024

R2 v1 2026-06-28T14:41:10.580Z