To avoid the separate casting step used in GMSH, inspired by NASH , we further propose a Semantic Hashing model with a Bernoulli Mixture prior (BMSH).
we replace the Gaussian mixture prior in GMSH with the following Bernoulli mixture prior where γ k ∈ [0, 1] m represents the probabilities of z being 1.