atlas

Research map / Probabilistic and scientific modeling / Bayesian optimization

Model Fusion through Bayesian Optimization in Language Model Fine-Tuning

NeurIPS 2024 · Probabilistic and scientific modeling › Bayesian optimization · approach: Multi-fidelity hyperparameter optimization · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes BOMF, a model fusion method that uses multi-objective Bayesian optimization over loss and metrics to choose weighted-averaging coefficients for fusing single-trajectory checkpoints, plus BO-based hyperparameter search on lightweight frozen/LoRA proxies.

Problem

Choosing a single good fine-tuned model for pre-trained language models is hard: hyperparameter sensitivity is high, and loss and metric landscapes are misaligned, so uniform weight averaging (SWA, Model Soups) and loss-only weighted averaging underperform.

Approach

Fuse checkpoints from one training trajectory with weights chosen by multi-objective Bayesian optimization (qNEHVI) that jointly minimizes validation loss and metrics, and find hyperparameters with a two-stage BO procedure that can use cheaper frozen-layer or low-rank LoRA proxies because their optimal hyperparameters align with full models.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use BOMF instead of Learned SWAT5-base · SQuAD2.0average of F1 and exact match: 78.13 -> 78.31Helped
optimize F1 and exact match jointly rather than F1 only (ablation)BOMF on T5-base · SQuAD2.0exact match: 75.09 -> 75.79Helped
optimize F1 and exact match jointly rather than EM only (ablation)BOMF on T5-base · SQuAD2.0F1: 80.40 -> 80.82Helped
use BOMF instead of HPBORoBERTa-base · QNLIaccuracy: 93.01 -> 94.83Helped
use BOMF instead of HPBOLLaMA-2-7B · SAMSumROUGE-L: 44.33 -> 44.40Helped
use BOMF instead of Learned SWALLaMA-2-7B · SAMSumROUGE-2: 28.97 -> 28.61Hurt
use BOMF instead of the strongest single-objective baseline (ablation)T5-base · SQuAD2.0F1 and exact match: F1: 81.01 -> 80.82; EM: 75.87 -> 75.79Mixed
search hyperparameters with a lightweight model using 6 frozen layers instead of full-model search (ablation)RoBERTa-base hyperparameter search · RTEaccuracy: 78.57 -> 78.49No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: GLUE (RTE, MRPC, SST-2, QNLI, QQP, MNLI) SQuAD 2.0 SAMSum E2E KorMedMCQA

Benchmarks: GLUE (RTE, MRPC, SST-2, QNLI, QQP, MNLI) SQuAD 2.0 SAMSum KorMedMCQA E2E

Metrics: accuracy F1 exact match ROUGE-1 ROUGE-2 ROUGE-L BLEU METEOR Spearman rank correlation

Baselines: Grid Fine-Tune HPBO SWA Greedy SWA Learned SWA TWA OTfusion ICL

Builds on: Stochastic Weight Averaging Learned Soups Greedy Soups qNEHVI Model Soups

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy