mlsanityData to 7 Oct 2026

Fast Neural Kernel Embeddings for General Activations

arXiv 2209.04121 ↗First posted 9 Sep 2022cs.LG cs.AI stat.MLcited by 18

Not on the map. Why?

Abstract (arXiv)

Infinite width limit has shed light on generalization and optimization aspects of deep learning by establishing connections between neural networks and kernel methods. Despite their importance, the utility of these kernel methods was limited in large-scale learning settings due to their (super-)quadratic runtime and memory complexities. Moreover, most prior works on neural kernels have focused on the ReLU activation, mainly due to its popularity but also due to the difficulty of computing such kernels for general activations. In this work, we overcome such difficulties by providing methods to work with general activations. First, we compile and expand the list of activation functions admitting exact dual activation expressions to compute neural kernels. When the exact computation is unknown, we present methods to effectively approximate them. We propose a fast sketching method that approximates any multi-layered Neural Network Gaussian Process (NNGP) kernel and Neural Tangent Kernel (NTK) matrices for a wide range of activation functions, going beyond the commonly analyzed ReLU activation. This is done by showing how to approximate the neural kernels using the truncated Hermite expansion of any desired activation functions. While most prior works require data points on the unit sphere, our methods do not suffer from such limitations and are applicable to any dataset of points in ℝd. Furthermore, we provide a subspace embedding for NNGP and NTK matrices with near input-sparsity runtime and near-optimal target dimension which applies to any homogeneous dual activation functions with rapidly convergent Taylor expansion. Empirically, with respect to exact convolutional NTK (CNTK) computation, our method achieves 106× speedup for approximate CNTK of a 5-layer Myrtle network on CIFAR-10 dataset.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 50 of its 82 references that are in the map. First posted on arXiv 9 Sep 2022.

Builds on

50 of 82 references.

References · 50

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  6. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  7. 2020Implicit Neural Representations with Periodic Activation Functionscited by 2,214
  8. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
  9. 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,061
  10. 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 784
  11. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
  12. 2017Deep Neural Networks as Gaussian Processescited by 617
38 more
  1. 2019On Exact Computation with an Infinitely Wide Neural Netcited by 572
  2. 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 562
  3. 2018Gaussian Process Behaviour in Wide Deep Neural Networkscited by 314
  4. 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 280
  5. 2020Dataset Meta-Learning from Kernel Ridge-Regressioncited by 230
  6. 2019Generalization Bounds of Stochastic Gradient Descent for Wide and Deep Neural Networkscited by 221
  7. 2021Dataset Distillation with Infinitely Wide Convolutional Networkscited by 215
  8. 2021Neural Architecture Search on ImageNet in Four GPU Hours: A Theoretically Inspired Perspectivecited by 168
  9. 2018Bayesian Deep Convolutional Networks with Many Channels are Gaussian Processescited by 164
  10. 2019Graph Neural Tangent Kernel: Fusing Graph Neural Networks with Graph Kernelscited by 160
  11. 2020Finite Versus Infinite Neural Networks: an Empirical Studycited by 156
  12. 2019Neural Tangents: Fast and Easy Infinite Neural Networks in Pythoncited by 149
  13. 2019Scaling Limits of Wide Neural Networks with Weight Sharing: Gaussian Process Behavior, Gradient Independence, and Neural Tangent Kernel Derivationcited by 146
  14. 2016Toward Deeper Understanding of Neural Networks: The Power of Initialization and a Dual View on Expressivitycited by 138
  15. 2018Deep Convolutional Networks as shallow Gaussian Processescited by 137
  16. 2018Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernelcited by 131
  17. 2020Infinite attention: NNGP and NTK for deep attention networkscited by 117
  18. 2020Neural Networks are Convex Regularizers: Exact Polynomial-time Convex Optimization Formulations for Two-layer Networkscited by 96
  19. 2020Smooth Adversarial Trainingcited by 89
  20. 2019Harnessing the Power of Infinitely Wide Deep Nets on Small-data Taskscited by 87
  21. 2017A Random Matrix Approach to Neural Networkscited by 80
  22. 2022Fast Finite Width Neural Tangent Kernelcited by 62
  23. 2020Neural Kernels Without Tangentscited by 56
  24. 2020Implicit Regularization of Random Feature Modelscited by 54
  25. 2014Convolutional Kernel Networkscited by 47
  26. 2022The curse of overparametrization in adversarial training: Precise analysis of robust generalization for random features regressioncited by 40
  27. 2021Scaling Neural Tangent Kernels via Sketching and Random Featurescited by 32
  28. 2020Towards NNGP-guided Neural Architecture Searchcited by 24
  29. 2019Expressive Priors in Bayesian Neural Networks: Kernel Combinations and Periodic Functionscited by 22
  30. 2019A Random Matrix Perspective on Mixtures of Nonlinearities for Deep Learningcited by 20
  31. 2021Eigenspace Restructuring: a Principle of Space and Frequency in Neural Networkscited by 17
  32. 2021Meta-Learning with Neural Tangent Kernelscited by 15
  33. 2017Invariance of Weight Distributions in Rectified MLPscited by 12
  34. 2020Exploring the Uncertainty Properties of Neural Networks' Implicit Priors in the Infinite-Width Limitcited by 12
  35. 2021Reverse Engineering the Neural Tangent Kernelcited by 12
  36. 2019Richer priors for infinitely wide multi-layer perceptronscited by 9
  37. 2021Fundamental tradeoffs between memorization and robustness in random features and neural tangent regimescited by 9
  38. 2020Avoiding Kernel Fixed Points: Computing with ELU and GELU Infinite Networkscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 5; 2024: 7; 2025: 2; 2026: 3.

18 papers.

Sort: