"Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach

Lingyu Gu, Yongqiang Du, Yuan Zhang, Di Xie, Shiliang Pu +2 more
2/3/2026

No official code found. Best implementation: Model-Compression/Lossless_Compression (26 stars, Apache-2.0, last commit 2023-11-23).

Abstract

Modern deep neural networks (DNNs) are extremely powerful; however, this comes at the price of increased depth and having more parameters per layer, making their training and inference more computationally challenging. In an attempt to address this key limitation, efforts have been devoted to the compression (e.g., sparsification and/or quantization) of these large-scale machine learning models, so that they can be deployed on low-power IoT devices. In this paper, building upon recent advances in neural tangent kernel (NTK) and random matrix theory (RMT), we provide a novel compression approach to wide and fully-connected \emph{deep} neural nets. Specifically, we demonstrate that in the high-dimensional regime where the number of data points $n$ and their dimension $p$ are both large, and under a Gaussian mixture model for the data, there exists \emph{asymptotic spectral equivalence} between the NTK matrices for a large family of DNN models. This theoretical result enables"lossless"compression of a given DNN to be performed, in the sense that the compressed network yields asymptotically the same NTK as the original (dense and unquantized) network, with its weights and activations taking values \emph{only} in $\{ 0, \pm 1 \}$ up to a scaling. Experiments on both synthetic and real-world data are conducted to support the advantages of the proposed compression scheme, with code available at \url{https://github.com/Model-Compression/Lossless_Compression}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

We propose a lossless compression algorithm based on the NTK matrix for DNN. The compressed network yields asymptotically the same NTK as the original (dense and unquantized) network, with its weights and activations taking values only in {0, 1, -1} up to scaling.

262PythonJun 15, 20222 years agoApache-2.0
deep-learningmodel-compressionneural-tangent-kernel

Similar Papers

Cite this paper

@article{gu2026lossless,
  title  = {"Lossless" Compression of Deep Neural Networks: A High-dimensional Neural Tangent Kernel Approach},
  author = {Lingyu Gu and Yongqiang Du and Yuan Zhang and Di Xie and Shiliang Pu and R. Qiu and Zhenyu Liao},
  year   = {2026},
  eprint = {2403.00258},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2403.00258},
  url    = {https://arxiv.org/abs/2403.00258},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.00258.svg)](https://codeofpaper.com/paper/2403.00258)

Discussion