Skip to content

SIA: Self-Improving AI with Harness & Weight Updates - AI Research Brief

1. Introduction: Breaking the Self-Improvement Bifurcation

Section titled “1. Introduction: Breaking the Self-Improvement Bifurcation”

The pursuit of an artificial intelligence system capable of recursive self-improvement has historically been hindered by a methodological divide. On one hand, researchers focused on scaffold engineering (Silo 1), where meta-agents mutate prompts and tool-dispatch logic around a frozen base model. On the other hand, parameter optimization (Silo 2) relied on reinforcement learning or fine-tuning within rigid, hand-crafted application wrappers.

The framework introduced by Hexo Labs, SIA (Self-Improving AI), unifies these two approaches. Given only a high-level task specification and a deterministic verifier, SIA co-evolves both its software architecture (the harness) and its neural pathways (the weights) in an autonomous, closed-loop system without human intervention.

2. 🔬 The SIA Architecture: Three Agents, Two Levers

Section titled “2. 🔬 The SIA Architecture: Three Agents, Two Levers”

The operational architecture of SIA relies on three specialized large language model components executing a coordinated feedback loop.

  • The Meta-Agent: Ingests the initial task specification and reference code to generate the first task-specific software scaffold (the harness), including system prompts, error extraction, and tool-dispatch logic.
  • The Task-Specific Agent: Executes the given objective using the current harness and the underlying base model weights (initially gpt-oss-120b). It logs every decision, tool call, and system response as a detailed trajectory.
  • The Feedback-Agent: Evaluates the execution trajectory. After each iteration, this agent determines which optimization lever to pull: mutate the software harness or trigger a parameter update step.
  1. Bootstrap: The Meta-Agent creates the initial task harness.
  2. Execution: The Task-Specific Agent runs the benchmark, outputting a complete execution trajectory.
  3. Evaluation: The Feedback-Agent reads the trajectory, identifies failures (syntax errors, logic gaps, or domain blind spots), and assigns credit.
  4. Lever Selection:
    • Harness Update (SIA-H): If the failure is operational (e.g., parsing errors, missing tools), the Feedback-Agent rewrites the scaffold.
    • Weight Update (SIA-W+H): If the failure is conceptual (lack of domain intuition), the Feedback-Agent triggers a low-rank adaptation (LoRA, rank 32) parameter update step.
  5. Iteration: The process repeats autonomously, building domain-specific intuition and custom software scaffolding.

3. Empirical Benchmarks and Performance Gains

Section titled “3. Empirical Benchmarks and Performance Gains”

To validate the generalizability of combining harness and weight updates, the researchers evaluated SIA across three contrasting, highly technical domains.

Section titled “A. Chinese Legal Charge Classification (LawBench)”

Classifying 191 distinct criminal charges represents a massive linguistic and logical challenge.

  • Baseline (Raw model): 13.5% accuracy.
  • SIA-H (Harness-only): Rose to 50.0% accuracy through strict prompt formatting and retry logic.
  • SIA-W+H (Harness + Weights): Climbed to 70.1% accuracy, representing a 25.1% increase over the prior state-of-the-art (SOTA).

B. GPU Kernel Optimization (AlphaEvolve TriMul)

Section titled “B. GPU Kernel Optimization (AlphaEvolve TriMul)”

The agent was tasked with writing a custom CUDA kernel for a triangular multiplicative update on an NVIDIA H100 GPU.

  • Performance: Weight updates allowed the model to develop deep hardware intuition regarding memory layouts and compilation flags.
  • Result: SIA converged to a runtime of 1,017 microseconds, delivering 12.4% faster execution than the previous human-engineered SOTA, and a 91.9% reduction in execution time compared to the baseline.

C. Single-Cell RNA Denoising (MAGIC scRNA-seq)

Section titled “C. Single-Cell RNA Denoising (MAGIC scRNA-seq)”

A highly specialized biology benchmark requiring complex mathematics for single-cell gene expression imputation.

  • Result: SIA-W+H outperformed the prior SOTA by 20.4% (a 502% improvement over the initial baseline).

4. Technical Implications and “Tool Sovereignty”

Section titled “4. Technical Implications and “Tool Sovereignty””

The success of the SIA framework highlights a fundamental truth about autonomous software agents: Harness updates make the model agentic, while weight updates build the domain intuition that no prompt can instill.

When the Feedback-Agent mutates the harness, the improvements typically focus on “software hygiene”—better error handling, robust JSON parsing, and optimal API call retries. However, when the agent invokes a weight update, it modifies its neural parameters to internalize structural patterns (like legal definitions or CUDA memory alignment). This dual-engine evolution prevents the agent from plateauing, allowing it to acquire what researchers term “Tool Sovereignty”—the complete autonomy to rewrite its own execution pipeline.

SIA is a milestone in the path toward self-directed artificial intelligence. By open-sourcing the framework, Hexo Labs has provided the engineering community with a concrete, reproducible loop for autonomous system improvement. Future research must now focus on creating safety boundaries and “alignment guardrails” that can evolve at the same speed as the agent’s autonomous capabilities.