Abstract
Traditional gradient descent methods are highly sensitive to the choice of learning rate, often requiring extensive hyperparameter tuning. This paper presents Gravilon, a novel, hyperparameter-free optimization algorithm that determines step size based on the local geometry of the loss surface. By projecting gradients onto a tangent plane relative to the function's minimum, Gravilon achieves performance competitive with state-of-the-art optimizers like Adam and Adagrad on standard image classification benchmarks without the need for manual learning rate adjustment.
Introduction
In machine learning, gradient descent is the primary mechanism for model training. However, standard Stochastic Gradient Descent (SGD) is notoriously sensitive to the learning rate. If the step size is too large, the model may fail to converge; if too small, training becomes inefficient. While adaptive optimizers such as Adam, Adagrad, and RMSProp have been developed to address this, they introduce secondary hyperparameters—such as decay rates—that still require expert tuning. Gravilon addresses this "black art" of tuning by using the geometric properties of the loss function's hypersurface to calculate an optimal step size automatically.
Methodology
The core of Gravilon is a geometric derivation that assumes the loss function $f(x)$ is non-negative and reaches its minimum at zero. The algorithm treats the optimization process as a series of geometric projections:
- Tangent Plane: Construct a hyperplane tangent to the loss surface at the current parameter point.
- Projection: Project the gradient vector into the $z=0$ plane (the target minimum).
- Intersection: Determine the point where the line in the direction of the projected gradient intersects the tangent plane.
This results in the following update rule: $$a_{t+1} = a_t - \frac{f(a_t)}{\|\nabla f(a_t)\|^2} \nabla f(a_t)$$ Unlike standard SGD ($a_{t+1} = a_t - \eta \nabla f(a_t)$), Gravilon eliminates the $\eta$ parameter, deriving the step size entirely from the ratio of the current function value to the squared magnitude of the gradient.
Experimental Setup and Datasets
The authors evaluated Gravilon using two standard computer vision benchmarks:
- MNIST: A dataset of 60,000 handwritten digits. The model used was a Multi-Layer Perceptron (MLP) featuring two hidden layers of 128 nodes each (see Figure 2).
- CIFAR-10: A dataset of 60,000 color images across 10 categories. Gravilon was tested on modern deep architectures, including PreActResNet18, ResNet18, and VGG19.
Key Results
- Accuracy and Efficiency: On MNIST, Gravilon achieved an average classification accuracy of 97.55%. It reached 95% training accuracy in approximately 325 steps, significantly faster than the 1,240 steps required by standard SGD.
- CIFAR-10 Performance: On PreActResNet18, Gravilon achieved a minimum validation loss of 0.3351 at epoch 25, remaining highly competitive with Adam (0.3225).
- Hyperparameter Independence: In MNIST trials, Gravilon required no hyperparameter tuning yet outperformed Adam and RMSProp, falling only slightly behind a perfectly tuned Adagrad.
Discussion and Limitations
Gravilon demonstrates that geometric heuristics can replace manual tuning in many scenarios. However, some limitations remain:
- Zero-Height Constraint: The method currently assumes the function minimum is zero.
- Scaling in Deep Networks: For CIFAR-10, the authors introduced a scaling parameter and momentum to stabilize training, suggesting that high-dimensional noise in deep networks may still benefit from traditional stabilization techniques.
- Theoretical Gap: While exponential convergence near local minima is proven, a global convergence theory is still under development.
Conclusion
Gravilon represents a significant step toward hyperparameter-free optimization. By leveraging the local geometry of the loss surface, it provides a robust and efficient alternative to traditional adaptive optimizers. Future work will focus on extending the method to Recurrent Neural Networks (RNNs) and more complex deep learning tasks.
Summary updated