snf_experiments / paper_export /evidence /analytic /run_commit_order.log
CharlesZhang-USTC's picture
Add files using upload-large-folder tool
ea1b5d0 verified
Raw History Blame Contribute Delete
4.22 kB
/opt/conda/envs/torch-base/lib/python3.12/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
================================================================================================
Commitment order vs position: the field is byte-identical in every arm, only the
order in which entries are frozen changes.
================================================================================================
seed 0 done
seed 1 done
seed 2 done
seed 3 done
mean over 4 seeds. 'align' is 1 when the field's entries are frozen
first and 0 when last. 'free_n' counts the untouched entries frozen before them;
'free_I' is the share of the field's own variance those commitments already removed.
order align free_n free_I range calib_err resolution mono spearman
----------------------------------------------------------------------------------------------------
field-first 0.89 0.00 0.00 2.099 0.296 7.2 0.75 0.996
field-first (rest shuffled) 0.89 0.00 0.00 2.099 0.296 7.2 0.75 0.996
confidence (MaskGIT) 0.40 0.57 0.64 1.490 0.555 5.8 1.00 0.989
position (left to right) 0.50 0.40 0.71 0.765 0.725 4.5 0.50 0.937
random 0.51 0.37 0.52 1.474 0.484 5.8 1.00 0.987
reverse position 0.50 0.40 0.71 0.676 0.641 4.2 0.75 0.944
field-last 0.11 1.00 0.71 0.592 0.702 5.0 0.25 0.835
The decisive pair
field-first vs field-last differ in nothing except the order entries are frozen in. Same
field tensor, same token positions, same number of groups, same compute, same seeds.
resolution 7.2 -> 5.0
calib_err 0.296 -> 0.702
range 2.099 -> 0.592
So the cliff is not about position. Nothing here has a prefix.
What the second control shows, and what it does not
'field-first (rest shuffled)' reads 7.2 against field-first's 7.2. These agree to every
printed digit, and they were always going to: the decoder is per-token and the metric is
field-weighted, so the measurement depends only on entries inside the field's support, and in
both arms those are frozen before any untouched entry exists to condition them. It is
therefore not an independent test of the dose-response reading. What it does establish, and
exactly rather than approximately, is the other half of the asymmetry -- commitments made
*after* the control has acted cost it literally nothing, however many there are.
Dose-response across all 7 orders
Spearman(free_n, resolution) = -0.648 counting untouched commitments
Spearman(free_I, resolution) = -0.870 weighting them by what they determine
Counting is the obvious statistic and it is not the right one. Left-to-right and a random
permutation freeze a similar number of untouched entries before the field acts (0.40 against
0.37) and land far apart (4.5 against 5.8), because left-to-right freezes the entries
temporally adjacent to the field's support and a random permutation scatters them. Once the
commitments are weighted by how much of the field's variance they remove, the arms line up.
Where a masked decoder actually lands
The confidence order is the one a MaskGIT-style model uses without being asked, and nobody
authoring a field gets to choose it: alignment 0.40, free_I 0.64, resolution 5.8.
Left-to-right, the autoregressive case, sits at 4.5.
Testbed check -- does left-to-right reproduce the autoregressive sampler?
range calib_err resolution
run_cliff 0.679 0.665 4.0
this file 0.765 0.725 4.5
CSVs written to /jizhi/jizhi2/worker/trainer/snf/runtime/outputs/analytic