paper-with-me

Papers

Learning Low-Rank Representations for Model Compression

2022-11-21 · Zezhou Zhu, Yucong Zhou, Zhao Zhong

Vector Quantization (VQ) is an appealing model compression method to obtain a tiny model with less accuracy loss. While methods to obtain better codebooks and codes under fixed clustering dimensionality have been extensively studied, optimizations of the vectors in favour of clustering performance are not carefully considered, especially via the reduction of vector dimensionality. This paper reports our recent progress on the combination of dimensionality compression and vector quantization, proposing a Low-Rank Representation Vector Quantization ($\text{LR}^2\text{VQ}$) method that outperforms previous VQ algorithms in various tasks and architectures. $\text{LR}^2\text{VQ}$ joins low-rank representation with subvector clustering to construct a new kind of building block that is directly optimized through end-to-end training over the task loss. Our proposed design pattern introduces three hyper-parameters, the number of clusters $k$, the size of subvectors $m$ and the clustering dimensionality $\tilde{d}$. In our method, the compression ratio could be directly controlled by $m$, and the final accuracy is solely determined by $\tilde{d}$. We recognize $\tilde{d}$ as a trade-off between low-rank approximation error and clustering error and carry out both theoretical analysis and experimental observations that empower the estimation of the proper $\tilde{d}$ before fine-tunning. With a proper $\tilde{d}$, we evaluate $\text{LR}^2\text{VQ}$ with ResNet-18/ResNet-50 on ImageNet classification datasets, achieving 2.8\%/1.0\% top-1 accuracy improvements over the current state-of-the-art VQ-based compression algorithms with 43$\times$/31$\times$ compression factor.

📄 PDF Abstract BibTeX arXiv:2211.11397

Code (0)

등록된 구현이 없습니다.

Tasks

ClusteringmodelModel CompressionQuantization

Similar Papers 제목 키워드 기반

Efficient Document Re-Ranking for Transformers by Precomputing Term Representations

2020-04-29 · Sean MacAvaney, Franco Maria Nardini, Raffaele Perego, Nicola Tonellotto 외

Deep pretrained transformer networks are effective at various ranking tasks, such as question answering and ad-hoc document ranking. However, their computational expenses deem them cost-prohibitive in practice. Our propo…

Document RankingQuestion AnsweringRe-Ranking

Learning to Compress: Local Rank and Information Compression in Deep Neural Networks

2024-10-10 · Niket Patel, Ravid Shwartz-Ziv

Deep neural networks tend to exhibit a bias toward low-rank solutions during training, implicitly learning low-dimensional feature representations. This paper investigates how deep multilayer perceptrons (MLPs) encode th…

Representation Learning

Compact Token Representations with Contextual Quantization for Efficient Document Re-ranking

2022-03-29 · ACL 2022 5 · Yingrui Yang, Yifan Qiao, Tao Yang

Transformer based re-ranking models can achieve high search relevance through context-aware soft matching of query tokens with document tokens. To alleviate runtime complexity of such inference, previous work has adopted…

QuantizationRe-Ranking

Compact Token Representations with Contextual Quantization for Efficient Document Re-ranking

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Transformer based re-ranking models can achieve high search relevance through context-aware soft matching of query tokens with document tokens. To alleviate runtime complexity of such inference, previous work has adopte…

QuantizationRe-Ranking

Hilbert Operator for Progressive Encoding (HOPE): A Mathematical Framework for Deconstructing Learned Representations in Deep Networks

2026-07-23 · Hossein Mobahi, Peter L. Bartlett arxiv

Deep neural networks encode complex representations, but deconstructing this internal knowledge remains a challenge. Given the link between learning and compression, network compression offers a promising lens to analyze…

Model Compression