Inverse Problems in Approximate Uniform Generation

Anindya De, Ilias Diakonikolas, Rocco A. Servedio

Abstract

In theoretical computer science, the forward problem of uniform generation—efficiently picking a satisfying assignment for a known Boolean formula—is a well-established field. This paper introduces and formalizes the inverse problem: given only a set of random satisfying assignments from an unknown function $f$ belonging to a known class $\mathcal{C}$, can one construct a sampler that produces new assignments nearly indistinguishable from the original uniform distribution? We present a general framework for solving these problems using a novel algorithmic tool called a "densifier" and demonstrate that the computational complexity of the inverse problem is fundamentally decoupled from its forward counterpart.

Introduction

Uniform generation is a cornerstone of randomized algorithms, typically involving the creation of a sampler for a specific, known Boolean formula (e.g., a DNF or a linear threshold function). This work shifts the focus to an unsupervised learning context: Inverse Approximate Uniform Generation.

In this setting, the learner does not have access to the formula $f$. Instead, they are provided with samples drawn uniformly from the set of satisfying assignments, $f^{-1}(1)$. The goal is to output a generative model—a sampler—that produces new assignments from a distribution close to the uniform distribution over $f^{-1}(1)$. This problem bridges the gap between distribution learning and combinatorial generation, asking whether we can "reverse engineer" the underlying structure of a satisfying set from examples alone.

The Algorithmic Framework: Densifiers and SQ Learning

The paper proposes a "standard approach" to solving the inverse problem, consisting of two primary stages:

  1. Reconstruction: Using the provided samples to identify a hypothesis function $\tilde{f}$ that closely approximates the original unknown function $f$.
  2. Sampling: Applying a known forward generation algorithm to the hypothesis $\tilde{f}$ to produce new samples.

The Role of the Densifier

A significant challenge in this approach is that satisfying assignments are often "needles in a haystack," occupying a miniscule fraction of the total $2^n$ search space. Standard learning algorithms struggle when the target set is extremely sparse. To overcome this, the authors introduce the densifier. A densifier is an algorithm that prunes the search space down to a subset $S$ where the satisfying assignments are "dense." By operating within this restricted space, robust learning tools—specifically Statistical Query (SQ) learning—can effectively characterize the distribution. The authors show that if a class $\mathcal{C}$ possesses a densifier, an approximate counting/generation algorithm, and an SQ learner, the inverse problem becomes solvable.

Complexity Decoupling

One of the paper's most significant theoretical contributions is the discovery that the difficulty of the forward problem does not predict the difficulty of the inverse problem. The authors demonstrate a computational decoupling:

  • Easy Forward, Hard Inverse: For certain classes like 3-CNF formulas, generating samples from a known formula is efficient. However, the authors use cryptographic reductions to show that learning to generate them from examples is as hard as breaking secure digital signature schemes or Message Authentication Codes (MACs).
  • Hard Forward, Easy Inverse: Conversely, for the Graph Automorphism problem, the forward task of generating automorphisms from a given graph is as difficult as the Graph Isomorphism problem. Yet, the inverse task—learning to generate new automorphisms given a set of example automorphisms—is computationally easy.

Key Results

Positive Algorithmic Results

The framework yields several new positive results for important classes of Boolean functions:

  • Linear Threshold Functions (Halfspaces): The authors developed a polynomial-time algorithm for the inverse problem of $n$-variable LTFs.
  • DNF Formulas: The paper provides a quasipolynomial-time algorithm ($n^{O(\log(s/\epsilon))}$) for $s$-term DNF formulas, marking a significant step forward in learning the distribution of DNF satisfying assignments.

Hardness Results

Using plausible cryptographic assumptions (such as the security of RSA or the Learning Parity with Noise problem), the authors prove that no subexponential-time algorithms exist for the inverse problems of:

  • 3-CNF formulas.
  • Intersections of two halfspaces.
  • Degree-2 polynomial threshold functions (PTFs).

Conclusion and Future Directions

This work establishes a rigorous foundation for the inverse problem of uniform generation, highlighting the "densifier" as a vital tool for distribution learning in sparse spaces. The decoupling of forward and inverse complexities suggests that many combinatorial problems may be easier (or harder) to learn than they are to solve directly.

Future research may extend this lens to other structures, such as perfect matchings or graph colorings, and explore these problems under non-uniform underlying measures, such as Gaussian or log-concave distributions. Achieving a truly polynomial-time algorithm for DNFs remains a major open challenge that would likely require fundamental advances in learning theory.

Summary updated

BibTeX
@article{de2012inverse,
  author = {Anindya De and Ilias Diakonikolas and Rocco A. Servedio},
  title = {{Inverse Problems in Approximate Uniform Generation}},
  journal = {Electron. Colloquium Comput. Complex.},
  year = {2012},
  url = {https://openreview.net/forum?id=Yoo_2nNF7E},
}
Figure