[论文解读] Deep Sequence Modeling with Quantum Dynamics: Language as a Wave Function
论文提出一个复数值、幺正序列模型,其中潜在状态在学习得到的时变哈密顿量下演化,令牌概率通过 Born 规则读取。它证明了相对于实值模型的表征分离优势,并提供了信息流的内置诊断。
We introduce a sequence modeling framework in which the latent state is a complex-valued wave function evolving on a finite-dimensional Hilbert space under a learned, time-dependent Hamiltonian. Unlike standard recurrent architectures that rely on gating mechanisms to suppress competing hypotheses, our framework utilizes quantum interference: the Hamiltonian steers the phases of complex amplitudes so that conflicting interpretations cancel while compatible ones reinforce. The dynamics are strictly unitary, ensuring that the state norm is preserved exactly at every time step via a Cayley (Crank--Nicolson) discretization. Token probabilities are extracted using the Born rule, a quadratic measurement operator that couples magnitudes and relative phases. Our primary theoretical contribution is a separation theorem characterizing the representational advantage of this readout: we define a family of disambiguation tasks that a complex unitary model of dimension $N$ solves exactly, but which requires a state dimension of $Ω(N^2)$ for any real-valued orthogonal model equipped with a standard affine-softmax readout. This quadratic gap arises because the Born rule implicitly lifts the $N$-dimensional state into the space of rank-one Hermitian matrices, accessing pairwise phase correlations that are inaccessible to linear projections. Finally, we derive a continuity equation for the latent probability mass, yielding conserved pairwise currents that serve as a built-in diagnostic for tracing information flow between dimensions.
研究动机与目标
- 为在序列建模中对歧义进行消解而使用复数值状态和干涉的动机。
- 引入一个单位范数的复数波函数演化作为潜在状态的保持性演化。
- 展示二次(Born 规则)读出能够访问线性读出无法获得的相位相关性。
- 提供一个理论分离结果,显示相对于实值模型的表征优势。
- 推导潜在概率流的连续性方程以诊断信息流。
提出的方法
- 潜在状态是在 C^N 中的单位范数复向量,表示对解释的叠加。
- 演化遵循 i d/dt |ψ(t)> = H(t)|ψ(t)>,其中 H(t) 为厄米矩阵,分解为 H0 + H_int(t)。
- 使用相互作用画面变换去除自由振荡,并采用 Cayley(Crank– Nicolson)离散化以在每一步精确保持幺正性。
- 读出使用 Born 规则 p(k|ψ)=|<m_k|ψ>|^2,能够实现二次、相位感知的概率提取。
- 构建一个分离定理,表明仅由维度为 N 的复数单位模型就能精确解决某些任务,而需要对任何实值正交模型配合仿射 softmax 读出时达到 Ω(N^2) 的维度。
- 推导潜在概率质量的连续性方程,产生守恒的成对电流作为内部信息流诊断。
实验结果
研究问题
- RQ1一个复数单位模型是否能够编码并利用基于相位的干涉来比实值模型更高效地对竞合解释进行歧义消解?
- RQ2在标准读出条件下,复数单位模型和实值模型之间的表征差距(以状态维度表示)具体是多少?
- RQ3Born 规则(平方)读出如何使得对成对相位相关性的访问成为线性投影所无法达到的?
- RQ4概率电流的连续性方程是否可以作为潜在希尔伯特空间中信息流的诊断工具?
- RQ5输入驱动的相互作用哈密顿量 H_int(t) 相对于对角自由演化会如何影响动力学?
主要发现
- 一个分离定理证明,在 N 维复数单位模型下可精确解决一类歧义消解任务,而对任何实值正交模型配合仿射 softmax 读出则需要 Ω(N^2) 维度。
- Born 规则读出通过相位互项暴露 O(N^2) 特征,使得基于干涉的歧义消解成为线性读出所无法获得的能力。
- 由于 H(t) 为厄米矩阵且采用 Cayley 离散化,动力学保持范数,在每一步都保证了严格的单位更新。
- 潜在分量之间的干涉允许对解释进行建设性或破坏性组合,而无需显式门控机制。
- 对概率质量的连续性方程给出守恒的成对电流,为潜在维度之间信息流提供内置诊断。
- 该框架提供一种量子启发的归纳偏置,可以在经典硬件上端到端训练,并具有代数保证而非物理量子处理。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。