Lune

ICLR2021顶会

Deep Learning meets Projective Clustering

Alaa Maalouf, Harry Lang, Daniela Rus, Dan Feldman

2021年份
11被引次数
5顶会引用

摘要

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.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper5

问问它们各自怎么用它

它引用的顶会 Paper4

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖