Skip to content

[FR] Mixed HMC for models with discrete latent variables #785

@fehiepsi

Description

@fehiepsi

Currently, NumPyro uses enumeration to marginalize out discrete latent variables. However, when there are many discrete latent variables, using enumeration will be slow because the dimensional size is blown up exponentially w.r.t. the number of discrete latent variables. It seems to me that @StannisZhou's Mixed HMC [1] is a good inference algorithm to use in that case (e.g. the model in #769, which is pretty slow under enumeration).

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions