A General Scoring Rule for Randomized Kernel Approximation with Application to Canonical Correlation Analysis

Yinsong Wang, Shahin ShahrampourarXiv 2019

Introduction

Kernel methods are widely regarded as the "gold standard" for capturing nonlinear relationships in data. However, they suffer from a significant computational bottleneck: for a dataset with $n$ points, methods like Kernel Canonical Correlation Analysis (KCCA) scale at $O(n^3)$, rendering them impractical for large-scale applications.

To address this, researchers frequently employ Random Fourier Features (RFF) to approximate kernels, effectively transforming the problem into a more efficient linear one. While most RFF methods sample features in a data-independent manner or optimize them for supervised tasks, this paper focuses on Canonical Correlation Analysis (CCA)—a technique for identifying relationships between two distinct views of the same data. The authors propose that to maximize correlation, feature selection should be guided by a "scoring rule" specifically tailored to the CCA objective.

Methodology: The ORCCA Framework

The core of the proposed approach is a generalized scoring rule defined as: $$q(\omega) = p(\omega)z^\top(\omega)Bz(\omega)$$ where $p(\omega)$ is the prior distribution, $z(\omega)$ represents the random features, and $B$ is a task-specific matrix. By deriving the optimal $B$ for CCA, the authors introduce two primary algorithms:

  1. ORCCA1: Optimized for scenarios where one data view is nonlinear and the other is linear.
  2. ORCCA2: Designed for cases where both data views require nonlinear mapping.

Instead of simple random sampling, ORCCA draws a larger pool of $M_0$ features, evaluates them using the scoring rule, and selects the top $M$ performers. This data-dependent selection process effectively "warps" the kernel to better suit the specific dataset and task.

Experimental Evaluation

The authors evaluated ORCCA across diverse benchmarks, including tabular data (Adult, Energy Use, Seizure Detection), image data (MNIST, FashionMNIST), and regression-style datasets (Airfoil Self Noise, CCPP).

Superior Correlation Performance

In nearly every test case, ORCCA achieved higher total canonical correlation than standard RFF, Orthogonal Random Features (ORF), and Leverage Score sampling. This advantage was consistent across various metrics, including total correlation, top-10 correlation, and the largest canonical correlation.

Figure 3: Performance comparison of ORCCA2 against standard baselines (LS, ORF, RFF) across four datasets (Adult, Energy Use, Seizure Detection, MNIST) using three correlation metrics.

Efficiency and Speed

A critical advantage of ORCCA is its speed relative to deep learning alternatives. While Deep CCA (DCCA) variants are popular, they are computationally expensive due to backpropagation. On the MNIST dataset, ORCCA achieved higher correlation scores than DCCA while being approximately 360 times faster (0.09 seconds vs. 33 seconds).

Figure 6: Total canonical correlation as a function of time cost (seconds) for Airfoil Self Noise, CCPP, and Energy Use datasets.

Key Insights

  • Task-Specific Selection: Feature selection methods optimized for supervised learning (e.g., Leverage Scores) are sub-optimal for correlation analysis. A task-specific $B$ matrix is essential for maximizing CCA performance.
  • Unifying Framework: The proposed scoring rule acts as a "master formula" that can recover existing methods like Leverage Score or Energy-based sampling by varying the $B$ matrix.
  • Theoretical Guarantees: The authors prove that selecting the best features from a random pool is guaranteed to outperform standard KCCA with a default kernel in expectation, acting as a form of data-dependent kernel learning.

Limitations and Future Directions

While ORCCA is significantly faster than $O(n^3)$ methods, it introduces overhead by requiring scores for a feature pool ($M_0$). If this pool is extremely large, the $O(M_0^3)$ complexity could become a bottleneck. Additionally, like other kernel methods, performance remains sensitive to the initial kernel width ($\sigma$).

Future work could extend this "B-matrix" approach to other trace-optimization problems, such as Kernel Principal Component Analysis (KPCA) or multi-view dimensionality reduction tasks.

Summary updated

BibTeX
@misc{wang2019general,
  author = {Yinsong Wang and Shahin Shahrampour},
  title = {{A General Scoring Rule for Randomized Kernel Approximation with Application to Canonical Correlation Analysis}},
  year = {2019},
  eprint = {1910.05384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.05384},
}
Figure