Self-Evolving AI: LLM and Harness Together (RSI)
Summary
The "Harness Aware Self-Evolving" (Haz) AI framework, developed by University of Hong Kong and Jan research, enables an 8B local LLM to significantly outperform a 120B cloud-based model. Haz is an agentic reinforcement learning framework where a single LLM simultaneously co-evolves its policy weights and its entire harness structure, including prompts, tools, and even its local evaluator. This system addresses reward hacking and fixed harness bottlenecks by employing a dual evolution process: optimizing harness components and iteratively improving the local evaluator using a "mismatch set" (M) that captures discrepancies with a "real-world evaluator" (oracle). Experimental validation in an AlphaFactory mining experiment showed the 8B Haz model achieving superior Information Coefficient and annualized excess returns compared to a 120B GPT model for stock price prediction. This demonstrates the power of a smaller AI customizing its own tools.
Key takeaway
For ML Engineers developing autonomous agents, especially in dynamic environments like quantitative finance, you should re-evaluate traditional fixed harness designs. Implementing a Haz-like framework allows your smaller, local LLMs to co-evolve their policy and environment, including evaluators, significantly outperforming larger static models. This approach mitigates reward hacking and enables continuous self-improvement, potentially reducing reliance on expensive cloud-based solutions.
Key insights
A small LLM can outperform larger models by co-evolving its policy and environment, including its own evaluators.
Principles
- LLM policy weights and harness elements can be optimized simultaneously.
- Dual evaluators (local proxy, external oracle) prevent reward hacking.
- A "mismatch set" iteratively hardens local evaluators against exploits.
Method
The Haz framework uses an inner loop for LLM weight updates and harness edits, guided by a local evaluator. An outer loop audits solutions with an oracle, populating a mismatch set (M) that drives local evaluator evolution.
In practice
- Design agentic systems where LLMs can modify their own tools and evaluators.
- Employ a two-tiered evaluation system to balance training speed and truthfulness.
Topics
- Self-Evolving AI
- LLM Agents
- Harness Optimization
- Reward Hacking
- Evaluator Evolution
- AlphaFactory Experiment
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Discover AI.