SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.06683 · 2026

Toeplitz MLP Mixers are Low Complexity, Information-Rich Sequence Models

Ethan Roland, Benjamin Badger

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.06683.json · badge: /api/ran/2605.06683.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ethan-w-roland/ToeplitzMixers community
Papers with Code archive
3 ran · 0 no recorded run
blbadger/lm-evaluation-harness community
Papers with Code archive
1 ran · 3 no recorded run
FunctionStatusWhere it lives
FFTToeplitzCausalLinear Ran
ran on a synthesized input · constructed an object; no result was computed
ethan-w-roland/ToeplitzMixers/experiments/003-multiheaded/toep_mixer_multiheaded.py
pointer only (licence: NONE) · get_code("f5f5bcda6dc54604")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ethan-w-roland/ToeplitzMixers when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ToeplitzCausalLinear Ran
ran on a synthesized input · constructed an object; no result was computed
ethan-w-roland/ToeplitzMixers/experiments/003-multiheaded/toep_mixer_multiheaded.py
pointer only (licence: NONE) · get_code("0cd9fc5663ec8377")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ethan-w-roland/ToeplitzMixers when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ToeplitzCausalLinear Ran
ran on a synthesized input
blbadger/lm-evaluation-harness/lm_eval/models/tmm_model.py
code served (permissive licence) · get_code("0ce645a05f6dcc8b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class ToeplitzCausalLinear(nn.Module):
    """
    A linear layer with a triangular (causal) mask applied to the weight matrix.
    This ensures each position i cannot use info from positions > i.
    """

    def __init__(self, dim: int):
        super().__init__()
        self.weight = nn.Parameter(torch.randn(1, dim))
        self.bias = nn.Parameter(torch.zeros(dim))

    def vector_to_matrix(self, v: torch.Tensor) -> torch.Tensor:
        """
        Given a vector v of shape (m,), returns an (m x m) matrix M
        where M[i, j] = v[j - i] if j >= i, and 0 otherwise.

        For example, if v = [a, b, c, d] then M will be:

        [ a  b  c  d ]
        [ 0  a  b  c ]
        [ 0  0  a  b ]
        [ 0  0  0  a ]
        """
        v = v.reshape(-1)
        m = v.shape[0]
        i, j = torch.meshgrid(torch.arange(m, device=v.device), torch.arange(m, device=v.device), indexing='ij')
        M = torch.where(j >= i, v[j - i], torch.zeros(m, m, device=v.device, dtype=v.dtype))
        return M

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        """
        x shape: (batch, embed_dim, seq_len)
        """
        B, E, S = x.shape
        W = self.vector_to_matrix(self.weight)
        x_reshaped = x.reshape(B * E, S)
        out = x_reshaped @ W
        out = out + self.bias
        out = out.view(B, E, S)
        return out


INIT_ARGS = {
    "dim": 5
}

ARGS = {
    "x": torch.randn(2, 3, 5)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 5) — shape (2, 3, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ToeplitzHeads Ran
ran on a synthesized input · constructed an object; no result was computed
ethan-w-roland/ToeplitzMixers/experiments/003-multiheaded/toep_mixer_multiheaded.py
pointer only (licence: NONE) · get_code("ba8c9962b742e784")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ethan-w-roland/ToeplitzMixers when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MLPMixer Not yet run
unverified (harvested, no recorded run)
blbadger/lm-evaluation-harness/lm_eval/models/tmm_model.py
code served (permissive licence) · get_code("0d0a7957d51396c1")
How it ran

no invocation recorded.

MixerBlock Not yet run
unverified (harvested, no recorded run)
blbadger/lm-evaluation-harness/lm_eval/models/tmm_model.py
code served (permissive licence) · get_code("741adba8945a249a")
How it ran

no invocation recorded.

ToeplitzHeads Not yet run
unverified (harvested, no recorded run)
blbadger/lm-evaluation-harness/lm_eval/models/tmm_model.py
code served (permissive licence) · get_code("61b29a9588d52a63")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Transformer-based large language models are in some respects limited by the quadratic time and space computational complexity of attention. We introduce the Toeplitz MLP Mixer (TMM), a transformer-like architecture that swaps attention for triangular-masked Toeplitz matrix multiplication over the sequence dimension resulting in O(dn log n) time and O(dn) space complexity during training and O(dn) time and space at inference prefill. Despite the lack of sophisticated input modulation or state maintenance present in other sub-quadratic architectures, TMMs yield greater training efficiency in terms of loss achieved per compute and device memory. We demonstrate that TMMs are capable of retaining more input information resulting in improved copying ability, which we argue results from a lack of architectural biases. Consistent with higher input information retention, TMMs exhibit superior information retrieval and in-context learning benchmark accuracy compared to comparable architectures. We conclude with an analysis from the perspective of operator index theory and show that, counterintuitively, trained Toeplitz layers of causal non-invertible models are more likely to be invertible or nearly so than models that are actually invertible over their inputs.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.06683")
get_code_for_paper("2605.06683")
have("2605.06683")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.06683.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.06683.svg)](https://syntology.ai/paper/2605.06683)

Connect an agent — have() is free.