arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.21844cs.LGquant-ph
收藏

KARIPAP:利用无限投影纠缠对态和张量重正化群实现大型语言模型的量子启发张量网络压缩

KARIPAP: Quantum-Inspired Tensor Network Compression of Large Language Models Using Infinite Projected Entangled Pair States and Tensor Renormalization Group

Institute of Mathematical Research, University Putra Malaysia(马来西亚博特拉大学数学研究所)

Azree Nazri

AI总结:

提出量子启发张量网络压缩方法KARIPAP,利用iPEPS和TRG捕获层间多方向纠缠,在LLaMA-2 7B上实现93%内存和70%参数缩减,仅损失2-3%准确率。

摘要:

像ChatGPT和LLaMA这样的大型语言模型(LLMs)推动了生成式人工智能的快速发展,但其巨大的参数规模造成了严重的计算和环境负担。高昂的训练成本、能源消耗以及有限的设备部署能力阻碍了其可访问性。现有的压缩方法——剪枝、蒸馏、低秩分解和量化——虽然减小了模型尺寸,却忽略了层间复杂的相关性。我们提出了KARIPAP,一种采用无限投影纠缠对态(iPEPS)和张量重正化群(TRG)收缩的量子启发张量网络压缩方法。与一维矩阵乘积态不同,iPEPS能够捕获注意力机制和深层Transformer层中的多方向纠缠。TRG确保了多项式时间内的收缩,使得张量化在保持关键相关几何结构的同时变得可行。在LLaMA-2 7B上的实验表明,该方法实现了高达93%的内存减少和70%的参数减少,训练速度提升50%,推理速度提升25%,且准确率损失仅为2-3%。逐层纠缠分析揭示了深层网络中的冗余,证实了它们适合进行张量分解。KARIPAP证明了现代LLMs占据低维纠缠流形,从而能够实现可扩展、节能且具有量子感知能力的人工智能架构。

英文摘要:

Large Language Models (LLMs) like ChatGPT and LLaMA drive rapid progress in generative AI, yet their huge parameter scales create severe computational and environmental burdens. High training costs, energy use, and limited device deployment hinder accessibility. Existing compression - pruning, distillation, low-rank, and quantization - reduces size but ignores complex inter-layer correlations. We propose KARIPAP, a quantum-inspired tensor network compression using Infinite Projected Entangled Pair States (iPEPS) and Tensor Renormalization Group (TRG) contraction. Unlike 1D Matrix Product States, iPEPS captures multi-directional entanglement in attention and deep transformer layers. TRG ensures polynomial-time contraction, making tensorization feasible while preserving key correlation geometry. Experiments on LLaMA-2 7B show up to 93% memory and 70% parameter reduction, with 50% faster training, 25% faster inference, and only 2-3% accuracy loss. Layer-wise entanglement profiling reveals redundancy in deeper layers, confirming their suitability for tensor factorization. KARIPAP demonstrates that modern LLMs occupy low-dimensional entanglement manifolds, enabling scalable, energy-efficient, and quantum-aware AI architectures.

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

↑