# Grokking Finite-Dimensional Algebra

유한 차원 대수 그로킹

Pascal Jr Tikeng Notsawo, Guillaume Dumas, Guillaume Rabusseau · arXiv · 2026년 2월 23일

- **연구 문제** 군 밖의 대수에서도 그로킹이 나타나는지, 그리고 대수 성질과 구조 텐서의 특성이 일반화에 어떤 영향을 주는지 묻습니다.
- **연구 방법** 기저를 고정한 대수의 곱셈을 구조 텐서로 표현하고, 원소 쌍의 곱셈 결과를 분류 과제로 학습시킵니다. 유한체에서는 원소의 임베딩을 학습하고 층별 표현 품질을 선형 탐침으로 측정합니다.
- **주요 결과** F\_7 위 복소수 대수에서 구조 텐서의 단일 원소를 바꾸면 그로킹 지연이 크게 변했습니다. 결합적이고 교환적이며 단위원이 없는 범주가 가장 쉽게 학습되었고, 랭크와 희소성이 커질수록 일반화가 늦어졌습니다.

## 군을 넘어선 대수 곱셈의 그로킹

그로킹은 신경망이 훈련 데이터를 오래 암기한 뒤 갑자기 일반화에 이르는 현상으로, 지금까지의 연구는 주로 군 연산과 같은 알고리즘 과제에 집중되어 있었습니다. 군은 결합법칙, 단위원, 교환법칙을 한꺼번에 가지므로 이 성질들이 그로킹에 각각 어떤 영향을 주는지 분리해서 보기 어렵습니다. 이 논문은 이 한계를 넘기 위해 유한 차원 대수(FDA)의 곱셈 학습을 다룹니다. 대상에는 비결합적, 비교환적, 비단위적 대수가 포함되며, 리 괄호처럼 물리나 제어에서 등장하는 연산도 같은 틀에 들어갑니다.

논문은 임의의 텐서 C∈F^{n×n×n}이 n차원 대수를 정의하며, 이 텐서를 구조 텐서로 다루면 대수의 성질을 텐서 방정식으로 표현할 수 있다고 봅니다. 따라서 질문은 구조 텐서의 어떤 성질이 그로킹 시점과 일반화에 영향을 주는지로 좁혀집니다.

## 구조 텐서로 표현한 학습 설정

논문은 기저를 고정한 n차원 대수의 곱셈을 구조 텐서 C\*로 표현합니다. 입력은 대수의 두 원소 쌍 (u, v)이고, 정답은 C\*×1u×2v입니다. 모든 원소 쌍의 곱셈 결과를 모아 데이터셋을 만든 뒤, 비율 r에 따라 훈련 집합과 테스트 집합으로 무작위로 나눕니다.

유한체 F\_p 위에서는 원소를 어휘 기호로 보고 임베딩 행렬 E를 학습합니다. 인코더로는 MLP, LSTM, Transformer를 사용하고, 그 위에 선형 분류기를 둡니다. 훈련 목적은 평균 교차 엔트로피 손실을 최소화하는 것입니다. 군의 경우 Cayley 표를 같은 방식으로 학습하는 것이 군 대수의 학습과 같은 문제로 옮겨 집니다.

## 표현 품질과 테스트 정확도의 관계

논문은 학습된 층의 특징에 최소제곱 쌍선형 모델을 맞추고, 그 적합도를 코사인 유사도 A\_rep으로 측정합니다. 이 값은 모델이 대수 구조와 정렬된 표현을 얼마나 학습했는지를 나타내는 지표로 쓰입니다. 실험은 F\_7 위의 복소수 대수에서 수행되었습니다.

그 결과 낮은 데이터 영역에서는 A\_rep이 높아질수록 테스트 정확도도 함께 증가했습니다. 반면 Transformer의 임베딩 층(층 0)에서는 A\_rep이 테스트 정확도와 함께 변하지 않았습니다. 논문은 이 차이를 임베딩과 비임베딩 층이 공유되는 구조와 연결해 해석하지만, 이 차이를 완전히 설명하지는 않았다고 밝힙니다.

![Figure 10: Generalization accuracy as a function of representation quality for different training data size ( r) and model layers (0 for first layer,1for the s…](https://refivu.com/papers/1a9d41cf-f0ae-4523-ac62-8bb78fcc5e45/figures/figure-fe24beb0def6f3868662bc32902381c8.png?thumb=512)

**Figure 10** .Generalization accuracy as a function of representation quality for different training data size ( r) and model layers (0 for first layer,1for the second, etc.) for a LSTM:A test increases withA rep in a low-data regime.

[원문](https://arxiv.org/abs/2602.19533v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pascal Jr Tikeng Notsawo, Guillaume Dumas, Guillaume Rabusseau · Grokking Finite-Dimensional Algebra · 원문 그림 인용 · 원본 PDF 35쪽에서 그림 영역을 추출했습니다.

## 대수 성질과 구조 텐서 특성에 따른 그로킹 지연

복소수 대수에서 구조 텐서의 한 곱셈 관계를 바꾸면 그로킹 지연이 크게 변했습니다. 이는 구조 텐서 안의 개별 항이 일반화 동역학에 직접 영향을 준다는 관찰입니다.

![Figure 1: (a)Grokking (non-trivial ∆tgen =t 4 −t 2) on a 2-layer MLP with ReLU activation trained to learn multiplication in the algebra of complex numbers ove…](https://refivu.com/papers/1a9d41cf-f0ae-4523-ac62-8bb78fcc5e45/figures/figure-48ca7db9c7f34459802896009a39af08.png?thumb=512)

**Figure 1** .(a)Grokking (non-trivial ∆tgen =t 4 −t 2) on a 2-layer MLP with ReLU activation trained to learn multiplication in the algebra of complex numbers over the field F7 =Z/7Z , where (a+bi)(c+di) =ac+bdi 2 +(ad+bc)i and i2 =−1≡6mod7 . (b)Histogram of grokking delay ∆tgen under single modifications of the multiplication rules of complex numbers in F7, where each perturbation consists in changing the outcome of one multiplication relation (e.g., replacingi 2 =−1withi 2 = 1).

[원문](https://arxiv.org/abs/2602.19533v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pascal Jr Tikeng Notsawo, Guillaume Dumas, Guillaume Rabusseau · Grokking Finite-Dimensional Algebra · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

n=2, p=7 설정에서 결합적, 교환적, 단위원 성질의 조합별로 텐서를 샘플링한 결과, 결합적이면서 교환적이고 단위원이 없는 범주가 가장 쉽게 학습되었고 테스트 손실도 낮았습니다. 단위원을 요구하면 표현에 추가 제약이 생겨 학습이 지연된다는 것이 논문의 해석입니다. 구조 텐서의 모드-3 랭크 r(3)과 희소성 s가 커질수록 테스트 손실과 그로킹 시점이 증가했습니다. 희소성은 표준 기저에서 정의된 값이므로 기저에 따라 달라지는 성질입니다.

## 적용 범위와 남은 질문

주요 실험은 n=2이고 체가 F\_7인 설정에 제한되어 있으므로, 구조 텐서 공간 전체에 대한 일반화에는 한계가 있습니다. 논문은 n=4의 행렬 대수와 상삼각 행렬 대수를 추가로 다루었지만, 더 큰 대수와 실제 과제로의 확장은 남은 과제로 남겨 둡니다.

실수체에서는 구조가 있는 대수가 측도 0의 다항식 조건으로 정의되므로 무작위 샘플은 거의 확실히 퇴화된 대수가 됩니다. 이 때문에 실수 설정에서 체계적 실험을 하기 어렵다는 것이 논문의 설명입니다. 따라서 논문의 주요 실험은 유한체 설정에 초점을 둡니다.

## 논문 정보

- **저자**: Pascal Jr Tikeng Notsawo, Guillaume Dumas, Guillaume Rabusseau
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 2월 23일
- **등록일**: 2026년 10월 29일
- **수정일**: 2026년 5월 13일
- **버전**: v2
- **arXiv**: 2602.19533
- **분류**: cs.LG · cs.AI · math.RA
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2602.19533v2) · [원문 PDF ↗](https://arxiv.org/pdf/2602.19533v2)

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

## 초록

This paper investigates the grokking phenomenon, which refers to the sudden transition from a long memorization to generalization observed during neural networks training, in the context of learning multiplication in finite-dimensional algebras (FDA). While prior work on grokking has focused mainly on group operations, we extend the analysis to more general algebraic structures, including non-associative, non-commutative, and non-unital algebras. We show that learning group operations is a special case of learning FDA, and that learning multiplication in FDA amounts to learning a bilinear product specified by the algebra's structure tensor. For algebras over the reals, we connect the learning problem to matrix factorization with an implicit low-rank bias, and for algebras over finite fields, we show that grokking emerges naturally as models must learn discrete representations of algebraic elements. This leads us to experimentally investigate the following core questions: (i) how do algebraic properties such as commutativity, associativity, and unitality influence both the emergence and timing of grokking, (ii) how structural properties of the structure tensor of the FDA, such as sparsity and rank, influence generalization, and (iii) to what extent generalization correlates with the model learning latent embeddings aligned with the algebra's representation. Our work provides a unified framework for grokking across algebraic structures and new insights into how mathematical structure governs neural network generalization dynamics.

## 원문 인용

Pascal Jr Tikeng Notsawo, Guillaume Dumas, Guillaume Rabusseau (2026). Grokking Finite-Dimensional Algebra. arXiv:2602.19533v2. https://arxiv.org/abs/2602.19533v2

**BibTeX**

```
@misc{notsawo2026grokking,
  title = {{Grokking Finite-Dimensional Algebra}},
  author = {Pascal Jr Tikeng Notsawo and Guillaume Dumas and Guillaume Rabusseau},
  year = {2026},
  eprint = {2602.19533},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.19533v2}
}
```

## 다른 논문 해설

- [PACER: Acyclic Causal Discovery from Large-Scale Interventional Data](https://refivu.com/papers/e006328f-4b31-464d-b79d-0fd4f21eb3e1-pacer-acyclic-causal-discovery-from-large-scale.md)
- [What if Tomorrow is the World Cup Final? Counterfactual Time Series Forecasting with Textual Conditions](https://refivu.com/papers/cba0da79-ad29-4fb5-851f-756f309cffc1-what-if-tomorrow-is-the-world-cup-final.md)
- [Shapley Neuron Values for Continual Learning: Which Neurons Matter Most?](https://refivu.com/papers/97f97ffc-ebf7-4a05-b87b-c78af8edd215-shapley-neuron-values-for-continual-learning-which-neurons.md)
- [M2PDE: Compositional Generative Multiphysics and Multi-component PDE Simulation](https://refivu.com/papers/5678c84a-6969-4a55-abfa-751b8b379551-m2pde-compositional-generative-multiphysics-and-multi.md)
- [AutoAL: Automated Active Learning with Differentiable Query Strategy Search](https://refivu.com/papers/59e76c50-14a7-4d9a-b1a0-48bb6988c790-autoal-automated-active-learning-with-differentiable-query.md)
- [Preserving AUC Fairness in Learning with Noisy Protected Groups](https://refivu.com/papers/f3251feb-7418-4327-88ab-b699211b3490-preserving-auc-fairness-in-learning-with-noisy-protected.md)
- [Preserve-Then-Quantize: Balancing Rank Budgets for Quantization Error Reconstruction in LLMs](https://refivu.com/papers/ff60e1eb-f2ba-469b-9e03-e8aac23e03fa-preserve-then-quantize-balancing-rank-budgets-for.md)
- [VIPO: Value Function Inconsistency Penalized Offline Reinforcement Learning](https://refivu.com/papers/5ec32370-b33e-491f-b790-74612637a085-vipo-value-function-inconsistency-penalized-offline.md)
- [Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics](https://refivu.com/papers/b3f94b4a-113a-4402-a109-5c6d56da953c-understanding-catastrophic-forgetting-in-lora-via-mean-field.md)
- [Reading the Cell, Designing the Cure: Perturbation-Conditioned Molecular Diffusion for Function-Oriented Drug Design](https://refivu.com/papers/5a2fdaa3-0f23-4c9f-a34e-f5df2eae6afd-reading-the-cell-designing-the-cure-perturbation-conditioned.md)
- [What Information Matters? Graph Out-of-Distribution Detection via Tri-Component Information Decomposition](https://refivu.com/papers/1d49c82f-0bfb-46e1-90ad-fa428f1c0ca3-what-information-matters-graph-out-of-distribution-detection.md)
- [LangPrecip: Language-Aware Multimodal Precipitation Nowcasting](https://refivu.com/papers/09b8370f-0f82-4284-8d82-7da5647812e9-langprecip-language-aware-multimodal-precipitation.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/1a9d41cf-f0ae-4523-ac62-8bb78fcc5e45-grokking-finite-dimensional-algebra)
