# SwarmEvolve: Latent Agent Swarms for Evolutionary Discovery and Optimization

DevFeed: [SwarmEvolve: Latent Agent Swarms for Evolutionary Discovery and Optimization](<https://devfeed.tech/articles/swarmevolve-latent-agent-swarms-for-evolutionary-discovery-and-optimization-120331.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08483>)

Author: Qile Jiang, George Em Karniadakis

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI for science](<https://devfeed.tech/topics/ai-for-science.md>), [Operations research and optimization](<https://devfeed.tech/topics/operations-research-and-optimization.md>), [agent to agent communication](<https://devfeed.tech/topics/agent-to-agent-communication.md>), [Complex Systems](<https://devfeed.tech/topics/complex-systems.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [computing](<https://devfeed.tech/tags/computing.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ne](<https://devfeed.tech/tags/cs-ne.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [discovery](<https://devfeed.tech/tags/discovery.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [fast](<https://devfeed.tech/tags/fast.md>), [filter](<https://devfeed.tech/tags/filter.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [program](<https://devfeed.tech/tags/program.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [scientific-computing](<https://devfeed.tech/tags/scientific-computing.md>), [search](<https://devfeed.tech/tags/search.md>), [share](<https://devfeed.tech/tags/share.md>), [space](<https://devfeed.tech/tags/space.md>)

## AI overview

SwarmEvolve speeds up LLM-guided program search by coordinating hundreds of low-cost agents in swarms that reason without decoding their thoughts to text and share information through KV caches. A novelty filter selects distinct ideas by measuring distances between hidden-state vectors, while a summarizer combines swarm members' caches to enable latent-space crossover. Across 21 mathematical discovery and scientific computing problems, the framework reports the highest average score and reaches scores that other state-of-the-art frameworks achieve in 60 minutes in a median of 3-8 minutes. With Qwen3 8B, it also improves on solutions AlphaEvolve first found using frontier LLMs on several problems. These are reported benchmark results; the supplied text does not describe the evaluation setup in detail.

## Source excerpt

arXiv:2611.08483v1 Announce Type: new Abstract: LLM-guided evolutionary search uses AI agents to improve programs for mathematical and computational problems by iteratively refining solutions and combining high-scoring methods. However, the process is often slow because the LLM generates a long textual chain of thought for each round and must repeat this generation many times to maintain population diversity. We present SwarmEvolve, a framework in which hundreds of low-cost agents per round work in swarms, reason in latent space without decoding to text, and share information by passing KV caches. Each swarm studies the problem from a different angle. A novelty filter keeps the most distinct agent ideas by directly measuring the distances between the agents' hidden state vectors. Crossover of ideas happens naturally in latent space, as a summarizer agent receives the combined KV caches of all swarm members. On 21 problems in mathematical discovery and scientific computing, SwarmEvolve gets the highest average score and needs a median of only 3 to 8 minutes to reach the best scores that other state-of-the-art frameworks reach in 60 minutes. On several problems, SwarmEvolve with Qwen3 8B improves on the solutions that AlphaEvolve first found with frontier LLMs. Our work shows that agent swarms that communicate in latent space offer a fast, low-cost approach to program search for scientific problems.