A Globally Convergent Algorithm for Neural Network Parameter Optimization Based on Difference-of-Convex Functions

Daniel Tschernutter, Mathias Kraus, Stefan Feuerriegel

Introduction

Training neural networks remains one of the most significant challenges in machine learning due to the highly non-convex and non-differentiable nature of their loss landscapes. Standard optimization techniques, such as Stochastic Gradient Descent (SGD) and Adam, are local search methods. While effective in many scenarios, they are notoriously sensitive to initial weight configurations and require extensive hyperparameter tuning—such as learning rates and momentum—to achieve convergence.

This paper introduces DCON, a novel optimization framework designed for single-hidden-layer neural networks. By reformulating the training objective as a "Difference-of-Convex" (DC) functions problem, the authors provide a solver that is globally convergent. Unlike traditional methods, DCON reaches a stable solution regardless of initialization and operates without the need for manual hyperparameter tuning.

The Optimization Challenge

The difficulty in training neural networks stems from the Mean Squared Error (MSE) loss function when paired with non-linear activations like the Rectified Linear Unit (ReLU). This combination results in a high-dimensional landscape filled with local minima and saddle points. While theoretical research into "over-parameterized" networks suggests that massive models may be easier to optimize, these findings often do not translate to practitioners working with smaller architectures or mid-sized datasets. DCON aims to bridge this gap by providing ironclad convergence guarantees for standard regression tasks.

The DCON Methodology

The DCON algorithm departs from gradient-based steps by exploiting the mathematical structure of the neural network objective. Its architecture is built upon three pillars:

  1. Difference-of-Convex (DC) Decomposition: The authors demonstrate that the MSE loss for a single-hidden-layer network can be mathematically decomposed into the difference between two convex functions ($f = g - h$). While the overall function $f$ is non-convex, the individual components $g$ and $h$ are convex and manageable.
  2. Block Coordinate Descent (BCD): Rather than updating all parameters simultaneously, DCON partitions weights into discrete "blocks" (e.g., weights associated with a specific neuron). The algorithm iteratively solves a sub-optimization problem for each block while keeping others fixed.
  3. Tailored DC Algorithm (DCA) with ADMM: For each parameter block, the algorithm linearizes the concave portion of the problem and solves the resulting convex sub-problem. To ensure this is computationally viable, the authors developed a specialized solver based on the Alternating Direction Method of Multipliers (ADMM), optimized for execution on GPUs.

By solving these structured sub-problems to near-optimality, DCON eliminates the need for a learning rate entirely, as the step size is inherently determined by the sub-problem's geometry.

Theoretical Foundations

A key contribution of this work is the proof of global convergence. Utilizing the Kurdyka-Łojasiewicz (KŁ) property—a mathematical framework describing function behavior near critical points—the authors prove that the sequence of parameters generated by DCON will always converge to a stable configuration. This moves the field away from the "Lottery Ticket Hypothesis," which suggests success depends on a lucky random initialization. Furthermore, the algorithm exhibits linear convergence, and in certain training phases, it demonstrates "super-linear" behavior, closing in on solutions significantly faster than first-order gradient methods.

Experimental Evaluation and Results

The authors benchmarked DCON against the Adam optimizer using nine UCI regression datasets (ranging from 100 to 1,000 samples) and the MNIST dataset (60,000 samples) adapted for a one-vs-all regression task.

Training Performance

DCON consistently outperformed Adam in training efficiency. Across 27 distinct combinations of datasets and network architectures, DCON improved the training MSE by an average factor of 1.54. In the most notable case (Dataset DS6), DCON achieved a training loss 12 times lower than that of Adam.

Generalization and Scalability

The superior training performance translated directly into better test-set generalization. For smaller networks (10 neurons), DCON outperformed Adam’s test MSE by an average of 61%. Even on the larger MNIST dataset, DCON demonstrated scalability and the ability to find deeper minima than standard local searchers.

Limitations and Future Directions

While DCON represents a significant theoretical and practical advancement, it currently faces three primary limitations:

  • Architectural Constraints: The current derivation is limited to single-hidden-layer networks. While a "greedy layer-wise" approach can extend this to deeper architectures, a native multi-layer DC decomposition remains an open research question.
  • Computational Cost: Each DCON epoch is more computationally expensive than an SGD epoch because it involves solving quadratic programs. It is currently best suited for datasets up to approximately 10,000 samples.
  • Memory Bottlenecks: The GPU-accelerated ADMM solver requires Singular Value Decomposition (SVD) of large matrices, which can limit the sample sizes that can be processed on standard hardware.

Conclusion

DCON offers a robust alternative to gradient descent for single-hidden-layer networks, providing a mathematically grounded approach to optimization that bypasses the pitfalls of hyperparameter tuning and initialization sensitivity. By exploiting the DC structure of neural networks, it sets a new benchmark for convergence reliability in small-to-mid-scale regression tasks.

Summary updated

BibTeX
@article{tschernutter2024globally,
  author = {Daniel Tschernutter and Mathias Kraus and Stefan Feuerriegel},
  title = {{A Globally Convergent Algorithm for Neural Network Parameter Optimization Based on Difference-of-Convex Functions}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=rM7WlhW6wI},
}
Figure