Update Compression for Deep Neural Networks on the Edge

Bo Chen, Ali Bakhshi, Gustavo Batista, Brian Wai-Him Ng, Tat-Jun ChinWorkshops @ CVPR 2022 · DOI

Abstract

As Deep Neural Networks (DNNs) are increasingly deployed on resource-constrained edge devices, maintaining their performance against concept drift requires frequent model updates. However, transmitting full model weights over limited bandwidth is often impractical. This paper introduces Knowledge Augmentation (KA), a novel update compression method that freezes existing neural network weights and trains only a minimal set of augmenting parameters. By leveraging Singular Value Decomposition (SVD), KA allows edge devices to receive high-performance updates using less than 1% of the original model's data footprint, significantly outperforming current state-of-the-art techniques in communication efficiency.

The Challenge of Edge Intelligence

Deep Neural Networks are now commonplace in edge applications such as autonomous vehicles, drones, and smart cameras. These models are rarely static; they must be updated post-deployment to adapt to new data or tasks. The primary obstacle is the communication bottleneck: sending a full model update—often hundreds of megabytes—over unreliable or expensive cellular and satellite links is a major operational hurdle.

While traditional research focuses on model compression (reducing size for execution), this work addresses update compression (reducing the size of the delta sent from server to device). The goal is to keep the deployed model "smart" without saturating the network.

Overview of the proposed update compression framework compared to the naive retraining approach.

Methodology: Knowledge Augmentation

The researchers utilize Singular Value Decomposition (SVD) to decompose the weight matrices of Convolutional (Conv) and Fully Connected (FC) layers. They evaluate three distinct strategies for update delivery:

  1. Low Rank Approximation (LRA): A baseline method that transmits a low-rank version of the new weights. It fails to account for existing knowledge on the device, leading to performance degradation when update sizes are heavily restricted.
  2. Mapping Learning (ML): This approach "recycles" the base filters already present on the edge device and only transmits a new "mapping" matrix to define their interaction.
  3. Knowledge Augmentation (KA): The core innovation of the paper. KA freezes the existing SVD components ($U$ and $V$ matrices) and adds a very small number of new columns and rows. These augmenting vectors capture the "knowledge drift" between the old and new datasets. Only these tiny additions and a new set of singular values are transmitted.

On the edge device, a reconstitution step integrates these small patches back into the original weights, effectively "patching" the model's parameters with minimal overhead.

Experimental Results

The authors evaluated their methods using standard computer vision benchmarks, including CIFAR-10 and MNIST, across various architectures like ResNet-18, VGG, and MobileNetV2.

Key Findings

  • Extreme Efficiency: On CIFAR-10 with a ResNet-18, KA achieved a 9% accuracy lift with an update package only 0.5% the size of the original model.
  • Superiority over Federated Learning Baselines: Compared to techniques like Random Masking (RM) and Low-Rank Updates, KA required 2 to 40 times less data to achieve equivalent accuracy gains.
  • Robustness to Model Size: KA performs exceptionally well even on highly optimized models with low parameter redundancy, where other methods typically fail.
Accuracy vs. Update Size comparison, demonstrating KA's superior performance at extremely low update budgets.

Key Insights and Ideas

  • Knowledge Recycling: The most efficient updates do not replace weights but rather provide instructions on how to tweak existing ones.
  • Capturing Knowledge Drift: By recognizing that new data shares structural similarities with old data, the system only needs to learn and transmit the difference (the drift), keeping the update package tiny.
  • Scalability: The method scales well with model size, proving ideal for resource-constrained hardware where every byte of bandwidth is critical.

Limitations and Future Work

While promising, the current method specifically targets Convolutional and Fully Connected layers. Future research is needed to address Batch Normalization parameters and more complex architectures like Transformers or LSTMs. Additionally, while the evaluation focused on image classification, extending these techniques to object detection and natural language processing remains a necessary next step. Finally, the long-term effects of repeated "patching" on model degradation warrant further longitudinal study.

Summary updated

BibTeX
@inproceedings{chen2022update,
  author = {Bo Chen and Ali Bakhshi and Gustavo Batista and Brian Wai-Him Ng and Tat-Jun Chin},
  title = {{Update Compression for Deep Neural Networks on the Edge}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
  doi = {10.1109/cvprw56347.2022.00347},
}
Figure