Neural Kernels Without Tangents

arXiv:2003.02237 First posted 2020-03-04 v2 code used to produce our results can be found at: https://github.com/modestyachts/neural_kernels_code
Cite this paper ×
BibTeX
@misc{shankar2020neural,
  title = {Neural Kernels Without Tangents},
  author = {Vaishaal Shankar and Alex Fang and Wenshuo Guo and Sara Fridovich-Keil and Ludwig Schmidt and Jonathan Ragan-Kelley and Benjamin Recht},
  year = {2020},
  eprint = {2003.02237},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2003.02237}
}
APA
Shankar, V., Fang, A., Guo, W., Fridovich-Keil, S., Schmidt, L., Ragan-Kelley, J., & Recht, B. (2020). Neural Kernels Without Tangents [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.02237
GB/T 7714
SHANKAR V, FANG A, GUO W, et al. Neural Kernels Without Tangents[EB/OL]. (2020-03-04)[2026-11-29]. https://arxiv.org/abs/2003.02237.

Abstract

We investigate the connections between neural networks and simple building blocks in kernel space. In particular, using well established feature space tools such as direct sum, averaging, and moment lifting, we present an algebra for creating "compositional" kernels from bags of features. We show that these operations correspond to many of the building blocks of "neural tangent kernels (NTK)". Experimentally, we show that there is a correlation in test error between neural network architectures and the associated kernels. We construct a simple neural network architecture using only 3x3 convolutions, 2x2 average pooling, ReLU, and optimized with SGD and MSE loss that achieves 96% accuracy on CIFAR10, and whose corresponding compositional kernel achieves 90% accuracy. We also use our constructions to investigate the relative performance of neural networks, NTKs, and compositional kernels in the small dataset regime. In particular, we find that compositional kernels outperform NTKs and neural networks outperform both kernel methods.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!