# Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions

Boolean 함수 학습 실패를 파라미터 부피로 설명

Blanka Kövér, Alexandra Butoi, Anej Svete, Michael Hahn, Ryan Cotterell · International Conference on Machine Learning · 2026년 9월 29일

- **연구 문제** 트랜스포머는 PARITY 같은 함수를 표현할 수 있어도 실제 학습에서는 잘 배우지 못합니다. 민감도가 큰 함수일수록 이 간극이 큽니다.
- **연구 방법** 저자들은 파라미터 공간의 부피를 재는 관점으로 문제를 다룹니다. 평균 민감도 대신 민감도별 입력 개수를 모은 민감도 프로파일을 씁니다.
- **주요 결과** 거의 모든 무작위 트랜스포머는 충분히 긴 입력에서 민감도 0 문자열을 다항식 개수만큼 가진다는 것을 증명했습니다.

## 학습 가능성과 표현 가능성의 차이

트랜스포머는 특정 파라미터 설정에서 PARITY 같은 함수를 표현할 수 있지만, 실제 학습에서는 그 함수를 잘 배우지 못합니다. 이 간극은 민감도가 큰 함수에서 특히 두드러집니다. 민감도는 입력 비트 하나를 뒤집었을 때 출력이 바뀌는 정도를 가리킵니다. 기존 연구는 평균 민감도가 낮은 함수로 기우는 편향을 보고했지만, 그 편향이 파라미터 공간의 어디에서 생기는지는 충분히 설명되지 않았습니다. 이 논문은 파라미터 공간의 부피 관점에서 이 질문을 다룹니다.

## 민감도 프로파일과 민감도 0 문자열

논문은 평균 민감도 대신 민감도 프로파일을 씁니다. 길이 N마다 민감도 n을 가진 입력의 개수 Kn(N)을 모은 것입니다. 이 가운데 K0(N)은 민감도가 0인 문자열의 개수입니다. PARITY는 모든 입력의 민감도가 N이어서 민감도 0 문자열이 없고, FIRST는 민감도가 1이며 마찬가지로 민감도 0 문자열이 없습니다. 반면 MAJORITY는 민감도 0인 입력이 지수적으로 많습니다.

## ϵ가 0이 아닐 때의 상계와 한계

레이어 정규화 상수 ϵ가 0보다 크면 정규화 역수가 1/√ϵ로 제한되어, 누적 블로업 βL이 입력 길이와 무관하게 상계됩니다. 이 경우 입력 한 비트의 영향은 O(1/N)으로 줄어들고, 결국 0이 아닌 상수 함수가 아니면 충분히 큰 N에서 인식되지 않습니다. 이 결과는 N이 충분히 큰 점근적 결과이므로, 실제로 쓰는 길이에서 어떻게 보이는지는 별도로 봐야 합니다.

## ϵ = 0일 때 민감도 0 문자열의 하한

ϵ가 0이면 레이어 정규화 분모가 작아질 수 있어 블로업에 결정적 상계가 없습니다. 그래서 저자들은 파라미터에 작은 섭동을 주는 확률적 논증을 씁니다. 특정 Hamming 이웃 위에서 블로업이 고확률로 상계되고, 그 결과 민감도가 N−k 이하인 문자열이 충분히 많이 존재한다는 결론이 나옵니다. 모든 큰 N에 대해 이 사건들을 Borel–Cantelli 보조정리로 합하면 거의 확실하게 다항식 개수의 민감도 0 문자열이 존재한다는 정리가 얻어집니다.

## PARITY와 FIRST의 학습 불가능성

위 정리의 조건은 민감도 0 문자열 수 K0(N)이 N의 (D−1)/(2L)−5 제곱보다 작은 경우입니다. PARITY와 FIRST는 최소 민감도가 1 이상이어서 이 조건을 항상 만족합니다. 따라서 거의 모든 무작위 트랜스포머는 충분히 긴 입력에서 이 함수들을 인식하지 못한다고 제시됩니다. 다만 이 결론은 점근적이므로 짧은 길이에서 FIRST를 학습하는 실험 결과와 함께 읽어야 합니다.

## 무작위 초기화와 학습 후 민감도 스펙트럼

저자들은 균등, 가우시안, Xavier 균등, Xavier 가우시안 초기화에서 길이 100의 문자열을 사용해 민감도 스펙트럼을 측정했습니다. 각 초기화마다 10개 데이터셋에서 50개의 트랜스포머를 만들고 레이어 수와 헤드 수를 무작위로 골랐습니다. 측정 결과 무작위 초기화 모델의 스펙트럼은 0 근처로 강하게 치우쳤습니다. 학습된 모델에서도 FIRST는 민감도 1에, MAJORITY는 0과 길이 절반 근처에 모였습니다. PARITY를 학습한 모델은 올바른 민감도 프로파일에 도달하지 못했습니다.

## 남은 문제

MAJORITY가 양의 측도를 가진다는 주장은 증명되지 않은 추측입니다. 저자들은 MAJORITY를 쉽게 학습하는 실험 결과를 근거로 제시하지만, 이를 정리로 확정하지는 않았습니다. 또한 민감도 0 문자열의 실제 증가 양상이 다항식인지 지수적인지도 아직 열린 질문으로 남아 있습니다.

## 논문 정보

- **저자**: Blanka Kövér, Alexandra Butoi, Anej Svete, Michael Hahn, Ryan Cotterell
- **학회·저널**: International Conference on Machine Learning · 게재
- **최초 공개일**: 2026년 9월 29일
- **등록일**: 2026년 11월 25일
- **원문 이용 조건**: [원문에서 확인 ↗](https://proceedings.mlr.press/v306/kover26a.html)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://proceedings.mlr.press/v306/kover26a.html)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

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}
}
```

## 이 논문의 용어

- [sensitivity](https://refivu.com/terms/74e665f56f15-sensitivity)
- [average sensitivity](https://refivu.com/terms/7571da9d4a1c-average-sensitivity)
- [Borel–Cantelli lemma](https://refivu.com/terms/830abf69565f-borel-cantelli-lemma)
- [PARITY](https://refivu.com/terms/8daba0093e07-parity)

## 다른 논문 해설

- [Variationally correct physics-informed operator learning for nonlinear partial differential equations](https://refivu.com/papers/cf8b9cd8-5f0b-470f-b5a1-a84a0d686de9-variationally-correct-physics-informed-operator-learning-for.md)
- [Halting in Recurrent Sequence Models](https://refivu.com/papers/3e3e9dd0-e1c9-4bd6-9f74-6401fab7fbfb-halting-in-recurrent-sequence-models.md)
- [Shortcut Learning in Feature-Based Algorithm Selection](https://refivu.com/papers/aa7e77ed-0585-4907-95a2-a75a2656749e-shortcut-learning-in-feature-based-algorithm-selection.md)
- [When Zero Is Competitive: A Descriptive Pilot of Transformer and Gate-Graph Surrogates on Random-Angle Quantum Circuits](https://refivu.com/papers/08b8166b-7eb6-4600-a683-ad4706c40745-when-zero-is-competitive-a-descriptive-pilot-of.md)
- [IANN: A Unified Framework for Equivariant InterAtomic Neural Networks with User-Friendly Implementation](https://refivu.com/papers/4c633944-8862-4ee4-bd77-a5c9f417f6fd-iann-a-unified-framework-for-equivariant-interatomic-neural.md)
- [Multi-Branch Transformer](https://refivu.com/papers/41db7368-f02a-4b93-a29d-688fd514713c-multi-branch-transformer.md)
- [From Muon to Gluon: Bridging Theory and Practice of LMO-based Optimizers for LLMs](https://refivu.com/papers/8abf3f11-d4df-432c-a8d8-b81217f6cb67-from-muon-to-gluon-bridging-theory-and-practice.md)
- [NExT-Guard: Streaming Safeguard without Token-Level Labels](https://refivu.com/papers/1cd0f65b-37af-4920-8aa0-071c909f49e1-next-guard-streaming-safeguard-without-token-level-labels.md)
- [Adversarial Vulnerability from Interference Between Features in Superposition](https://refivu.com/papers/cd94add6-68c0-4643-bc21-5a8a999fe6db-adversarial-vulnerability-from-interference-between-features.md)
- [Bits That Count: Quantifying and Predicting Capabilities of Language Models](https://refivu.com/papers/18e0cbff-e732-49be-a90d-d2fd6731c419-bits-that-count-quantifying-and-predicting-capabilities-of.md)
- [Observational Scaling Laws and the Predictability of Langauge Model Performance](https://refivu.com/papers/97beb965-1477-4864-b69f-e363cc2d64d9-observational-scaling-laws-and-the-predictability-of.md)
- [Generalized Correctness Models: Learning Calibrated and Cross-Model Correctness Predictors from Historical Patterns](https://refivu.com/papers/8b233ea1-90e2-438f-946c-480bfa03bab3-generalized-correctness-models-learning-calibrated-and-cross.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/f4dbf6ce-3357-44a3-b4ed-38147e384f67-understanding-the-parameter-space-volume-of-transformers)
