Saved in:
Bibliographic Details
Main Authors: Bao, Zishuo, Liu, Yibo, Qiu, Changyutao
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.17151
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908376091328512
author Bao, Zishuo
Liu, Yibo
Qiu, Changyutao
author_facet Bao, Zishuo
Liu, Yibo
Qiu, Changyutao
contents With the rise of different language model architecture, fine-tuning is becoming even more important for down stream tasks Model gets messy, finding proper hyperparameters for fine-tuning. Although BO has been tried for hyperparameter tuning, most of the existing methods are oblivious to the fact that BO relies on careful choices of acquisition functions, which are essential components of BO that guide how much to explore versus exploit during the optimization process; Different acquisition functions have different levels of sensitivity towards training loss and validation performance; existing methods often just apply an acquisition function no matter if the training and validation performance are sensitive to the acquisition function or not. This work introduces{Bilevel - BO - SWA}, a model fusion approach coupled with a bilevel BO strategy to improve the fine - tunning of large language models. Our work on mixture of acquisition functions like EI and UCB into nested opt loops, where inner loop perform minimization of training loss while outer loops optimized w.r.t. val metric. Experiments on GLUE tasks using RoBERTA - base show that when using EI and UCB, there is an improvement in generalization, and fine - tuning can be improved by up to 2.7%.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17151
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bayesian Optimization for Enhanced Language Models: Optimizing Acquisition Functions
Bao, Zishuo
Liu, Yibo
Qiu, Changyutao
Computation and Language
Artificial Intelligence
With the rise of different language model architecture, fine-tuning is becoming even more important for down stream tasks Model gets messy, finding proper hyperparameters for fine-tuning. Although BO has been tried for hyperparameter tuning, most of the existing methods are oblivious to the fact that BO relies on careful choices of acquisition functions, which are essential components of BO that guide how much to explore versus exploit during the optimization process; Different acquisition functions have different levels of sensitivity towards training loss and validation performance; existing methods often just apply an acquisition function no matter if the training and validation performance are sensitive to the acquisition function or not. This work introduces{Bilevel - BO - SWA}, a model fusion approach coupled with a bilevel BO strategy to improve the fine - tunning of large language models. Our work on mixture of acquisition functions like EI and UCB into nested opt loops, where inner loop perform minimization of training loss while outer loops optimized w.r.t. val metric. Experiments on GLUE tasks using RoBERTA - base show that when using EI and UCB, there is an improvement in generalization, and fine - tuning can be improved by up to 2.7%.
title Bayesian Optimization for Enhanced Language Models: Optimizing Acquisition Functions
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.17151