One question, asked carefully. Two kinds of neural network learn to calibrate an emulated rough Heston model: do they give the exact Bayesian answer, or lean on their training more than that answer does? Each card opens something you can drive yourself, and every result comes from the committed record.
main at of the repository: Stage 2's report and cells (D109), G3's report (D104) and the frozen protocol v3, registered as OSF JUMHF. "Line N" means a line of that protocol, P5_protocol_v3_draft.md, and "D" numbers are entries in the repository's decision log, ROADMAP.md. Results are recorded, so nothing here recomputes a posterior. The page runs in your browser.P5 measures networks against an exact reference. Before any network saw the test set, a chain of gates had to pass, and each one could stop the study in public. One version did stop. Walk the chain below.
The pricer is too slow for this many runs, so G̃, interpolated from it with no training, replaces it. Networks and reference face the same G̃, so their gap, beyond Monte Carlo error, is the network's. lines 24, 48, 50, 54
Each surface gets a Metropolis sampler: four chains, 10,000 burn-in and 40,000 sampling steps each, kept only if R-hat is at most 1.01 and the effective sample size of H is at least 2,000. line 68
It is exact up to Monte Carlo error, on synthetic surfaces with noise of a known form. It says nothing directly about real quotes or other models. lines 50, 150
ROADMAP.md, by entry, and from the frozen protocol, by line.Show the exact calculation one noisy option surface. It starts from a prior belief about H and ends with a narrower one. Contraction, c, is under prior A and compares variances: 1 means the data settled it, 0 means the data added nothing. line 81
Each dot is one test surface. All 400 sit at the top: with quotes this clean, every test surface is Identified.
The same 400 parameter points, now with more noise. The cloud falls through the bands, from Identified to Partial and a few to Flat.
Switch between H, ν, ρ and ξ₀ to see how c varies with each. Line 99 names only H and ν. Tap a dot to read that surface.
The protocol cuts at 0.9 and 0.5. The two shifts are its own re-scoring, which decides nothing. line 89
Stage 1 used the references alone, before any network scored the test set. All 1,200 pairs were accepted. Each hypothesis is scored in one bin, so these counts decide what can be tested. line 101; D106
Well covered means each prior puts at least 0.001 of its mass on the exact 90% interval under that prior. A pair not well covered sits where a network has seen very few training surfaces. A well-covered pair may still. lines 99, 136
output/p5_stage1.csv and the test set's references (D105, D106). The sentences beside the plot are computed from those numbers as you move the controls.A network's answer is one number, Ĥ. The exact posterior gives its own mean for the same surface, under the prior the network was trained on. The gap is d. H-a bet that where a surface pins H down, the median of |d| stays below 0.01. It uses the networks trained under prior A. lines 107, 121
The top row is the exact answer, with its 90% interval. Below it are the two networks, one mark per training seed. Marks on the white dot mean no gap.
Drag the slider. The ensemble usually stays close to the exact mean, though not on every surface. Watch the ratio estimator, whose network here trained on 10,000 surfaces.
The ratio estimator's networks at these levels trained on larger sets, 160,000 under prior A. Compare the gaps again, and turn on zoom when the marks crowd.
Recorded, not live. One ratio-estimator posterior took about 18 s at four threads, so you choose among recorded surfaces. D108
A deep ensemble is five networks, each giving a mean and a variance; Ĥ is their average. A ratio estimator is a classifier whose output, with the prior, gives a posterior; Ĥ is that posterior's mean, by sampling. line 75
H-a pools every pair in the Identified bin at all five seeds: 842 pairs, 4,210 cells for each calibrator. The curve shows the share of those cells with |d| at or below each size. Further left means closer to the exact answer.
output/p5_stage2_cells.csv and the test set's references. Verdicts and intervals are the report's (D109). Sentences beside the plot are computed from the cells and are about one surface; one surface decides nothing.Some lean is correct. Bayes' rule says a prior should move the answer when the data are weak. So P5 trains each network twice, under prior A (mean H 0.12) and prior B (mean H 0.32), and shows both the same surface. The exact answer moves too. E is how much further the network moves than the exact answer does, in units of the 0.20 between the priors' means. lines 62, 63, 108, 109
Each row runs from the answer under prior A to the answer under prior B. A longer bar means the prior moved the answer further. The top row is what Bayes' rule requires.
The exact bar grows as the data weaken. That growth is correct. The question is whether a network's bar is longer still.
The ratio estimator under B failed gate G3 at these levels, so it scores nothing there and has no E. Its H-b and H-c rest on 0.5 vol point alone. line 144; D104
The curves at the top are the two priors. A network has seen few training surfaces where its prior's curve is near zero. line 66
Each dot is one surface, at the median over five seeds. H-b is scored on the Partial pairs and H-c on the Identified pairs. exploratory Plotting E against true H comes close to line 135's first item, is not in the report and decides nothing.
output/p5_stage2_cells.csv and the test set's references. Verdicts and intervals are the report's (D109). The reading is the one D109 labels as such.A network also reports a 90% interval. m takes the networks trained under prior A, and is how much of the exact posterior under A falls inside that interval: a faithful interval scores 0.90. H-d bet that where the data say least, m falls below 0.80. P5 could not test this. This page shows what the test would have measured, and why it could not be run. lines 110, 124
The curve is an exact posterior and the band is a network's interval. With the right width and centre, 90% of the bell is inside.
Drag the width down. At 0.78 of the exact width, m reaches H-d's 0.80. At 0.875 it reaches 0.85.
The right width, half a posterior standard deviation off, scores 0.858. Being off-centre also costs mass.
A bin needs at least 10% of the accepted pairs and at least 100 pairs. H-d is scored in the Flat bin, and in every version of the analysis it falls short.
Gate G3 trained each network on 10,000 to 320,000 surfaces and checked two things on 16 pilot surfaces: that ξ₀ is recovered, and that the median |d| at a size stays within 0.002 of the median at twice that size. The training size is the largest that passes. line 144
Choose the ensemble. Its median |d| is small at every size, and most rungs pass.
The median jumps around. Only the first rung is stable, so the rule takes 10,000, though the median there is above H-a's 0.03.
No rung passes, so these cells' seeds were not trained and they score nothing. That is why the ratio estimator has no E at those levels.
These are pilot figures. They set the training sizes and enter no result. line 140
output/p5_g3_report.json (D104). By line 144 each cell passes or fails on its own, and P5 goes on with the cells that passed.Four bets, made in advance, scored for two calibrators. Each testable row gives a median and its 95% interval, set against the bet. Confirmed needs the whole interval on the expected side. Refuted needs the whole interval beyond the refutation line. Anything else is Inconclusive. lines 119 to 124, 133
The violet zone is what the bet expected. The grey zone is where it counts as refuted. The space between them is the gap.
The white bar is the 95% interval and the dot is the median. The small ticks are the five seeds' medians. The whole bar has to clear a line. The seed floor, on H-c, is how far two networks differ when only the training seed changes: the median abs(S) between seeds, the larger of the two priors' values. line 111
H-b bet on a lean. For the ensemble, Refuted means the median lies below the refutation line. A smaller lean remains. Move the cut-offs above the board to see what holds.
The null is the finding that a calibrator is faithful and its prior dependence is exactly Bayes' rule. It needs H-a Confirmed, H-b, H-c and H-d Refuted, and H-d's interval inside [0.85, 0.95]. It is read on the primary verdicts only.
So line 128's finding, and the recommendation it would carry, are claimed for neither calibrator.
output/p5_stage2_report.json (D109), recomputed from the committed files by two AI reviewers. 2,000 replicates resampling seeds and pairs, percentile; read individually at 95% without adjustment for multiplicity; narrower than nominal over five seeds, as line 132 declares. Figures are rounded to four places.