Optimizing the communication structure of large language model based multi-agent systems (LLM-MAS) has been shown to improve downstream performance and reduce token usage. Existing methods typically train on randomly sampled tasks. We show that this optimization is sensitive to the choice of training tasks: downstream accuracy varies widely across random task sets, and adding more random tasks does not consistently improve it. To actively identify the most valuable tasks from a pool of task-answer pairs, we propose an ensemble-based information-theoretic task selection framework. It estimates task informativeness by how much a candidate task changes the distribution over graph parameters, using ensemble Kalman inversion as an efficient and derivative-free approximation of the Bayesian update. The resulting estimator is especially suitable for black-box and noisy multi-agent systems and remains effective with ensembles much smaller than the parameter dimension. To further reduce the number of tasks whose informativeness must be evaluated, we introduce representative pre-selection and surrogate modeling. We validate the framework in benign and adversarial settings and across multiple task formats. It outperforms random training, demonstrating more effective task selection and greater overall cost efficiency.
翻译:暂无翻译