Saved in:
Bibliographic Details
Main Authors: Xie, Zhikang, Wan, Weilin, Gong, Peizhu, Zhang, Weizhong, Jin, Cheng
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.10210
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914202396917760
author Xie, Zhikang
Wan, Weilin
Gong, Peizhu
Zhang, Weizhong
Jin, Cheng
author_facet Xie, Zhikang
Wan, Weilin
Gong, Peizhu
Zhang, Weizhong
Jin, Cheng
contents Black-box tuning is an emerging paradigm for adapting large language models (LLMs) to better achieve desired behaviors, particularly when direct access to model parameters is unavailable. Current strategies, however, often present a dilemma of suboptimal extremes: either separately train a small proxy model and then use it to shift the predictions of the foundation model, offering notable efficiency but often yielding limited improvement; or making API calls in each tuning iteration to the foundation model, which entails prohibitive computational costs. Therefore, we propose a novel advanced black-box tuning method for LLMs with limited API calls. Our core strategy involves training a Gaussian Process (GP) surrogate model with "LogitMap Pairs" derived from querying the foundation model on a minimal but highly informative training subset. This surrogate can approximate the outputs of the foundation model to guide the training of the proxy model, thereby effectively reducing the need for direct queries to the foundation model. Extensive experiments verify that our approach elevates pre-trained language model accuracy from 55.92% to 86.85%, reducing the frequency of API queries to merely 1.38%. This significantly outperforms offline approaches that operate entirely without API access. Notably, our method also achieves comparable or superior accuracy to query-intensive approaches, while significantly reducing API costs. This offers a robust and high-efficiency paradigm for language model adaptation.
format Preprint
id arxiv_https___arxiv_org_abs_2511_10210
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Advanced Black-Box Tuning of Large Language Models with Limited API Calls
Xie, Zhikang
Wan, Weilin
Gong, Peizhu
Zhang, Weizhong
Jin, Cheng
Artificial Intelligence
Black-box tuning is an emerging paradigm for adapting large language models (LLMs) to better achieve desired behaviors, particularly when direct access to model parameters is unavailable. Current strategies, however, often present a dilemma of suboptimal extremes: either separately train a small proxy model and then use it to shift the predictions of the foundation model, offering notable efficiency but often yielding limited improvement; or making API calls in each tuning iteration to the foundation model, which entails prohibitive computational costs. Therefore, we propose a novel advanced black-box tuning method for LLMs with limited API calls. Our core strategy involves training a Gaussian Process (GP) surrogate model with "LogitMap Pairs" derived from querying the foundation model on a minimal but highly informative training subset. This surrogate can approximate the outputs of the foundation model to guide the training of the proxy model, thereby effectively reducing the need for direct queries to the foundation model. Extensive experiments verify that our approach elevates pre-trained language model accuracy from 55.92% to 86.85%, reducing the frequency of API queries to merely 1.38%. This significantly outperforms offline approaches that operate entirely without API access. Notably, our method also achieves comparable or superior accuracy to query-intensive approaches, while significantly reducing API costs. This offers a robust and high-efficiency paradigm for language model adaptation.
title Advanced Black-Box Tuning of Large Language Models with Limited API Calls
topic Artificial Intelligence
url https://arxiv.org/abs/2511.10210