Aggregation-based feature invention and relational concept classes

Claudia Perlich, Foster J. ProvostKDD 2003

The paper introduces a formal hierarchy for "relational concept classes" based on the complexity of data relationships and proposes a novel set of target-dependent aggregation operators. By analyzing how the distribution of related records differs between target classes (e.g., "successful" vs. "unsuccessful" outcomes), the authors demonstrate significant improvements in machine learning performance on complex, noisy relational databases.

The Challenge of Relational Data

Most standard machine learning algorithms expect data in a single "flat" table (a feature vector). However, real-world data usually resides in relational databases with multiple tables connected by keys.

Relational database structure example showing tables like Customer, Transaction, and Products connected by IDs.

The challenge is aggregation: how to summarize a "bag" of related records (like all transactions for one customer) into a single set of features. Traditional methods often rely on simple statistics like MIN, MAX, or AVERAGE, or use logic-based approaches (Inductive Logic Programming) that struggle with numeric data and noise. This paper bridges this gap by creating sophisticated, automated ways to "invent" features from relational structures.

Proposed Methods

The authors propose two major contributions to the field of relational machine learning:

  1. Relational Concept Hierarchy: They define five levels of complexity for relational concepts, ranging from simple 1:1 relationships (Level 1) to complex global graph features like PageRank or transitive closures (Level 5). This provides a roadmap for understanding the "aggregation power" of specific algorithms.
  2. Target-Dependent Aggregation: Instead of just calculating the mean of a variable, the authors suggest looking at the distribution of values relative to the target class.
  3. Reference Vectors: They calculate "typical" distributions for positive and negative classes (e.g., "What does the distribution of industry codes look like for successful IPOs?").
  4. Vector Distances: For a new record, they calculate the distance (using metrics like Euclidean, Cosine, or Mahalanobis distance) between that record's local distribution and the class reference vectors.
  5. Discriminative Selection: They identify specific values highly characteristic of one class over another and create features based on their presence.

Experimental Setup: The IPO Dataset

The study evaluates these methods on an Initial Public Offerings (IPO) dataset. The task is to predict whether a firm's stock offering will be made on the NASDAQ exchange. The database consists of five tables: IPO, HEAD (lead underwriter), UNDER (all underwriters), and two levels of industry classification codes (IND, IND2). This is a classic relational problem because a single IPO is linked to multiple underwriters and nested industry hierarchies, requiring aggregation across several "joins."

Key Insights

  • Distribution over Summary: Simple averages lose too much information. Capturing the shape of the distribution of related objects (via vector distances) is a more powerful way to represent relational context.
  • The "Target" Matters: Aggregation shouldn't be unsupervised. By "peeking" at target labels during feature construction (using a separate portion of the data to avoid leakage), one can create features specifically tuned to distinguish between classes.
  • ILP vs. Propositionalization: Traditional logic-based systems (like FOIL or Progol) are often too "brittle" for noisy business data. Automated feature invention (propositionalization) combined with robust classifiers like C4.5 often yields better generalization.

Performance Results

Experimental results show that target-dependent methods consistently outperform standard aggregation:

AUC performance comparison across different training sizes for various methods, showing VDD consistently outperforming the baseline NO.
  • Accuracy & AUC: The most complex proposed method, VDD (Vector Distance Difference), achieved the highest performance. As shown in the AUC plot, VDD significantly outperforms the baseline "NO" (no relational features). At a training size of 2000 records, VDD reached an AUC of ~0.85, compared to ~0.71 for the baseline.
  • Scalability: Unlike some logic-based methods that struggle with large search spaces, these aggregation operators scale well as the number of records and the depth of relational joins increase.
  • Comparison: The proposed methods outperformed established ILP systems (FOIL, Tilde, Progol) on this specific noisy, numeric-heavy business domain.

Limitations and Future Work

  • Domain Specificity: The empirical study is limited to the IPO dataset. Different relational characteristics might favor different aggregation strategies.
  • Overfitting Risk: Target-dependent aggregation requires careful data splitting to avoid leakage. The authors used a 50/50 split, but more efficient use of data (like cross-validation for feature invention) could be explored.
  • Joint Optimization: Currently, feature invention and model training are separate steps. "Closing the loop"—where the model's error informs the aggregation strategy—is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{perlich2003aggregation,
  author = {Claudia Perlich and Foster J. Provost},
  title = {{Aggregation-based feature invention and relational concept classes}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2003},
  doi = {10.1145/956750.956772},
}
Figure