Abstract
Recently, many approaches, such as Chain-of-Thought (CoT) prompting and Multi-Agent Debate (MAD), have been proposed to further enrich Large Language Models' (LLMs) complex problem-solving capacities in reasoning scenarios. However, these methods may fail to solve complex problems due to the lack of ability to find optimal solutions. Swarm Intelligence has been serving as a powerful tool for finding optima in the field of traditional optimization problems. To this end, we propose integrating swarm intelligence into the reasoning process by introducing a novel Agent-based Swarm Intelligence (ASI) paradigm. In this paradigm, we formulate LLM reasoning as an optimization problem and use a swarm intelligence scheme to guide a group of LLM-based agents in collaboratively searching for optimal solutions. To avoid swarm intelligence getting trapped in local optima, we further develop a Swarm Intelligence Enhancing Reasoning (SIER) framework, which develops a density-driven strategy to enhance the reasoning ability. To be specific, we propose to perform kernel density estimation and non-dominated sorting to optimize both solution quality and diversity simultaneously. In this case, SIER efficiently enhances solution space exploration through expanding the diversity of the reasoning path. Besides, a step-level quality evaluation is used to help agents improve solution quality by correcting low-quality intermediate steps. Then, we use quality thresholds to dynamically control the termination of exploration and the selection of candidate steps, enabling a more flexible and efficient reasoning process.
Introduction
While Chain-of-Thought (CoT) prompting has significantly improved LLM performance, models still struggle with complex, multi-step reasoning, particularly in high-level mathematics. A primary obstacle is the tendency of models to fall into "local optima"—reasoning paths that appear plausible but ultimately lead to incorrect conclusions. Existing multi-agent approaches, such as Multi-Agent Debate (MAD), attempt to mitigate this by introducing diverse roles. However, these agents often suffer from "homogeneity," eventually converging on identical incorrect reasoning because they share the same underlying model. The core challenge lies in systematically generating diverse reasoning paths to increase the probability of discovering the globally optimal solution.
The SIER Framework
To address these challenges, we introduce the Agent-based Swarm Intelligence (ASI) paradigm, implemented via the SIER framework. SIER conceptualizes the reasoning process as a spatial search within a high-dimensional solution space.
The framework operates in three distinct phases:
- Phase I: Population Initialization: Generating an initial set of reasoning paths.
- Phase II: Population Evolution: This phase employs Kernel Density Estimation (KDE) to map the landscape of current reasoning paths. By calculating density scores, the framework identifies over-explored regions. It then uses Non-dominated Sorting to identify the "Pareto front," selecting steps that balance high Quality (derived from a Process Reward Model) with high Diversity (low density).
- Phase III: Clustering and Selecting: Final solutions are clustered based on their answers, and the best representative from each cluster is selected to ensure a diverse final candidate pool.
Experimental Evaluation
The SIER framework was evaluated against standard CoT and Reward-Guided Search (RGS) across seven rigorous benchmarks, including AIME-2024/2025, MATH-500 (Level 5), and MMLU-STEM.
Key results include:
- Superior Accuracy: SIER consistently outperformed baselines. On AIME-2024, SIER achieved a 26.7% pass@8 score, surpassing CoT's 20.0%. On the challenging MATH-500 (Level 5) subset, it reached 82.1%, compared to 76.9% for CoT.
- Robustness: On problems where initial attempts failed, SIER demonstrated an "identification success rate" near 100% for AIME datasets, indicating its effectiveness in escaping local optima through evolution.
- Efficiency Trade-offs: While highly accurate, SIER is computationally intensive, consuming approximately 5x more tokens than standard CoT on complex tasks.
Discussion and Conclusion
The SIER framework demonstrates that explicitly optimizing for diversity (low density) is as crucial as optimizing for quality when solving complex reasoning tasks. By treating reasoning as a multi-objective optimization problem, SIER provides a robust mechanism to prevent agent homogeneity and local optima entrapment.
Future work will address the framework's dependency on the Process Reward Model (PRM) to prevent "reward hacking" and focus on improving token efficiency to make the search process more viable for real-time applications.
Summary updated