paper-with-me

Papers

Doping: A technique for efficient compression of LSTM models using sparse structured additive matrices

2021-02-14 · Urmish Thakker, Paul N. Whatmough, ZhiGang Liu, Matthew Mattina, Jesse Beu

Structured matrices, such as those derived from Kronecker products (KP), are effective at compressing neural networks, but can lead to unacceptable accuracy loss when applied to large models. In this paper, we propose the notion of doping -- addition of an extremely sparse matrix to a structured matrix. Doping facilitates additional degrees of freedom for a small number of parameters, allowing them to independently diverge from the fixed structure. To train LSTMs with doped structured matrices, we introduce the additional parameter matrix while slowly annealing its sparsity level. However, we find that performance degrades as we slowly sparsify the doping matrix, due to co-matrix adaptation (CMA) between the structured and the sparse matrices. We address this over dependence on the sparse matrix using a co-matrix dropout regularization (CMR) scheme. We provide empirical evidence to show that doping, CMA and CMR are concepts generally applicable to multiple structured matrices (Kronecker Product, LMF, Hybrid Matrix Decomposition). Additionally, results with doped kronecker product matrices demonstrate state-of-the-art accuracy at large compression factors (10 - 25x) across 4 natural language processing applications with minor loss in accuracy. Doped KP compression technique outperforms previous state-of-the art compression results by achieving 1.3 - 2.4x higher compression factor at a similar accuracy, while also beating strong alternatives like pruning and low-rank methods by a large margin (8% or more). Additionally, we show that doped KP can be deployed on commodity hardware using the current software stack and achieve 2.5 - 5.5x inference run-time speed-up over baseline.

📄 PDF Abstract BibTeX arXiv:2102.07071

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
KP 설명 없음

Similar Papers 제목 키워드 기반

C-LSTM: Enabling Efficient LSTM using Structured Compression Techniques on FPGAs

2018-03-14 · Shuo Wang, Zhe Li, Caiwen Ding, Bo Yuan 외

Recently, significant accuracy improvement has been achieved for acoustic recognition systems by increasing the model size of Long Short-Term Memory (LSTM) networks. Unfortunately, the ever-increasing size of LSTM model …

Compressing Language Models using Doped Kronecker Products

2020-01-24 · Urmish Thakker, Paul N. Whatmough, Zhi-Gang Liu, Matthew Mattina 외

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 P…

Language ModelingLanguage ModellingLarge Language Model

Software Doping Analysis for Human Oversight

2023-08-11 · Sebastian Biewer, Kevin Baum, Sarah Sterz, Holger Hermanns 외

This article introduces a framework that is meant to assist in mitigating societal risks that software can pose. Concretely, this encompasses facets of software doping as well as unfairness and discrimination in high-ris…

Decision Making

Network Pruning for Low-Rank Binary Index

2019-09-25 · Dongsoo Lee, Se Jung Kwon, Byeongwook Kim, Parichay Kapoor 외

Pruning is an efficient model compression technique to remove redundancy in the connectivity of deep neural networks (DNNs). A critical problem to represent sparse matrices after pruning is that if fewer bits are used …

Model CompressionNetwork PruningQuantization

Structured Compression by Weight Encryption for Unstructured Pruning and Quantization

2019-05-24 · CVPR 2020 6 · Se Jung Kwon, Dongsoo Lee, Byeongwook Kim, Parichay Kapoor 외

Model compression techniques, such as pruning and quantization, are becoming increasingly important to reduce the memory footprints and the amount of computations. Despite model size reduction, achieving performance enha…

Model CompressionQuantization