Keep related computation in step.

RPL asks whether a model can preserve a useful computational pattern by learning which features should move together.

Long sequences contain recurring structures: nested brackets, indentation, arithmetic carries, and repeated planning steps. The paper proposes adding a small oscillatory state to each token so the network can represent its place in such a pattern. Tokens involved in the same computation can align their phases; unrelated routines can occupy different phase clusters.

This phase becomes a learned routing signal. It influences which tokens attend to one another and which MLP channels become active. The intended benefit is greater continuity under distraction and less interference when new tasks arrive, while retaining the transformer’s usual content-based attention.

Source sections and reading guide ↓

Add phase. Couple it. Route with it.

The mechanism combines token-level oscillators with ordinary attention and feed-forward computation.

Represent a phase

Augment a token’s residual state with the two coordinates cosine and sine of its phase. A small learned head predicts its base frequency, providing a compact oscillatory state.

Output / Phase vector and frequency

Couple relevant tokens

Update phases using a Kuramoto-inspired rule: a token’s frequency advances its phase, while attention-weighted neighbors contribute a coupling term. The neighborhood depends on the active context.

Output / Context-dependent phase evolution

Modulate attention

Add a cosine phase-alignment term to the usual query–key score. The paper also gates value mixing with the positive part of that cosine, reducing influence when phases are incompatible.

Output / Phase-modulated attention

Route MLP features

Project the phase vector through a small network to obtain smooth gates for the MLP. Features can therefore specialize to phases associated with recurring computational routines.

Output / Phase-aware feature activation

Train coherence and separation

Combine the task objective with a regularizer encouraging synchrony among strongly connected tokens and a separation term discouraging unrelated regions from locking together.

Output / Task performance balanced with phase structure

Source sections and reading guide ↓

Alignment is a routing bias.

The phase signal supplements learned content similarity. Its coupling strength and regularization determine how much coordination the model encourages.

Attention alignment
The added logit term is λ cos(θᵢ − θⱼ). With positive λ, equal phases receive a larger boost than opposite phases.
Order parameter
The magnitude of the mean phase vector, r, summarizes collective alignment. A larger value indicates a more synchronized group of oscillators.
Coherence versus separation
The coherence loss rewards phase agreement where attention is strong. The separation loss penalizes excessive agreement among low-attention pairs.
Forgetting metric
The experimental outline measures forgetting as the decline from a task’s peak score to its score after the sequence of tasks.
What synchronization is meant to explain

The paper uses synchronization theory as an intuition for stable subroutines: stronger effective coupling should help related computations resist drift. It does not establish a general stability theorem for trained transformers. An optional complex-valued representation is discussed, but the main construction uses real-valued sine and cosine coordinates.

Source sections and reading guide ↓

Follow the bracket through the noise.

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

The scenario

A model must close an outer bracket after processing a long block containing nested expressions and distracting comments.

Identify the continuing routine
Tokens representing the outer structure would need to retain a useful relationship even as many intervening tokens arrive.
Use alignment to preserve relevance
If training gives these structural tokens compatible phases, their attention relationship receives a phase-alignment boost. Unaligned distractors receive less support from this term.
Test the intended effect
Compare closing-bracket accuracy as distance and comment noise increase, using a parameter-matched model without phase gating as the control.
What this illustrates

The design predicts a measurable benefit only if the learned phase organization tracks the task’s structure. The example shows what an evaluation should test.

A mechanism with preliminary toy evidence.

The paper reports improved long-context robustness and reduced forgetting, and lists synthetic, programmatic, and sequential-task benchmarks. Its presented evidence consists of two toy figures and a qualitative results summary; it does not supply benchmark tables, uncertainty estimates, or detailed training configurations for those broader claims.

The Zenodo record links a reference implementation. Large-scale language-model behavior, agent tasks, and multimodal sequences are described as further work. The page therefore presents the mechanism and the paper’s preliminary evidence without assigning an established general performance gain.

  • Does phase add value?. Separate attention gating, MLP routing, and phase dynamics through the proposed ablations while matching parameter counts.
  • Can routines stay distinct?. Unrelated computations may collide in phase space. The separation loss must prevent interference without destroying useful coordination.
  • How sensitive is training?. Measure the effects of coupling and regularizer weights across tasks and context lengths.
  • Does the effect scale?. Test real language and agent workloads, with reproducible configurations and comparisons beyond toy demonstrations.

Source sections and reading guide ↓

Read the research.

Preprint · 14 November 2025 · 4 pages

Resonant Phase-Locking: Stabilizing Long-Horizon Reasoning and Continual Adaptation via Phase-Synchronized Feature Routing

Zenodo credits: Ison, Payton

PDF credits: Payton Ison

DOI: 10.5281/zenodo.17606823

A guide to the manuscript

Core mechanism
§§1–2, pp. 1–2
Synchronization perspective
§3 and Figure 1, pp. 2–3
Experiments, limitations, and implementation sketch
§§4–5, Figure 2, and Appendix, pp. 3–4
Cite this paper

Ison, Payton. (2025). Resonant Phase-Locking: Stabilizing Long-Horizon Reasoning and Continual Adaptation via Phase-Synchronized Feature Routing. Zenodo. https://doi.org/10.5281/zenodo.17606823

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.