用粒子群优化进化多智能体推理能力,让模型学会可复用的解题策略。
AgentPSO: Evolving Agent Reasoning Skill via Multi-agent Particle Swarm Optimization

- 将每个智能体视为带语义方向的粒子,通过群体协作迭代优化推理技能。
- 在数学与通用推理任务上优于静态单智能体和仅推理时的多智能体方法。
- 技能可跨任务、跨模型迁移,适合需要持续学习的复杂推理场景。
多智能体推理通过让多个智能体探索不同的推理路径,提升了大语言模型的问题求解能力。然而,现有方法大多依赖推理时的辩论或聚合,易受错误同伴影响和偏见共识干扰。此外,智能体的推理过程保持静态,无法在任务间积累可复用的行为。本文提出 extbf{AgentPSO},一种受粒子群优化启发的多智能体推理技能演化框架。将每个智能体视为具有自然语言技能状态和语义更新方向(速度)的粒子,通过迭代引导其向更高性能的技能配置演进。训练过程中,每个智能体结合自身历史速度、个人最优技能、全局最优技能以及来自同伴推理轨迹的自我反思方向,更新自身技能。该方法不更新主干语言模型参数,却能实现可复用的推理行为学习。在数学与通用推理基准测试中,AgentPSO 显著优于静态单智能体技能和仅推理时的多智能体基线。演化出的技能还表现出跨基准和跨模型的迁移能力,表明其捕捉的是通用推理模式而非仅针对特定任务的提示优化。代码已公开于 https://github.com/HYUNMIN-HWANG/AgentPSO/。
原文摘要 · Abstract (English)
Multi-agent reasoning has shown promise for improving the problem-solving ability of large language models by allowing multiple agents to explore diverse reasoning paths. However, most existing multi-agent methods rely on inference-time debate or aggregation, which can be vulnerable to incorrect peer influence and biased consensus. Moreover, the agents' reasoning procedures remain static, as they do not accumulate reusable behaviors across tasks. In this paper, we introduce \textbf{AgentPSO}, a particle-swarm-inspired framework for evolving multi-agent reasoning skills. AgentPSO treats each agent as a particle-like reasoner whose state is a natural-language skill and whose velocity is a semantic update direction, iteratively guiding agents toward higher-performing skill configurations. Across training iterations, each agent updates its skill by combining its previous velocity, personal-best skill, global-best skill, and a self-reflective direction derived from peer reasoning trajectories. This enables agents to learn reusable reasoning behaviors by drawing on their own experience and on the strongest skills found by the population, without updating the parameters of the backbone language model. Experiments on mathematical and general reasoning benchmarks show that AgentPSO improves over static single-agent skills and test-time-only multi-agent reasoning baselines. The evolved skills further transfer across benchmarks and to another backbone model, suggesting that AgentPSO captures reusable reasoning procedures rather than merely optimizing benchmark-specific prompts. Code is publicly available at https://github.com/HYUNMIN-HWANG/AgentPSO/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。