Abstract
This paper introduces smog, an algorithm designed to infer compact Reduced Ordered Decision Graphs (RODGs) for classification tasks. Traditional decision trees often suffer from structural inefficiencies, such as the replication problem and data fragmentation, particularly when representing complex Boolean logic. By employing the Minimum Description Length (MDL) principle to balance model complexity and accuracy, and integrating variable-reordering heuristics from logic synthesis, smog achieves superior generalization on logic-heavy datasets compared to standard tree-based learners like C4.5.
Introduction
In the mid-1990s, decision trees were the dominant paradigm for inductive learning. However, for certain logical functions, trees become bloated and repetitive. This research by Oliveira and Sangiovanni-Vincentelli bridges machine learning and logic synthesis, proposing the use of Reduced Ordered Decision Graphs (RODGs) to represent classification rules more efficiently.
The Structural Flaws of Decision Trees
Decision trees encounter two primary issues when dealing with complex concepts:
- The Replication Problem: To represent symmetric functions or XOR logic, a tree must replicate identical subtrees across different branches, leading to an exponential growth in size.
- Data Fragmentation: Splitting on attributes partitions the training data. In deep trees, the remaining data at lower nodes becomes too sparse for statistically sound decision-making.
Decision Graphs allow paths to converge (re-entrant nodes), providing a more natural and compact representation. RODGs, specifically, are a canonical form used in electronic design automation (EDA) to represent Boolean functions.
Methodology: The smog Algorithm
The smog (Selection of Minimal Ordered Graphs) system treats graph induction as a global optimization problem guided by the Minimum Description Length (MDL) principle.
The MDL Objective
The algorithm seeks to minimize the total message length, defined as the sum of the bits required to describe the graph structure and the bits needed to describe exceptions in the training data. This objective functions as an automated Occam’s Razor, preventing overfitting by penalizing unnecessary complexity.
Local Optimization and Variable Reordering
The algorithm iteratively improves the graph using operators like RemoveNode and ReplacePair. A key innovation is the inclusion of the sift algorithm, a variable-reordering technique borrowed from logic synthesis. By dynamically reordering variables, smog can find significantly more compact representations than static decision trees.
Experimental Evaluation
The authors tested smog against C4.5 across several domains:
- Synthetic Boolean Concepts: On problems like
par5_32(a parity function),smogachieved 0% error, whereas C4.5 failed completely (50.5% error) due to the replication problem. - UCI Repository: On standard real-world datasets,
smogperformed comparably to C4.5, indicating that while graphs are superior for discrete logic, they are at least as robust as trees for general data. - Wright Laboratory Benchmark:
smogshowed high robustness for "disjunctive" concepts—rules requiring many separate "OR" conditions.
Conclusion
The application of logic synthesis tools to machine learning provides a powerful framework for learning complex rules. While the computational cost of variable sifting and local optimization is higher than that of building a standard tree, the gains in generalization for logic-heavy concepts are substantial. Future work involves extending the system to Multi-valued Decision Diagrams (MDDs) and multi-category classification tasks.
Summary updated