← back to the notebook

Tuning Lab

Is tempering worse than annealing, or just badly set up? Sweep the sampler's settings at equal compute and let the intervals say.

1 · What is being tuned

Tempering. A ladder of K replicas spans Tlow = 0.15 to Thigh. Neighbours swap states, and the rule of thumb for replica exchange is to space rungs so that 20–40% of attempted swaps are accepted: fewer and the ladder is too sparse for heat to reach the cold replica; far more and rungs are wasted. But at a fixed budget, more rungs means fewer sweeps per replica (budget ÷ K), so K trades mixing against depth.

Annealing. The start and end temperatures of the cooling schedule.

Every cell gets the same number of Metropolis proposals and the same seeds. Success means a run ends with zero order violations; the interval is a 95% Wilson score interval, which stays honest near 0% and 100%.

2 · Sweep

darker green = more runs reach 0 violationsbest cellswap acceptance in 20–40% is marked
selected cell–press Run grid, then click a cell

3 · Verdict

Run the grid to get a verdict.

The best of 24 cells, picked on the very seeds that rank them, is optimistic (the winner's curse). The button re-runs the best cell and the annealing baseline on seeds the sweep never saw; trust that number, not the first.

Provenance
run scripts/provenance.sh to generate provenance.js