Toward a structural theory of learning algebraic decompositions