Can small transformers learn the language of Coxeter groups?
J. Elisenda Grigsby, Yiyao Huang, Arushi Katyal, Ryan Lin, Pranav Ramakrishnan, Weiya Wang
Abstract
The field of mechanistic interpretability is well-suited to collaborative projects between mathematicians and AI researchers. This work describes one such project. We trained a small transformer to learn the language of the Coxeter group affine A2, best known as the symmetries of the tiling of the Euclidean plane by equilateral triangles. We then formulated and proved a word-theoretic conjecture about affine A2 after observing the attention patterns of the trained model.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG, math.GR, math.RT
- Comments
- 13 pages, 13 figures, accepted as a poster at the 6th workshop on Mathematical Reasoning and AI; NeurIPS 2026, Atlanta; This version is updated from the camera-ready version which can be found at https://mathai-2026.github.io/cfp/ and https://openreview.net/forum?id=lYImtIt4tA
Related papers
Grammar Sparsity Sets How Transformers Learn Random Languages
Shared title terminologycs.CLEdgar Andres Hernandez Moreno, Francesco Cagnetta
Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models
Shared title terminologycs.CLJack T. Parley
Adapting Small Language Models to Romanized Nepali: Tokenizer Fertility, Reference Likelihood, and Generation Metrics
Shared title terminologycs.CLPujan Pant, Sagar Newpane, Hari Sitaula et al.
Compact Greek Language Models from Scratch: Pretraining 500M- and 1B-Parameter Decoder-Only Transformers
Shared title terminologycs.CLKonstantinos Perifanos, Anne Laure Poite, Giannis Tsilikas et al.
CardioLM: A multilingual suite of small language models for the cardiology domain
Shared title terminologycs.CLManuela-Daniela Danu, Miguel Rodríguez-Ortega, Alberto Becerra-Tome et al.
Different Corpora, Different Skills? A Paired Study of Small Language Models
Shared title terminologycs.CLEdoardo Vaira, Georgios Chavales, Pierre Nugues