Repository navigation
Quartic model - #352
Open
Uupali wants to merge 3 commits into
Open
Quartic model#352Uupali wants to merge 3 commits into
Uupali wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add quartic (manifold-lifting) toy model
Adds the two-dimensional quartic inverse-problem toy from Au, Graham & Thiery (2020/2021),
Manifold lifting: scaling MCMC to the vanishing noise regime (arXiv:2003.03950),
with implementations in both Stan and PyMC.
Mathematical definition
Parameters θ = (θ₀, θ₁) have independent standard normal priors.
A single observation y is modelled as
With one observation and two unknowns the model is non-identifiable.
As σ → 0 the posterior concentrates in a band of width O(σ) around the closed curve F(θ) = y, producing a thin, strongly curved ridge that forces standard HMC step sizes to shrink with σ.
Paper reference:
Au, K. X., Graham, M. M., & Thiery, A. H. (2021). Manifold lifting: scaling MCMC to the vanishing noise regime. arXiv:2003.03950.
https://arxiv.org/abs/2003.03950
Posteriors included
quartic_sigma1-quartic_model(y = 1, σ = 1)Easy / prior-dominated baseline.
quartic_sigma01-quartic_model(y = 1, σ = 0.1)Posterior clearly concentrated around the curved manifold; moderately challenging.
quartic_sigma001-quartic_model(y = 1, σ = 0.01)Strong vanishing-noise stress test (thin ridge of width O(0.01)).
All three use the same model; only the known noise scale differs.
reference_posterior_nameisnull(reference draws can be added later).Changes included
models/stan/quartic_model.stan,models/pymc/quartic_model.py, andmodels/info/quartic_model.info.json.data/data-raw/, compressed data JSONs (.json.zip) indata/data/, and metadata files indata/info/for the three sigma values.quartic2020BibTeX entry toreferences.bib.