Lune

ICLR2021顶会

Deep Learning meets Projective Clustering

Alaa Maalouf, Harry Lang, Daniela Rus, Dan Feldman

摘要

A common approach for compressing NLP networks is to encode the embedding layer as a matrix A∈Rn×dA\in\mathbb{R}^{n\times d}, compute its rank-jj approximation AjA_j via SVD, and then factor AjA_j into a pair of matrices that correspond to smaller fully-connected layers to replace the original embedding layer. Geometrically, the rows of AA represent points in Rd\mathbb{R}^d, and the rows of AjA_j represent their projections onto the jj-dimensional subspace that minimizes the sum of squared distances ("errors") to the points. In practice, these rows of AA may be spread around k>1k>1 subspaces, so factoring AA based on a single subspace may lead to large errors that turn into large drops in accuracy. Inspired by projective clustering from computational geometry, we suggest replacing this subspace by a set of kk subspaces, each of dimension jj, that minimizes the sum of squared distances over every point (row in AA) to its closest subspace. Based on this approach, we provide a novel architecture that replaces the original embedding layer by a set of kk small layers that operate in parallel and are then recombined with a single fully-connected layer. Extensive experimental results on the GLUE benchmark yield networks that are both more accurate and smaller compared to the standard matrix factorization (SVD). For example, we further compress DistilBERT by reducing the size of the embedding layer by 40%40\% while incurring only a 0.5%0.5\% average drop in accuracy over all nine GLUE tasks, compared to a 2.8%2.8\% drop using the existing SVD approach. On RoBERTa we achieve 43%43\% compression of the embedding layer with less than a 0.8%0.8\% average drop in accuracy as compared to a 3%3\% drop previously. Open code for reproducing and extending our results is provided.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Model Preserving Compression for Neural Networks 引用了 Compressing Neural Networks: Towards Determining the Optimal Layer-wise Decomposition
  • Sparse Flows: Pruning Continuous-depth Models 引用了 Compressing Neural Networks: Towards Determining the Optimal Layer-wise Decomposition
  • Compressing Neural Networks: Towards Determining the Optimal Layer-wise Decomposition 引用了 Sparse Flows: Pruning Continuous-depth Models
  • Structured Pruning of Large Language Models 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • Structured Pruning of Large Language Models 引用了 Reducing Transformer Depth on Demand with Structured Dropout
  • Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions 引用了 Coresets for Near-Convex Functions
  • Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions 引用了 Compressing Neural Networks: Towards Determining the Optimal Layer-wise Decomposition
  • Compress to Impress: Efficient LLM Adaptation Using a Single Gradient Step on 100 Samples 引用了 Compressing Neural Networks: Towards Determining the Optimal Layer-wise Decomposition
  • Compress to Impress: Efficient LLM Adaptation Using a Single Gradient Step on 100 Samples 引用了 Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Compressing Neural Networks: Towards Determining the Optimal Layer-wise DecompositionLucas Liebenwein, Alaa Maalouf, Dan Feldman, Daniela RusNeurIPS 2021 · 60 次引用
  2. Pruning Neural Networks via Coresets and Convex Geometry: Towards No AssumptionsMurad Tukan, Loay Mualem, Alaa MaaloufNeurIPS 2022 · 29 次引用
  3. Sparse Flows: Pruning Continuous-depth ModelsLucas Liebenwein, Ramin M. Hasani, Alexander Amini, Daniela RusNeurIPS 2021 · 21 次引用
  4. Model Preserving Compression for Neural NetworksJerry Chee, Megan Flynn, Anil Damle, Christopher De SaNeurIPS 2022 · 19 次引用
  5. Compress to Impress: Efficient LLM Adaptation Using a Single Gradient Step on 100 SamplesShiva Sreeram, Alaa Maalouf, Pratyusha Sharma, Daniela RusNeurIPS 2025 · 2 次引用

它引用的 Paper4

  1. Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
  2. Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTSheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma 等AAAI 2020 · 656 次引用
  3. Structured Pruning of Large Language ModelsZiheng Wang, Jeremy Wohlwend, Tao LeiEMNLP 2020 · 88 次引用
  4. Coresets for Near-Convex FunctionsMurad Tukan, Alaa Maalouf, Dan FeldmanNeurIPS 2020 · 49 次引用

相关 Paper

  1. DRONE: Data-aware Low-rank Compression for Large NLP ModelsPatrick H. Chen, Hsiang-Fu Yu, Inderjit S. Dhillon, Cho-Jui HsiehNeurIPS 2021 · 109 次引用
  2. ROSITA: Refined BERT cOmpreSsion with InTegrAted techniquesYuanxin Liu, Zheng Lin, Fengcheng YuanAAAI 2021 · 22 次引用
  3. DKM: Differentiable k-Means Clustering Layer for Neural Network CompressionMinsik Cho, Keivan Alizadeh-Vahid, Saurabh Adya, Mohammad RastegariICLR 2022 · 39 次引用
  4. Efficient Transformer-based Large Scale Language Representations using Hardware-friendly Block Structured PruningBingbing Li, Zhenglun Kong, Tianyun Zhang, Ji Li 等EMNLP Findings 2020 · 39 次引用
  5. Tensorized Embedding LayersOleksii Hrinchuk, Valentin Khrulkov, Leyla Mirvakhabova, Elena Orlova 等EMNLP Findings 2020 · 30 次引用
黄昏的海面,两侧是细线勾勒的悬崖