FedPOB: Sample-Efficient Federated Prompt Optimization via Bandits

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lu, Pingchen, Hong, Zhi, Shang, Zhiwei, Wang, Zhiyong, Ban, Yikun, Shu, Yao, Zhang, Min, Qiu, Shuang, Dai, Zhongxiang
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915521941733376
author Lu, Pingchen
Hong, Zhi
Shang, Zhiwei
Wang, Zhiyong
Ban, Yikun
Shu, Yao
Zhang, Min
Qiu, Shuang
Dai, Zhongxiang
author_facet Lu, Pingchen
Hong, Zhi
Shang, Zhiwei
Wang, Zhiyong
Ban, Yikun
Shu, Yao
Zhang, Min
Qiu, Shuang
Dai, Zhongxiang
contents The performance of large language models (LLMs) is highly sensitive to the input prompt, making prompt optimization a critical task. However, real-world application is hindered by three major challenges: (1) the black-box nature of powerful proprietary LLMs, (2) the need for high sample efficiency due to query costs, and (3) the desire for privacy-preserving collaboration among multiple users. To address these challenges simultaneously, we introduce a novel framework for sample-efficient federated prompt optimization based on multi-armed bandits (MABs). The MAB framework is uniquely suited for this problem as it is (1) inherently a black-box optimization method, (2) practically sample-efficient, and (3) enables collaborative learning with theoretically guaranteed benefit from more participating agents. We first propose the Federated Prompt Optimization via Bandits (FedPOB) algorithm, a federated variant of the Linear UCB algorithm, where agents collaborate by sharing model parameters instead of raw data. We then extend our approach to the practical setting of comparative user feedback by introducing FedPOB with Preference Feedback (FedPOB-Pref), an efficient algorithm based on federated dueling bandits. Extensive experiments demonstrate that both FedPOB and FedPOB-Pref significantly outperform existing baselines and that their performance consistently improves as more agents participate in the collaboration, validating the effectiveness of our federated approach.
format Preprint
id arxiv_https___arxiv_org_abs_2509_24701
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FedPOB: Sample-Efficient Federated Prompt Optimization via Bandits
Lu, Pingchen
Hong, Zhi
Shang, Zhiwei
Wang, Zhiyong
Ban, Yikun
Shu, Yao
Zhang, Min
Qiu, Shuang
Dai, Zhongxiang
Machine Learning
Artificial Intelligence
The performance of large language models (LLMs) is highly sensitive to the input prompt, making prompt optimization a critical task. However, real-world application is hindered by three major challenges: (1) the black-box nature of powerful proprietary LLMs, (2) the need for high sample efficiency due to query costs, and (3) the desire for privacy-preserving collaboration among multiple users. To address these challenges simultaneously, we introduce a novel framework for sample-efficient federated prompt optimization based on multi-armed bandits (MABs). The MAB framework is uniquely suited for this problem as it is (1) inherently a black-box optimization method, (2) practically sample-efficient, and (3) enables collaborative learning with theoretically guaranteed benefit from more participating agents. We first propose the Federated Prompt Optimization via Bandits (FedPOB) algorithm, a federated variant of the Linear UCB algorithm, where agents collaborate by sharing model parameters instead of raw data. We then extend our approach to the practical setting of comparative user feedback by introducing FedPOB with Preference Feedback (FedPOB-Pref), an efficient algorithm based on federated dueling bandits. Extensive experiments demonstrate that both FedPOB and FedPOB-Pref significantly outperform existing baselines and that their performance consistently improves as more agents participate in the collaboration, validating the effectiveness of our federated approach.
title FedPOB: Sample-Efficient Federated Prompt Optimization via Bandits
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2509.24701