Learning Nested Concept Classes with Limited Storage

David G. Heath, Simon Kasif, S. Rao Kosaraju, Steven Salzberg, Gregory F. SullivanIJCAI 1991

Introduction

In machine learning, a fundamental trade-off exists between storage capacity and processing efficiency. While traditional learning theory often focuses on the volume of data required to achieve a certain level of accuracy, it frequently overlooks the computational cost—specifically, the number of passes over a dataset—incurred when memory is strictly limited. This paper investigates this trade-off through the lens of "nested hyperrectangles," a model where concepts are represented as a hierarchy of exceptions. The authors demonstrate that when an algorithm cannot store the entirety of its training data, it is mathematically compelled to perform multiple passes to derive a concise and accurate model.

The Nested Generalized Exemplar (NGE) Model

The primary framework used in this study is the Nested Generalized Exemplar (NGE) model. In this paradigm, concepts are defined as axis-parallel hyperrectangles nested within one another. This structure effectively models a hierarchy of exceptions: an outer rectangle might represent a default classification, while an inner rectangle defines an exception to that rule, and a further nested rectangle represents an exception to the exception.

Visualization of nested hyperrectangles representing a hierarchy of exceptions.

Learning in this context involves identifying the boundaries of these rectangles by finding "alternations"—adjacent data points with differing class labels. The complexity of the problem arises from the need to determine the optimal nesting structure that perfectly classifies a given set of $n$ points in $d$ dimensions using the minimum number of rectangles $R$.

Algorithmic Approaches

The authors evaluate several strategies for learning these nested structures under varying memory constraints:

  1. Static Plane Sweep: A baseline algorithm assuming unlimited memory, which can identify the necessary rectangles in $O(dn \log n)$ time.
  2. Simple Limited Memory Algorithm: A straightforward approach that identifies one rectangle per pass. For a model requiring $R$ nested rectangles, this method necessitates $R$ passes over the data.
  3. Sampling and Alternation (1D): For one-dimensional data, a more sophisticated algorithm partitions the input space into intervals. By using a binary search-like technique to locate alternations, it reduces the required passes to $O(\log^{3/2} n)$ for specific ranges of $R$.
  4. Lower Bound Analysis: Using a comparison-based model, the researchers prove that any algorithm with storage limited to $kR$ (where $k$ is a constant) must perform at least $R$ passes to correctly identify $R$ nested rectangles.

Key Results and Theoretical Bounds

The core finding of the paper is the establishment of a rigorous "Memory vs. Passes" trade-off. If an algorithm's storage is capped such that it can only hold the final model (the $R$ rectangles) but not the raw training points, it cannot generalize effectively in a single pass. It must repeatedly scan the data to refine boundaries that were previously discarded due to memory limits.

Lower and upper bounds on the number of passes required based on the number of rectangles and available storage.

Beyond the $R$-pass bound, the authors show that if storage $S$ is increased slightly beyond the absolute minimum, the number of passes can be reduced significantly, potentially to $O(nd/S)$. Furthermore, they demonstrate that when dimensionality is not fixed, finding the optimal nested structure is P-complete, indicating that the problem is inherently sequential and resistant to simple parallelization.

Conclusion and Future Directions

This research highlights that limited storage acts as a physical constraint that mandates increased processing time. While the NGE model provides a robust framework for understanding learning as exception handling, several avenues for future work remain. Generalizing the efficient 1D sampling algorithms to higher dimensions is a non-trivial challenge that may require randomized approaches. Additionally, while the current work assumes noise-free data, extending these bounds to noisy environments—where limited storage might actually serve as a form of regularization—is a promising area for further investigation.

Summary updated

BibTeX
@inproceedings{heath1991learning,
  author = {David G. Heath and Simon Kasif and S. Rao Kosaraju and Steven Salzberg and Gregory F. Sullivan},
  title = {{Learning Nested Concept Classes with Limited Storage}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1991},
}
Figure