Random matrices in service of ML footprint: ternary random features with no performance loss
Abstract
In this article, we investigate the spectral behavior of random features kernel matrices of the type K = E w [σ(w T x i )σ(w T x j )] n i,j=1 , with nonlinear function σ(•), data x 1 , . . . , x n ∈ R p , and random projection vector w ∈ R p having i.i.d. entries. In a high-dimensional setting where the number of data n and their dimension p are both large and comparable, we show, under a Gaussian mixture model for the data, that the eigenspectrum of K is independent of the distribution of the i.i.d. (zero-mean and unit-variance) entries of w, and only depends on σ(•) via its (generalized) Gaussian moments E z∼N (0,1) [σ ′ (z)] and E z∼N (0,1) [σ ′′ (z)]. As a result, for any kernel matrix K of the form above, we propose a novel random features technique, called Ternary Random Feature (TRF), that (i) asymptotically yields the same limiting kernel as the original K in a spectral sense and (ii) can be computed and stored much more efficiently, by wisely tuning (in a data-dependent manner) the function σ and the random vector w, both taking values in -1, 0, 1. The computation of the proposed random features requires no multiplication, and a factor of b times less bits for storage compared to classical random features such as random Fourier features, with b the number of bits to store full precision values. Besides, it appears in our experiments on real data that the substantial gains in computation and storage are accompanied with somewhat improved performances compared to state-of-the-art random features compression/quantization methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Random Matrix Analysis to Balance between Supervised and Unsupervised Learning under the Low Density Separation Assumption cites Random Matrix Theory Proves that Deep Learning Representations of GAN-data Behave as Gaussian Mixtures
- Random Matrix Analysis to Balance between Supervised and Unsupervised Learning under the Low Density Separation Assumption cites "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach
- "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach cites Random Matrix Theory Proves that Deep Learning Representations of GAN-data Behave as Gaussian Mixtures
- "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach cites Spectra of the Conjugate Kernel and Neural Tangent Kernel for linear-width neural networks
- "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach cites Implicit Regularization of Random Feature Models
- "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach cites Exact expressions for double descent and implicit regularization via surrogate random design
- Eigen Analysis of Conjugate Kernel and Neural Tangent Kernel cites Spectra of the Conjugate Kernel and Neural Tangent Kernel for linear-width neural networks
- Eigen Analysis of Conjugate Kernel and Neural Tangent Kernel cites "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach
- Eigen Analysis of Conjugate Kernel and Neural Tangent Kernel cites A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent
- Deep Equilibrium Models are Almost Equivalent to Not-so-deep Explicit Models for High-dimensional Gaussian Mixtures cites Random Matrix Theory Proves that Deep Learning Representations of GAN-data Behave as Gaussian Mixtures
- Deep Equilibrium Models are Almost Equivalent to Not-so-deep Explicit Models for High-dimensional Gaussian Mixtures cites Spectra of the Conjugate Kernel and Neural Tangent Kernel for linear-width neural networks
- A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent cites Random Matrix Theory Proves that Deep Learning Representations of GAN-data Behave as Gaussian Mixtures
- A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent cites Spectra of the Conjugate Kernel and Neural Tangent Kernel for linear-width neural networks
- A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent cites Exact expressions for double descent and implicit regularization via surrogate random design
Cited by top-tier papers4
- "Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel ApproachLingyu Gu, Yongqi Du, Yuan Zhang, Di Xie et al.NeurIPS 2022 · 9 citations
- Random Matrix Analysis to Balance between Supervised and Unsupervised Learning under the Low Density Separation AssumptionVasilii Feofanov, Malik Tiomoko, Aladin VirmauxICML 2023 · 8 citations
- Deep Equilibrium Models are Almost Equivalent to Not-so-deep Explicit Models for High-dimensional Gaussian MixturesZenan Ling, Longbo Li, Zhanbo Feng, Yixuan Zhang et al.ICML 2024 · 6 citations
- Eigen Analysis of Conjugate Kernel and Neural Tangent KernelXiangchao Li, Xiao Han, Qing YangICML 2025
Builds on7
- A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descentZhenyu Liao, Romain Couillet, Michael W. MahoneyNeurIPS 2020 · 102 citations
- Spectra of the Conjugate Kernel and Neural Tangent Kernel for linear-width neural networksZhou Fan, Zhichao WangNeurIPS 2020 · 101 citations
- Implicit Regularization of Random Feature ModelsArthur Jacot, Berfin Simsek, Francesco Spadaro, Clément Hongler et al.ICML 2020 · 83 citations
- Exact expressions for double descent and implicit regularization via surrogate random designMichal Derezinski, Feynman T. Liang, Michael W. MahoneyNeurIPS 2020 · 81 citations
- Random Matrix Theory Proves that Deep Learning Representations of GAN-data Behave as Gaussian MixturesMohamed El Amine Seddik, Cosme Louart, Mohamed Tamaazousti, Romain CouilletICML 2020 · 78 citations
Related papers
- Quantization Algorithms for Random Fourier FeaturesXiaoyun Li, Ping LiICML 2021 · 15 citations
- Two-way kernel matrix puncturing: towards resource-efficient PCA and spectral clusteringRomain Couillet, Florent Chatelain, Nicolas Le BihanICML 2021 · 11 citations
- Leverage Score Sampling for Tensor Product Matrices in Input Sparsity TimeDavid P. Woodruff, Amir ZandiehICML 2022 · 10 citations
- Sparse Quantized Spectral ClusteringZhenyu Liao, Romain Couillet, Michael W. MahoneyICLR 2021 · 18 citations
- TRF: Learning Kernels with Tuned Random FeaturesAlistair Shilton, Sunil Gupta, Santu Rana, Arun Kumar Anjanapura Venkatesh et al.AAAI 2022
