大语言模型微调中的人工纠缠 / Artificial Entanglement in the Fine-Tuning of Large Language Models
1️⃣ 一句话总结
这篇论文从量子信息视角出发,将大语言模型的高效微调方法(如LoRA)中的参数更新结构类比为量子纠缠,发现其内部参数和外部注意力分别遵循不同的“纠缠”规律,并借用黑洞物理的“无毛定理”来解释为何仅更新少量参数就能有效适配新任务。
Large language models (LLMs) can be adapted to new tasks using parameter-efficient fine-tuning (PEFT) methods that modify only a small number of trainable parameters, often through low-rank updates. In this work, we adopt a quantum-information-inspired perspective to understand their effectiveness. From this perspective, low-rank parameterizations naturally correspond to low-dimensional Matrix Product States (MPS) representations, which enable entanglement-based characterizations of parameter structure. Thereby, we term and measure "Artificial Entanglement", defined as the entanglement entropy of the parameters in artificial neural networks (in particular the LLMs). We first study the representative low-rank adaptation (LoRA) PEFT method, alongside full fine-tuning (FFT), using LLaMA models at the 1B and 8B scales trained on the Tulu3 and OpenThoughts3 datasets, and uncover: (i) Internal artificial entanglement in the updates of query and value projection matrices in LoRA follows a volume law with a central suppression (termed as the "Entanglement Valley"), which is sensitive to hyper-parameters and is distinct from that in FFT; (ii) External artificial entanglement in attention matrices, corresponding to token-token correlations in representation space, follows an area law with logarithmic corrections and remains robust to LoRA hyper-parameters and training steps. Drawing a parallel to the No-Hair Theorem in black hole physics, we propose that although LoRA and FFT induce distinct internal entanglement signatures, such differences do not manifest in the attention outputs, suggesting a "no-hair" property that results in the effectiveness of low rank updates. We further provide theoretical support based on random matrix theory, and extend our analysis to an MPS Adaptation PEFT method, which exhibits qualitatively similar behaviors.
大语言模型微调中的人工纠缠 / Artificial Entanglement in the Fine-Tuning of Large Language Models
这篇论文从量子信息视角出发,将大语言模型的高效微调方法(如LoRA)中的参数更新结构类比为量子纠缠,发现其内部参数和外部注意力分别遵循不同的“纠缠”规律,并借用黑洞物理的“无毛定理”来解释为何仅更新少量参数就能有效适配新任务。
源自 arXiv: 2601.06788