cs.LGSep 16, 2026

Reaching Every Position Without Searching: Rotating Sparse Wiring on the Hypercube as a Substitute for Attention

Authors: Yoshiaki Takashita

Abstract

Attention pays, at every layer and for every input, the cost of searching for whom to connect. We ask how far one can get with wiring that is fixed, sparse, and simply rotated from layer to layer. Treating the nn positions of a sequence as the vertices of a log2n\log_2 n-dimensional hypercube and connecting each position, at layer \ell, to its neighbour along dimension modlog2n\ell \bmod \log_2 n, information from every position reaches every other in log2n\log_2 n layers with 2n2n links per layer instead of n2n^2. On a synthetic task that is unsolvable unless all positions are reached, this rotation matches all-to-all wiring at 1/321/32 of the links, while the same sparse pattern held fixed across layers fails; what matters is that every dimension is touched, not the order. On character-level language modelling of a public corpus (the first 1212M characters of enwik8), a hybrid that keeps two attention layers among sixteen sparse ones reaches 0.060.06 bits-per-character lower held-out loss than a fully attentive model of the same width at the same step budget (three seeds each, no overlap), with 1/71/7 of the links, 42%42\% fewer parameters, and 2.4×2.4\times less wall-clock time; the purely rotated schedule is level with the hybrid. The same ordering holds on a second corpus of mixed Japanese, English and code, where the gap widens to 0.160.16. The usable learning-rate window is four to eight times wider than attention's on both. We also report what did not work - learned coordinates, and a "dynamics" variant whose apparent gains turned out to be an artefact of a saturated kernel - and the measurement discipline (frozen corpus, full-coverage evaluation, seed spread as the bar for ranking) that we found necessary to say anything at all at this scale.

Explore similar work

CardsList