[Paper Review] FusionBench: A Unified Library and Comprehensive Benchmark for Deep Model Fusion
FusionBench is a comprehensive, modular benchmark for deep model fusion, offering a unified platform with 26 tasks, 74 fine-tuned models, and 16 fusion techniques across vision and NLP. It enables systematic evaluation of model ensemble, merging, and mixing methods, revealing key insights on generalization and negative transfer in unseen tasks.
Deep model fusion is an emerging technique that unifies the predictions or parameters of several deep neural networks into a single better-performing model in a cost-effective and data-efficient manner. Although a variety of deep model fusion techniques have been introduced, their evaluations tend to be inconsistent and often inadequate to validate their effectiveness and robustness. We present FusionBench, the first benchmark and a unified library designed specifically for deep model fusion. Our benchmark consists of multiple tasks, each with different settings of models and datasets. This variety allows us to compare fusion methods across different scenarios and model scales. Additionally, FusionBench serves as a unified library for easy implementation and testing of new fusion techniques. FusionBench is open source and actively maintained, with community contributions encouraged. Homepage https://github.com/tanganke/fusion_bench
Motivation & Objective
- Address the lack of standardized, consistent evaluation for deep model fusion techniques across diverse tasks and settings.
- Provide a comprehensive benchmark to enable fair and reproducible comparisons of fusion methods.
- Investigate the generalization performance of fused models on unseen tasks, especially under distribution shifts.
- Identify factors influencing fusion effectiveness, including fine-tuning strategies, model scale, and task similarity.
- Offer accessible, well-documented resources to support researchers in replicating and extending benchmark results.
Proposed method
- Design a modular, extensible framework with three core components: Algorithm Module, Model Pool Module, and Task Pool Module.
- Support both full fine-tuning and LoRA fine-tuning across models of varying sizes for balanced comparisons.
- Implement a unified command-line interface with YAML configuration for flexible customization.
- Integrate task-specific prompt templates for text-to-text generation tasks (e.g., GLUE benchmark) to standardize fine-tuning.
- Conduct zero-shot and few-shot generalization experiments by merging models trained on seen tasks and evaluating on unseen ones.
- Apply systematic evaluation across multiple benchmarks, including CLIP-ViT-B/32 for vision and Flan-T5 for text tasks.
Experimental results
Research questions
- RQ1How do different deep model fusion techniques (ensemble, merging, mixing) perform across diverse vision and NLP tasks?
- RQ2What is the impact of fine-tuning strategy (full vs. LoRA) on fusion performance and generalization?
- RQ3To what extent do fused models generalize to unseen tasks, and when does negative transfer occur?
- RQ4How do task similarity and model scale influence the effectiveness of model fusion?
- RQ5What are the key factors that determine the success or failure of model fusion in out-of-distribution settings?
Key findings
- Negative transfer is observed when fused CLIP-ViT-B/32 models trained on six tasks generalize to unseen tasks, indicating performance degradation due to conflicting or irrelevant knowledge.
- Fused models trained on dissimilar tasks (e.g., SUN397, Cars, GTSRB) show reduced performance on unseen tasks like RESISC45 and SVHN, highlighting the risk of interference.
- The choice of fine-tuning strategy significantly affects fusion outcomes, with LoRA enabling efficient adaptation while preserving generalization capacity.
- Task selection plays a critical role—models fused from similar or complementary tasks generalize better than those from dissimilar ones.
- Model merging techniques outperform simple ensemble methods in parameter efficiency and inference speed, especially when scaling to larger models.
- The benchmark reveals that robustness to distribution shifts is highly sensitive to the composition of training tasks and the fusion method used.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.