Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions

Blanka Kövér, Alexandra Butoi, Anej Svete, Michael Hahn, Ryan Cotterell
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:60726-60757, 2026.

Abstract

Transformers consistently fail to learn certain simple functions that are provably expressible with specific parameter settings. This gap between learnability and expressivity is particularly prominent for sensitive functions—functions whose output is likely to change if a single bit of the input is flipped—for example, Parity. While prior work has established that transformers exhibit a bias toward functions with low average sensitivity, the precise mechanism underlying this bias remains poorly understood. To shed light on this phenomenon, we study volume in transformer parameter space. We show that sensitive functions—even when representable—occupy a vanishingly small region that random initialization is very likely to miss. Specifically, we shift the focus from average sensitivity to the full sensitivity profile—the distribution of sensitivity values across all inputs—and prove that randomly initialized transformers almost surely compute functions which have low-sensitivity strings. Consequently, any function that lacks such strings is provably unlearnable.

Cite this Paper


BibTeX
@InProceedings{pmlr-v306-kover26a, title = {Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions}, author = {K\"{o}v\'{e}r, Blanka and Butoi, Alexandra and Svete, Anej and Hahn, Michael and Cotterell, Ryan}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning}, pages = {60726--60757}, year = {2026}, editor = {Zhang, Tong and Dudik, Miroslav and Jaggi, Martin and Agarwal, Alekh and Li, Sharon and Schuurmans, Dale and Zhu, Jerry and Berkenkamp, Felix and Dong, Hanze and Bietti, Alberto}, volume = {306}, series = {Proceedings of Machine Learning Research}, month = {06--11 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v306/main/assets/kover26a/kover26a.pdf}, url = {https://proceedings.mlr.press/v306/kover26a.html}, abstract = {Transformers consistently fail to learn certain simple functions that are provably expressible with specific parameter settings. This gap between learnability and expressivity is particularly prominent for sensitive functions—functions whose output is likely to change if a single bit of the input is flipped—for example, Parity. While prior work has established that transformers exhibit a bias toward functions with low average sensitivity, the precise mechanism underlying this bias remains poorly understood. To shed light on this phenomenon, we study volume in transformer parameter space. We show that sensitive functions—even when representable—occupy a vanishingly small region that random initialization is very likely to miss. Specifically, we shift the focus from average sensitivity to the full sensitivity profile—the distribution of sensitivity values across all inputs—and prove that randomly initialized transformers almost surely compute functions which have low-sensitivity strings. Consequently, any function that lacks such strings is provably unlearnable.} }
Endnote
%0 Conference Paper %T Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions %A Blanka Kövér %A Alexandra Butoi %A Anej Svete %A Michael Hahn %A Ryan Cotterell %B Proceedings of the 43rd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2026 %E Tong Zhang %E Miroslav Dudik %E Martin Jaggi %E Alekh Agarwal %E Sharon Li %E Dale Schuurmans %E Jerry Zhu %E Felix Berkenkamp %E Hanze Dong %E Alberto Bietti %F pmlr-v306-kover26a %I PMLR %P 60726--60757 %U https://proceedings.mlr.press/v306/kover26a.html %V 306 %X Transformers consistently fail to learn certain simple functions that are provably expressible with specific parameter settings. This gap between learnability and expressivity is particularly prominent for sensitive functions—functions whose output is likely to change if a single bit of the input is flipped—for example, Parity. While prior work has established that transformers exhibit a bias toward functions with low average sensitivity, the precise mechanism underlying this bias remains poorly understood. To shed light on this phenomenon, we study volume in transformer parameter space. We show that sensitive functions—even when representable—occupy a vanishingly small region that random initialization is very likely to miss. Specifically, we shift the focus from average sensitivity to the full sensitivity profile—the distribution of sensitivity values across all inputs—and prove that randomly initialized transformers almost surely compute functions which have low-sensitivity strings. Consequently, any function that lacks such strings is provably unlearnable.
APA
Kövér, B., Butoi, A., Svete, A., Hahn, M. & Cotterell, R.. (2026). Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions. Proceedings of the 43rd International Conference on Machine Learning, in Proceedings of Machine Learning Research 306:60726-60757 Available from https://proceedings.mlr.press/v306/kover26a.html.

Related Material