Skip to content
Preprint

On Learning Expand-and-Sparsify Representations

Oct 2026 · 0 citations · 23 references
Computer Science

TL;DR

This work sweeps OpenML classification tasks and regression tasks under a protocol that holds the datasets, expanded dimensions, sparsity levels and splits fixed across every method, and summarises each comparison by a median over datasets and a Wilcoxon signed rank test.

Abstract

Expand-and-sparsify ($\texttt{EaS}$) 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 $\texttt{EaS}$ 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 $\texttt{ReLU}$ 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.

View source

Similar papers

#machine learning Preprint Oct 2026

The Gradient That Top-k Distillation Never Computes

It is proved that it removes the visibility of tail mass, not the freedom to move it, in the top-k distillation pipeline: keep the top-k probabilities, renormalize, and minimize a divergence on what remains.

Rasul Khanbayov, H. Kurban · 1 citation
#machine learning Preprint Nov 2026

HiSA: Sparsifying the Hidden Dimension of RoPE Attention in LLMs

Attention in large language models (LLMs) scores every query against every key with a full dot product. We investigate whether this dot product must be computed completely for attention to be effective. We propose Hidden Sparse Attention (HiSA), which keeps the query and key projections intact but only computes a parti...

Ambroise Borbely, M. Salzmann, Olivier Verscheure · 0 citations
Preprint Nov 2026

Balancing Representations by Identifying and Generating Under-represented Data

Self-supervised learning inherits the coverage of its source data. When an unlabeled corpus is long-tailed, the representation becomes dense around frequent modes and thin where coverage is weak. Objectives for long-tailed SSL reweight the images already in the corpus and add no new ones. We introduce BRIDGE (Balancing...

Filipe Laitenberger, Hirokatsu Kataoka, Yuki M. Asano et al. · 0 citations
#machine learning Preprint Oct 2026

Counting with Attention and LayerNorm: Norm Scaling and Representation Geometry

Counting is a simple task on which transformers can nevertheless fail at long sequence lengths. We study the cost of counting in a single attention layer, up to a maximum length $L$, focusing on how softmax attention and layer normalization shape the representation from which the count is recovered. We mainly focus on...

Ayyub Shaffy, Manoj Dhakal, Safal Shrestha et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Retrieval-Centric Deep Learning in Growing Nonparametric Neural Networks

We investigate a general-purpose layer for deep learning that, instead of compressing arbitrary-size training data into fixed-size weight matrices, stores a new pair of key-value representations for every data point during training, and retrieves and recombines these representations through an attention mechanism at in...

Maximilian Schlegel, Rajai Nasser, Seijin Kobayashi et al. · 0 citations
#machine learning Preprint Nov 2026

Training Dynamics of Large State-Transition Models

Next-token prediction relies on learned token embeddings whose dimension $d$ is much smaller than the vocabulary size $V$. Existing analyses of training dynamics either fix the embeddings with $d\ge V$ or train them only in restricted settings. It remains unclear whether jointly training the embeddings by gradient-base...

Yee Man Choi, Feng-Chi Wang, Rui-Quan Huang · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.