Forgetting and Compacting data in Concept Learning

Gunther Sablon, Luc De RaedtIJCAI 1995

Abstract

Incremental concept learning algorithms using backtracking have to store previous data. These data can be ordered by the "is more specific than" relation. Using this order only the most informative data have to be stored, and the less informative data can be discarded. Moreover, under certain conditions some data can be replaced by automatically generated, more informative data. We investigate some conditions for data to be discarded, independently of the chosen concept learning algorithm or concept representation language. Then an algorithm for discarding data is presented in the framework of Iterative Versionspaces, which is a depth-first algorithm computing versionspaces as introduced by Mitchell. We update the datastructures used in the Iterative Versionspaces algorithm, while preserving its most important properties.

Introduction

In concept learning, the objective is to induce a hypothesis that correctly classifies positive and negative examples. Incremental learners process these examples sequentially. However, algorithms that employ backtracking must often retain the entire history of instances to validate new hypotheses against past evidence. As the number of instances $n$ grows, this requirement imposes significant memory overhead and increases the computational cost of consistency checks.

This research addresses the fundamental question of whether all historical data is necessary. We propose a formal method for identifying and "forgetting" redundant training instances. By pruning data that provides no additional information beyond what is already captured by other instances, we can maintain an efficient search for the correct hypothesis while preserving the integrity of the version space.

Methodology: Pruning and Redundancy

The core of our approach is a formal theory of redundancy based on the partial ordering of instances ($\le$), where one instance is "more specific than" another. We define two primary types of redundancy:

  • s-prunable: An instance is redundant with respect to the "Specific" boundary ($S$) of the version space.
  • g-prunable: An instance is redundant with respect to the "General" boundary ($G$).

This framework is language-independent; the conditions for discarding data depend solely on the partial ordering, making it applicable to various representation languages such as first-order logic or tree structures.

The stack structure $B_s$ stores choice points ($ind_i$), current hypotheses ($s_i$), and sets of alternatives ($alt_i$). Pruning logic allows for the removal of redundant entries.

Beyond simple deletion, the paper explores automatic compaction. Under certain conditions, two instances can be replaced by a single, more informative instance, such as the least upper bound of two positive examples.

Algorithm Integration

We integrate these pruning conditions into the Iterative Versionspaces (ITVS) algorithm, a depth-first search approach for computing version spaces. The modified algorithm checks for redundancy every time a new instance is processed.

Algorithm 2: Generalizing $B_s$. This procedure details how the stack of choice points is updated and generalized while incorporating the pruning of s-prunable instances.

The algorithm maintains a stack of choice points, $B_s$, and updates it to ensure that only the most informative instances are retained. This process ensures that the final version space found is identical to one derived from the full dataset, but with a significantly reduced memory footprint.

Analysis of Efficiency and Results

While checking for redundancy introduces a quadratic ($O(n^2)$) time cost during the update phase, it can yield exponential reductions in search time. In hypothesis spaces that grow exponentially with the number of instances, reducing the instance count by even a small factor $k$ results in a speedup proportional to $b^k$, where $b$ is the branching factor of the search.

Key results include:

  • Space Complexity: The worst-case space complexity remains linear in the number of instances, even with compaction logic.
  • Consistency: Testing candidate hypotheses remains linear in the number of instances.
  • Transparency: The data compaction is transparent to the search process; the resulting version space is invariant to whether redundant data was kept or discarded.

Discussion and Conclusion

The effectiveness of data compaction, particularly when generating new instances via least upper bounds, can be sensitive to the order of instance presentation. Furthermore, the $O(n^2)$ overhead for updates may become significant in very large datasets. However, for many symbolic learning tasks, the trade-off—sacrificing some update time for a massive reduction in search space—is highly beneficial. Future work could involve adapting these principles to non-symbolic incremental architectures or optimizing the redundancy checks for specific language domains.

Summary updated

BibTeX
@inproceedings{sablon1995forgetting,
  author = {Gunther Sablon and Luc De Raedt},
  title = {{Forgetting and Compacting data in Concept Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
  url = {https://openreview.net/forum?id=Hk4TwBMO-r},
}
Figure