Self-Evolving AI: LLM and Harness Together (RSI)

· Source: Discover AI · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, extended

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

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

Topics

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Discover AI.