Skip to content

Quartic model - #352

Open
Uupali wants to merge 3 commits into
stan-dev:developmentfrom
Uupali:quartic-model
Open

Uupali wants to merge 3 commits into
stan-dev:developmentfrom
Uupali:quartic-model

Conversation

@Uupali

@Uupali Uupali commented Nov 22, 2026

Copy link
Copy Markdown

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

y ~ Normal(F(θ), σ)
F(θ) = θ₁² + θ₀² (θ₀² − ½)

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_name is null (reference draws can be added later).

Changes included

  • models: Added models/stan/quartic_model.stan, models/pymc/quartic_model.py, and models/info/quartic_model.info.json.
  • data: Added raw R data definitions in data/data-raw/, compressed data JSONs (.json.zip) in data/data/, and metadata files in data/info/ for the three sigma values.
  • posteriors: Added posterior configuration JSON files for the three combinations above.
  • bibliography: Added quartic2020 BibTeX entry to references.bib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants