arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.26494quant-phcs.CL
收藏

纠缠作为记忆:量子语言模型的机制可解释性

Entanglement as Memory: Mechanistic Interpretability of Quantum Language Models

Stanford University(斯坦福大学)

Nathan Roll

AI总结:

研究通过因果门消融、纠缠追踪和密度矩阵交换干预,揭示量子语言模型在长程依赖任务中单量子比特与双量子比特模型的机制差异及噪声-表达性权衡。

摘要:

量子语言模型在序列任务中表现出竞争力,但其是否真正利用量子资源仍存疑。本文首次对量子语言模型进行机制可解释性研究,结合因果门消融、纠缠追踪和密度矩阵交换干预,发现单量子比特模型可被经典模拟,而双量子比特模型通过纠缠编码上下文,其策略经三次独立因果测试验证(p < 0.0001,d = 0.89)。在真实量子硬件上,仅经典几何策略能抵御噪声,纠缠策略则退化为随机。这些发现为量子语言模型的科学揭示了噪声-表达性权衡。

英文摘要:

Quantum language models have shown competitive performance on sequential tasks, yet whether trained quantum circuits exploit genuinely quantum resources -- or merely embed classical computation in quantum hardware -- remains unknown. Prior work has evaluated these models through endpoint metrics alone, without examining the memory strategies they actually learn internally. We introduce the first mechanistic interpretability study of quantum language models, combining causal gate ablation, entanglement tracking, and density-matrix interchange interventions on a controlled long-range dependency task. We find that single-qubit models are exactly classically simulable and converge to the same geometric strategy as matched classical baselines, while two-qubit models with entangling gates learn a representationally distinct strategy that encodes context in inter-qubit entanglement -- confirmed by three independent causal tests (p < 0.0001, d = 0.89). On real quantum hardware, only the classical geometric strategy survives device noise; the entanglement strategy degrades to chance. These findings open mechanistic interpretability as a tool for the science of quantum language models and reveal a noise-expressivity tradeoff governing which learned strategies survive deployment.

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

↑