Enforcing Idempotency in Neural Networks
Nikolaj Banke Jensen, Jamie Vicary
Abstract
In this work, we propose a new architectureagnostic method for training idempotent neural networks. An idempotent operator satisfies f (x) = f (f (x)), meaning it can be applied iteratively with no effect beyond the first application. Some neural networks used in data transformation tasks, such as image generation and augmentation, can represent non-linear idempotent projections. Using methods from perturbation theory we derive the recurrence relation K ′ ← 3K 2 -2K 3 for iteratively projecting a real-valued matrix K onto the manifold of idempotent matrices. Our analysis shows that for linear, single-layer MLP networks this projection 1) has idempotent fixed points, and 2) is attracting only around idempotent points. We give an extension to non-linear networks by considering our approach as a substitution of the gradient for the canonical loss function, achieving an architecture-agnostic training scheme. We provide experimental results for MLP-and CNN-based architectures with significant improvement in idempotent error over the canonical gradient-based approach. Finally, we demonstrate practical applications of the method as we train generative networks on MNIST and CelebA successfully using only a simple reconstruction loss paired with our method.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on3
- projUNN: efficient method for training deep networks with unitary matricesBobak Toussi Kiani, Randall Balestriero, Yann LeCun, Seth LloydNeurIPS 2022 · 42 citations
- Idempotent Generative NetworkAssaf Shocher, Amil Dravid, Yossi Gandelsman, Inbar Mosseri et al.ICLR 2024 · 24 citations
- Does SGD really happen in tiny subspaces?Minhak Song, Kwangjun Ahn, Chulhee YunICLR 2025
Related papers
- Align, then memorise: the dynamics of learning with feedback alignmentMaria Refinetti, Stéphane d'Ascoli, Ruben Ohana, Sebastian GoldtICML 2021 · 47 citations
- Preserving Plasticity in Continual Learning via Dynamical IsometryAndries Rosseau, Robert Müller, Ann NoweICML 2026 · 1 citation
- JFB: Jacobian-Free Backpropagation for Implicit NetworksSamy Wu Fung, Howard Heaton, Qiuwei Li, Daniel McKenzie et al.AAAI 2022 · 123 citations
- Unified Gradient-Based Machine Unlearning with Remain Geometry EnhancementZhehao Huang, Xinwen Cheng, JingHao Zheng, Haoran Wang et al.NeurIPS 2024 · 57 citations
- IDInit: A Universal and Stable Initialization Method for Neural Network TrainingYu Pan, Chaozheng Wang, Zekai Wu, Qifan Wang et al.ICLR 2025
