arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03040cs.CLcs.LGcs.NAmath.NA
收藏

几何即所需:生成式语言模型压缩中矩阵与张量分解的统一分类体系

Geometry is All You Need: A Unified Taxonomy of Matrix and Tensor Factorization for Compression of Generative Language Models

Imperial College London(帝国理工学院)

Mingxue Xu, Sadia Sharmin, Danilo P. Mandic

AI总结:

针对矩阵/张量参数化与NLP模型压缩研究脱节、缺乏统一框架的问题,本文提出基于子空间概念的统一分类体系,将矩阵张量分解转化为几何变换表述,梳理相关研究并指出研究空白与方向。

摘要:

面向自然语言处理(NLP)模型的矩阵与张量引导参数化方法,从根本上有助于提升模型的系统效率。然而,这两种代数结构与语言模型参数化之间的内在关联仍未被充分厘清。此外,现有的矩阵与张量研究数学性过强,与机器学习(ML)和NLP领域的研究概念脱节。这两大问题导致近期基于矩阵和张量的模型参数化研究更像是来自矩阵/张量领域与NLP领域的零散组件的松散集合,而非结构清晰的统一方法,进一步阻碍了算法设计。为此,我们提出了一套统一分类体系,将矩阵/张量压缩方法与ML和NLP研究中的模型压缩概念衔接起来。具体而言,我们采用线性代数中的基础概念——子空间(同时也是几何代数的核心概念),将矩阵/张量概念与ML/NLP概念(例如注意力机制)纳入同一框架下重新表述。如此一来,基于我们的子空间形式化表述,典型的矩阵与张量分解算法可被解释为几何变换。最后,我们重新梳理了近期关于矩阵或张量引导的语言模型压缩的文献,重新表述并对比了其核心思路,进而指出当前的研究空白与潜在解决方案。

英文摘要:

Matrix and tensor-guided parametrization for Natural Language Processing (NLP) models is fundamentally useful for the improvement of the model's systematic efficiency. However, the internal links between these two algebra structures and language model parametrization are poorly understood. Also, the existing matrix and tensor research is math-heavy and far away from machine learning (ML) and NLP research concepts. These two issues result in the recent progress on matrices and tensors for model parametrization being more like a loose collection of separate components from matrix/tensor and NLP studies, rather than a well-structured unified approach, further hindering algorithm design. To this end, we propose a unified taxonomy, which bridges the matrix/tensor compression approaches and model compression concepts in ML and NLP research. Namely, we adopt an elementary concept in linear algebra, that of a subspace, which is also the core concept in geometric algebra, to reformulate the matrix/tensor and ML/NLP concepts (e.g. attention mechanism) under one umbrella. In this way, based on our subspace formalization, typical matrix and tensor decomposition algorithms can be interpreted as geometric transformations. Finally, we revisit recent literature on matrix- or tensor-guided language model compression, rephrase and compare their core ideas, and then point out the current research gap and potential solutions.

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

↑