Learning DNF through Generalized Fourier Representations

Mohsen Heidari, Roni Khardon

TL;DR

This paper breaks a long-standing barrier in computational learning theory by extending Fourier-based learning algorithms—previously restricted to simple uniform or product distributions—to any distribution that can be represented as a Bayesian Network. By introducing a "Generalized Fourier Representation," the authors prove that complex Boolean functions like Disjunctive Normal Form (DNF) expressions are learnable even under intricate, dependent distributions, provided the underlying network is a "difference-bounded" tree.

What Problem Does This Paper Address?

Learning Disjunctive Normal Form (DNF) expressions—essentially an "OR of ANDs"—is one of the most famous challenges in machine learning theory. While we’ve known how to learn certain DNF subclasses for decades, doing so under "distribution-free" settings remains notoriously difficult.

Fourier analysis has been a powerful tool for this, but it traditionally relies on the assumption that input variables are independent (product distributions) or perfectly uniform. In the real world, variables are rarely independent. If you're predicting a medical outcome, "Age" and "Blood Pressure" are likely correlated. This paper addresses the gap between the elegant math of Fourier-based learning and the messy reality of dependent data by using Bayesian Networks (BNs) to model those dependencies.

Methods

The authors introduce three major algorithmic and mathematical innovations:

  1. BN-Induced Fourier Basis: They define a new orthonormal basis where the basis functions ($\phi_S$) are built directly from the structure and conditional probability tables of a Bayesian Network. This creates a "custom" Fourier expansion tailored to the specific distribution of the data.
  2. Extended KM Algorithm: The Kushilevitz-Mansour (KM) algorithm is a classic method for finding "heavy" (important) Fourier coefficients. The authors adapt this to their new basis. Crucially, they swap out the standard Hoeffding’s inequality for Chebyshev’s inequality in their sampling analysis to handle the potential for high variance in non-uniform settings.
  3. Spectral Norm Analysis: To prove a function is learnable, you usually need to show its "spectral norm" (the sum of its Fourier coefficients) isn't too large. The authors provide the first rigorous bounds for the spectral norm of conjunctions under "difference-bounded" tree BNs—distributions where a parent node's value can only change a child's probability by a limited amount ($\alpha < 0.5$).

Datasets

Not discussed in the paper. This is a theoretical work focused on algorithmic proofs and complexity analysis. No empirical datasets or benchmarks were used.

Key Insights and Ideas

  • Bayesian Networks as a Bridge: The "aha moment" is realizing that the local structure of a BN (parents and children) allows for a recursive definition of an orthonormal basis. This means we can treat dependent distributions with the same mathematical rigor we previously reserved for independent ones.
  • The "Difference-Bounded" Constraint: The authors discovered that for learning to be efficient, the "influence" of one variable on another must be capped. If a parent node can completely flip a child node's state, the Fourier coefficients can explode exponentially, making learning impossible.
  • Learning the Distribution on the Fly: Most DNF learning results assume you already know the distribution. This paper goes a step further by showing that if the distribution is a tree BN, the learner can use a modified Chow-Liu algorithm to learn the distribution's structure before learning the target function.

Key Results

  • DNF Learnability: The paper proves that DNFs are learnable with Membership Queries (where the learner can ask for the label of any specific input) under any distribution represented by a difference-bounded tree BN.
  • Spectral Bounds: For a conjunction of $d$ literals in a tree BN, the spectral norm $L_1$ is bounded by $O((2/(1-2\alpha))^{2d})$. This is a significant result because it shows the complexity grows with the "strength" of the dependencies ($\alpha$).
  • Lower Bounds: They prove that these constraints are necessary. If the BN is not a tree (e.g., an "anti-tree" with multiple parents), or if the difference-boundedness is violated, the spectral norm can become exponentially large even for a single variable.

Limitations and Future Work

  • The Tree Restriction: The most significant limitation is the reliance on tree-structured BNs. While trees cover many common dependencies, many real-world distributions involve "loops" or multiple parents (DAGs), which currently lead to exponential complexity in this framework.
  • Membership Queries: The results require the ability to query the target function on any input. Finding ways to achieve similar results using only random examples (PAC learning) remains an open challenge.
  • Low-Degree Algorithms: The authors suggest that exploring "low-degree" Fourier approximations (similar to the Linial-Mansour-Nisan algorithm) for these generalized bases could be a fruitful path for learning more complex circuits beyond DNF.

Summary updated

BibTeX
@inproceedings{heidari2025learning,
  author = {Mohsen Heidari and Roni Khardon},
  title = {{Learning DNF through Generalized Fourier Representations}},
  booktitle = {Conference on Learning Theory},
  year = {2025},
}
Figure