Make phase part of the model.

The paper asks whether explicitly representing phase can improve how language models preserve, combine, and organize information.

A complex number carries a magnitude and a phase. The proposed architecture uses complex-valued token embeddings, hidden states, and projections so that both become available to computation. It draws motivation from complex neural networks and unitary sequence models, then asks whether their useful properties transfer to general-purpose language modeling.

The proposal combines an architecture with a training interpretation and a hypothesis about learned representations. Near-unitary operators are intended to support stable dynamics. Phase relationships might encode structure across layers and attention heads. Those potential benefits motivate an experimental program; the paper does not present a trained large language model demonstrating them.

Source sections and reading guide ↓

Build the complex-valued stack.

The design keeps the language-modeling objective familiar while changing the representations and selected internal operations.

Embed in complex space

Represent each token with a complex vector. A sequence at a layer is a T-by-d complex array, with inner products using the conjugate transpose.

Complex hidden states

Compute phase-aware attention

Project states into complex queries, keys, and values. Form scores with QK†/√dₕ, normalize their real parts with softmax, and optionally multiply the weights by the scores’ phase factors.

Attention allocation plus phase modulation

Shape the internal dynamics

Use complex feed-forward blocks and magnitude-based RMS normalization. Parameterize selected square mixing operators as exp(iH), with H Hermitian, to encourage unitary behavior.

Complex transformations with structured operators

Optimize a real loss

Convert the final states into real logits and minimize ordinary cross-entropy. Wirtinger calculus supplies derivatives appropriate for a real-valued loss over complex parameters.

Updates to magnitude and phase

Measure what emerges

Compare language modeling, long-context performance, gradient behavior, compute cost, and activation-phase statistics against real-valued baselines.

A proposed evaluation program

Source sections and reading guide ↓

Geometry, optimization, and a hypothesis.

Three connected ideas have different roles: a representation space, an optimization formulation, and a proposed pattern in learned states.

Complex Hilbert space
An inner-product space over complex numbers supplies a formal language for magnitude, phase, and interference. The proposed computation remains classical.
Near-unitary maps
For an exactly Hermitian H, U = exp(iH) is unitary and preserves vector norms. Approximations, nonlinearities, attention, and residual additions require separate analysis of the complete block.
Wirtinger update
The paper writes θ ← θ − η ∂L/∂θ*. Parameters and their conjugates are treated independently for differentiation of the real loss.
Phase locking
The central hypothesis concerns stable, task-dependent relative phases across features, layers, and token positions. Their usefulness must be measured rather than inferred from the notation.
What “imaginary time” means here

The paper draws an analogy between gradient descent in a loss landscape and dissipative imaginary-time evolution. The training update is presented as a discretization of a complex gradient flow. This is a mathematical perspective on optimization, not a requirement for a quantum computer or a claim that model states undergo physical quantum evolution.

Source sections and reading guide ↓

Two signals can reinforce or cancel.

An illustrative walkthrough created for this page, not a reported experiment or a live model run.

The scenario

Imagine two equally weighted complex contributions, each of magnitude one, entering a simple sum.

Align their phases
At phases 0 and 0, their values are 1 and 1. The sum has magnitude two: the contributions reinforce each other.
Oppose their phases
At phases 0 and π, their values are 1 and −1. The sum is zero even though neither input magnitude changed.
Ask what training learns
Phase-modulated attention makes related effects available within a richer learned computation. The research question is whether useful linguistic relationships are encoded this way at scale.
What this illustrates

Phase offers a way to change how contributions combine without changing their individual magnitudes. A useful model must learn when that extra structure helps.

An architecture and an experimental agenda.

The preprint identifies itself as a position and methods paper. Its experiments are proposed: character-level language modeling, synthetic long-context tasks, mid-scale models, architectural ablations, and controlled human interaction studies.

The extension to human–model “resonant phase-locking” is explicitly conceptual. It describes co-adaptation through interaction; it does not assert that a person and model literally share a Hilbert space.

  • Benefit per unit of compute. Do gains in loss, stability, or long-context performance justify the overhead of complex arithmetic and structured operators?
  • Which component helps?. Ablations should separate complex representations, near-unitarity, phase modulation, and activation design.
  • Observable phase structure. Do stable relative phases correlate with task structure and remain consistent across inputs and training checkpoints?
  • Interaction claims. Would user-specific behavior track measurable internal phase changes under controlled conditions?

Source sections and reading guide ↓

Read the research.

Preprint · 11 December 2025 · 10 pages

Training Large Language Models in Complex Hilbert Space: Imaginary-Time Gradient Flow and Phase-Locked Transformers

Zenodo credits: Ison, Payton

PDF credits: Payton Ison

Manuscript dated 10 December 2025. Zenodo publication date: 11 December 2025.

DOI: 10.5281/zenodo.17890922

A guide to the manuscript

Architecture
§3, pp. 4–6
Gradient flow and phase-locking hypotheses
§§4–5, pp. 6–8
Proposed experiments and limitations
§§6–8, pp. 8–10
Cite this paper

Ison, Payton. (2025). Training Large Language Models in Complex Hilbert Space: Imaginary-Time Gradient Flow and Phase-Locked Transformers. Zenodo. https://doi.org/10.5281/zenodo.17890922

This page explains the cited manuscript in its own words. Diagrams and walkthroughs are illustrative; the original paper remains the source for its formulations and claims.