Skip to main content
QUICK REVIEW

[Paper Review] Taming the Curse of Dimensionality: Discrete Integration by Hashing and Optimization

Stefano Ermon, Carla P. Gomes|arXiv (Cornell University)|Feb 27, 2013
Data Management and AlgorithmsComputer Science32 references71 citations
TL;DR

This paper introduces WISH, a randomized algorithm that approximates high-dimensional discrete integrals—such as partition functions in graphical models—by reducing the #P-hard counting problem to a polynomial number of combinatorial optimization queries under random parity constraints. The method achieves high-probability constant-factor approximations using state-of-the-art solvers, enabling scalable, parallel, and anytime inference beyond the reach of traditional variational or sampling methods.

ABSTRACT

Integration is affected by the curse of dimensionality and quickly becomes intractable as the dimensionality of the problem grows. We propose a randomized algorithm that, with high probability, gives a constant-factor approximation of a general discrete integral defined over an exponentially large set. This algorithm relies on solving only a small number of instances of a discrete combinatorial optimization problem subject to randomly generated parity constraints used as a hash function. As an application, we demonstrate that with a small number of MAP queries we can efficiently approximate the partition function of discrete graphical models, which can in turn be used, for instance, for marginal computation or model selection.

Motivation & Objective

  • To address the curse of dimensionality in computing discrete integrals over exponentially large sets.
  • To provide a constant-factor approximation of general weighted sums, such as partition functions in graphical models, with high probability.
  • To reduce the #P-hard counting problem to a small number of NP-hard optimization queries with random parity constraints.
  • To enable scalable and parallel inference in probabilistic models where traditional methods like Mean Field or Belief Propagation fail.
  • To support model selection and likelihood estimation in large-scale graphical models using efficient MAP query-based estimation.

Proposed method

  • The algorithm uses randomized hashing via parity constraints to partition the solution space into balanced subsets.
  • It reduces the #P-complete counting problem to a polynomial number of Maximum a Posteriori (MAP) queries on the same space with random constraints.
  • Each MAP query is solved using modern combinatorial solvers (e.g., SAT or MIP solvers), which efficiently prune search space and exploit problem structure.
  • The method leverages concentration bounds to ensure high-probability correctness with a polynomial number of queries.
  • It is designed as an anytime and massively parallel algorithm, allowing early stopping with reliable lower bounds.
  • The approach generalizes prior work by Hazan and Jaakkola, providing tight constant-factor approximation guarantees rather than loose bounds.

Experimental results

Research questions

  • RQ1Can we approximate high-dimensional discrete integrals with constant-factor accuracy using only a small number of optimization queries?
  • RQ2Can randomized hashing via parity constraints effectively partition large solution spaces to enable scalable counting?
  • RQ3Can state-of-the-art combinatorial solvers be leveraged to solve #P-hard counting problems in practice with theoretical guarantees?
  • RQ4How does the WISH algorithm compare to variational methods like Mean Field or Belief Propagation in terms of accuracy and scalability?
  • RQ5Can the method be used effectively for model selection in large graphical models where exact partition function computation is infeasible?

Key findings

  • WISH achieved a lower bound estimate of approximately 1.634 × 10^21 solutions for a Sudoku puzzle, very close to the known true count, despite timeouts for larger constraint counts.
  • In the Sudoku case, WISH successfully found solutions 60% of the time with 52 parity constraints, dropping below 50% at 53 constraints, indicating a sharp threshold consistent with theoretical expectations.
  • For Restricted Boltzmann Machines on MNIST, WISH estimated log-likelihood scores of -41.70, -40.35, and -40.01 for k=1, 10, and 15 Gibbs steps, respectively, showing consistent ranking with visual quality and expected model performance.
  • Mean Field methods produced significantly worse scores (-35.47 to -36.84), ranking models in reverse order of visual quality, highlighting WISH’s superior accuracy.
  • The algorithm provided a constant-factor approximation with high probability, outperforming heuristic sampling and variational methods in both accuracy and scalability.
  • WISH demonstrated practical efficacy on Ising models and combinatorial problems like Sudoku, where traditional methods failed entirely or produced meaningless estimates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.