Skip to main content
QUICK REVIEW

[Paper Review] DeepTwist: Learning Model Compression via Occasional Weight Distortion

Dongsoo Lee, Parichay Kapoor|arXiv (Cornell University)|Oct 30, 2018
Speech Recognition and SynthesisComputer Science15 references21 citations
TL;DR

DeepTwist is a unified model compression framework that enhances pruning, quantization, and low-rank approximation by applying occasional, structured weight distortions during training without modifying the underlying algorithm. It achieves higher compression ratios with minimal hyper-parameter tuning and even improves test perplexity beyond the pre-trained model, demonstrating strong regularization effects.

ABSTRACT

Model compression has been introduced to reduce the required hardware resources while maintaining the model accuracy. Lots of techniques for model compression, such as pruning, quantization, and low-rank approximation, have been suggested along with different inference implementation characteristics. Adopting model compression is, however, still challenging because the design complexity of model compression is rapidly increasing due to additional hyper-parameters and computation overhead in order to achieve a high compression ratio. In this paper, we propose a simple and efficient model compression framework called DeepTwist which distorts weights in an occasional manner without modifying the underlying training algorithms. The ideas of designing weight distortion functions are intuitive and straightforward given formats of compressed weights. We show that our proposed framework improves compression rate significantly for pruning, quantization, and low-rank approximation techniques while the efforts of additional retraining and/or hyper-parameter search are highly reduced. Regularization effects of DeepTwist are also reported.

Motivation & Objective

  • To address the growing complexity of model compression techniques that require custom training algorithms and extensive hyper-parameter tuning.
  • To develop a unified framework that enhances multiple compression methods—pruning, quantization, and low-rank approximation—without altering existing training procedures.
  • To reduce the computational and hyper-parameter overhead typically associated with achieving high compression ratios.
  • To explore whether occasional weight distortion can act as a regularizer, improving generalization and enabling better performance than the original pre-trained model.

Proposed method

  • DeepTwist introduces occasional, non-uniform weight distortions at predefined training intervals, treating the process as a form of weight-noise injection.
  • The distortion function is designed based on the target compression format (e.g., binary, low-rank, quantized), ensuring compatibility with existing compression techniques.
  • No modifications are made to the base training algorithm; only one additional hyper-parameter (distortion frequency) is introduced, regardless of compression type.
  • Distortion is applied selectively and infrequently, minimizing computational overhead while enabling exploration of better local minima in the loss landscape.
  • For low-rank approximation, SVD is applied to weight matrices after distortion, with the rank reduced iteratively to maximize compression while maintaining accuracy.
  • The framework supports end-to-end training with standard optimization, making it plug-and-play for existing deep learning pipelines.

Experimental results

Research questions

  • RQ1Can occasional weight distortion improve compression performance across multiple model compression techniques without modifying the training algorithm?
  • RQ2Does the proposed distortion mechanism act as a regularizer, leading to improved generalization beyond the pre-trained model?
  • RQ3How does the number of hyper-parameters required for compression change when using DeepTwist compared to conventional methods?
  • RQ4To what extent can DeepTwist enhance low-rank approximation, especially in terms of maintaining or reducing test perplexity?
  • RQ5What is the impact of distortion frequency and initial learning rate on convergence and model accuracy in compressed models?

Key findings

  • DeepTwist-based SVD compression achieved a test perplexity of 82.02 (without projection layer) at rank r=96, which is lower than the pre-trained model’s 83.78, demonstrating improved performance despite compression.
  • For r=256, the perplexity was 81.75 with an optimized initial learning rate of 2.0, outperforming the conventional SVD method and the pre-trained baseline.
  • The method reduced the retraining time to reach minimum perplexity to approximately half the duration of pre-training, indicating faster convergence.
  • Singular value spectra analysis showed that distortion promotes growth of the first r singular values and decay beyond r, indicating effective low-rank approximation.
  • Even with a fixed initial learning rate, DeepTwist-based SVD consistently outperformed conventional SVD across all tested ranks, confirming robustness.
  • The framework enabled high compression ratios with minimal hyper-parameter tuning and no changes to the training pipeline, validating its practicality and scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.