[Paper Review] Understanding symmetries in deep networks
This paper proposes constraining convolutional filter weights to the unit-norm manifold to resolve complex symmetries in deep networks that hinder standard SGD optimization. By enforcing unit-norm constraints via manifold-constrained SGD, the method improves test accuracy on MNIST and SegNet without sacrificing computational efficiency, outperforming standard batch normalization and baseline SGD with unit-normalized initialization.
Recent works have highlighted scale invariance or symmetry present in the weight space of a typical deep network and the adverse effect it has on the Euclidean gradient based stochastic gradient descent optimization. In this work, we show that a commonly used deep network, which uses convolution, batch normalization, reLU, max-pooling, and sub-sampling pipeline, possess more complex forms of symmetry arising from scaling-based reparameterization of the network weights. We propose to tackle the issue of the weight space symmetry by constraining the filters to lie on the unit-norm manifold. Consequently, training the network boils down to using stochastic gradient descent updates on the unit-norm manifold. Our empirical evidence based on the MNIST dataset shows that the proposed updates improve the test performance beyond what is achieved with batch normalization and without sacrificing the computational efficiency of the weight updates.
Motivation & Objective
- To identify and analyze complex weight space symmetries in modern deep networks that impair standard SGD optimization.
- To address the instability and variability in optimization trajectories caused by scale invariance and reparameterization symmetry in batch-normalized networks.
- To propose a computationally efficient, symmetry-invariant optimization method that improves generalization without modifying network architecture.
- To demonstrate that unit-norm weight constraints lead to better test performance than standard batch normalization and baseline SGD with unit-normalized weights.
Proposed method
- The authors analyze a two-layer CNN architecture (ArchBN) with convolution, batch normalization, ReLU, max-pooling, and soft-max, identifying continuous symmetries under diagonal scaling of filters.
- They show that the loss remains invariant under reparameterizations W̃₁ = αW₁ and W̃₂ = βW₂, where α and β are diagonal matrices, due to batch normalization's unit-variance property.
- To resolve this, they propose constraining all filter weights to the unit-norm manifold, transforming SGD into optimization on a Riemannian manifold.
- The proposed update rule (Table 1) performs stochastic gradient descent with projection onto the unit-norm manifold after each update, ensuring symmetry invariance.
- The method is implemented in MATLAB using Manopt and applied to MNIST and SegNet, with no additional hyperparameters like weight decay.
- The training protocol uses learning rate annealing, early stopping, and validation-based learning rate selection to ensure robust evaluation.
Experimental results
Research questions
- RQ1What types of weight space symmetries exist in standard deep networks using batch normalization, ReLU, and max-pooling?
- RQ2How do these symmetries affect the convergence and performance of standard Euclidean SGD?
- RQ3Can constraining filter weights to the unit-norm manifold improve generalization while preserving computational efficiency?
- RQ4How does the proposed symmetry-invariant optimization compare to standard batch normalization and baseline SGD with unit-normalized weights?
Key findings
- On the MNIST dataset, the proposed unit-norm (UN) update achieved a mean test error of 0.0179 ± 0.0025 for a four-layer network, outperforming balanced SGD (B-SGD) at 0.0204 ± 0.0027.
- The unit-norm method reduced test error variance compared to B-SGD, indicating more stable training across multiple runs.
- For the four-layer network, the UN update achieved the lowest mean and variance in test error, demonstrating its superiority in deeper architectures.
- The method improved performance without introducing additional hyperparameters, effectively acting as a regularizer.
- Qualitative results on SegNet for semantic segmentation showed successful training with the proposed updates, indicating scalability to larger networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.