ResonatorLM: Causal Resonant Field Mixing for Efficient Long-Context Language Modelin

Archie Chaudhury
7/6/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Contemporary language models are dominated by the transformer architecture, which leverages self-attention mechanisms to enable more efficient, parallelized training across a wide set of documents and corpora. This has allowed transformers to effectively model data across a wide range of modalities and contexts. However, transformers, along with their conventional counterparts such as recurrent neural networks (RNNs) and convolutional neural networks (CNNs), often struggle to maintain efficiency when processing long contexts. We introduce ResonatorLM, a new mechanism that replaces attention with a physics-derived alternative. ResonatorLM treats token sequences as a single, driven one-dimensional latent field and replaces attention dot products with causal functions of damped resonators. We implement ResonatorLM on a traditional network architecture and test it on standard long-context modeling tasks. We find that in a small, 6M matched setting, training and prefill speedups increase with sequence length, decode speed reaches 6.47x compared to that of a standard, optimized transformer at 32K tokens, and accuracy reaches 61.31 percent (compared to 55.32 percent) on WikiText.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chaudhury2026resonatorlm,
  title  = {ResonatorLM: Causal Resonant Field Mixing for Efficient Long-Context Language Modelin},
  author = {Archie Chaudhury},
  year   = {2026},
  eprint = {2607.05583},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.05583v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.05583.svg)](https://codeofpaper.com/paper/2607.05583)

Discussion