Partial Tensorized Transformers for Natural Language Processing

Subhadra Vadlamannati, Ryan Solgi
10/30/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

The transformer architecture has revolutionized Natural Language Processing (NLP) and other machine-learning tasks, due to its unprecedented accuracy. However, their extensive memory and parameter requirements often hinder their practical applications. In this work, we study the effect of tensor-train decomposition to improve the accuracy and compress transformer vision-language neural networks, namely BERT and ViT. We focus both on embedding-layer compression and partial tensorization of neural networks (PTNN) through an algorithmic approach. Our novel PTNN approach significantly improves the accuracy of existing models by up to 5%, all without the need for post-training adjustments, breaking new ground in the field of tensor decomposition.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vadlamannati2023partial,
  title  = {Partial Tensorized Transformers for Natural Language Processing},
  author = {Subhadra Vadlamannati and Ryan Solgi},
  year   = {2023},
  eprint = {2310.20077},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.20077v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.20077.svg)](https://codeofpaper.com/paper/2310.20077)

Discussion