mlsanityData to 14 Oct 2026

TANGO: Treating Tokens as Operators

arXiv 2608.22117 ↗First posted 22 Aug 2026cs.LG cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformers separate cross-token mixing in self-attention from token-wise transformation in feed-forward networks. We ask whether combining these operations can lower predictive loss under fixed data and parameter budgets. To do so, we introduce the Token-Aggregated Nonlinear Gating Operator (TANGO) model. TANGO computes a nonlinear feature-wise gate at each source token. Attention averages these gates for each destination. The average modulates a linear projection of the destination and forms the diagonal core of a source-conditioned linear operator. We test this proposal by comparing full-prefix and windowed TANGO with looped and untied Transformers, the Gated Attention Unit (GAU), and Fast Linear Attention with a Single Head (FLASH) on web text, Lean formal mathematics, DeepMind Mathematics, and code. The comparison uses two parameter scales, two depths, and three seeds. Checkpoints are selected on development data and evaluated on held-out test data. At matched parameters and training data, full-prefix TANGO has the lowest mean test negative log-likelihood in all 16 settings. In eight additional combinations of size and dataset, its development loss never increases as depth rises from 4 to 8 to 16, whereas the looped Transformer's loss increases in four. Full-prefix TANGO is computationally expensive because it averages wide gates over every visible source. To reduce this cost, we evaluate a variant with three narrower gated-projection sets assigned to the first, middle, and last applications. Across four FineWeb-Edu settings, this variant achieves 3.26 to 3.45 times the throughput of TANGO and 75% to 96% that of the looped Transformer. Its mean development negative log-likelihood is lower than TANGO's in three settings and 0.023 higher in the fourth, while remaining lower than both Transformer baselines in all four.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 39 references that are in the map. First posted on arXiv 22 Aug 2026.

Builds on

32 of 39 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  7. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,333
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  9. 2020GLU Variants Improve Transformercited by 1,804
  10. 2020Rethinking Attention with Performerscited by 1,601
  11. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  12. 2016HyperNetworkscited by 1,027
20 more
  1. 2018Universal Transformerscited by 647
  2. 2019Deep Equilibrium Modelscited by 615
  3. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  4. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  5. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
  6. 2023Scaling Data-Constrained Language Modelscited by 403
  7. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
  8. 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 283
  9. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 240
  10. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  11. 2022Transformer Quality in Linear Timecited by 191
  12. 2022Mega: Moving Average Equipped Gated Attentioncited by 179
  13. 2019The Lean mathematical librarycited by 134
  14. 2021LambdaNetworks: Modeling Long-Range Interactions Without Attentioncited by 107
  15. 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
  16. 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 78
  17. 2026LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulationcited by 61
  18. 2024MoEUT: Mixture-of-Experts Universal Transformerscited by 59
  19. 2019Enhancing the Transformer with Explicit Relational Encoding for Math Problem Solvingcited by 35
  20. 2022Enhancing Neural Mathematical Reasoning by Abductive Combination with Symbolic Librarycited by 4

Built on by

Not cited yet.