Oversearching and Layered Search in Empirical Learning

J. Ross Quinlan, R. Mike Cameron-Jones

Abstract

In machine learning, the common intuition that more extensive searching leads to better models is often incorrect. This paper explores the phenomenon of "oversearching," where exhaustive search strategies uncover "fluke" rules that fit training data by chance but fail to generalize. We introduce Layered Search (LS), a strategy that employs a probabilistic stopping criterion to find an optimal search depth. Empirical results across twelve datasets demonstrate that LS consistently outperforms both greedy and extensive search methods in terms of predictive accuracy and efficiency.

Introduction

A fundamental assumption in many search-based learning algorithms is that increasing search effort will yield superior hypotheses. Early research in machine learning focused on developing powerful systematic search methods, such as branch-and-bound, to find the "best" rules or decision trees. However, empirical evidence has increasingly suggested that exhaustive searches can lead to models with poor performance on unseen data.

Quinlan and Cameron-Jones identify this counter-intuitive result as oversearching. They argue that as the search space expands, the likelihood of encountering a "fluke" hypothesis—one that appears highly accurate on training data due to random noise rather than underlying patterns—increases significantly. This paper investigates the relationship between search extent and generalization error, proposing a novel "Layered Search" strategy to mitigate the risks of oversearching.

Search Strategies and Methodology

The authors compare three distinct search strategies:

  1. Greedy Search (GS): A baseline approach that makes the best local choice at each step, equivalent to a beam search with a width of 1.
  2. Extensive Search (ES): A near-exhaustive search utilizing a very large beam width (512).
  3. Layered Search (LS): An iterative approach that starts with a small beam width and doubles it at each step.

To prevent oversearching, LS incorporates a probabilistic stopping criterion. The "true" error rate of a rule is estimated by considering the number of rules examined during the search. By calculating the probability that any rule among the candidates would show a certain error rate by pure chance, the algorithm selects the beam width that minimizes this estimated error. This effectively stops the search before it begins to "mine noise."

Experimental Results

The study evaluated these strategies across 12 real-world datasets from the UCI Machine Learning Repository, representing diverse domains such as medicine, finance, and technical sciences.

Error rates vs. beam width across twelve datasets. The solid line represents the error rate on test data, while the dashed line represents training error. Circles indicate the beam width selected by Layered Search.

As shown in Figure 1, accuracy does not scale linearly with search effort. In many domains, the error rate initially decreases as the search moves beyond a purely greedy approach but then hits a "sweet spot" before rising again as the search becomes too extensive. Layered Search (LS) successfully identifies these optimal points, significantly outperforming Greedy Search in 5 domains and Extensive Search in 6 domains. Across 6,000 trials, LS proved superior to GS in 2,822 cases and better than ES in 2,927 cases. Furthermore, ES was found to be approximately 170 times slower than GS and 17 times slower than LS, while producing inferior results.

Key Insights

A critical distinction made by the authors is that oversearching is not identical to overfitting. While overfitting is typically associated with model complexity (e.g., the depth of a decision tree), oversearching relates to the extent of the search process itself. Even when comparing models of identical complexity, the one discovered through a more exhaustive search is often less reliable because it is more likely to be a statistical anomaly or "fluke."

The probability of finding such flukes is inevitable in large search spaces. The results suggest that the theories produced by Layered Search are often simpler and more accurate than those found by greedy search, challenging the notion that complex searches are necessary for high performance.

Conclusion

This research highlights the "extent of search" as a critical third dimension in building robust empirical learners, alongside accuracy and theory complexity. While principles like Minimum Description Length (MDL) address the latter two, managing search extent is essential to avoid the pitfalls of oversearching. Future work should focus on developing unified metrics that simultaneously account for all three factors to improve the generalization of machine learning models.

Summary updated

BibTeX
@inproceedings{quinlan1995oversearching,
  author = {J. Ross Quinlan and R. Mike Cameron-Jones},
  title = {{Oversearching and Layered Search in Empirical Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}
Figure