TL;DR
This paper introduces a novel algorithm, RG, for generating decision trees from examples that prioritizes both linearity (for human understandability) and execution efficiency. It addresses the trade-off between these two crucial aspects, offering a method that produces more linear trees than ID3 and more efficient trees than AOCDL, making them more practical for expert systems.
What Problem Does This Paper Address?
Building expert systems often relies on knowledge acquisition from human experts. A common approach is to use "structured induction," where experts provide examples of situations and their corresponding actions or decisions. This process generates decision trees, which are essentially flowcharts for making decisions. However, there's a fundamental tension:
- Understandability: Humans find it easier to understand "linear" decision trees, where each decision point leads to at most one further decision (like a simple if-then-else chain). Trees with many branches at each node become complex and hard to follow.
- Efficiency: For computers, "balanced" trees (where decisions are made as quickly as possible, often with multiple branches) are more efficient to execute.
Existing algorithms like ID3 prioritize efficiency, leading to opaque trees, while others like AOCDL prioritize linearity but sacrifice efficiency. This paper aims to bridge this gap by creating trees that are both understandable and reasonably efficient.
Methods
The core of this paper is the Rule Generator (RG) algorithm. RG is designed to construct decision trees with two primary objectives:
- Maximize Linearity: RG aims to create trees where each node has at most one non-terminal child. If a perfectly linear tree isn't possible, it seeks the "most linear" one.
- Enhance Efficiency: Within the constraint of linearity, RG tries to improve execution speed.
RG uses an AO* search technique, a common algorithm for finding optimal paths in "And/Or" graphs. The state space for generating a decision tree is represented as such a graph. RG incorporates specific heuristics:
- Decider Status: Attributes are classified as "total deciders" (perfectly partitioning examples into single classes), "partial deciders" (almost perfectly partitioning), or "non-deciders." RG prioritizes total and partial deciders to maintain linearity.
- Non-Linearity Measure: A formal measure of how "non-linear" a tree is, based on Bratko's work, is used. This measure penalizes branching and encourages shallower, more linear structures.
- Entropy for Efficiency: When multiple attributes offer similar levels of linearity, RG uses the information content (entropy) of an attribute as a tie-breaker. Attributes with higher information content are placed higher in the tree, leading to earlier classifications and thus better efficiency.
Essentially, RG guarantees optimal linearity and then uses efficiency as a secondary optimization.
Datasets
The paper mentions using example sets from:
- Planning domain: Specifically, the task of building an arch and sorting a stack of blocks.
- Chess end-games: Examples from Shapiro's Ph.D. thesis.
- Artificially constructed example sets.
These are used for training and evaluating the performance of RG against other algorithms.
Key Insights and Ideas
- Linearity is Key to Understandability: The paper strongly supports the experimental findings that linear decision trees are significantly easier for humans to comprehend, even if they are slightly less efficient.
- Trade-off is Manageable: The core insight is that it's possible to achieve a good balance between linearity and efficiency, rather than being forced to choose one at the extreme expense of the other.
- Structured Induction's Power: The approach relies on "structured induction," where experts break down problems into subproblems, leading to smaller, more manageable example sets that are sufficient for generating reliable rules.
- AO* as a Flexible Search: The AO* algorithm proves to be a suitable framework for optimizing multiple criteria (linearity and efficiency) in the decision tree generation process.
Key Results
The paper presents a performance analysis table (Figure 7) comparing RG with AOCDL and ID3 across five example sets (Ex1-Ex5). The key findings are:
- RG vs. AOCDL: RG produces decision trees that are as linear as AOCDL but more efficient.
- RG vs. ID3: RG produces decision trees that are more linear than ID3 while maintaining comparable or slightly lower efficiency.
- Qualitative Improvement: The generated trees are described as more understandable than those from AOCDL, and more linear than those from ID3.
For example, in Ex4, RG achieves a non-linearity measure of 3.5 and a cost of 2.11, while AOCDL achieves 3.5 linearity but a higher cost of 2.16, and ID3 achieves 0 linearity (most efficient) but a cost of 1.12 (meaning it's the most efficient but least linear).
Limitations and Future Work
- Efficiency Trade-off: While RG improves efficiency over AOCDL, it's acknowledged that ID3 generally produces the most efficient trees. The paper states that RG prioritizes linearity, and efficiency is enhanced subject to the linearity constraint.
- Not Discussed in the Paper: The paper doesn't explicitly detail limitations of the AO* search itself or discuss potential scalability issues with extremely large or complex domains.
- Future Work: The paper implies that further refinement of the efficiency measure and exploration of different non-linearity metrics could be future directions. The authors also point to their previous work ([1], [2]) for more detailed listings of the examples and RG's implementation.
Summary updated