Recursive Feature Generation for Knowledge-based Learning

Lior Friedman, Shaul MarkovitcharXiv 2018

Abstract

When humans perform inductive learning, they often enhance the process with background knowledge. With the increasing availability of well-formed collaborative knowledge bases, the performance of learning algorithms could be significantly enhanced if a way were found to exploit these knowledge bases. In this work, we present a novel algorithm for injecting external knowledge into induction algorithms using feature generation. Given a feature, the algorithm defines a new learning task over its set of values, and uses the knowledge base to solve the constructed learning task. The resulting classifier is then used as a new feature for the original problem. We have applied our algorithm to the domain of text classification using large semantic knowledge bases. We have shown that the generated features significantly improve the performance of existing learning algorithms.

Introduction

Traditional inductive learning relies heavily on the quality of the provided features. While standard feature engineering techniques can combine existing features, they often struggle to generalize when data is sparse or feature values are too specific. A human learner, by contrast, utilizes vast background knowledge to bridge these gaps. For instance, recognizing that two patients from different Eastern European countries share regional commonalities allows for a level of abstraction that raw data alone might not support. This paper introduces FEAGURE (FEAture Generation Using REcursive induction), a framework designed to programmatically enable machines to use massive, external relational knowledge bases to perform high-level abstraction.

The Feature Engineering Bottleneck

A primary challenge in machine learning is the "feature engineering bottleneck." When a model encounters features with high cardinality—such as "Surname" or "Country of Origin"—the resulting data becomes extremely sparse. A standard decision tree might branch into hundreds of specific values, each with very few examples, making it difficult to find statistically significant patterns and leading to poor generalization.

Traditional induction algorithms struggle with high-cardinality features like surnames, leading to sparse branches and poor generalization.

The FEAGURE Framework

The core innovation of FEAGURE is treating the values of a feature as a new set of objects for a secondary learning task. The process follows four main steps:

  1. Problem Construction: For a specific feature (e.g., "Surname"), the algorithm creates a new training set where the unique values themselves are the objects to be classified.
  2. External Knowledge Injection: The system queries relational knowledge bases like YAGO2 or Freebase to find properties of these objects (e.g., mapping a surname to its country of origin).
  3. Recursive Learning: A standard induction algorithm solves this new sub-problem. If the sub-problem remains too specific, the algorithm can recurse further (e.g., looking up climatic or regional properties of a country).
  4. Classifier as Feature: The resulting classifier from this sub-task is integrated back into the original problem as a new, high-level binary feature.
The FEAGURE workflow: (1) labeling feature values, (2) fetching external attributes from a knowledge base, (3) training a sub-classifier, and (4) injecting the result as a new feature.

The authors also propose Deep-FEAGURE, which integrates this generation process into a divide-and-conquer tree structure to find "locally improving" features that might be overlooked by global selection methods.

Experimental Evaluation

The researchers evaluated FEAGURE using the TechTC-100 and OHSUMED datasets, utilizing YAGO2 (124 million facts) and Freebase (1.9 billion facts) as knowledge sources.

Key results include:

  • Performance Gains: FEAGURE improved accuracy in 91 out of 100 TechTC-100 datasets when paired with an SVM classifier.
  • Data Scarcity: The algorithm showed the most significant improvements on "hard" datasets where training data was most limited.
  • Information Gain: Recursive features consistently provided higher information gain than original base features.
  • Comparison: FEAGURE outperformed simpler, non-recursive methods like Expander-FG, highlighting the necessity of the recursive learning step.

Conclusion

FEAGURE demonstrates that injecting external knowledge through recursive feature generation significantly boosts model performance and interpretability. Unlike "black box" deep learning features, FEAGURE's features are based on human-readable relations, providing insight into the model's generalization logic. Future work will focus on optimizing the computational cost of recursive search and expanding the range of domain-specific knowledge bases utilized.

Summary updated

BibTeX
@misc{friedman2018recursive,
  author = {Lior Friedman and Shaul Markovitch},
  title = {{Recursive Feature Generation for Knowledge-based Learning}},
  year = {2018},
  eprint = {1802.00050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.00050},
}
Figure