PreprintCited by 8Advanced Neural Network ApplicationsTopic ModelingStochastic Gradient Optimization Techniques

Compressing Language Models using Doped Kronecker Products

Open access
Thakker, Urmish, Whatmough, Paul N., Liu, Zhi-Gang, Mattina, Matthew, Beu, Jesse·2020·arXiv

Abstract

Kronecker Products (KP) have been used to compress IoT RNN Applications by 15-38x compression factors, achieving better results than traditional compression methods. However when KP is applied to large Natural Language Processing tasks, it leads to significant accuracy loss (approx 26%). This paper proposes a way to recover accuracy otherwise lost when applying KP to large NLP tasks, by allowing additional degrees of freedom in the KP matrix. More formally, we propose doping, a process of adding an extremely sparse overlay matrix on top of the pre-defined KP structure. We call this compression method doped kronecker product compression. To train these models, we present a new solution to the phenomenon of co-matrix adaption (CMA), which uses a new regularization scheme called co matrix dropout regularization (CMR). We present experimental results that demonstrate compression of a large language model with LSTM layers of size 25 MB by 25x with 1.4% loss in perplexity score. At 25x compression, an equivalent pruned network leads to 7.9% loss in perplexity score, while HMD and LMF lead to 15% and 27% loss in perplexity score respectively.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2001.08896

Cites

19 of 19 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • The method is called doped Kronecker product (DKP) compression using co-matrix adaptation (CMA) that follows the co-matrix row dropout regularization (CMR) scheme.

    “The newly introduced method is called the doped Kronecker product (DKP) compression by using the co-matrix adaptation (CMA) that follows the comatrix row dropout regularization (CMR) scheme.”

    From A review on TinyML: State-of-the-art and prospects (2022) · cites this paper as Thakker et al., 2020

    The Conclusion (p. 4) calls the technique doped Kronecker product (DKP) compression and says it uses co-matrix row dropout regularization (CMR). But it describes co-matrix adaptation (CMA) as a training issue that CMR manages, not as a method DKP uses or a step that follows CMR. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • Thakker et al. (2020) devised a method to recover the accuracy loss by the KP structure for natural language processing.

    “In (Thakker et al., 2020), a method is devised to recover the accuracy loss by the KP structure for natural language processing.”

    From A review on TinyML: State-of-the-art and prospects (2022) · cites this paper as Thakker et al., 2020

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

1 of the 20 references couldn’t be matched to a known paper.

Research works printed but not linked: 1

  1. Han, S., Mao, H., and Dally, W. J. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. International Conference on Learning Representations (ICLR) , 2016.

Cited by

Sorted by citations

Authors
Thakker, U., Whatmough, P. N., Liu, Z.-G., Mattina, M., & Beu, J.
Venue
arXiv
Publisher
arXiv
Published
2020
ISSN
2331-8422 (ISSN-L)
OpenAlex
W3002071578
Cited by
7
References
20
Citations by year
2024: 1 · 2022: 2 · 2021: 2 · 2020: 1 · 2019: 1
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University) (public-domain)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Stochastic Gradient Optimization Techniques
Keywords
LSTM, network pruning, low-rank factorization

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review