export m2/reference-baseline
Browse files
exports/m2/reference-baseline/index.html
CHANGED
|
@@ -1157,8 +1157,8 @@ These are the values in the top panel of the figure above.</p></figcaption></fig
|
|
| 1157 |
<p>The reference axes have to be the cheap ones for the basis the model trained in. Under the rotated basis a coordinate axis is an ordinary direction and costs more, as rotated-basis found, so a median over coordinate axes would overstate the baseline there.</p>
|
| 1158 |
<p>With an optimizer that has no privileged basis at all, every direction touches the spike, and no set of cheap reference directions exists in the same sense.</p>
|
| 1159 |
<h2 id="runs-near-the-spill-criterion-e4">Runs near the spill criterion (E4)<a class="anchor-link" href="#runs-near-the-spill-criterion-e4" title="Link to this heading">¶</a></h2>
|
| 1160 |
-
<p>The stored <code>falloff</code> runs are all well within the <dfn class="term" tabindex="0">spill</dfn><span class="sidenote glossnote" role="note" tabindex="-1"><span class="glossnote-term">Spill</span> <span class="gloss">The side effect of an edit on the other ops<span class="lead-colon">:</span></span><span class="more"> the largest drop in the score of any op other than the one removed, net of what the same edit does to a control trained without the anchor. The selectivity criterion of D2.2 allows at most 0.02 at any dose.</span></span> criterion, so a change of baseline could not move a run across it. Two arms of <a href="../soft-pool/report.py">soft-pool</a>, <code>step, soft Ο</code> and <code>pool 1β3, soft Ο</code>, come close to it at the same seeds: against eβ in the control, 2 and 4 of their 8 runs spill over it.
|
| 1161 |
-
<p><strong>What we saw.</strong> For <code>step, soft Ο</code>
|
| 1162 |
<!-- REVIEW: "seed 705 rises just over it" now says it rises to the criterion. Against the own-run median it is 0.0205, and against the median over all 63 other axes (the D2.2 rule) in the run it is 0.0198, so which side it lands on is a matter of rounding. Verify: `SOFT_SPILL[POOL][SELF_MED][705]`, and `scores(median_drop(FALLOFF, 705, POOL, [i for i in range(64) if i != E1]), 705, POOL)["worst_spill"]`. -->
|
| 1163 |
|
| 1164 |
<figure class="mini-themed-figure">
|
|
@@ -1176,15 +1176,15 @@ four doses. Values over the criterion of 0.02 are in bold. These are the values
|
|
| 1176 |
<!-- REVIEW: the spill-timing sentence said netting against the control "hid a spill on `value-hsv` that the run has on its own". That report (PR #285, not on this branch) nets against eight reference axes, finds the late spill on `value-hsv` at 705, and says it ends just under the criterion; it does not say the control hid it. Reworded to what it saw. Verify: spill-timing E2, "The late kind grows on seeds 705 and 710 ... It ends just under the criterion on 705". -->
|
| 1177 |
|
| 1178 |
<p>Removal moves as little as it did for <code>falloff</code>, within a hundredth or two on average.</p>
|
| 1179 |
-
<p>So the soft-pool spill counts depend on the baseline at the edge: a run within about a hundredth of the criterion can fall on either side. The counts against the median of the
|
| 1180 |
-
<!-- REVIEW:
|
| 1181 |
|
| 1182 |
<h2 id="discussion">Discussion<a class="anchor-link" href="#discussion" title="Link to this heading">¶</a></h2>
|
| 1183 |
<p>For the stored runs of <code>falloff</code> the paired baseline was sound, in that it rarely moved the result. On most seeds eβ happened to be a quiet axis of the control. Where it was not, the error was a tenth of removal, on one seed. The numbers that split-anti-seeds quoted stand. The paired baseline moved a <dfn class="term" tabindex="0">spill</dfn><span class="sidenote glossnote" role="note" tabindex="-1"><span class="glossnote-term">Spill</span> <span class="gloss">The side effect of an edit on the other ops<span class="lead-colon">:</span></span><span class="more"> the largest drop in the score of any op other than the one removed, net of what the same edit does to a control trained without the anchor. The selectivity criterion of D2.2 allows at most 0.02 at any dose.</span></span> count only for runs at the edge of the criterion, as in the soft-pool runs of E4.</p>
|
| 1184 |
<p>The median over the quiet axes removes that dependence on the draw, and it takes a few minutes more of scoring per run. Where the draw goes badly, as in the rotated-basis runs, it is the difference between a run that seems to have lost the anchor and one that removes nine tenths of the op.</p>
|
| 1185 |
<p>The agreement of the two medians suggests a baseline needs no control at all: the quiet axes of the anchored run serve. That would matter for a recipe meant for real models, where a matched control is costly or impossible, and it is what spill-timing already does along training.</p>
|
| 1186 |
<p>But the agreement rests on these sixteen pairs, and a recipe that disturbed the quiet axes of the anchored run would break it. So a control is still the way to check that a run-internal baseline is sound.</p>
|
| 1187 |
-
<p>For later experiments
|
| 1188 |
<div class="footnote all-sidenoted">
|
| 1189 |
<hr />
|
| 1190 |
<ol>
|
|
|
|
| 1157 |
<p>The reference axes have to be the cheap ones for the basis the model trained in. Under the rotated basis a coordinate axis is an ordinary direction and costs more, as rotated-basis found, so a median over coordinate axes would overstate the baseline there.</p>
|
| 1158 |
<p>With an optimizer that has no privileged basis at all, every direction touches the spike, and no set of cheap reference directions exists in the same sense.</p>
|
| 1159 |
<h2 id="runs-near-the-spill-criterion-e4">Runs near the spill criterion (E4)<a class="anchor-link" href="#runs-near-the-spill-criterion-e4" title="Link to this heading">¶</a></h2>
|
| 1160 |
+
<p>The stored <code>falloff</code> runs are all well within the <dfn class="term" tabindex="0">spill</dfn><span class="sidenote glossnote" role="note" tabindex="-1"><span class="glossnote-term">Spill</span> <span class="gloss">The side effect of an edit on the other ops<span class="lead-colon">:</span></span><span class="more"> the largest drop in the score of any op other than the one removed, net of what the same edit does to a control trained without the anchor. The selectivity criterion of D2.2 allows at most 0.02 at any dose.</span></span> criterion, so a change of baseline could not move a run across it. Two arms of <a href="../soft-pool/report.py">soft-pool</a>, <code>step, soft Ο</code> and <code>pool 1β3, soft Ο</code>, come close to it at the same seeds: against eβ in the control, 2 and 4 of their 8 runs spill over it. How do those counts change against the medians? We compare the spill of each run, the largest over the four doses, under each baseline.</p>
|
| 1161 |
+
<p><strong>What we saw.</strong> For <code>step, soft Ο</code> the count drops to none: both runs that were over the criterion fall under it against either median. For <code>pool 1β3, soft Ο</code> the count barely changes (4 against eβ in the control, 3 against the median of the control, 3 against the median of the run), but which runs are over it changes. Seeds 708 and 710 fall under the criterion, and seed 705 rises to it: just over against the median of the control, and over by less than a thousandth against the median of the run (the bold 0.020 in the table). The figure shows each run under each baseline and, for scale, with no baseline subtracted.</p>
|
| 1162 |
<!-- REVIEW: "seed 705 rises just over it" now says it rises to the criterion. Against the own-run median it is 0.0205, and against the median over all 63 other axes (the D2.2 rule) in the run it is 0.0198, so which side it lands on is a matter of rounding. Verify: `SOFT_SPILL[POOL][SELF_MED][705]`, and `scores(median_drop(FALLOFF, 705, POOL, [i for i in range(64) if i != E1]), 705, POOL)["worst_spill"]`. -->
|
| 1163 |
|
| 1164 |
<figure class="mini-themed-figure">
|
|
|
|
| 1176 |
<!-- REVIEW: the spill-timing sentence said netting against the control "hid a spill on `value-hsv` that the run has on its own". That report (PR #285, not on this branch) nets against eight reference axes, finds the late spill on `value-hsv` at 705, and says it ends just under the criterion; it does not say the control hid it. Reworded to what it saw. Verify: spill-timing E2, "The late kind grows on seeds 705 and 710 ... It ends just under the criterion on 705". -->
|
| 1177 |
|
| 1178 |
<p>Removal moves as little as it did for <code>falloff</code>, within a hundredth or two on average.</p>
|
| 1179 |
+
<p>So the soft-pool spill counts depend on the baseline at the edge: a run within about a hundredth of the criterion can fall on either side. The counts against the median of the run are the ones to compare with later experiments, since the D2.2 design now scores that way. That design takes its median with the syntax axes in, which puts seed 705 just under the criterion, so <code>pool 1β3, soft Ο</code> has 2 runs over it on that rule (seeds 707 and 711) and <code>step, soft Ο</code> has none.</p>
|
| 1180 |
+
<!-- REVIEW: paper round 2 adopted the own-run median as the D2.2 default, so this paragraph now points at the counts against the median of the run. Under the design rule (all 63 other axes) the own-run count for `pool 1β3, soft Ο` is 2 (707, 711), because 705 lands at 0.0198; `step, soft Ο` stays at none. Verify: `D22_OVER`, and `d22_spill(FALLOFF, 705, POOL)`. -->
|
| 1181 |
|
| 1182 |
<h2 id="discussion">Discussion<a class="anchor-link" href="#discussion" title="Link to this heading">¶</a></h2>
|
| 1183 |
<p>For the stored runs of <code>falloff</code> the paired baseline was sound, in that it rarely moved the result. On most seeds eβ happened to be a quiet axis of the control. Where it was not, the error was a tenth of removal, on one seed. The numbers that split-anti-seeds quoted stand. The paired baseline moved a <dfn class="term" tabindex="0">spill</dfn><span class="sidenote glossnote" role="note" tabindex="-1"><span class="glossnote-term">Spill</span> <span class="gloss">The side effect of an edit on the other ops<span class="lead-colon">:</span></span><span class="more"> the largest drop in the score of any op other than the one removed, net of what the same edit does to a control trained without the anchor. The selectivity criterion of D2.2 allows at most 0.02 at any dose.</span></span> count only for runs at the edge of the criterion, as in the soft-pool runs of E4.</p>
|
| 1184 |
<p>The median over the quiet axes removes that dependence on the draw, and it takes a few minutes more of scoring per run. Where the draw goes badly, as in the rotated-basis runs, it is the difference between a run that seems to have lost the anchor and one that removes nine tenths of the op.</p>
|
| 1185 |
<p>The agreement of the two medians suggests a baseline needs no control at all: the quiet axes of the anchored run serve. That would matter for a recipe meant for real models, where a matched control is costly or impossible, and it is what spill-timing already does along training.</p>
|
| 1186 |
<p>But the agreement rests on these sixteen pairs, and a recipe that disturbed the quiet axes of the anchored run would break it. So a control is still the way to check that a run-internal baseline is sound.</p>
|
| 1187 |
+
<p>For later experiments the D2.2 design now takes a simpler scoring rule from this report. Leaving the syntax axes in barely moves the median, so the baseline is the median over every coordinate axis but eβ, with no ranking by energy, taken in the anchored run. An experiment then needs controls only now and then, to confirm that the two medians still agree, rather than one per seed. The one difference to watch is that the median of the run puts spill a little lower than the median of the control (by up to 0.012 here, on one seed). All of this assumes an optimizer like Adam, which keeps most axes quiet. Under one with no privileged basis, any reference direction touches the spike, so the baseline would be larger and an edit of any one direction dearer.</p>
|
| 1188 |
<div class="footnote all-sidenoted">
|
| 1189 |
<hr />
|
| 1190 |
<ol>
|
exports/m2/reference-baseline/index.md
CHANGED
|
@@ -144,9 +144,9 @@ With an optimizer that has no privileged basis at all, every direction touches t
|
|
| 144 |
|
| 145 |
## Runs near the spill criterion (E4)
|
| 146 |
|
| 147 |
-
The stored `falloff` runs are all well within the spill criterion, so a change of baseline could not move a run across it. Two arms of [soft-pool](../soft-pool/report.py), `step, soft Ο` and `pool 1β3, soft Ο`, come close to it at the same seeds: against eβ in the control, 2 and 4 of their 8 runs spill over it.
|
| 148 |
|
| 149 |
-
**What we saw.** For `step, soft Ο`
|
| 150 |
<!-- REVIEW: "seed 705 rises just over it" now says it rises to the criterion. Against the own-run median it is 0.0205, and against the median over all 63 other axes (the D2.2 rule) in the run it is 0.0198, so which side it lands on is a matter of rounding. Verify: `SOFT_SPILL[POOL][SELF_MED][705]`, and `scores(median_drop(FALLOFF, 705, POOL, [i for i in range(64) if i != E1]), 705, POOL)["worst_spill"]`. -->
|
| 151 |
|
| 152 |
<figure class="mini-themed-figure">
|
|
@@ -165,8 +165,8 @@ Which way a run moves depends on the op that spills. On every run over the crite
|
|
| 165 |
|
| 166 |
Removal moves as little as it did for `falloff`, within a hundredth or two on average.
|
| 167 |
|
| 168 |
-
So the soft-pool spill counts depend on the baseline at the edge: a run within about a hundredth of the criterion can fall on either side. The counts against the median of the
|
| 169 |
-
<!-- REVIEW:
|
| 170 |
|
| 171 |
## Discussion
|
| 172 |
|
|
@@ -178,4 +178,4 @@ The agreement of the two medians suggests a baseline needs no control at all: th
|
|
| 178 |
|
| 179 |
But the agreement rests on these sixteen pairs, and a recipe that disturbed the quiet axes of the anchored run would break it. So a control is still the way to check that a run-internal baseline is sound.
|
| 180 |
|
| 181 |
-
For later experiments
|
|
|
|
| 144 |
|
| 145 |
## Runs near the spill criterion (E4)
|
| 146 |
|
| 147 |
+
The stored `falloff` runs are all well within the spill criterion, so a change of baseline could not move a run across it. Two arms of [soft-pool](../soft-pool/report.py), `step, soft Ο` and `pool 1β3, soft Ο`, come close to it at the same seeds: against eβ in the control, 2 and 4 of their 8 runs spill over it. How do those counts change against the medians? We compare the spill of each run, the largest over the four doses, under each baseline.
|
| 148 |
|
| 149 |
+
**What we saw.** For `step, soft Ο` the count drops to none: both runs that were over the criterion fall under it against either median. For `pool 1β3, soft Ο` the count barely changes (4 against eβ in the control, 3 against the median of the control, 3 against the median of the run), but which runs are over it changes. Seeds 708 and 710 fall under the criterion, and seed 705 rises to it: just over against the median of the control, and over by less than a thousandth against the median of the run (the bold 0.020 in the table). The figure shows each run under each baseline and, for scale, with no baseline subtracted.
|
| 150 |
<!-- REVIEW: "seed 705 rises just over it" now says it rises to the criterion. Against the own-run median it is 0.0205, and against the median over all 63 other axes (the D2.2 rule) in the run it is 0.0198, so which side it lands on is a matter of rounding. Verify: `SOFT_SPILL[POOL][SELF_MED][705]`, and `scores(median_drop(FALLOFF, 705, POOL, [i for i in range(64) if i != E1]), 705, POOL)["worst_spill"]`. -->
|
| 151 |
|
| 152 |
<figure class="mini-themed-figure">
|
|
|
|
| 165 |
|
| 166 |
Removal moves as little as it did for `falloff`, within a hundredth or two on average.
|
| 167 |
|
| 168 |
+
So the soft-pool spill counts depend on the baseline at the edge: a run within about a hundredth of the criterion can fall on either side. The counts against the median of the run are the ones to compare with later experiments, since the D2.2 design now scores that way. That design takes its median with the syntax axes in, which puts seed 705 just under the criterion, so `pool 1β3, soft Ο` has 2 runs over it on that rule (seeds 707 and 711) and `step, soft Ο` has none.
|
| 169 |
+
<!-- REVIEW: paper round 2 adopted the own-run median as the D2.2 default, so this paragraph now points at the counts against the median of the run. Under the design rule (all 63 other axes) the own-run count for `pool 1β3, soft Ο` is 2 (707, 711), because 705 lands at 0.0198; `step, soft Ο` stays at none. Verify: `D22_OVER`, and `d22_spill(FALLOFF, 705, POOL)`. -->
|
| 170 |
|
| 171 |
## Discussion
|
| 172 |
|
|
|
|
| 178 |
|
| 179 |
But the agreement rests on these sixteen pairs, and a recipe that disturbed the quiet axes of the anchored run would break it. So a control is still the way to check that a run-internal baseline is sound.
|
| 180 |
|
| 181 |
+
For later experiments the D2.2 design now takes a simpler scoring rule from this report. Leaving the syntax axes in barely moves the median, so the baseline is the median over every coordinate axis but eβ, with no ranking by energy, taken in the anchored run. An experiment then needs controls only now and then, to confirm that the two medians still agree, rather than one per seed. The one difference to watch is that the median of the run puts spill a little lower than the median of the control (by up to 0.012 here, on one seed). All of this assumes an optimizer like Adam, which keeps most axes quiet. Under one with no privileged basis, any reference direction touches the spike, so the baseline would be larger and an edit of any one direction dearer.
|