Gated Causal Average: A Query-Free, Linear-Time Token Mixer for Language Models

Self-attention costs O(T²) in sequence length. We introduce the Gated Causal Average (GCA), a causal token-mixing operator that computes, separately in every channel, a content-weighted running average of the prefix: each token i receives a positive weight vector wᵢ = softplus(W yᵢ + b), and the output at position t is the sum of wᵢ ⊙ yᵢ over i ≤ t divided by the sum of wᵢ over i ≤ t. GCA has no query, no value projection and no pairwise score; it has D independent denominators, runs in O(T) time with prefix sums, and needs no custom kernel. With its gate initialised to zero it computes exactly the unweighted causal mean, so a gated model starts from the ungated baseline. We pair GCA with a causal depthwise convolution in a single mixer and train attention-free language models (84.6–86.7M parameters) on BabyLM strict-small (10M words). On BLiMP, the bottleneck-gated GCA-V2 scores 67.59 and the single-layer gate GCA-V1 67.2, against 66.52 for the ungated causal mean (single seed; two training configurations, reported separately). The nearest prior work is the Attention-Free Transformer; we state the three differences exactly so that the novelty claim can be checked.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-08
DOI
https://doi.org/10.5281/zenodo.24051547
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Gated Causal Average: A Query-Free, Linear-Time Token Mixer for Language Models

Abdalhay Abass
2 links
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

Gated Causal Average: A Query-Free, Linear-Time Token Mixer for Language Models

Abdalhay Abass
preprint en

Abstract

Self-attention costs O(T²) in sequence length. We introduce the Gated Causal Average (GCA), a causal token-mixing operator that computes, separately in every channel, a content-weighted running average of the prefix: each token i receives a positive weight vector wᵢ = softplus(W yᵢ + b), and the output at position t is the sum of wᵢ ⊙ yᵢ over i ≤ t divided by the sum of wᵢ over i ≤ t. GCA has no query, no value projection and no pairwise score; it has D independent denominators, runs in O(T) time with prefix sums, and needs no custom kernel. With its gate initialised to zero it computes exactly the unweighted causal mean, so a gated model starts from the ungated baseline. We pair GCA with a causal depthwise convolution in a single mixer and train attention-free language models (84.6–86.7M parameters) on BabyLM strict-small (10M words). On BLiMP, the bottleneck-gated GCA-V2 scores 67.59 and the single-layer gate GCA-V1 67.2, against 66.52 for the ungated causal mean (single seed; two training configurations, reported separately). The nearest prior work is the Attention-Free Transformer; we state the three differences exactly so that the novelty claim can be checked.

Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon