Competence Driven Case-Base Mining

Rong Pan, Qiang Yang, Jeffrey Junfeng Pan, Lei LiAAAI 2005

Abstract

We present a novel algorithm for extracting a high-quality case base from raw data while preserving and sometimes improving the competence of case-based reasoning. We extend the framework of Smyth and Keane's case-deletion policy with two additional features. First, we build a case base using a statistical distribution that is mined from the input data so that the case-base competence can be preserved or even increased for future problems. Second, we introduce a nonlinear transformation of the data set so that the case-base sizes can be further reduced while ensuring that the competence be preserved and even increased. We show that Smyth and Keane's deletion-based algorithm is sensitive to noisy cases, and that our solution solves this problem more satisfactorily. We show the theoretical foundation and empirical evaluation on several data sets.

Introduction

Case-Based Reasoning (CBR) is a powerful paradigm that solves new problems by retrieving and adapting solutions from a library of past experiences, known as a "case base." However, as the volume of available data grows, these case bases often become bloated with redundant information, noise, and outliers. This "utility problem" not only slows down retrieval times but can also degrade the accuracy of the system if low-quality or irrelevant cases are retrieved.

The Challenge of Case-Base Maintenance

Traditional maintenance techniques, such as Smyth and Keane’s influential case-deletion policies, categorize cases based on their "coverage" (the set of problems they can solve) and "reachability" (the set of cases that can solve them). While effective in many scenarios, these methods suffer from two primary weaknesses:

  1. Sensitivity to Noise: Outliers often appear unique because they are far from the main data clusters. Deletion-based policies may mistakenly identify these outliers as "pivotal" cases, leading the system to retain harmful noise.
  2. Linear Limitations: Standard similarity measures often fail to capture the complex, nonlinear relationships inherent in many real-world datasets.

The KGCM Framework

To address these issues, we introduce the Kernel-based Greedy Case-mining Algorithm (KGCM). This framework distills massive, noisy databases into compact, high-performance case bases through a three-phase process:

  1. Kernel Transformation: The input data is projected into a high-dimensional, nonlinear feature space using a Gaussian kernel. This process "unfolds" complex data structures, making it easier to separate different solution classes.
  2. Kernel Fisher Discriminant Analysis (KFDA): In this transformed space, the algorithm performs supervised maximum correlation analysis. It identifies directions (eigenvectors) that maximize the distance between different solution classes while minimizing internal spread. This effectively filters out noise and highlights statistically significant features.
  3. Greedy Selection with Global Diversity: The algorithm builds the case base greedily, selecting cases that align strongly with the KFDA directions while ensuring they are spread across the problem space to maintain global diversity.
Visualization of the KGCM algorithm on a complex spiral dataset, highlighting the selected representative cases (stars and diamonds) among the raw data points.

Experimental Evaluation

We evaluated KGCM against several benchmarks, including an artificial spiral dataset and various real-world datasets from the UCI Machine Learning Repository.

Key Results

  • Efficiency and Convergence: On the spiral dataset, KGCM reached optimal competence with a case base size of only 5% of the original data. In contrast, traditional deletion-based methods required significantly more data to reach comparable performance.
  • Robustness to Noise: In tests where noise was intentionally injected, KGCM’s performance remained stable. Standard case-deletion policies saw their accuracy plummet as they erroneously prioritized noisy outliers.
  • Superior Competence: Across benchmarks like the scale and wdbc (Breast Cancer) datasets, KGCM consistently maintained higher competence at smaller sizes compared to both standard deletion policies and a linear version of the algorithm (LGCM).
Performance comparison showing that KGCM achieves higher competence with a smaller percentage of the original case base compared to traditional deletion and linear methods.

Conclusion

KGCM represents a significant step forward in case-base maintenance. By shifting the focus from simple coverage to statistical competence and leveraging nonlinear transformations, it allows for the creation of case bases that are not only smaller and faster but often more accurate than the original raw data. This "cleaning" effect ensures that CBR systems remain robust even in the presence of significant noise and complex data distributions.

Summary updated

BibTeX
@inproceedings{pan2005competence,
  author = {Rong Pan and Qiang Yang and Jeffrey Junfeng Pan and Lei Li},
  title = {{Competence Driven Case-Base Mining}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2005},
  url = {https://openreview.net/forum?id=BkW4Ipeu-S},
}
Figure