This experiment tests a narrower hypothesis about the pose-free anisotropic solver challenge.
The earlier results showed that:
- hidden rotation broadens the near-optimal latent family mainly in
alpha - a low-order pose-invariant spectral encoding does not rescue
alpha - blunt invariant compression throws away too much boundary structure
That leaves a more targeted possibility:
- maybe the current inverse is still too brittle because it trusts only the single best shift
- maybe some of the
alphaambiguity comes from candidates winning on one lucky pose alignment
This experiment probes that possibility directly.
If we keep the full radial signature but replace the hard best-shift score with a soft shift-marginalized score, does alpha become more stable under pose-free observation?
Before running the benchmark, the new scoring rule was checked in two ways.
First, the script compiled cleanly.
Second, the marginalized score was tested for exact pose consistency.
The audit confirmed that:
- under arbitrary clean full rotations, the marginalized method still recovers the exact bank candidate
- the marginalized score is rotation-invariant when the observation and mask rotate together, with max score discrepancy
1.73e-17
The clean exact-match score is not zero because the soft score integrates over all 64 shifts. Its clean value is the expected softmin constant:
- max clean exact-match marginalized score:
4.16e-4
That is expected behavior, not an error.
The experiment script is run_shift_marginalized_pose_experiment.py.
The comparison is between two pose-free inverse rules on the same weighted anisotropic three-source family.
Baseline:
- for each candidate, evaluate masked fit over all cyclic shifts
- keep only the single best shift
- rank candidates by that minimum score
Shift-marginalized method:
- evaluate masked fit over all cyclic shifts
- compute a soft shift-marginalized score instead of a hard minimum
- still recover the best shift of the selected candidate for final fit evaluation
So the new method does not discard pose and does not discard boundary detail.
It changes only one thing:
- pose is treated as distributed evidence rather than a winner-take-all alignment
The softmin temperature is tied to the regime noise floor:
tau = max(noise_sigma^2, 1e-4)
Reference bank:
- anisotropy-aware bank size:
300
Test set:
40trials per observation regime
Envelope:
- top-
10candidates per trial
Observation regimes:
full_cleanfull_noisypartial_arc_noisysparse_full_noisysparse_partial_high_noise
The result is encouraging but not dramatic.
Soft shift-marginalization modestly improves
alpharecovery in most regimes, especially in the harder sparse settings, and it consistently tightens the top-10alphaenvelope, but the gains are moderate rather than transformative.
The summary file is shift_marginalized_pose_summary.json.
At the regime level:
alphaimproves in three regimes:full_noisy:0.2647 -> 0.2548sparse_full_noisy:0.2734 -> 0.2360sparse_partial_high_noise:0.2871 -> 0.2602
alphais essentially unchanged in one regime:full_clean:0.2500 -> 0.2500
alphaworsens slightly in one regime:partial_arc_noisy:0.1294 -> 0.1325
The ratio-of-means summary is the cleanest read:
- best baseline-over-marginalized
alpharatio:1.1586 - worst baseline-over-marginalized
alpharatio:0.9763
So the new score helps, but modestly.
-
full_clean- alpha error:
0.2500 -> 0.2500 - alpha-span top-
10:0.5922 -> 0.5900 - fit RMSE:
0.00773 -> 0.00774 - geometry MAE:
0.0829 -> 0.0859
- alpha error:
-
full_noisy- alpha error:
0.2647 -> 0.2548 - alpha-span top-
10:0.5275 -> 0.5251 - fit RMSE:
0.00858 -> 0.00859 - geometry MAE:
0.0843 -> 0.0859
- alpha error:
-
partial_arc_noisy- alpha error:
0.1294 -> 0.1325 - alpha-span top-
10:0.5220 -> 0.5136 - near-tie diverse fraction:
0.500 -> 0.425 - fit RMSE:
0.01693 -> 0.01837
- alpha error:
-
sparse_full_noisy- alpha error:
0.2734 -> 0.2360 - alpha-span top-
10:0.5527 -> 0.5398 - near-tie diverse fraction:
0.625 -> 0.600 - fit RMSE:
0.01329 -> 0.01493
- alpha error:
-
sparse_partial_high_noise- alpha error:
0.2871 -> 0.2602 - alpha-span top-
10:0.5410 -> 0.4255 - near-tie diverse fraction:
0.850 -> 0.600 - fit RMSE:
0.05042 -> 0.04357 - geometry MAE:
0.0970 -> 0.0903
- alpha error:
The clearest positive regime is the hardest one:
- in
sparse_partial_high_noise,alphaimproves - the
alphaenvelope tightens substantially - near-tie diverse families drop materially
- fit and geometry both improve
That is the strongest signal in the whole artifact.
This result says something precise.
The hard best-shift rule was part of the solver challenge.
Not all of it, but part of it.
If the best-shift rule were irrelevant, then soft shift-marginalization would not consistently tighten the alpha envelope.
Instead, what we see is:
- the top-
10alphaspan shrinks in every regime - near-tie diverse families shrink in the hardest ambiguous cases
alphaitself improves in most noisy regimes
So the pose logic matters.
At the same time, the improvement is not large enough to claim the problem is solved.
In plain language:
- letting candidates win on one lucky shift was helping some wrong
alphaexplanations survive - treating pose as softer evidence cleans that up a bit
- but it does not collapse the ambiguity enough to make
alphaeasy
That is exactly the kind of intermediate result that helps the program:
- it identifies a real mechanism
- it improves on the baseline
- and it also shows that more work is still needed
This experiment does show:
- the hard best-shift pose rule contributes to the pose-free
alpharecovery challenge - soft shift-marginalization modestly improves
alphain most noisy regimes - the
alphaambiguity envelope tightens in every regime - the strongest gains appear in the hardest sparse partial setting
This experiment does not address:
- that the
alphasolver challenge is solved - that soft marginalization is the best pose treatment available
- that weight recovery improves too; in fact, weight MAE often gets a bit worse
The clearest figure is shift_marginalized_pose_overview.png, because it shows the pattern directly:
- small changes in easy regimes
- meaningful tightening in the hard sparse regime
Data:
- shift_marginalized_pose_trials.csv
- shift_marginalized_pose_summary.csv
- shift_marginalized_pose_summary.json
Code:
The natural next step is a richer version of the same idea:
- candidate-conditioned shift marginalization with learned or adaptive temperature
- local geometry-plus-alpha refinement on top of the marginalized score
- or a hybrid two-stage inverse where the marginalized score narrows the family and a second-stage local search resolves the remaining
alphaambiguity