TL;DR
Researchers have introduced EMO-STA (Shared-Then-Adapt), a framework that makes LLM-guided evolutionary search more efficient by evolving a shared library of programs across related tasks before fine-tuning them. This approach not only beats single-task evolution on the same compute budget but also acts as a powerful regularizer, preventing models from "overfitting" to specific task quirks in data-sparse environments like the Abstraction and Reasoning Corpus (ARC).
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly used as "mutation engines" in evolutionary search to discover new algorithms or mathematical constructions (e.g., DeepMind’s FunSearch). However, these methods typically treat every problem as an island. If you want to optimize a sorting algorithm for four different data distributions, standard methods run four independent, expensive evolutionary loops.
This is inefficient for two reasons:
- Redundancy: Related tasks often share a "reusable structure" or algorithmic skeleton.
- Overfitting: In "low-evidence" settings—where you only have a few examples to evaluate a program—evolution can easily find "brittle" solutions that pass the training cases by exploiting artifacts rather than learning the underlying logic.
Methods
The authors propose Evolutionary Multi-Task Optimization (EMO) via a two-stage framework called STA (Shared-Then-Adapt):
- The Shared Phase: The LLM is prompted to write a single program that handles an entire "task family" (e.g., a generic circle-packer that takes $n$ as a parameter). Evolution proceeds by evaluating candidates against an aggregate score across all tasks in the family. This produces a Shared Archive of general-purpose programs.
- The Adaptation Phase: The search "specializes." It takes candidates from the shared archive and runs a short, task-specific evolutionary burst.
The paper explores three ways to initialize this adaptation:
- STA Warmstart: Transfers the entire shared archive to the local task.
- STA Best-Shared: Starts only from the program with the best average score across the family.
- STA Best-Local: Starts from the program in the archive that performed best on that specific target task.
Datasets
The framework was tested across eight diverse task families:
- Continuous Optimization: Function minimization (Ackley, Rosenbrock, etc.).
- Geometric Construction: Circle packing (in squares and rectangles) and the Heilbronn triangle problem.
- Algorithmic/Modeling: SLDBench-3D (scaling laws), Rust adaptive sort, and K-module (logic puzzles).
- Low-Evidence/Generalization: The Abstraction and Reasoning Corpus (ARC) and a time-series feature engineering task (COVID Deaths).
Key Insights and Ideas
- The "Balanced Budget" Rule: The authors found that a roughly 50/50 split between shared evolution and task-specific adaptation is often optimal. Spending too much time on the shared phase leads to "generalists" that lack peak performance, while skipping it loses the structural head-start.
- Evolutionary Regularization: This is perhaps the most striking insight. In ARC tasks, single-task evolution often "cheats" by finding programs that fit training grids but fail the test grid. Shared evolution forces the LLM to find a rule that works across transformed versions of the task (rotations, color swaps), effectively filtering out "hallucinated" logic.
- Best-Local vs. Best-Shared: STA Best-Local is the king of in-distribution performance (refining the best tool for the job), while STA Best-Shared is the most robust when transferring to completely unseen task sizes (Out-of-Distribution).
Key Results
- Better Performance, Same Price: Under "matched-compute" (where EMO-STA and the baseline use the same total number of LLM calls), EMO-STA outperformed single-task evolution in 38 out of 40 experimental settings.
- Geometric Gains: On the Heilbronn triangle task, performance jumped from 0.547 (baseline) to 0.650 (EMO-STA) using Claude Haiku.
- Solving the Unsolvable: In ARC, EMO-STA recovered a substantial fraction of cases where single-task evolution failed due to overfitting. For Gemini 3.1 Pro, it solved 13/20 previously failed cases.
- Time-Series Robustness: In the COVID Deaths task, single-task evolution actually worsened test error (-1.12% MASE) despite improving validation. EMO-STA (Best-Shared) achieved a 13.24% reduction in test error by favoring generalizable transformations.
Limitations and Future Work
- The "Relatedness" Requirement: EMO-STA relies on the researcher to group tasks into families and define a unified interface. If tasks aren't actually related, the shared phase might be wasted compute.
- Automated Grouping: A promising future direction is having the LLM automatically cluster arbitrary tasks into families before starting the EMO process.
- Scaling: While tested on families of 4-5 tasks, it remains to be seen how the "shared objective" scales to families with hundreds of diverse sub-tasks.
Summary updated