We study learning an unknown element
g of a group acting with finite orbits on a countable set, from examples
(x,gx). After a sample on
A, the consistent hypotheses are the restrictions of a coset of the pointwise stabilizer of
A, and the sample forces exactly the labels of points this stabilizer fixes; for a Galois group, they form the field generated by the data. Through this correspondence, multiclass dimensions become group invariants: the DS and graph dimensions equal the height, the Littlestone dimension the longest irredundant sequence length, and the teaching dimension the minimal base size. Among deterministic learners, symmetry makes empirical risk minimization optimal: on nondegenerate classes every consistent learner, whatever its tie-breaking, attains the optimal realizable sample complexity up to constant factors, and every consistent online learner the optimal mistake bound. Agnostically, every ERM's sample complexity exceeds the known lower bound by at most the DS-to-Natarajan ratio, up to constants. For finite Galois extensions of countable fields, the Natarajan dimension equals a group invariant, the coset-cube number, which is at least the number of complemented factors of any chief series of any subgroup. Hence the dimensions coincide for every solvable Galois group, while for the groups
A5 and
S5 of the quintic they are
2<3 and
3<4, and
A5 is the smallest group with a gap. For the Galois group
Sn of the general equation of degree
n, they coincide exactly when
n≤4, i.e., in characteristic zero, exactly when the equation is solvable by radicals; the implication is one-way, as the simple group
PSL(2,8) has no gap. For linear, orthogonal and unitary maps of
Rd or
Cd both dimensions equal
d, and a two-fibered pseudo-cube is a disjoint union of Natarajan cubes exactly when its monodromy group is abelian.