TL;DR
CORAL is a new framework that shifts LLM-based discovery from rigid, human-defined evolutionary loops to a fully autonomous multi-agent system. By providing agents with shared persistent memory and periodic "heartbeat" interventions to reflect and pivot, CORAL achieves state-of-the-art results across 10 complex optimization tasks, including a 20% improvement on Anthropic’s challenging kernel engineering benchmark.
What Problem Does This Paper Address?
Many of the most difficult problems in science and engineering—like writing the most efficient GPU kernel or finding optimal logistics heuristics—don't have a known "ground truth" answer. We solve them through iterative discovery: proposing a solution, testing it, and refining it based on feedback.
While Large Language Models (LLMs) are great at this, current "LLM-based evolution" systems like FunSearch often treat the model as a simple mutation operator inside a rigid, hard-coded loop. A human or a fixed script decides which parent solutions to pick, when to run tests, and what knowledge to save. This lack of autonomy limits the search; the agent can't decide to pivot its strategy or reflect on why a specific approach failed. CORAL addresses this by delegating the entire evolutionary process—retrieval, proposal, evaluation, and memory management—to the agents themselves.
Methods
CORAL introduces a paradigm shift from fixed search to Autonomous Multi-Agent Evolution. The framework is built on three core pillars:
- Shared Persistent Memory: Structured like a file system, this "library" contains
attempts/(historical solutions),notes/(observations and reflections), andskills/(reusable code snippets and implementation patterns). Agents use symbolic links to access this shared knowledge without interfering with each other's local workspaces. - Asynchronous Multi-Agent Organization: Instead of a rigid communication protocol, multiple agents work in parallel and coordinate indirectly through the shared memory. This "horizontal scaling" allows for diverse exploration trajectories where one agent's breakthrough can inspire another's next move.
- Heartbeat-Based Interventions: To prevent agents from falling into local minima (e.g., obsessively micro-optimizing a dead-end approach), CORAL uses "heartbeats" that trigger specific behaviors:
- Reflect: Prompts the agent to document what worked or failed after an evaluation.
- Consolidate: Every few iterations, agents are tasked with synthesizing notes into reusable "skills."
- Pivot: If progress plateaus, the agent is forced to look at the leaderboard, inspect other agents' top attempts, and try a fundamentally different direction.
Datasets
The authors evaluated CORAL on a diverse set of 11 tasks across two main suites:
- Mathematical Optimization: 6 tasks including Circle Packing and the Erdős Minimum Overlap problem.
- Systems Optimization: 5 tasks including GPU placement (PRISM), transaction scheduling, and load balancing (EPLB).
- Stress Tests: Two particularly difficult problems: Anthropic’s Kernel Engineering task (optimizing a VLIW SIMD kernel) and the Polyominoes packing problem.
Key Insights and Ideas
- Autonomy Drives Efficiency: CORAL agents achieve much higher "improvement rates" (the fraction of evaluations that actually result in a better score). This is because autonomous agents often run local tests and debug their code before submitting it to the official evaluator, wasting fewer expensive evaluation cycles on broken candidates.
- Knowledge is Power: On complex tasks like Kernel Engineering, agents created 10x more knowledge artifacts (notes and skills) than on simpler tasks. These notes—such as identifying architectural bottlenecks or documenting "what never worked"—were causally linked to better final performance.
- Emergent Collaboration: Even without explicit messaging, agents "diffused" techniques. In the Polyominoes task, 87% of rounds referenced knowledge committed by other agents.
- The "Pivot" is Essential: The heartbeat mechanism acts as a safeguard against myopic search. By forcing agents to "look up" and reconsider their strategy, the system avoids the stagnation common in fixed evolutionary pipelines.
Key Results
CORAL established a new state-of-the-art (SOTA) on 8 of the 11 benchmark tasks.
- Improvement Rates: CORAL achieved 3–10× higher improvement rates than fixed evolutionary baselines (like OpenEvolve or EvoX).
- Kernel Engineering: In the Anthropic stress test, CORAL improved the best-known score from 1,363 cycles down to 1,103 cycles—a significant 20% gain.
- Efficiency: CORAL typically converged within 5–20 evaluations, whereas fixed search methods often required 60–100 to reach inferior results.
Limitations and Future Work
- Model Requirements: CORAL currently relies on "frontier" models (like Claude 3.5 Opus) that can handle complex agentic workflows. Running this on smaller, local models remains a challenge for future work.
- Agent Homogeneity: In the current setup, all agents are initialized identically. The authors suggest that injecting distinct "personalities" or specialized roles into different agents could further increase behavioral diversity.
- Evaluator Dependency: The system assumes a well-defined evaluator exists. For truly open-ended problems where the goal itself might be fuzzy, the authors propose that the evaluator might need to co-evolve alongside the solutions.
Summary updated