Motivation
Specialized foundation models remain dependent on human-designed improvements
Specialized foundation models learn reusable domain knowledge through large-scale pretraining and acquire domain expertise that often exceeds that of general LLM agents. Yet they still cannot self-evolve like LLM agents. Once supervised training reaches convergence, researchers have to manually identify useful designs to improve the specialized foundation model.
Most self-evolving systems still rely on proprietary LLMs whose parameters remain fixed while agent code and interaction harnesses evolve. For specialized foundation models, the challenge is for the LLM agent to keep improving the specialized model as the specialized model advances. An intervention that improves the initial model can become redundant after further training.
Continued progress requires the agent to learn continually with the model when it improves. We refer to this mechanism as reciprocal learning.
We propose Heterogeneous Agentic Coevolution (HACE), which coevolves a specialized foundation model (the specialist) with a heterogeneous LLM agent that learns to guide the coevolution. Agent learning is guided by verified gains over the current specialist. The agent's exploration, in turn, guides the selection of experiences for subsequent specialist training. An evolutionary interaction harness governs information exchange and training experience selection.
Method
An evolving harness connects specialist adaptation, joint selection, and agent learning
Let S denote the specialist, A the agent, and H the harness. Agent exploration selects specialist training experience. Joint validation retains the specialist and harness, after which fresh verified responses train the agent.
Harness optimization
We propose a harness H′ by modifying a parent from an archive of accepted harnesses. Its fields control the task information and specialist context shown to the agent, how responses are interpreted, and which examples train each learner.
Specialist optimization
Under H′, the agent receives a prompt constructed from a training input and the predictions of S, without access to its label. A fixed optimization budget produces S′ using the original supervised task loss. Agent exploration determines where to train, while task labels determine what the specialist learns.
Joint selection
With A fixed, we compare the proposed pair (S′, H′) and the current pair on the same validation batch. Joint prediction ranks candidates by s(c) + λa(c), with λ fit from {0, 0.25, 0.5, 1, 2, 4, 8} on one fold and evaluated on the other. The proposal is accepted when ΔJ > 0. Otherwise, we restore the specialist parameters, optimizer, calibration, and harness.
Agent optimization
We collect fresh responses with A under the retained pair. With qA and qS the respective task qualities, the response contribution is r = qA − qS. We keep the original response with the largest positive contribution for each eligible instance, and the agent trains on these with on-policy reinforced self-training.
A specialist update can change which responses improve on its predictions, and a harness update can change the information available to the agent. The agent's updated responses guide exploration in the next round.
Verification
Agent learning is guided by verified gains over the current specialist
We evaluate each response against the label using the same task constraints as the specialist. A response passes verification when its prediction is valid, supervision is evaluable, and r > 0. Sample a few responses below to see which ones would be kept.
Main results
HACE enables specialists to continue improving beyond supervised convergence
In each domain, we begin with specialists already trained to convergence. We compare against ReST-EM, Meta-Harness, OpenEvolve, DGM and TTT-Discover. By default, we use Gemma-4 E4B as the LLM agent.
Recommendation
HACE achieves the highest mean HR@10 in all 15 settings. Relative gains over Base range from 2.9% to 18.5%, averaging 12.1% across settings. On ML-1M, several evolution methods fall below the initial SASRec and HSTU models, while HACE improves all three architectures.
Protein function prediction and material discovery
On CAFA, HACE raises NDCG from 0.6285 to 0.6745 with ESM-2 and from 0.6241 to 0.6739 with ProtT5-XL. Existing evolution methods improve over Base by at most 0.0040 and 0.0032, respectively. On WBM, all competing methods improve NDCG over Base, from 0.6388 to at least 0.6474. HACE reaches 0.6541, exceeding the strongest competing mean by 0.0028.
Evolution dynamics
HACE reaches the highest selection score in all three recorded trajectories
In HACE, each retained specialist and harness defines the starting point for the next round. The trajectories show when higher scoring configurations are found during search.
Case studies
Illustrations on events during coevolution
Recorded changes include removing genre metadata, targeting difficult training instances, and hiding candidate ranks from the agent. These examples illustrate how the harness search changes both the context used for prediction and the experience used for reciprocal learning.
Case studies on three domains
HACE recovers a matching product variant, places two relevant protein terms in the top five, and brings a second stable phase into the top three.
Ablation studies
All designed components contribute positively to the framework
Removing agent optimization causes the largest drop on Toys, from 0.0706 to 0.0622. On CAFA, removing harness or specialist optimization reduces NDCG by 0.0438 and 0.0435, respectively. Removing agent-guided experience lowers performance even when specialist optimization remains enabled, by 0.0044 on Toys, 0.0170 on CAFA, and 0.0034 on WBM. Removing joint selection also reduces all three scores.
Harness Engineering
The harness governs information exchange and training experience selection
Harness fields control the task information and specialist context shown to the agent, how responses are interpreted, and which examples train each learner.
Citation
@article{ye2026heterogeneous,
title = {Heterogeneous Agentic Coevolution},
author = {Ye, Wenqian and Guan, Ziwei and Yang, Zi and
Modi, Shivani and Wu, Cici Cong and He, Yunlong and
Chen, Yuxin and Zhang, Zhengyu and Luo, Liang and
Ranganathan, Venkatesh and Sun, Jianhui and
Yao, Yantao and Chen, Wenlin and Zhang, Buyun and
Wen, Ellie Dingqiao and Kautz, Henry and
Zhang, Aidong},
journal = {arXiv preprint arXiv:2610.16078},
year = {2026}
}