Knowledge Discovery in Databases: An Attribute-Oriented Approach

Jiawei Han, Yandong Cai, Nick CerconeVLDB 1992

Abstract

In the early 1990s, the rapid growth of relational databases necessitated automated methods for data mining. This paper introduces Attribute-Oriented Induction (AOI), a framework that leverages database management system (DBMS) primitives to perform set-oriented learning. By generalizing attributes using concept hierarchies, AOI reduces computational complexity from exponential to linear relative to the number of attributes, enabling efficient extraction of characteristic and discrimination rules. The resulting system, DBLEARN, demonstrates the ability to extract concise knowledge from large datasets efficiently.

Introduction

By 1992, the "data explosion" had rendered manual data analysis impossible. While machine learning offered potential solutions, existing "learning-from-examples" algorithms typically operated on a tuple-by-tuple basis. These methods attempted to find logical formulas covering positive examples while excluding negative ones by examining every row individually. This approach faced a "complexity wall" when scaled to massive relational databases. The authors proposed a shift toward set-oriented induction, utilizing the inherent strengths of DBMS to find patterns across entire columns rather than individual records.

Methodology: Attribute-Oriented Induction

The core of the proposed approach is Attribute-Oriented Induction (AOI). Instead of row-wise analysis, the algorithm focuses on attributes (columns) and generalizes their values using Concept Hierarchies.

The AOI Process

  1. Data Collection: Relevant data is retrieved into an initial relation using SQL-like queries.
  2. Attribute Removal: Attributes with excessive distinct values and no available generalization (e.g., unique identifiers like "Student Name") are removed to simplify the search space.
  3. Concept Tree Ascension: Specific values are replaced with higher-level concepts from a pre-defined taxonomy. For instance, "Vancouver" might be generalized to "B.C." and eventually "Canada."
Figure 1: A concept hierarchy for student status, illustrating the levels of generalization from specific years to 'undergraduate' and 'graduate' categories.
  1. Threshold Control: A user-defined "generalization threshold" determines the stopping point. The algorithm continues generalizing until the number of distinct tuples falls below this limit.
  2. Rule Transformation: The final summarized table is converted into logical rules, such as "If a student is a Graduate and a Foreigner, they likely have a Good GPA."

The authors implemented these principles in DBLEARN, a prototype system designed to interface with commercial databases like Oracle and SyBase.

Key Insights and Complexity Reduction

The most significant contribution of AOI is its impact on computational complexity. Traditional tuple-oriented learning operates in a search space of $p^k$, where $p$ is the number of nodes in a concept tree and $k$ is the number of attributes. In contrast, AOI reduces this to $p \times k$, transforming exponential growth into linear growth.

Handling Noise with "Votes"

To manage data variety and noise, the authors introduced a vote attribute. When multiple original rows are generalized into the same summary row, their "votes" are aggregated. This allows the system to generate quantitative rules and filter out outliers with low vote counts.

Figure 5: A generalized relation where specific birthplaces have been elevated to 'Canada' or 'foreign', and votes have been aggregated to show the prevalence of specific patterns.

Key Results

The AOI approach successfully discovered several types of knowledge:

  • Characteristic Rules: Summaries of a specific class (e.g., defining the traits of PhD students).
  • Discrimination Rules: Highlighting differences between classes (e.g., distinguishing PhD students from M.S. students).
  • Data Evolution Regularities: Identifying patterns in how data changes over time.

Furthermore, the rules discovered by DBLEARN were shown to be useful for query optimization, effectively "teaching" the database to locate data more efficiently based on learned regularities.

Limitations and Future Directions

Despite its efficiency, AOI relies heavily on manually defined Concept Hierarchies. The authors identified the automatic discovery of these hierarchies as a critical area for future research. Additionally, while the system allows for threshold adjustments, creating truly interactive "drill-down" or "roll-up" capabilities remained a goal. Future work also includes extending AOI to object-oriented databases and refining incremental learning systems to update rules as new data arrives.

Summary updated

BibTeX
@inproceedings{han1992knowledge,
  author = {Jiawei Han and Yandong Cai and Nick Cercone},
  title = {{Knowledge Discovery in Databases: An Attribute-Oriented Approach}},
  booktitle = {VLDB},
  year = {1992},
}
Figure