Asclepius

Asclepius is agentic repair: fixing a hallucinating or "sick" model instead of just stopping it.

The violin player

Under twilight sedation, a violin player keeps playing while the surgeon scans the brain. The playing helps the surgeon tell what still works. Isolate the bad part, fix it, leave the rest alone. The hard part is the margin — cutting healthy tissue by mistake.

The model's tasks serve the same purpose in the chamber. The lesion test measures what an edit changes before the chamber locks it in.

Task execution continues through the candidate edit.

Validate, check, roll back

The Eureka loop runs a block of tasks after each repair attempt. Iris checks the model's observed behavior against the success tests.

  1. Apply a candidate repair.
  2. Run the task block and verify the results.
  3. Lock in the repair if the block passes. If it fails, roll back and use the result to guide the next attempt.

Qwenx86

A 64-bit x86 computer compiled into model weights gives the lesion detector a known circuit to check against Unicorn.

Lockstep cases
2,000
Matches
2,000/2,000
Run length
1.44 million tokens

Perturb a weight in the CPU layers and run the cases. The lesion detector misses a fault if it calls the edit safe and the CPU diverges from Unicorn. The goal is to catch every divergence in the test.

These finite runs establish the baseline for detector experiments. Formal CPU verification and surgery on learned weights require separate evidence.

Where to edit

In standard ROME and MEMIT settings, causal-tracing scores had essentially no correlation with edit success.

Correlational localization
A component activates with a behavior.
Causal localization
An intervention measurably changes a behavior. Other components may still contribute, and better edit sites may exist.
Editable localization
An edit to a bounded parameter region produces the desired behavior and preserves what the declared lesion battery requires.

Repair ladder

Start with the least invasive repair that fits the diagnosis. The failure layer determines the treatment family.

Radiation Retry or replan
The default first treatment is targeted, cheap, and reversible. It acts outside the model and leaves its weights and state intact.
Chemo State and behavior
Rollback, external-state repair, and adaptation change state or behavior. The weights stay intact.
Surgery Weight editing
ROME, MEMIT, and AlphaEdit edit the weights. The lesion test must check whether the edit harms behavior outside its target.

Retry a planning error. Repair the index for stale retrieval. Roll back a corrupted session. A failure in one layer calls for a repair in that layer.

Research ranking

  1. Context and state repair with IKE-style in-context editing
  2. SERAC / external edit memory
  3. LoRA/PEFT repair branch
  4. AlphaEdit
  5. ROME
  6. MEMIT / EMMET
  7. MEND
  8. Broad fine-tuning

EasyEdit is the experimental toolbench.

Repair verdicts

The verdicts mirror Correct, Incorrect, and Unverified.

Fixed
The original failure no longer reproduces. Generalization tests, required invariants, and regression tests pass. The evidence attributes the change to the repair candidate.
Not fixed
The original failure remains, a required success condition fails, or the candidate introduces an unacceptable regression or a new safety failure.
Cannot tell
The evidence is missing, inconsistent, nondeterministic, underpowered, contaminated, or unable to distinguish repair from luck. This verdict blocks promotion.

Guardrails

Preserve the patient
The chamber may pause an attempt, quarantine a candidate, revoke its repair credentials, roll back to the preserved model, or return Not fixed or Cannot tell. It must preserve the sole model artifact, the pre-repair snapshot, and the evidence. Only a human may decide to decommission the model.
Constrain the repair arm
Repair requires privileged changes. The design must account for the nine threats: privilege capture, diagnosis forgery, verifier capture, audit tampering, supply-chain replacement, defense removal disguised as repair, rollback abuse, over-broad model editing, and self-certification.

The diagnoser

The watcher detects the failure and proposes a diagnosis. A human confirms it and authorizes the repair. Iris receives the diagnosis, which guides the chamber's repair, then Iris checks the result independently.

Diagnosis Record

  • Incident ID and immutable evidence references
  • Failed specification and failure class
  • First causal divergence and propagation path
  • Affected scope and evidence for diagnosis
  • Alternative diagnoses and uncertainty, including Unknown
  • Repair constraints and escalation class
  • Success tests defined before repair

Research sequence

  1. Verify / Steer
  2. App mode and second user
  3. Cage Stage 1
  4. Mars
  5. Asclepius