Research map / Architectures and efficiency / Pruning and efficient tuning
Scalable Neural Network Kernels
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Introduces scalable neural network kernels (SNNKs) that replace feedforward layers by disentangling inputs and parameters via universal random features, and evaluates them as adapters, pooler replacements, and in toy/UCI settings.
Problem
Feedforward layers in neural networks have many trainable parameters and cost O(ld) per input; the paper seeks a compressed, computationally cheaper replacement that still approximates the layer.
Approach
Reinterpret a feedforward layer as a vector of dot-product kernel values between input embeddings and learnable parameter embeddings (SNNK), built from universal random features that linearize any activation with a Fourier transform (including sin/cos), so only m-dimensional parameter embeddings need training; also a ReLU-SNNK tied to arc-cosine kernels, and a bundling process that merges consecut
Key results
- ReLU-SNNK-Adapter outperforms the Houlsby adapter baseline on 5 of 8 GLUE dev tasks (e.g., RTE 69.68 vs 63.83, MRPC 91.26 vs 84.8) while using about 1/3 of trainable parameters.
- Cosine-SNNK-pooler beats the BERT pooler baseline on 5 of 8 GLUE tasks, reducing stored pooler+classifier storage from 18.92 Megabit to 0.02 Megabit.
- Bundled pooler+classifier training with 1024 random features uses about 1/30 of baseline trainable parameters, staying within about 2.7 points on MNLI.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace the pooler with Cosine-SNNK | BERT-base pooler · RTE dev | accuracy: 57.5 -> 61.36 ± 1.15 | Helped |
| replace the pooler with Cosine-SNNK | BERT-base pooler · MRPC dev | F1: 81.5 -> 82.07 ± 1.07 | Helped |
| replace the pooler with Cosine-SNNK | BERT-base pooler · QNLI dev | accuracy: 74.5 -> 73.5 ± 0.22 | Hurt |
| replace the pooler with Cosine-SNNK | BERT-base pooler · QQP dev | F1: 72.0 -> 70.43 ± 0.17 | Hurt |
| replace the pooler with Cosine-SNNK | BERT-base pooler · SST-2 dev | accuracy: 84.9 -> 85.21 ± 0.34 | Helped |
| replace the pooler with Cosine-SNNK | BERT-base pooler · MNLI dev | accuracy: 56.4 -> 52.69 ± 0.32 | Hurt |
| replace the pooler with Cosine-SNNK | BERT-base pooler · STSB dev | Spearman correlation: 78.1 -> 78.93 ± 0.37 | Helped |
| replace the pooler with Cosine-SNNK | BERT-base pooler · CoLA dev | MCC: 29.4 -> 35.81 ± 0.96 | Helped |
| replace adapter blocks with ReLU-SNNK adapters | BERT-base adapters · RTE dev | accuracy: 63.83 ± 1.4 -> 69.68 ± 1.24 | Helped |
| replace adapter blocks with ReLU-SNNK adapters | BERT-base adapters · MRPC dev | F1: 84.8 ± 1.07 -> 91.26 ± 1.39 | Helped |
| replace adapter blocks with ReLU-SNNK adapters | BERT-base adapters · QNLI dev | accuracy: 90.63 ± 0.26 -> 90.44 ± 0.16 | Hurt |
| replace adapter blocks with ReLU-SNNK adapters | BERT-base adapters · SST-2 dev | accuracy: 91.74 ± 0.36 -> 92.31 ± 0.27 | Helped |
Surprising findings
- Brute-force linearization of tanh (Tanh-SNNK-pooler) performs much worse than the baseline (e.g., RTE 52.08 vs 57.5), so the proposed URF/ReLU constructions are needed.
- The Cosine-SNNK-Adapter underperforms the Houlsby adapter on CoLA (52.12 vs 56.51) and MNLI (79.28 vs 83.53).
Limitations
- Replacing adapters or pooler with SNNKs is not uniformly better: several GLUE tasks (e.g., MNLI, QNLI, QQP) remain behind baselines unless more random features are used.
- Hyperparameters for SNNK adapters were borrowed from prior work and not tuned, as the authors acknowledge.
- Theoretical error propagation analysis for bundled networks is an informal bound with composed delta functions.
Experimental setup
Datasets: GLUE CIFAR-10 CIFAR-100 ImageNet-1k MNIST CoverType HIGGS HEPMASS
Benchmarks: GLUE dev set CIFAR-10 CIFAR-100 ImageNet-1k MNIST UCI datasets
Metrics: accuracy MCC F1 Spearman correlation trainable parameters
Baselines: BERT pooler baseline Houlsby adapter AdapterFusion-style adaptable adapters (AA) SIREN MLP baseline on MNIST 3-layer MLP on UCI
Builds on: random Fourier features FAVOR+ positive random features arc-cosine kernels adapters (Houlsby)
Closest papers by meaning
- Finite Versus Infinite Neural Networks: an Empirical Study (NeurIPS 2020 · similarity 0.87)
- Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the Neural Tangent Kernel (NeurIPS 2020 · similarity 0.86)
- Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNs (CVPR 2022 · similarity 0.86)
- Fixing the NTK: From Neural Network Linearizations to Exact Convex Programs (NeurIPS 2023 · similarity 0.86)
- Gradient Descent in Neural Networks as Sequential Learning in Reproducing Kernel Banach Space (ICML 2023 · similarity 0.86)
- EUGens: Efficient, Unified and General Dense Layers (NeurIPS 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
