mlsanityData to 7 Oct 2026

Reactive Transformer (RxT) -- Stateful Real-Time Processing for Event-Driven Reactive Language Models

arXiv 2510.03561 ↗First posted 3 Oct 2025cs.CL cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

The Transformer architecture has become the de facto standard for Large Language Models (LLMs), demonstrating remarkable capabilities in language understanding and generation. However, its application in conversational AI is fundamentally constrained by its stateless nature and the quadratic computational complexity (O(L2)) with respect to sequence length L. Current models emulate memory by reprocessing an ever-expanding conversation history with each turn, leading to prohibitive costs and latency in long dialogues. This paper introduces the Reactive Transformer (RxT), a novel architecture designed to overcome these limitations by shifting from a data-driven to an event-driven paradigm. RxT processes each conversational turn as a discrete event in real-time, maintaining context in an integrated, fixed-size Short-Term Memory (STM) system. The architecture features a distinct operational cycle where a generator-decoder produces a response based on the current query and the previous memory state, after which a memory-encoder and a dedicated Memory Attention network asynchronously update the STM with a representation of the complete interaction. This design fundamentally alters the scaling dynamics, reducing the total user-facing cost of a conversation from quadratic (O(N2 · T)) to linear (O(N · T)) with respect to the number of interactions N. By decoupling response generation from memory updates, RxT achieves low latency, enabling truly real-time, stateful, and economically viable long-form conversations. We validated our architecture with a series of proof-of-concept experiments on synthetic data, demonstrating superior performance and constant-time inference latency compared to a baseline stateless model of comparable size.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 17 references that are in the map. First posted on arXiv 3 Oct 2025.

Builds on

11 of 17 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  6. 2014Neural Turing Machinescited by 630
  7. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
  8. 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
  9. 2022Stateful Memory-Augmented Transformers for Efficient Dialogue Modelingcited by 5
  10. 2025Regional Tiny Stories: Using Small Models to Compare Language Learning and Tokenizer Performancecited by 1
  11. 2025Sparse Query Attention (SQA): A Computationally Efficient Attention Mechanism with Query Heads Reductioncited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.