Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions

Sensitivity profiles reveal why transformers fail to learn parity

  • Problem A transformer can represent PARITY, yet training in practice fails to learn it. Average sensitivity, the usual summary, hides how sensitivity values are spread.
  • Method The authors measure the parameter volume each function class occupies, using the full sensitivity profile instead of average sensitivity.
  • Results The authors show that a uniformly random transformer almost surely fails to recognize PARITY, FIRST and dictator functions for large N.

Why expressivity doesn't settle learnability

PARITY is the standard example: a transformer with layer norm can represent it, yet in practice training fails to learn it. The authors place the cause in sensitivity, meaning how often flipping one input bit changes the output. What's missing is a precise link between sensitivity and what optimization can actually find, so the study measures the parameter volume each function class occupies.

Average sensitivity has been the usual summary, but a single average hides how the sensitivity values are distributed. The study instead uses the full sensitivity profile, which records for each input length how many strings take each sensitivity value.

A transformer as a recognizer over parameters

The model is a soft-attention encoder that reads binary strings followed by an end-of-sequence symbol. Layer norm divides the centered hidden vector by a normalizer \( z^{\ell}_n = 1/\sqrt{\sigma^2(d^{\ell}_n) + \epsilon} \), so the constant ϵ controls how small that divisor can get. The authors split the analysis into the cases ϵ > 0 and ϵ = 0.

A linear readout of the final end-of-sequence state gives a logit T(x) for each string. A string is accepted when the logit exceeds the margin ξ, rejected when it falls below −ξ, and left unclassified otherwise. The recognition definition requires every string to be classified with a margin ξ > 0.

The parameter vector θ collects the attention, MLP and readout weights, while embeddings and positional encodings are excluded. Because of this, the parameter set Θ is a compact subset of a real space of fixed dimension M, which does not depend on N.

Sensitivity measures and the example functions

For a string, sensitivity counts the Hamming neighbors on which the function changes its output. Average, maximum and minimum sensitivity summarize these counts over all strings of a fixed length N. The sensitivity profile goes further and records, for each N, how many strings have each value from 0 to N.

Every input to PARITY has sensitivity N, so its minimum sensitivity equals N. MAJORITY is different: only nearly balanced strings have nonzero sensitivity, its average sensitivity is Θ(√N), and its maximum is ⌊N/2⌋ + 1. Most of MAJORITY's inputs are sensitivity-zero strings, which matters for the later argument.

A dictator function depends on exactly one input bit, and FIRST is the dictator on the first bit. FIRST has average sensitivity 1, yet it has no sensitivity-zero strings, so its low average hides a sharp constraint.

Blowup: how a bit flip propagates

The per-layer blowup takes the maximum over positions of 1 plus the normalizer, as \( \tau^{\ell}(\theta,x)=\max_{n}\bigl(1+z^{\ell}_n(\theta,x)\bigr) \). The cumulative blowup multiplies these per-layer values from layer 1 through layer L, written \( \beta_L(\theta,x)=\prod_{\ell=1}^{L}\tau^{\ell}(\theta,x) \).

Lemma 2.9 bounds how much flipping one input bit can change the activation at any position, in terms of the two cumulative blowups, one for the original string and one for the flipped string. The bound carries a term scaled by 1/N and a Kronecker delta term for the same position. Because the end-of-sequence position is never flipped, only the 1/N part remains there, which gives an O(1/N) bound.

The ϵ > 0 case: uniform bounds and no nonconstant functions

With ϵ > 0 the normalizer is at most 1 over √ϵ, so each layer's blowup stays below 1 + 1/√ϵ. The cumulative blowup is then at most (1 + 1/√ϵ) raised to the power L, whatever the input length.

Two nearby parameter vectors therefore give outputs that stay close on every string, however long.

Corollary 3.3 gives an O(1/N) bound on the change at the end-of-sequence position when a single bit is flipped. Corollary 3.4 then concludes that, for large N, the recognizer fails to recognize any family containing a nonconstant function at margin ξ. Proposition 3.5 bounds the number of recognizable functions on each length by a constant that does not grow with N, namely (1 + C_Lip diam(Θ)/ξ) raised to the power M, far below the number of all Boolean functions.

The ϵ = 0 case: probabilistic control of blowup

With ϵ = 0 no deterministic bound on the blowup exists, so the authors turn to bounds that hold with high probability over a random perturbation. They look at a Hamming neighborhood B_S(x), which consists of x and its one-bit flips at indices in a chosen set S. If the blowup stays bounded on that neighborhood, flipping bits in S can't change acceptance for large N, so the sensitivity of x is at most N − k.

Lemma 4.2 perturbs the parameters by a uniform draw from an ℓ∞ ball of radius ρ. With probability at least 1 − (k+1)(1/ρ)^{D−1} O(N^{1−(D−1)ζ/(2L)}), there is a set S of size k on which the blowup is at most 1 + N^{ζ/(2L)}, for ζ in (2L/(D−1), 1).

The authors call the parameter regions where the variance is small enough to cause a large blowup danger zones, and these have small volume. A union bound over the layers then bounds the cumulative blowup. A covering of Θ by small cubes extends this to parameters drawn uniformly from Θ, which gives Lemma 4.4.

From fixed lengths to all large lengths

Lemma 4.4 holds for each fixed N, and the first Borel-Cantelli lemma combines the statements over all sufficiently large N.

Corollary 4.6 turns this into a non-recognition claim: if K0(N) < N raised to (D−1)/(2L) minus 5, then for almost every θ the recognizer fails at margin ξ for large N. The corollary uses only the count of sensitivity-zero strings, so it applies to any family of Boolean functions whose count stays below that polynomial.

Which named functions this rules out

Any function with minimum sensitivity at least 1 has no sensitivity-zero strings, so the corollary applies to it. That covers PARITY, m-SPARSE PARITY, dictator functions and FIRST, so a uniformly random transformer almost surely fails to recognize them for large N.

The authors note that FIRST is still learned at moderate lengths, because the impossibility applies only once N is large enough. Experiments with FIRST support this reading at practical lengths.

MAJORITY has exponentially many sensitivity-zero inputs, so it fails the polynomial bound and the corollary doesn't cover it. Among the m-SPARSE MAJORITY functions only the 1-SPARSE ones are covered, and those are the dictator functions. The authors conjecture that the parameter vectors recognizing MAJORITY with margin ξ have positive Lebesgue measure, which remains unproven.

Sensitivity spectra in experiments

The authors sample four initialization schemes, uniform, Gaussian, Xavier uniform and Xavier Gaussian, each with randomly sampled hyperparameters. For every scheme and setting, the sensitivity spectra of the randomly initialized models are heavily skewed toward zero. The authors note that this skew is stronger than what Theorem 4.5 predicts.

The authors train on PARITY, MAJORITY, FIRST, m-SPARSE functions and random languages, and the low-sensitivity bias remains after training. Models trained on PARITY don't reach the correct sensitivity profile, which matches the unlearnability result. For FIRST the sensitivities cluster at 1, and for MAJORITY they cluster at 0 and at half the string length.

The MAJORITY pattern gives empirical support for Conjecture 5.5 but does not prove it. The sparse parity and sparse majority runs mirror the patterns of their non-sparse counterparts.

Is the bias real, and how far does it reach?

For a uniformly random Boolean function, the number of sensitivity-zero strings converges in distribution to a Poisson(1) variable. So the probability of having sensitivity-zero strings tends to 1 − 1/e, about 0.63. A random transformer has such strings with probability 1 for large N, and the authors take this gap as evidence of a real bias.

Posteriors are absolutely continuous with respect to the prior, so they inherit its measure-zero sets. Buzaglo et al. (2024) link generalization to the volume of parameters consistent with the target, and Dziugaite & Roy (2025) extend this to the Gibbs posterior.

The polynomial lower bound may not be tight, and the authors suspect the true growth is exponential. Proving exponential scaling needs different techniques and is left open.

Limitations

The results are asymptotic: the length at which sensitivity-zero strings must appear may exceed the lengths used in practice. FIRST is learned at practical lengths, which the authors present as a limit of their analysis rather than a contradiction of it.

The positive-measure claim for MAJORITY is a conjecture backed only by experiments. The lower bound is polynomial, and its tightness is open.

The ϵ > 0 non-recognition result applies only to sufficiently large N.

Paper info

Authors
Blanka Kövér, Alexandra Butoi, Anej Svete, Michael Hahn, Ryan Cotterell
Venue
International Conference on Machine Learning · Published
First published
2026-9-29
Added
2026-11-25
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Blanka Kövér, Alexandra Butoi, Anej Svete, Michael Hahn, Ryan Cotterell (2026). Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions. International Conference on Machine Learning. https://proceedings.mlr.press/v306/kover26a.html

BibTeX
@article{kvr2026understanding,
  title = {{Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions}},
  author = {Blanka Kövér and Alexandra Butoi and Anej Svete and Michael Hahn and Ryan Cotterell},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/kover26a.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up