Inapproximability of Minimizing a Pair of DNFs or Binary Decision Trees Defining a Partial Boolean Function

David Stein, Bjoern AndresarXiv 2021

Introduction

In safety-critical machine learning environments—such as medical diagnosis or autonomous driving—systems often need to distinguish between positive cases, negative cases, and ambiguous cases that require human intervention. This requirement is formally modeled as learning a partial Boolean function, which maps a subset of inputs to {0, 1} and leaves the rest "undefined."

Visualization of partial Boolean function separation.

The authors encode a partial Boolean function as a pair of standard Boolean functions $(f, g)$ that do not contradict each other ($f + g \le 1$). The function $f$ identifies the positive class, and $g$ identifies the negative class. A core theoretical question arises: Is it computationally easier to find a minimal partial Boolean function than a minimal total Boolean function? Intuitively, one might hypothesize that the freedom to leave some inputs undefined gives an optimization algorithm more flexibility, potentially making the problem easier to solve or approximate.

Methodology

This paper utilizes complexity theory and approximation-preserving (AP) reductions to test this hypothesis. The authors compare the hardness of the well-known SEPARATION problem (finding a single, minimal total Boolean function that separates two datasets) against their newly formalized PARTIAL-SEPARATION problem (finding a minimal pair of functions).

Reduction from SEPARATION to PARTIAL-SEPARATION for polynomially negatable families.

The key methodological novelty is the introduction of "polynomially negatable" function families. A family of functions is polynomially negatable if you can compute the negation of a function in polynomial time without increasing its complexity (e.g., the depth of a tree).

  • For polynomially negatable forms (like binary decision trees and Ordered Binary Decision Diagrams [OBDDs]), the authors construct a direct AP reduction from SEPARATION to PARTIAL-SEPARATION.
  • For Disjunctive Normal Forms (DNFs), which are not polynomially negatable, they construct a specific AP reduction directly from the classic MIN-SET-COVER problem using a theoretical mathematical construct known as "Haussler data."

Key Insights and Results

Contrary to the intuitive hypothesis, the study finds that having more freedom (allowing "undefined" outputs) does not make finding a minimal function easier for standard representations. Learning a partial function is just as computationally difficult as learning a total one.

  • NP-Completeness: The PARTIAL-SEPARABILITY problem is NP-complete for binary decision trees (regularized by depth or node count), OBDDs (width or interior nodes), and DNFs (length or depth).
  • Strict Inapproximability: For all the aforementioned forms, the authors prove a lower bound on approximation. Specifically, there is no polynomial-time $o(\ln(|A| + |B| - 1))$-approximation algorithm for finding these minimal partial functions unless P=NP (where $|A|$ and $|B|$ are the number of positive and negative examples, respectively).

Conclusion

The authors demonstrate that the refutation of the "partial is easier than total" hypothesis applies specifically to polynomially negatable functions and DNFs. While exact or highly accurate approximate solutions are computationally intractable, these theoretical bounds inform the design of practical, heuristic approaches to learning partial functions in real-world, safety-critical AI systems. For other families of Boolean functions that are not polynomially invertible under regularizers, the hypothesis remains an open area for future research.

Summary updated

BibTeX
@misc{stein2021inapproximability,
  author = {David Stein and Bjoern Andres},
  title = {{Inapproximability of Minimizing a Pair of DNFs or Binary Decision Trees Defining a Partial Boolean Function}},
  year = {2021},
  eprint = {2102.04703},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.04703},
}
Figure