Deep kernel recursive least-squares algorithm

Hossein Mohamadipanah, Mahdi Heydari, Girish ChowdharyNonlinear 2021

TL;DR

This paper introduces a novel "Deep Kernel Recursive Least-Squares" (D-KRLS) algorithm that models multidimensional data by creating a hierarchical structure for kernel weights. This approach significantly speeds up computation and improves accuracy compared to traditional kernel methods, especially for high-dimensional datasets.

What Problem Does This Paper Address?

Modeling complex, spatiotemporally varying phenomena often involves large, multidimensional datasets. Traditional kernel-based methods, like Kernel Recursive Least-Squares (KRLS), struggle with the computational cost that grows rapidly with the number of dimensions and data points. Existing solutions often rely on sparsifying the kernel dictionary, which can lead to a loss of accuracy. This paper tackles the challenge of efficiently and accurately modeling high-dimensional data without sacrificing performance.

Methods

The core innovation is the "Deep Kernel Recursive Least-Squares" (D-KRLS) algorithm. Instead of a single-layer kernel model, D-KRLS reorganizes the model into a deep, hierarchical structure. The key idea is to model the weights of a kernel in one dimension based on its adjacent dimension. This is achieved through a two-step process:

  1. Initial Modeling: The algorithm first performs a standard kernel-based modeling on the primary input dimension (e.g., spatial data 'x'). The resulting weights are then recorded for each sample of the subsequent dimensions (e.g., time 'd₁'). This process is repeated for all subsequent dimensions, creating a hierarchy of recorded weights.
  2. Hierarchic Weight Modeling: In this step, the recorded weights from the previous stage are themselves modeled using kernel methods, but now with the adjacent dimension as the input. This recursive process continues, building a deep hierarchical structure where each layer models the weights of the layer below it.

This hierarchical approach effectively breaks down the complex, high-dimensional problem into a series of smaller, more manageable kernel modeling tasks.

Datasets

The authors evaluated their D-KRLS algorithm on:

  • Synthetic 2D Dataset: A function Y(x, d) = sin(x)cos(5d) was used, with x and d ranging over 145 and 150 evenly distributed points, respectively.
  • Synthetic 3D Dataset: A function f(x, d₁, d₂) = cos(x)sin(d₁/2)sin(d₂/3) was used, with x, d₁, and d₂ ranging over 145, 150, and 100 evenly distributed points, respectively.
  • Intel Lab Dataset: A real-world dataset recording temperature from 54 sensors in an Intel lab. Sensor indices represented space (x), and time (d) ranged from 301 to 400 seconds.

Key Insights and Ideas

  • Hierarchical Weight Modeling: The most significant insight is treating kernel weights themselves as data to be modeled hierarchically. This "deep" approach allows for capturing complex interdependencies across dimensions without explicit feature engineering or dictionary sparsification.
  • Computational Efficiency: By breaking down the problem into multiple smaller kernel modeling steps, D-KRLS avoids the quadratic complexity associated with large, single-layer kernel matrices in high dimensions. This leads to substantial speedups.
  • Accuracy Improvement: The hierarchical structure allows for a more nuanced modeling of the data, leading to improved prediction accuracy, especially for complex, multidimensional phenomena.
  • No Predefined Correlation Functions: Unlike some existing methods (e.g., NONSTILL-KRLS), D-KRLS does not require predefined covariance functions to model correlations between dimensions, making it more flexible.

Key Results

  • Computational Speedup: D-KRLS demonstrated significantly faster training times compared to traditional KRLS and other methods like S-KRLS and NONSTILL-KRLS. For instance, on the 2D synthetic dataset, D-KRLS took 2.93 seconds, while KRLS took 22.6461 seconds.
  • Improved Accuracy: D-KRLS achieved lower maximum validation errors across all tested datasets. For the 3D synthetic dataset, D-KRLS had a maximum error of 0.0171, while other methods struggled or failed to provide reasonable results.
  • Scalability: The paper highlights D-KRLS's superior performance on higher-dimensional datasets, where traditional methods become computationally intractable.

Limitations and Future Work

  • Hyperparameter Tuning: Like most kernel methods, D-KRLS relies on hyperparameters (e.g., kernel variances) that require careful tuning. The paper provides a table of hyperparameters used in their experiments.
  • Batch Processing: The current implementation of D-KRLS is batch-based for the first n dimensions. Future work could explore online or incremental versions of the algorithm.
  • Further Dimensionality: While D-KRLS shows promise for higher dimensions, the paper's direct comparisons are limited to three dimensions due to the failure of other methods. Extending the comparison to even higher dimensions would be valuable.

Summary updated

BibTeX
@inproceedings{mohamadipanah2021deep,
  author = {Hossein Mohamadipanah and Mahdi Heydari and Girish Chowdhary},
  title = {{Deep kernel recursive least-squares algorithm}},
  booktitle = {Nonlinear},
  year = {2021},
  doi = {10.1007/s11071-021-06416-0},
}
Figure