Add SIA: Self-Improving AI with Harness & Weight Updates#3
Open
imnida wants to merge 1 commit into
Open
Conversation
Implements the SIA framework from Hebbar et al. (arXiv:2605.27276).
The loop lets a Feedback-Agent iteratively improve both the scaffold
(harness) and the model weights (LoRA) of a task-specific agent.
Key components:
- sia_loop.py — main configurable loop (Meta-Agent → execute → Feedback-Agent)
- meta_agent.py — generates initial scaffold A1 using Claude Sonnet 4.6
- feedback_agent.py — analyses trajectory τg, decides harness vs weight update
- task_agent.py — executes scaffold against dataset, captures trajectory
- trajectory.py — structured execution log (Step, ToolCall, Trajectory)
- verifier.py — deterministic per-instance reward interface
- weight_updates/ — six RL algorithms: PPO+GAE, GRPO, Entropic Advantage
Weighting, REINFORCE+KL, Best-of-N BC, DPO
- tasks/ — three benchmark tasks: LawBench (191-class Chinese legal),
AlphaEvolve TriMul (CUDA kernel), MAGIC scRNA-seq denoising
https://claude.ai/code/session_01DLqnGSQGNhPHnUzTLgJ6id
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the SIA framework from Hebbar et al. (arXiv:2605.27276).
The loop lets a Feedback-Agent iteratively improve both the scaffold
(harness) and the model weights (LoRA) of a task-specific agent.
Key components:
Weighting, REINFORCE+KL, Best-of-N BC, DPO
AlphaEvolve TriMul (CUDA kernel), MAGIC scRNA-seq denoising
https://claude.ai/code/session_01DLqnGSQGNhPHnUzTLgJ6id