Weight matrices compression based on PDB model in deep neural networks

Xiaoling Wu, Junpeng Zhu, Zeng LiICML 2025

TL;DR

Researchers have developed a more nuanced way to compress deep neural networks by analyzing the "fingerprints" of their weight matrices—their eigenvalues. By moving from a traditional single-bulk model to a Population Double Bulk (PDB) model, they can more accurately distinguish between useful learned information and random noise. This allows for significant network compression that maintains or even improves model accuracy, especially when dealing with noisy data.

The Challenge of Over-parameterization

Deep Neural Networks (DNNs) are notoriously over-parameterized, often containing millions of parameters that contribute little to actual learning and can lead to overfitting. A common solution is weight matrix compression, which involves identifying and removing the "noisy" parts of the network's internal matrices.

Current state-of-the-art methods use Random Matrix Theory (RMT) to find the boundary between noise and information. Specifically, they often rely on the "Population Unit Bulk" (PUB) model. The PUB model assumes that eigenvalues follow a simple distribution: one large "bulk" representing noise, and a few distinct "spikes" representing learned information. However, real-world trained networks are messy. The PUB model is often too restrictive, leading to compression strategies that accidentally discard valuable information alongside the noise, ultimately hurting model performance.

A Nuanced Approach: The PDB Model

To address the limitations of the PUB model, the authors introduce three key innovations:

  1. The PDB Model: Unlike previous models that assume one uniform bulk of noise, the PDB model posits that the "bulk" is actually composed of two distinct parts ($bulk1$ and $bulk2$). The researchers discovered that $bulk1$ contains valuable learned information, while only $bulk2$ represents true noise.
  2. PDBLS Algorithm: A hyperparameter-free algorithm (Population Double Bulk Least Squares) is introduced to estimate the structure of the weight matrix. It accurately determines the variances of these two bulks and the exact location of the informative "spikes."
  3. PDB Noise-Filtering: A novel compression scheme based on the PDB model. Instead of cutting off everything below a standard RMT theoretical edge, this algorithm preserves the spikes and the informative $bulk1$, zeroing out only the noisy $bulk2$.
Comparison of eigenvalue distributions: Initial matrix, the traditional PUB model, and the proposed PDB model.

This approach is "softer" and more precise than standard Singular Value Decomposition (SVD) pruning, which often relies on arbitrary thresholds.

Key Insights and Results

The authors tested their method across a wide variety of architectures and tasks, including Computer Vision (MNIST, CIFAR-10, ImageNet), Natural Language Processing (RTE, SciTail), and Vision-Language Models (DTD, SUN397).

  • The "Bulk" Isn't Just Noise: The most significant realization is that the eigenvalue bulk in a trained network has internal structure. By splitting the bulk, the researchers retained more "useful" low-rank information that simpler models would have discarded.
  • Superior Accuracy and Lower Rank: In almost all tests, PDB-compressed models outperformed those compressed via PUB-based methods or naive SVD. At the same level of accuracy, PDB-compressed matrices achieved a lower rank (greater compression). For example, on MNIST, PDB reduced the rank to 15.72% of the original, while maintaining higher accuracy than the PUB method at 8.57%.
  • Compression as Regularization: The noise-filtering doesn't just save space; it acts as a powerful regularizer. When training data contains "noisy labels" (incorrect tags), PDB compression actually improves test accuracy by filtering out the patterns learned from those errors.
  • Efficiency: While the PDBLS algorithm adds a small amount of computational overhead compared to simpler models, it remains faster than other complex low-rank optimization techniques like Sparse Low Rank (SLR).

Limitations and Future Directions

While highly effective, the PDB approach has a few limitations that pave the way for future research:

  • Phase Dependency: The paper focuses primarily on the "bulk+spikes" phase of training. While the authors note that the "heavy-tailed" phase is less common, the model might need further refinement for networks that reach that extreme state of training.
Evolution of eigenvalue distributions during training: Initial, Bulk+Spikes, and Heavy-tailed phases.
  • Choice of Bulks ($M$): The authors used $M=2$ bulks because empirical evidence showed that adding a third or fourth bulk provided negligible benefits. However, for extremely large or highly specialized models, a more complex multi-bulk structure might be necessary.
  • Dynamic Compression: The current work focuses on post-training compression. A promising future direction would be integrating the PDB model directly into the training loop to prevent the "noise" from being learned in the first place.

Summary updated

BibTeX
@inproceedings{wu2025weight,
  author = {Xiaoling Wu and Junpeng Zhu and Zeng Li},
  title = {{Weight matrices compression based on PDB model in deep neural networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=2hbx3wG2I1},
}
Figure