Skip to content

Related work

The idea sits at the intersection of five communities. None of them ships the whole loop.

Parameter-level knowledge editing

work note
ROME rank-one factual edits; the origin of this line
MEMIT batch editing thousands of facts
MEND hypernetwork that predicts edits
SERAC external memory instead of weights
AlphaEdit null-space projection of preserved knowledge; the projection used by Machaon, wrapped here in a transaction and acceptance contract
Survey best entry point to the literature
EasyEdit the closest existing framework (2.9k★), batch-script oriented

Training-free weight surgery

work note
Model Surgery very few parameters change behaviour
SCALPEL low-rank parameter editing for capability ablation
ThinkEdit weight edits change reasoning length
Resisting Harmful Instructions through Training-Free Weight Editing evidence that this is practical and dual-use
TARS targeted angular reversal for knowledge removal

Representation and activation editing

work note
Refusal is mediated by a single direction the "one direction, one behaviour" result
RepE representation engineering
CAA contrastive activation addition
ActAdd activation engineering
SAELens sparse-autoencoder features as edit targets

Weight-space algebra

work note
Task Arithmetic editing models by adding task vectors
TIES / DARE interference-aware merging
mergekit the mature toolchain (7.4k★)
Evolutionary model merge search over merge recipes

LLM-driven optimisation

work note
OPRO LLMs as optimisers
TextGrad textual gradients
SEAL a model generates its own update directives
Foundation models understand weights supports "an LLM can reason about weight space"
LLM as a Tool, Not an Agent the sharpest counter-argument to agentic editing
Agentic NAS the opposing camp

The two papers to read before building

  1. Revisiting Parameter-Based Knowledge Editing: Theoretical Limits and Empirical Evidence — argues parameter editing has fundamental ceilings.
  2. Long-form evaluation of model editing — why short-answer success and long-generation coherence are separate checks.

Both are load-bearing for the gate design in machaon.hygieia.

The gap Machaon targets

  1. No agent-operable edit action space — existing work is a Python API or a script.
  2. No transaction layer — nothing snapshots, verifies, and rolls back.
  3. Evaluation is not a first-class citizen.
  4. No system lets the LLM plan the surgery: diagnose → choose site → declare constraints → hand off to a closed-form solver.

machaon.action supplies the constrained L1 action, Session.propose_action places it on the existing transaction, budget and rollback path, and machaon.planning turns failure/site evidence into an explicit edit, diagnose or do-not-edit route. Session.search_layers adds live apply/evaluate/rollback search, and diagnose_failure turns headroom evidence into a conservative failure class. The remaining gap is larger measured benchmark coverage and independent reproduction.