MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hong, Zhi, Zhang, Qian, Sun, Jiahang, Shang, Zhiwei, Kong, Mingze, Wang, Xiangyi, Shu, Yao, Dai, Zhongxiang
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911732863074304
author Hong, Zhi
Zhang, Qian
Sun, Jiahang
Shang, Zhiwei
Kong, Mingze
Wang, Xiangyi
Shu, Yao
Dai, Zhongxiang
author_facet Hong, Zhi
Zhang, Qian
Sun, Jiahang
Shang, Zhiwei
Kong, Mingze
Wang, Xiangyi
Shu, Yao
Dai, Zhongxiang
contents Large Language Models (LLMs) have achieved great success in many real-world applications, especially the one serving as the cognitive backbone of Multi-Agent Systems (MAS) to orchestrate complex workflows in practice. Since many deployment scenarios preclude MAS workflow modifications and its performance is highly sensitive to the input prompts, prompt optimization emerges as a more natural approach to improve its performance. However, real-world prompt optimization for MAS is impeded by three key challenges: (1) the need of sample efficiency due to prohibitive evaluation costs, (2) topology-induced coupling among prompts, and (3) the combinatorial explosion of the search space. To address these challenges, we introduce MASPOB (Multi-Agent System Prompt Optimization via Bandits), a novel sample-efficient framework based on bandits. By leveraging Upper Confidence Bound (UCB) to quantify uncertainty, the bandit framework balances exploration and exploitation, maximizing gains within a strictly limited budget. To handle topology-induced coupling, MASPOB integrates Graph Neural Networks (GNNs) to capture structural priors, learning topology-aware representations of prompt semantics. Furthermore, it employs coordinate ascent to decompose the optimization into univariate sub-problems, reducing search complexity from exponential to linear. Extensive experiments across diverse benchmarks demonstrate that MASPOB achieves state-of-the-art performance, consistently outperforming existing baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2603_02630
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks
Hong, Zhi
Zhang, Qian
Sun, Jiahang
Shang, Zhiwei
Kong, Mingze
Wang, Xiangyi
Shu, Yao
Dai, Zhongxiang
Machine Learning
Artificial Intelligence
Large Language Models (LLMs) have achieved great success in many real-world applications, especially the one serving as the cognitive backbone of Multi-Agent Systems (MAS) to orchestrate complex workflows in practice. Since many deployment scenarios preclude MAS workflow modifications and its performance is highly sensitive to the input prompts, prompt optimization emerges as a more natural approach to improve its performance. However, real-world prompt optimization for MAS is impeded by three key challenges: (1) the need of sample efficiency due to prohibitive evaluation costs, (2) topology-induced coupling among prompts, and (3) the combinatorial explosion of the search space. To address these challenges, we introduce MASPOB (Multi-Agent System Prompt Optimization via Bandits), a novel sample-efficient framework based on bandits. By leveraging Upper Confidence Bound (UCB) to quantify uncertainty, the bandit framework balances exploration and exploitation, maximizing gains within a strictly limited budget. To handle topology-induced coupling, MASPOB integrates Graph Neural Networks (GNNs) to capture structural priors, learning topology-aware representations of prompt semantics. Furthermore, it employs coordinate ascent to decompose the optimization into univariate sub-problems, reducing search complexity from exponential to linear. Extensive experiments across diverse benchmarks demonstrate that MASPOB achieves state-of-the-art performance, consistently outperforming existing baselines.
title MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2603.02630