Pheromone-based Learning of Optimal Reasoning Paths
Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities through chain-of-thought prompting, yet discovering effective reasoning methods for complex problems remains challenging due to the vast space of possible intermediate steps. We introduce Ant Colony Optimization-guided Tree of Thought (ACO-ToT), a novel algorithm that combines ACO with LLMs to discover optimal reasoning paths for complex problems efficiently. Drawing inspiration from Hebbian learning in neurological systems, our method employs a collection of distinctly fine-tuned LLM "ants" to traverse and lay pheromone trails through a centralized tree of thought, with each ant's movement governed by a weighted combination of existing pheromone trails and its own specialized expertise. The algorithm evaluates complete reasoning paths using a mixture-of-experts-based scoring function, with pheromones reinforcing productive reasoning paths across iterations. Experiments on three challenging reasoning tasks (GSM8K, ARC-Challenge, and MATH) demonstrate that ACO-ToT performs significantly better than existing chain-of-thought optimization approaches, suggesting that incorporating biologically inspired collective search mechanisms into LLM inference can substantially enhance reasoning capabilities.
Code (0)
등록된 구현이 없습니다.
Tasks
ARCGSM8KMathMixture-of-ExpertsSimilar Papers 제목 키워드 기반
PhGPO: Pheromone-Guided Policy Optimization for Long-Horizon Tool Planning
Recent advancements in Large Language Model (LLM) agents have demonstrated strong capabilities in executing complex tasks through tool use. However, long-horizon multi-step tool planning is challenging, because the explo…
Exploration-Exploitation Model of Moth-Inspired Olfactory Navigation
Navigation of male moths toward females during the mating search offers a unique perspective on the exploration-exploitation (EE) model in decision-making. This study uses the EE model to explain male moth pheromone-driv…
Decision MakingmodelTraversing News with Ant Colony Optimisation and Negative Pheromones
The past decade has seen the rapid development of the online newsroom. News published online are the main outlet of news surpassing traditional printed newspapers. This poses challenges to the production and to the consu…
Pheromone-Guided Navigation of Potential Mates: A Distinct Exploration Strategy
Animals, especially insects, navigate their environments using complex strategies that integrate responses to chemical signals such as pheromones. The relative importance an insect places on foraging, finding a mate or o…
NavigateA Model for Foraging Ants, Controlled by Spiking Neural Networks and Double Pheromones
A model of an Ant System where ants are controlled by a spiking neural circuit and a second order pheromone mechanism in a foraging task is presented. A neural circuit is trained for individual ants and subsequently the …