Learning DNF by Decision Trees

Giulia PagalloIJCAI 1989

Abstract

Decision trees are a popular machine learning model, yet they face a significant structural limitation known as the "replication problem" when learning concepts in Disjunctive Normal Form (DNF). This paper presents FRINGE (Feature Retrieval by Iterative Gene-generation), an algorithm that iteratively expands the feature space by constructing new Boolean attributes from the "fringe" of a decision tree. Experimental results on synthetic Boolean domains demonstrate that FRINGE effectively eliminates redundancy, leading to smaller, more accurate trees that can discover the underlying logical structure of complex functions.

The Replication Problem

A common challenge in learning Boolean concepts is representing Disjunctive Normal Form (DNF)—expressions composed of "OR" conditions over "AND" terms (e.g., $(A \land B) \lor (C \land D)$). Standard decision tree algorithms, which split on primitive attributes, often encounter the replication problem. To represent a DNF formula, the tree must frequently duplicate the same sequence of tests in multiple subtrees.

A decision tree illustrating the replication problem, where similar logic is repeated across different branches.

This structural redundancy leads to "bloated" trees that require excessive training data to generalize. Without sufficient data, these redundant branches cannot be accurately populated, resulting in high error rates and poor model interpretability.

The FRINGE Algorithm

To overcome this bottleneck, the FRINGE algorithm employs a "dynamic bias" by iteratively refining the feature vocabulary. The process follows four main steps:

  1. Build: A standard decision tree is generated using the current set of attributes.
  2. Analyze the Fringe: The algorithm examines the paths of length two leading to positive leaves. These terminal nodes, or the "fringe," often capture the specific conjunctions that define individual DNF terms.
  3. Generate Features: New Boolean features are created by forming conjunctions of the literals found at the fringe. For instance, a path ending in $x_1=1$ and $x_2=1$ generates the feature $(x_1 \land x_2)$.
  4. Iterate: These new features are added to the dataset, and the process repeats.

Through successive iterations, FRINGE can build increasingly complex features (e.g., conjunctions of four variables after two iterations), eventually collapsing a massive, redundant tree into a concise representation of the target DNF formula.

Experimental Evaluation

The performance of FRINGE was evaluated against standard decision trees (DTree) across several synthetic Boolean domains, including random DNF formulas (dnf1-dnf4), Multiplexor (mult11), Parity (par4, par5), and Majority (maj11) tasks. The researchers also assessed robustness by introducing varying levels of noise to both attributes and class labels.

Key Results and Discussion

The experimental results highlight the dramatic improvements offered by FRINGE in both accuracy and model complexity.

Comparison of average error and tree size between standard decision trees (DTree) and FRINGE across various Boolean functions.

As shown in the table above, FRINGE achieved near-zero error rates on several tasks where standard decision trees struggled. For example, on the dnf1 task, FRINGE reduced the error from 12.4% to 0.0% while simultaneously shrinking the tree size from approximately 49 nodes to just 9. The algorithm successfully discovered the exact underlying DNF terms for functions like mult11 and par4.

While highly effective for DNF-like concepts, FRINGE showed limitations on functions like Majority and Parity (par5), where the replication is inherent to the function's global structure rather than a few local terms. Additionally, while robust to moderate noise, the algorithm proved more sensitive to attribute noise than label noise.

Conclusion

FRINGE demonstrates that the "fringe" of a decision tree contains critical information for feature construction. By transforming the feature space to match the underlying logic of the problem, FRINGE turns complex, redundant learning tasks into simple ones. Future work will explore the application of this iterative feature generation to real-world datasets and the use of negative leaves to learn Conjunctive Normal Form (CNF) concepts.

Summary updated

BibTeX
@inproceedings{pagallo1989learning,
  author = {Giulia Pagallo},
  title = {{Learning DNF by Decision Trees}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure