arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.20077cs.CLcs.LG
收藏

用于自然语言处理的部分张量化Transformer

Partial Tensorized Transformers for Natural Language Processing

Mercer Island High School(默瑟岛高中);University of California Santa Barbara(加州大学圣塔芭芭拉分校)

Subhadra Vadlamannati, Ryan Solgi

AI总结:

本文提出部分张量化神经网络(PTNN)方法,通过张量列分解压缩BERT和ViT的嵌入层及部分结构,无需训练后调整即可将模型准确率提升最高5%。

摘要:

Transformer架构凭借其前所未有的准确率,已经彻底改变了自然语言处理(NLP)及其他机器学习任务。然而,其庞大的内存和参数需求常常阻碍其实际应用。在本工作中,我们研究张量列分解对提高准确率和压缩Transformer视觉-语言神经网络(即BERT和ViT)的效果。我们通过算法化方法同时关注嵌入层压缩和神经网络的部分张量化(PTNN)。我们提出的新型PTNN方法在不进行任何训练后调整的情况下,将现有模型的准确率显著提高了最多5%,在张量分解领域开辟了新天地。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑