[Paper Review] Deep Sequence Modeling with Quantum Dynamics: Language as a Wave Function
The paper proposes a complex-valued, unitary sequence model where latent states evolve under a learned time-dependent Hamiltonian and token probabilities are read via the Born rule. It proves a representational separation advantage over real-valued models and provides a built-in diagnostic of information flow.
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.
Motivation & Objective
- Motivate the use of complex-valued states and interference for disambiguation in sequence modeling.
- Introduce a unitary, norm-preserving evolution of a complex wavefunction as latent state.
- Show that a quadratic (Born-rule) readout accesses phase correlations unavailable to linear reads.
- Provide a theoretical separation result showing representational advantages over real-valued models.
- Derive a continuity equation for latent probability current to diagnose information flow.
Proposed method
- Latent state is a unit-norm complex vector in C^N representing superposed interpretations.
- Evolution follows i d/dt |ψ(t)> = H(t)|ψ(t)> with H(t) Hermitian, decomposed as H0 + H_int(t).
- Use interaction-picture transform to remove free oscillations and a Cayley (Crank–Nicolson) discretization to preserve unitarity exactly at each step.
- Readout uses Born rule p(k|ψ)=|<m_k|ψ>|^2, enabling a quadratic, phase-aware probability extraction.
- Construct a separation theorem showing tasks solvable exactly by complex unitary models of dimension N but requiring Ω(N^2) dimensions for any real-valued orthogonal model with affine-softmax readout.
- Derive a continuity equation for latent probability mass yielding conserved pairwise currents as an internal diagnostic.
Experimental results
Research questions
- RQ1Can a complex unitary model encode and utilize phase-based interference to disambiguate competing interpretations more efficiently than real-valued models?
- RQ2What is the precise representational gap (in terms of state dimension) between complex unitary models and real-valued models under standard readouts?
- RQ3How does Born-rule (quadratic) readout enable access to pairwise phase correlations inaccessible to linear projections?
- RQ4Can a continuity equation for probability currents serve as a diagnostic for information flow in the latent Hilbert space?
- RQ5How does input-driven interaction Hamiltonian H_int(t) shape the dynamics compared to diagonal free evolution?
Key findings
- A separation theorem proves a family of disambiguation tasks solvable exactly by N-dimensional complex unitary models while requiring Ω(N^2) dimensions for real-valued orthogonal models with affine-softmax readouts.
- The Born-rule readout exposes O(N^2) features through phase cross-terms, enabling interference-based disambiguation unavailable to linear reads.
- The dynamics are norm-preserving due to Hermitian H(t) and Cayley discretization, ensuring exact unitary updates at every step.
- Interference between latent components allows constructive or destructive combination of interpretations without explicit gating mechanisms.
- A continuity equation for probability mass yields conserved pairwise currents, offering a built-in diagnostic of information flow between latent dimensions.
- The framework provides a quantum-inspired inductive bias that can be trained end-to-end on classical hardware, with algebraic guarantees rather than physical quantum processing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.