系统梳理了张量方法在大模型各阶段的应用,揭示参数压缩如何真正转化为效率提升。
Tensor Methods for Language Models: From Token Representation to Training, Adaptation, Inference, Compression, and Interpretability
- 用张量分解统一建模语言模型的七个生命周期阶段
- 提出ρ_gap指标,衡量压缩理论与实际加速的差距
- 适合关注模型压缩、高效推理与可解释性的研究者
大型语言模型(LLMs)由一系列结构化的高维对象构成,如标记表示、权重、适配更新、缓存和激活,其多重线性结构常被传统的矩阵视角忽视。张量分解与张量网络为此提供了严谨的代数语言,但现有文献多将其视为孤立的压缩手段。本文通过双重视角组织张量方法:一是涵盖分词、嵌入、预训练、适配、压缩、推理与可解释性的七阶段生命周期分类法;二是聚焦嵌入、注意力与前馈网络的组件视角。提供统一符号与理论基础,分析Transformer各组件的张量化策略,并在各阶段比较方法,明确评估协议与模型规模差异。进一步将张量方法与邻近效率技术及概率张量网络关联。最后,总结开放挑战并引入ρ_gap指标,量化理论内存缩减与实测系统级加速之间的压缩-实现差距。通过将张量化视为共同结构原则,本综述为进入张量化语言模型提供结构化入口,澄清参数节省在何种情况下可转化为内存、计算效率或可解释性提升。
原文摘要 · Abstract (English)
Large language models (LLMs) are built from structured high-dimensional objects such as token representations, weights, adaptation updates, caches, and activations, whose multilinear structure is underexploited by the conventional matrix-centric view. Tensor decompositions and tensor networks provide a principled algebraic language for this structure, yet the literature often treats them as isolated compression mechanisms. This survey organizes tensor methods for LLMs through two complementary views: a seven-stage lifecycle taxonomy covering tokenization, embeddings, pre-training, adaptation, compression, inference, and interpretability, and a component view covering embeddings, attention, and feed-forward networks. We provide unified notation and theoretical foundations, analyze tensorization strategies for individual Transformer components, and compare methods at each lifecycle stage while making differences in evaluation protocols and model scales explicit. We further connect tensor methods to neighboring efficiency techniques and probabilistic tensor networks. Finally, we synthesize open challenges and introduce $ρ_{\rm gap}$, a metric for the compression-realization gap between theoretical memory reduction and measured system-level speedup. By treating tensorization as a common structural principle, the survey provides a structured entry point to tensorized language models and clarifies when parameter savings can plausibly translate into memory efficiency, computational efficiency, or interpretability. The GitHub page dedicated to this paper is accessible at \href{https://github.com/ma-tt-a/awesome-tensor-methods-for-llms}{this https URL}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。