Deep Learning Meets Projective Clustering
Alaa Maalouf, Harry Lang, Daniela Rus, Dan Feldman

TL;DR
This paper introduces a novel approach for compressing NLP embedding layers by using projective clustering to better approximate the data with multiple subspaces, leading to smaller models with minimal accuracy loss.
Contribution
It proposes a new architecture based on projective clustering that improves embedding layer compression in NLP models compared to traditional SVD-based methods.
Findings
Achieves 40% reduction in DistilBERT embedding size with only 0.5% accuracy drop.
Compresses RoBERTa's embedding layer by 43% with less than 0.8% accuracy loss.
Outperforms standard SVD-based compression on GLUE benchmark tasks.
Abstract
A common approach for compressing NLP networks is to encode the embedding layer as a matrix , compute its rank- approximation via SVD, and then factor into a pair of matrices that correspond to smaller fully-connected layers to replace the original embedding layer. Geometrically, the rows of represent points in , and the rows of represent their projections onto the -dimensional subspace that minimizes the sum of squared distances ("errors") to the points. In practice, these rows of may be spread around subspaces, so factoring based on a single subspace may lead to large errors that turn into large drops in accuracy. Inspired by \emph{projective clustering} from computational geometry, we suggest replacing this subspace by a set of subspaces, each of dimension , that minimizes the sum of squared…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Advanced Graph Neural Networks · Face and Expression Recognition
MethodsLinear Layer · WordPiece · Adam · Softmax · Multi-Head Attention · Layer Normalization · Dense Connections · Dropout · Linear Warmup With Linear Decay · Refunds@Expedia|||How do I get a full refund from Expedia?
