TL;DR
This paper introduces G-SGD, a novel optimization algorithm for ReLU neural networks that operates in a "positively scale-invariant space." By reformulating the optimization problem in this new space, G-SGD addresses a fundamental mismatch with traditional gradient descent, leading to significantly improved performance on benchmark datasets.
What Problem Does This Paper Address?
Neural networks using Rectified Linear Units (ReLUs) have a peculiar property: they are "positively scale-invariant." This means you can multiply incoming weights to a ReLU unit by a constant $c$ and divide outgoing weights by $c$, and the network's output remains unchanged. However, standard optimization algorithms like Stochastic Gradient Descent (SGD) operate in the raw weight space, which isn't scale-invariant. This mismatch can hinder effective optimization, potentially leading to slower convergence or suboptimal solutions. The authors ask: can we find a better space to optimize these networks, one that respects their inherent scale-invariance?
Methods
The core of this work is the introduction of a new optimization space called "G-space." Here's how they construct it:
- Positive Scaling Group ($\mathcal{G}$): They define a group of "positive scaling operators" that capture the scale-invariance property of ReLUs.
- Path Values as Invariants: They show that the product of weights along any "path" in the network (from input to output, potentially through hidden units) is invariant under these scaling operations. Crucially, the collection of all path values is sufficient to represent the network's behavior.
- Basis Paths and G-space: They identify a subset of "basis paths" whose values form a linearly independent set. The linear span of these basis path values defines the G-space. This G-space is positively scale-invariant and has a lower dimension than the original weight space (specifically, $m-H$, where $m$ is the number of weights and $H$ is the number of hidden units).
- G-SGD Algorithm: They then design a novel SGD variant, G-SGD, that optimizes the network's parameters directly in this G-space. This involves a "skeleton method" to identify basis paths and weights, an "inverse-chain-rule" to compute gradients in G-space, and a "weight-allocation" method to project updates back to the original weight space.
Datasets
The paper evaluates G-SGD on standard image classification benchmarks:
- CIFAR-10
- CIFAR-100
- Fashion-MNIST
Key Insights and Ideas
- The Mismatch Matters: The paper provides strong theoretical and empirical evidence that the scale-invariance of ReLUs is not just a theoretical curiosity but a property that, if ignored by optimizers, can negatively impact performance.
- Paths as Fundamental Units: By focusing on the values of paths rather than individual weights, the authors leverage a more fundamental representation of the network's function that respects its inherent symmetries.
- Dimensionality Reduction: The G-space offers a more compact representation of the network, potentially leading to more efficient optimization. The reduction in dimension ($m-H$) can be substantial in deep networks.
- G-SGD is Efficient: Despite introducing a new optimization framework, G-SGD incurs only a small computational overhead compared to standard SGD, making it practical for real-world applications.
Key Results
- Significant Performance Gains: G-SGD consistently outperforms standard SGD across various network architectures (PlainNet, ResNet) and datasets (CIFAR-10, CIFAR-100, Fashion-MNIST). For example, on CIFAR-100, G-SGD improved accuracy by up to 5.7% on PlainNet compared to SGD.
- Deeper Networks Benefit: The performance advantage of G-SGD is observed even on deeper ResNet architectures (e.g., ResNet-110), indicating its scalability.
- Comparison with Path-SGD: G-SGD also shows superior performance compared to Path-SGD, another method that considers scale-invariance, highlighting the importance of accounting for path dependencies.
Limitations and Future Work
- ResNet Invariance: The paper notes that residual connections in ResNet architectures can break the global scale-invariance, limiting the direct application of the G-space concept across the entire network. However, they show it can still be applied within residual blocks.
- Batch Normalization: The paper discusses how to adapt G-SGD for networks with batch normalization layers, but it's an area that requires careful handling due to BN's own normalization effects.
- Future Work: The authors suggest examining G-SGD's performance on larger-scale tasks and exploring its combination with other regularization techniques.
Summary updated