Abstract
With the goal of accelerating the training and testing complexity of nonlinear kernel methods, several recent papers have proposed explicit embeddings of the input data into low-dimensional feature spaces, where fast linear methods can instead be used to generate approximate solutions. Analogous to random Fourier feature maps to approximate shift-invariant kernels, such as the Gaussian kernel, on $\mathbb{R}^d$, we develop a new randomized technique called random Laplace features, to approximate a family of kernel functions adapted to the semigroup structure of $\mathbb{R}^d_+$. This is the natural algebraic structure on the set of histograms and other non-negative data representations. We provide theoretical results on the uniform convergence of random Laplace features. Empirical analyses on image classification and surveillance event detection tasks demonstrate the attractiveness of using random Laplace features relative to several other feature maps proposed in the literature.
Introduction
Kernel methods, such as Support Vector Machines (SVMs) with Gaussian kernels, are powerful tools for non-linear modeling. However, their computational complexity often scales super-linearly with the number of data points, creating a significant bottleneck for large-scale applications. To mitigate this, researchers frequently employ Random Fourier Features (RFF) to map data into a low-dimensional space where linear solvers can approximate non-linear kernels. While effective for shift-invariant kernels, RFF is not naturally suited for non-negative data like histograms or bag-of-words descriptors, which are better characterized by semigroup structures. This paper addresses this gap by introducing a randomized technique tailored for non-negative data representations.
Methodology: Random Laplace Features
The core innovation of this work is the introduction of Random Laplace Features (RLF), which bridges abstract harmonic analysis and practical machine learning. The key technical shift is moving from the Fourier transform to the Laplace transform. While Bochner’s Theorem relates shift-invariant kernels to the Fourier transform, Berg’s Theorem relates semigroup kernels on $(\mathbb{R}^d_+, +)$ to the Laplace transform.
The RLF algorithm involves identifying the inverse Laplace transform ($p$) of a desired kernel, drawing random samples from this density, and constructing an explicit feature map. The authors introduce two novel kernels: the Exponential-Semigroup kernel (sampling from a Lévy distribution) and the Reciprocal-Semigroup kernel (sampling from an Exponential distribution).
Experimental Evaluation
The proposed method was evaluated on two challenging computer vision benchmarks:
- Caltech-101: An image classification task using 4200-dimensional SIFT histograms.
- TRECVID SED: A surveillance event detection task in a high-dimensional space ($d = 24,000$).
In both benchmarks, the Exponential-Semigroup kernel using RLF consistently outperformed standard Gaussian and Laplacian kernels, as well as specialized mappings like the Exponentiated-$\chi^2$ kernel.
Key Insights and Efficiency
The success of RLF stems from its "algebraic alignment"—matching the mathematical tool (Laplace transform) to the additive, non-negative nature of histograms. Beyond accuracy, RLF offers significant speed advantages. For instance, the RLF-based Exponential-Semigroup mapping was found to be six times faster to compute than the multi-stage Exponentiated-$\chi^2$ feature map. By enabling the use of linear SVMs, RLF allows for orders-of-magnitude faster training on large datasets while maintaining theoretical rigor through proven uniform convergence bounds.
Conclusion
Random Laplace Features provide a scalable and theoretically sound framework for applying kernel methods to non-negative data. By leveraging the natural semigroup structure of histograms, RLF achieves superior accuracy and computational efficiency compared to existing randomized feature maps. Future research may explore more sophisticated sampling techniques, such as Quasi-Monte Carlo methods, to further reduce the number of features required for high-fidelity approximations.
Summary updated