change-bench / PROTOCOL.md
Mimarin's picture
Change Bench v0 (manifest e9200d808c16f8ecde8589ab612ec99b2f178e6c7593f64b3ab7738637add2c6)
68d3a5d verified
|
Raw History Blame Contribute Delete
5.19 kB

Change Bench protocol (v0)

Author: Mimarin O.

The bench asks how a learned controller handles a change to its body. A claim that a method improves on how a controller handles a change holds only if the method beats the strongest cheap alternatives at the same budget while keeping what it already knew. Results that do not support such a claim, negative and null ones included, still belong in the bench and are published as entries. Every entry registered under this protocol therefore faces four rivals and follows five rules.

This protocol was written after entry one's screen. Entry one is a historical development illustration that predates it: it was not registered under this protocol, two rivals (fresh machine, pooled learner) were not run and no reason for leaving them out was recorded before its data, and retention was not measured for its told arm. Its own rule and checks were fixed before its data and are listed under "Reading an entry".

The four rivals

  1. Fresh machine. A controller trained from scratch on the changed body with the entry's full budget of experience and compute. It answers: is the old knowledge worth anything at all after the change?
  2. Stored old solution. The pre-change controller, unchanged, run on the changed body. It answers: did the change matter, and how much did the entry recover? (In entry one this is N, the released model on the halved knee.)
  3. Told calibration. The pre-change controller given an explicit description of the change and allowed to use it (for example, a planner told the new actuator gear and planning within it), with no learning. It answers: could a number someone writes down have done the job? Where the change cannot be written down in advance, the rival is the best identification method that estimates the change from the same data the entry used, then tells the controller.
  4. Pooled learner. A controller trained on the pooled experience of the old and the changed body (or several bodies) at the same total budget. It answers: is the entry better than simply learning from everything at once?

A rival may be left out only with a written reason, recorded before data, and shown in the results table as "not run".

The five rules

  1. Matched resources. Every rival gets the same information about the change (unless the rival's point is to be told more, which is then declared), the same budget of environment steps on the changed body, and its compute reported. A rival that uses less and matches is a result in its own right.
  2. Retention measured. Every entry reports what each arm keeps: skills on the same body that were not practised, and, where the model is shared, skills on other bodies. A gain on the changed skill that costs other skills is reported as such ("recovers without retention"), never as a plain win.
  3. Full cost. Changed-body experience (episodes, decisions, transitions), gradient updates, wall time, hardware and any human or expert input (such as a told number) are reported per arm.
  4. Rules fixed before data. The change, the skill scored, the evaluation bank, the comparators, the thresholds, the outcome classes in order, the validity checks and the budget are written down and dated before any result is seen. A run that fails a validity check is INVALID: its result is kept on record and never read as an outcome. An examined bank is reported as a development screen; a confirmation needs a bank no one has looked at.
  5. Negatives published. Every run is published: wins, losses, partial results and invalid runs, each with its cause where it is known and a plain statement where it is not.

Validity checks every entry carries

  • An identity or null check: the entry's algorithmic intervention switched off (for a told planner, the told factor set to one), run in the same changed environment with the same model and the same evaluation and random-number protocol, reproduces a saved baseline of that same setting within a stated tolerance, episode by episode. If it does not, the run is INVALID. The body change itself stays in place; restoring the healthy body is a different check (a healthy-body control), reported separately where it is run, and is not a substitute for the null check.
  • Implementation checks named before data (for a told planner, for example: the physical torque equivalence, no clipped command, every model boundary converted).
  • Hashes of the code, model and input files used, written into the run record.

Reading an entry

Each entry states its own registered outcome classes. Entry one used, in order:

  • INVALID if any validity check failed;
  • MATCHES IN THIS SCREEN if the told arm's mean is at least Df_bar - T;
  • PARTIAL RECOVERY if it is above N + T;
  • NO RECOVERY SHOWN otherwise.

Here Df_bar is the learned arm's mean over its seeds, N the stored old solution's mean, and T the noise threshold fixed before the data (twice the larger of N's absolute difference between two evaluation banks and the standard error of its per-episode differences; 36.75 in entry one). This is a development heuristic, not a calibrated statistical test.