From Symmetry to Invariance: Learning Galois Equivalent Representations in Finite Fields
Organizations: Department of Mathematics, Towson University, 7800 York Rd, Towson, MD 21204, USA
Abstract
Neural networks can learn algebraic operations from finite examples, but it remains unclear whether this ability transfers across mathematically equivalent representations of the same operation. We study this question through multiplication in finite fields under changes of basis. The Galois action organizes basis representations into orbits, and bases in the same orbit induce the same coordinate multiplication map. This structure allows us to separate learning multiplication from transferring it to basis representations that are not used for training. We examine several ways of providing or recovering the relevant orbit structure, including invariant labels, basis matrices, orbit recognition, and algebraic decomposition. Our main approach trains a model to predict the Galois action between basis representations. Repeated applications of the learned transformation are then used to construct a canonical representative for each orbit, which supports multiplication on held-out bases through exact canonical matching. This provides a concrete mechanism for converting a learned algebraic symmetry into an invariant representation that can be used for transfer.
Figures & tables
| Condition | Input | Tokens |
|---|---|---|
| No orbit label, no | ||
| Orbit label, no | ||
| , no orbit label | ||
| Orbit label | ||
| Orbit label constant tokens | ||
| Orbit label shuffled matrix |
| Split | Positive | Negative | Total |
|---|---|---|---|
| Training | |||
| Test |
| Task/condition | Hidden | Epochs | Batch | Seeds | |||
| Basis conditioned multiplication | |||||||
| Orbit label, no | 2 | 32 | 64 | 128 | 150 | 128 | 5 |
| No orbit label, no | 2 | 32 | 64 | 128 | 50 | 128 | 5 |
| , no orbit label | 2 | 32 | 64 | 128 | 800 | 128 | 8 |
| Orbit label | 2 | 32 | 64 | 128 | 400 | 128 | 8 |
| Orbit label constant tokens | 2 | 32 | 64 | 128 | 400 | 128 | 8 |
| Condition | Seeds | Training exact | Held-out exact |
|---|---|---|---|
| Orbit label, no | |||
| No orbit label, no | |||
| , no orbit label | |||
| Orbit label | |||
| Orbit label constant tokens | |||
| Orbit label shuffled matrix |
| Task | Overall train | Overall held-out | Positive held-out | Negative held-out |
|---|---|---|---|---|
| Galois orbit identification | — | — | ||
| Pairwise orbit recognition |
| Seed | Bit accuracy | Exact accuracy |
|---|---|---|
| Mean SD |
| Seed | One-step bit | One-step exact | Two-step exact | Three-step closure |
|---|---|---|---|---|
| Mean SD |
| Metric | Seed 0 | Seed 1 | Seed 2 | Seed 3 | Seed 4 | Mean SD |
|---|---|---|---|---|---|---|
| Canonicalization | ||||||
| Direct exact canonical match | ||||||
| Downstream multiplication | ||||||
| Training exact accuracy | ||||||
| Held-out exact accuracy | ||||||
| Held-out exact with recovery | ||||||
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Condition | Seeds | Train exact | Held-out exact |
|---|---|---|---|
| Orbit label, no | |||
| , no orbit label | |||
| No orbit label, no | |||
| Orbit label | |||
| Orbit label constant tokens | |||
| Orbit label shuffled matrix |
| Task | Overall train | Overall held-out | Positive held-out | Negative held-out |
|---|---|---|---|---|
| Galois orbit identification | — | — | ||
| Pairwise orbit recognition |
| Seed | Bit accuracy | Exact accuracy |
|---|---|---|
| Mean population SD |
| Metric | Accuracy |
|---|---|
| One-step bit accuracy | |
| One-step exact accuracy | |
| Two-step composition exact accuracy | |
| Three-step composition exact accuracy | |
| Four-step cycle-closure accuracy |
| Condition | Exact canonical match | Downstream train exact | Downstream held-out exact |
|---|---|---|---|
| Learned canonicalization | |||
| Ground truth canonicalization |
Invariant Representation Learning
Invariant representation learning seeks features stable to irrelevant changes while preserving information needed for prediction and transfer.
See all 227 papers