mlsanityData to 26 Nov 2026

On Learning Expand-and-Sparsify Representations

arXiv 2610.26470 ↗Submitted 19 Oct 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Expand-and-sparsify (textttEaS) representations lift an input to a much higher dimension through a linear map and keep only the k largest coordinates. Existing theory builds that map at random and needs the expanded dimension to grow exponentially in the input dimension, which puts the construction out of practical reach. We ask what is gained by learning the map by gradient descent instead, and how that gain depends on how wide the expansion is. We sweep 73 OpenML classification tasks and 48 regression tasks under a protocol that holds the datasets, expanded dimensions, sparsity levels and splits fixed across every method, and we summarise each comparison by a median over datasets and a Wilcoxon signed rank test. We report four findings. First, learning the expansion helps most when the expansion is narrowest, and its advantage over a random map decays to nothing by the widest expansions we run, so a learned textttEaS layer can be made small. Second, with the map learned, a top-k representation that keeps at most a tenth of its coordinates is indistinguishable from a dense textttReLU layer of the same expanded dimension at every expansion factor we test, while GELU and SiLU are not. Third, when the representation is forced to be binary the sparse code is the better of the two, and the reason is that binarization costs it nothing while it costs the dense layer accuracy. Fourth, how sparse the representation can be is governed by how wide it is: the sparsity level that is free rises as the expansion grows, so there is no fixed limit on how sparse it can be. The regression tasks reproduce the first finding and qualify the second and third.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 10 of its 23 references that are in the map. Submitted 19 Oct 2026.

Builds on

10 of 23 references.

References · 10

  1. 2017Attention Is All You Needcited by 62,125
  2. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,471
  3. 2023Cache Me if You Can: Accelerating Diffusion Models through Block Cachingcited by 164
  4. 2016Improving Neural Language Models with a Continuous Cachecited by 89
  5. 2021Memory-efficient Transformers via Top-k Attentioncited by 66
  6. 2021Can a Fruit Fly Learn Word Embeddings?cited by 19
  7. 2020Bio-Inspired Hashing for Unsupervised Similarity Searchcited by 14
  8. 2020Expressivity of expand-and-sparsify representationscited by 8
  9. 2021Federated Nearest Neighbor Classification with a Colony of Fruit-Flies: With Supplementcited by 5
  10. 2026Optimal rates for density and mode estimation with expand-and-sparsify representationscited by 1

Built on by

Not cited yet.