A neural architecture that preserves symmetry operations across transformations, enabling physically-consistent representations