Learning words in groups: fusion algebras, tensor ranks and grokking

Maor Shutman, Oren Louidor, Ran Tessler
9/8/2025
cs.LG

No confident code implementation found for this paper.

Abstract

In this work, we demonstrate that a simple two-layer neural network with standard activation functions can learn an arbitrary word operation in any finite group, provided sufficient width is available and exhibits grokking while doing so. To explain the mechanism by which this is achieved, we reframe the problem as that of learning a particular $3$-tensor, which we show is typically of low rank.

Show full abstract

A key insight is that low-rank implementations of this tensor can be obtained by decomposing it along triplets of basic self-conjugate representations of the group and leveraging the fusion structure to rule out many components. Focusing on a phenomenologically similar but more tractable surrogate model, we show that the network is able to find such low-rank implementations (or approximations thereof), thereby using limited width to approximate the word-tensor in a generalizable way. In the case of the simple multiplication word, we further elucidate the form of these low-rank implementations, showing that the network effectively implements efficient matrix multiplication in the sense of Strassen. Our work also sheds light on the mechanism by which a network reaches such a solution under gradient descent.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shutman2025learning,
  title  = {Learning words in groups: fusion algebras, tensor ranks and grokking},
  author = {Maor Shutman and Oren Louidor and Ran Tessler},
  year   = {2025},
  eprint = {2509.06931},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.06931v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.06931.svg)](https://codeofpaper.com/paper/2509.06931)

Discussion