Isolation kernel: the X factor in efficient and effective large scale online kernel learning

Kai Ming Ting, Jonathan R. Wells, Takashi Washio

TL;DR

This paper introduces the "Isolation Kernel," a novel kernel method that provides an exact, sparse, and finite-dimensional feature map. This allows for efficient and accurate large-scale online kernel learning, overcoming the accuracy trade-offs typically seen with approximation-based methods.

What Problem Does This Paper Address?

Machine learning, particularly kernel methods, faces a significant challenge when dealing with "big data" – datasets that are either very large or arrive sequentially and potentially infinitely. Kernel methods are powerful for learning complex, non-linear relationships, but their computational cost often becomes prohibitive with large datasets. Existing solutions to this problem, like limiting the number of "support vectors" (key data points used in the model) or using approximate feature maps, achieve efficiency by sacrificing predictive accuracy. This paper tackles this accuracy-efficiency trade-off by proposing a new kernel, the Isolation Kernel, which offers an exact, yet computationally manageable, feature representation.

Methods

The core innovation is the Isolation Kernel, which, unlike traditional kernels like Gaussian or polynomial, possesses an exact, sparse, and user-controllable finite-dimensional feature map. This is achieved through a data-dependent partitioning mechanism. The paper details two implementations: iForest (axis-parallel partitions) and aNNE (Voronoi diagrams).

Key methodological contributions include:

  • Exact Feature Map: The Isolation Kernel's feature map is not an approximation but an exact representation derived from the data partitioning. This eliminates the need for kernel functional approximation.
  • Sparse Representation: The feature map is sparse, meaning most of its components are zero. This allows for highly efficient dot product computations, a critical operation in kernel methods.
  • Primal Optimization: The finite-dimensional nature of the Isolation Kernel's feature map enables the use of the "primal" optimization problem formulation, which is generally more efficient for prediction than the "dual" formulation typically used with infinite-dimensional kernels.
  • IK-OGD and IK-SVM: The paper demonstrates the application of the Isolation Kernel by integrating it into existing algorithms: Online Gradient Descent (OGD) to create IK-OGD, and Support Vector Machines (SVM) to create IK-SVM.

Datasets

The paper evaluates its methods on eleven diverse datasets, including:

  • url
  • news20.binary
  • rcv1.binary
  • real-sim
  • smallNORB
  • cifar-10
  • epsilon
  • mnist
  • a9a
  • covertype
  • ijcnn1

These datasets vary significantly in size (from 20,000 to 2,400,000 data points) and dimensionality (from 22 to over 3.2 million). Some multi-class datasets were converted to binary classification problems for the experiments.

Key Insights and Ideas

  • The "X Factor": The Isolation Kernel's exact, sparse, and finite feature map is presented as the "X factor" that unlocks efficient and accurate large-scale online kernel learning, fundamentally changing the game.
  • No Accuracy Compromise: The most significant insight is that achieving efficiency gains with Isolation Kernel does not require sacrificing predictive accuracy, a common limitation of prior approximation-based methods.
  • Primal is Powerful: The paper strongly advocates for using the primal optimization formulation when an exact, finite feature map is available, highlighting its efficiency benefits over the dual formulation.
  • Sparse is Fast: The sparsity of the Isolation Kernel's feature map leads to dramatic speedups in dot product computations, directly translating to faster training and prediction times.
  • Data Dependency Advantage: The data-dependent nature of Isolation Kernel allows it to adapt to local data densities, leading to better accuracy compared to data-independent kernels in many scenarios.

Key Results

  • Accuracy: IK-OGD consistently achieved equal or better accuracy than OGD and NOGD across most datasets, especially on high-dimensional ones. IK-SVM also showed superior accuracy to SVM with Laplacian kernel on high-dimensional datasets.
  • Runtime:
    • IK-OGD was 3 to 4 orders of magnitude faster than OGD on high-dimensional datasets, and at least one order of magnitude faster overall.
  • IK-OGD was up to one order of magnitude faster than NOGD on high-dimensional datasets.
  • The efficient dot product implementation (IK-OGD vs. IK-OGD(naive)) resulted in speedups of up to two orders of magnitude as the feature map size increased.
  • GPU acceleration for the iForest implementation (IKa-OGD) provided speedups of up to four orders of magnitude compared to its CPU version.
  • Scalability: The Isolation Kernel approach allows for handling an infinite number of support vectors without the typical runtime penalty, a key advantage for online learning.

Limitations and Future Work

  • iForest vs. aNNE: While both implementations of Isolation Kernel were effective, the aNNE (Voronoi-based) implementation generally yielded better predictive accuracy than iForest (axis-parallel), though iForest was more amenable to GPU acceleration.
  • Parameter Tuning: While Isolation Kernel itself has parameters (t and ψ) that can be tuned, the paper notes that the core advantage of an exact feature map still holds.
  • Future Work: The authors suggest that future research can focus solely on efficiency improvements, as the accuracy degradation issue has been largely addressed. They also point to the potential for new space-partitioning mechanisms to create similar exact, sparse, and finite feature maps for other kernels. The paper also mentions that the current work does not address concept drift in online settings, which could be a future research direction.

Summary updated

BibTeX
@article{ting2021isolation,
  author = {Kai Ming Ting and Jonathan R. Wells and Takashi Washio},
  title = {{Isolation kernel: the X factor in efficient and effective large scale online kernel learning}},
  journal = {Data Min. Knowl. Discov.},
  year = {2021},
  doi = {10.1007/s10618-021-00785-1},
}
Figure