Invariance can prevent overfitting and shortcut learning in Quantum Neural Networks
Giuseppe D'Ambruoso, Giovanni Gramegna, Domenico Pomarico, Giuseppe Magnifico, Cosmo Lupo
Key points
From the paper's conclusion- We compare four eight-qubit models with identical encoding, circuit structure and number of trainable parameters, and equivalent dynamical Lie algebras, and benchmark invariant implementations against non-invariant ones in terms of generalization error, robustness to shortcut learning and resilience to a realistic noise model.
Abstract
Many image classification tasks have labels that are unchanged by rotations and reflections. Equivariant quantum neural networks incorporate such symmetries by design, but the specific benefit of symmetry is difficult to isolate. Equivariant quantum circuits are usually compared with architectures that also differ in gates, structure or size. Here, we investigate the role of invariance in a controlled setting, classifying images whose labels are invariant under the dihedral group $D_4$. We compare four eight-qubit models with identical encoding, circuit structure and number of trainable parameters, and equivalent dynamical Lie algebras, and benchmark invariant implementations against non-invariant ones in terms of generalization error, robustness to shortcut learning and resilience to a realistic noise model. On four binary tasks, including MNIST and two scientific data sets of galaxies and red blood cells, the invariant models trained on a few tens of images show better generalization than non-invariant ones. Invariance also makes the models immune to orientation shortcuts: when trained with a class-dependent corner watermark, the non-invariant models learn the watermark and often drop to chance level when it is moved. We show that the gain in accuracy of invariant models persists also under a realistic noise model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Feature‐Level Analysis and Adversarial Transfer in Rotationally Equivariant Quantum Machine LearningAdvanced Quantum Technologies · 2026
- Hybrid Quantum Neural Networks with Group Averaging for Image Classification.Entropy (Basel, Switzerland) · 2026
- Quantum Graph Neural Networks: Architectures, Trainability, and ApplicationsarXiv · 2026
- Symmetry-Organised Complexity in Quantum Neural NetworksSymmetry · 2026
- QiT: Quantum-Inspired Transformer for Visual Recognition TaskarXiv · 2026
- Quantum-Inspired Hybrid Neural Networks for Neural Decoding: A Controlled Ablation Study of Learnable Quantum Sidecar IntegrationarXiv · 2026