Skip to content
OpenTrain AIFor AI Companies

Structured Token Statistics Transformer: Linear-Time Attention via Tighter Coding-Rate Bounds

Menghui Zhou, Po YangPublished Nov 27, 2026
arXiv PDF
Researcher verdict
Context only
Use as context only
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few days
Plan setup time
Risk flags
2
Review before use

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

Token Statistics Transformer (ToST) obtains linear-time attention by summarizing projected tokens through coordinatewise second moments. This efficient statistic omits cross-coordinate moments: for fixed projections and memberships, different joint second-order structures can produce the same diagonal filter. Its coding-rate upper bound is tight only when the projected group moments are diagonal, a condition that a shared learned basis need not satisfy for each input. We introduce Structured Token Statistics Transformer (SToST), which retains joint moments within small feature-coordinate groups. Applying the Hadamard--Fischer inequality yields a coding-rate upper bound that is no looser than ToST's diagonal surrogate under matched projections and memberships, and strictly tighter when a retained within-group off-diagonal moment is nonzero. A gradient step produces Structured Token Statistics Attention (STSA), replacing scalar coordinate gates with small positive definite linear solves. Singleton groups recover the theoretical ToST operator. Group sizes may differ; when their maximum size is bounded independently of sequence length and head width, the statistical core retains ToST's $O(np)$ time and $O(p)$ statistics storage, with additional constant overhead. In single-run size-two-group pilots, SToST improves CIFAR-10 accuracy from 86.42% to 86.81% and reduces WikiText-2 test perplexity from 326.09 to 318.91, with higher measured training time in both settings. The resulting architecture preserves selected cross-coordinate statistics without introducing token-pair attention.

Results and benchmarks

Token Statistics Transformer (ToST) obtains linear-time attention by summarizing projected tokens through coordinatewise second moments.
Task Dataset Metric Value Source
Transformer ToST-Base Perplexity 326.09 paper-derived
Transformer SToST-Base, B = 2 B=2 Perplexity 318.91 paper-derived

Audit each benchmark finding before selecting an implementation path.

Implementation

No direct implementation yet

Maintained implementation evidence is not confirmed for this paper yet.

Use the implementation status and reproduction sections for the current action plan.

Implementation evidence summary
Confidence: low

Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.

Reproduction risks
  • Estimate is based on paper-only reproduction flow

Reproduction readiness

Time to first repro: days
Last checked: Nov 30, 2026

No repo

No verified implementation available

  • No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Framework baselines

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Transformer

Methods

Transformer

Domains

None detected

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.