Bottleneck Benchmark: Sequence Compression Under Controlled Difficulty and Fixed Latent Size

Emilio Munoz, Felix MohrNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

When you force a neural network to squeeze a sequence of tokens through a tiny, fixed-size bottleneck, how much space does it actually need? This paper introduces the Bottleneck Benchmark (BB), an open framework that tests how sequence length, vocabulary size, structural regularity, and input noise affect the minimum latent size required by different architectures. Surprisingly, the classic BiLSTM outperforms both Transformers and Bidirectional State-Space Models (BiSSMs), proving that architectural inductive biases—not raw parameter count—govern compression under pressure.

What Problem Does This Paper Address?

Autoencoders are widely used to compress discrete token sequences—like DNA, sensor data, or event logs—into compact representations. Yet, if you want to know which architecture (a Transformer, an LSTM, or a State-Space Model) compresses best, existing benchmarks won't tell you.

Long-context benchmarks (like Long Range Arena) let model capacity scale with sequence length, while autoencoder benchmarks typically fix the latent dimension $d_b$ as a static hyperparameter. None of them systematically sweep $d_b$ while independently dialing up the difficulty of the input data. The authors bridge this gap by asking: under a strict, fixed-width bottleneck, how does the minimum required latent size ($d_b^{\min}$) scale with sequence difficulty?

Methods

The Bottleneck Benchmark (BB) enforces a clean Encoder–Decoder Bottleneck (EDB) interface: an encoder $\mathcal{E}$ maps an input sequence of length $L$ to a single real-valued vector $z \in \mathbb{R}^{d_b}$, and a decoder $\mathcal{D}$ must reconstruct the target from $z$ alone. No skip connections, residual paths, or token caches are allowed.

The BB benchmark pipeline

To measure compression limits, BB sweeps $d_b$ across a calibrated, configuration-dependent grid (capped at $d_{\text{model}}=128$) to find $d_b^{\min}$—the smallest bottleneck width where mean validation accuracy across three seeds reaches 0.8. Models are evaluated on both clean inputs and noisy inputs (where tokens are randomly corrupted before encoding, but the decoder must still recover the clean target). This separates capacity failures from denoising failures.

The authors test three reference encoder families—BiLSTM (gated recurrence), Transformer (global self-attention with a [CLS] token), and BiSSM (bidirectional diagonal real state-space models)—paired with LSTM, Transformer, and SSM decoders.

Datasets

Rather than using static real-world datasets, BB uses a controllable synthetic data pipeline driven by a configurable source module (by default, a first-order Markov chain). This allows exact, independent control over four difficulty axes:

  • Sequence length ($L$): How many tokens are in the sequence.
  • Vocabulary size ($V$): The number of unique possible tokens.
  • Structural regularity ($s \in [0, 1]$): At $s=0$, tokens are i.i.d. uniform; higher $s$ increases token repetition, making sequences more compressible.
  • Input noise ($\eta$): The probability that each token is independently replaced by a random token.

From each clean sequence, BB derives targets for three tasks with strictly nested information requirements ($\text{Set} \subset \text{Sort} \subset \text{Copy}$): Set (which tokens appear), Sort (token identities and counts), and Copy (full sequence recovery in order).

Key Insights and Ideas

  • Order is the true separator: On Set and Sort, all encoders collapse to the same tiny bottlenecks ($d_b^{\min} = 4$ and $10$, respectively). Only Copy—which requires preserving token order—separates the architectures.
  • Inductive bias beats raw capacity under noise and length: The BiLSTM is the only encoder that survives moderate noise ($\eta > 0.1$) or longer sequences ($L > 16$). The authors hypothesize that gating lets the BiLSTM filter out corrupted or redundant tokens before they enter $z$, whereas global attention in the Transformer lets noise contaminate the representation symmetrically.
  • The encoder is the binding constraint: Cross-pairing all 9 encoder–decoder combinations shows that $d_b^{\min}$ is dictated almost entirely by the encoder. The decoder only adds secondary overhead when an SSM decoder is used.
  • Sub-threshold spatial forgetting: When starved of capacity ($d_b < d_b^{\min}$), each architecture forgets differently. The BiLSTM degrades uniformly across all positions, the Transformer exhibits a sharp left-to-right gradient (forgetting early tokens while acing the end), and the BiSSM shows a U-shaped profile (preserving boundaries but forgetting the middle).
  • Noise amplifies vocabulary cost: In a full factorial sweep on the BiLSTM, input noise and vocabulary size interact super-additively—at $\eta=0.15$, $d_b^{\min}$ is unchanged for $V=8$ but quadruples for $V=64$.

Key Results

  • Single-factor sweeps (Copy task): At the noiseless baseline ($L=16, V=8, s=0, \eta=0$), BiLSTM and Transformer both achieve $d_b^{\min} = 20$, while BiSSM requires $40$. As shown below, BiLSTM scales up to $L=96$ ($d_b^{\min}=128$) and $\eta=0.2$ ($d_b^{\min}=40$). In contrast, the Transformer fails completely at $\eta=0.1$ and $L=32$, and the BiSSM fails at $L=32$ and $\eta=0.2$.
d_b^min on the copy task across the four difficulty factors
  • Multi-task compression: When a single encoder is trained to perform Copy and Sort simultaneously, the BiLSTM and BiSSM succeed at their single-task Copy widths ($d_b^{\min} = 20$ and $40$). The Transformer, however, fails joint training at every tested capacity, with Copy accuracy stalling around 0.27.

Limitations and Future Work

The authors note three main caveats:

  1. $d_b^{\min}$ is read off a discrete grid at a conventional 0.8 accuracy threshold, making it an upper bound rather than an exact information-theoretic minimum.
  2. All sweeps cap $d_{\text{model}} = 128$, meaning failed configurations ("—") might succeed at larger model widths.
  3. The study evaluates only synthetic Copy, Sort, and Set tasks using one reference implementation and training recipe per architecture family.

Future work could probe gate activations and attention maps directly to verify the mechanistic hypotheses behind these failure modes, or plug new architectures and real-world data generators into BB's YAML-configurable harness.

Summary updated

BibTeX
@inproceedings{munoz2026bottleneck,
  author = {Emilio Munoz and Felix Mohr},
  title = {{Bottleneck Benchmark: Sequence Compression Under Controlled Difficulty and Fixed Latent Size}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7MkLtoyPdq},
}
Figure