Utilization Filtering: A Method for Reducing the Inherent Harmfulness of Deductively Learned Knowledge

TL;DR

This paper introduces "utilization filtering," a novel method to prevent deductively learned knowledge from actually harming a problem-solving system's performance. By dynamically deciding whether to use learned knowledge based on predicted failure probabilities, they achieved a 3x performance improvement in a Prolog lemma learning system.

What Problem Does This Paper Address?

Machine learning systems often aim to acquire knowledge to improve performance. The prevailing belief is that more knowledge always leads to better results. However, this paper highlights a phenomenon where correct knowledge can actually degrade performance. This "harmfulness" is particularly problematic in deductive problem solvers that use backtracking (like Prolog) and learn new rules (lemmas) to speed up search. When a learned lemma leads to a dead end, the backtracking mechanism forces the system to re-explore the entire subtree that was originally used to derive the lemma. This redundant exploration, especially in failure branches which are common, can make the system slower than if it had never learned the lemma in the first place. Existing solutions like selective learning (avoiding learning harmful knowledge) or forgetting (deleting it) are insufficient because knowledge can be harmful in one context but beneficial in another.

Methods

The authors propose "utilization filtering," a type of "knowledge filter" that sits between the problem solver and the learned knowledge base. Instead of deciding whether to learn knowledge, it decides when to use it. Specifically, they implemented a filter for a lemma learning system in Prolog. This filter estimates the probability of a subgoal failing. If this probability exceeds a certain threshold, the filter disables the use of learned lemmas for that subgoal's subtree.

The filter maintains four types of failure probabilities:

  1. Probability of a goal with a specific predicate failing.
  2. Probability of a goal with a specific predicate and specific arguments bound failing.
  3. Probability of a specific goal within a specific rule body failing.
  4. Probability of a specific goal within a specific rule body and with specific arguments bound failing.

These probabilities are updated during problem-solving. When a new subgoal is encountered, the most specific available probability is checked against a threshold. If the probability of failure is high, lemmas are not used, and a flag is propagated to disable lemma usage for the entire subtree.

Datasets

Not discussed in the paper. The experiments were conducted on a Prolog database representing a computer network, used for diagnostics and validity checking. Problems were generated randomly from this domain.

Key Insights and Ideas

  • Harmful Knowledge is Real: Correctly learned knowledge can actively hinder performance, especially in systems with backtracking.
  • Context Matters: The harmfulness of knowledge is not inherent but depends on the specific problem context.
  • Utilization Filtering is Key: Deciding when to use learned knowledge is as important as deciding what knowledge to learn.
  • Failure Probability as a Predictor: Estimating the likelihood of a subgoal failing is a powerful heuristic for deciding whether to employ learned lemmas.
  • Specificity is Crucial: The probability of failure is highly context-dependent, and considering rule context and argument bindings significantly improves prediction accuracy.

Key Results

Experiments showed that the utilization filter significantly improved performance.

  • Performance with learned lemmas but no filter was slightly worse than performance with no lemmas at all, demonstrating the harmfulness.
  • With a utilization filter set at a 0.5 probability threshold, performance was three times better than without the filter (and also three times better than with lemmas but no filter).
  • The results exhibited a "U-shape," indicating that filtering too aggressively (always disabling lemmas) or too leniently (always enabling them) leads to suboptimal performance.

Limitations and Future Work

The authors acknowledge that the threshold method used is "rather primitive." They are working on more sophisticated methods that consider the expected benefit of using lemmas in case of success, alongside the expected cost of failure. Future work could involve a cost-benefit analysis where lemmas are used only if the expected gain from success outweighs the expected cost of failure. They also suggest that utilization filtering is not limited to deductive learning and could be applied to other areas, such as dynamic ordering of subgoals in inductive learning systems.

Summary updated

BibTeX
@inproceedings{1989utilization,
  title = {{Utilization Filtering: A Method for Reducing the Inherent Harmfulness of Deductively Learned Knowledge}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure