Skip to content

"Bad" SMC example doesn't actually "fail spectacularly" #242

Closed
@JohnGoertz

Description

@JohnGoertz

Sequential Monte Carlo:
https://docs.pymc.io/en/stable/pymc-examples/examples/samplers/SMC2_gaussians.html:

Issue description

Ironically, this issue is about something working better than expected. The SMC example notebook has a Kill your darlings section intended to demonstrate how SMC can perform poorly with high dimensionality. However, for me, it performs basically just fine.

Expected output

4-D example online:
image
40-D example online:
image

Observed output

Note that, for better or for worse, I observed the output of the 4-D to be worse than what's online (or, at least, less smooth), while the 40-D is better than what's online.

4-D example for me:
image
40-D example for me:
image
40-D ESS summary for me:
image

Proposed solution

The notebook was last run with PyMC v3.9.1. My environment has:
PyMC v3.11.4
Arviz v0.11.2
Theano v1.1.2

Maybe SMC has been improved in the past few versions, and this problem needs to be made harder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions