Derivative-Free Neural Network Optimization: MNIST Case [R]
![Derivative-Free Neural Network Optimization: MNIST Case [R]](/_next/image?url=https%3A%2F%2Fpreview.redd.it%2Fte5dm6f9sy6h1.png%3Fwidth%3D140%26height%3D106%26auto%3Dwebp%26s%3D9a10d27cdf09a1a73927311e432b19fd25a9d8b4&w=3840&q=75)
| A direct optimization test was conducted on a neural network for MNIST image classification. The network features a 784-32-10 architecture with a total of 25,450 continuous parameters (weights and biases). Instead of employing backpropagation or gradient information, the parameters were optimized using MDP, a Derivative-Free Optimization method. The objective was to directly minimize the Cross-Entropy Loss on a subset of 5,000 training images. Final evaluations were performed on independent validation and test sets. In the best run, MDP achieved an objective loss of 0.0004083, a validation accuracy of 93.7%, and a test accuracy of 93.4%. These results outperform the baseline established by Adam, which achieved a final loss of 0.002945, a validation accuracy of 91.8%, and a test accuracy of 91.7% using the same network architecture. Notably, this optimization was successfully performed over a 25,450-dimensional search space, achieving convergence across 1,000,000 function evaluations without relying on gradients or population-based methods. The code for this test, along with other Python implementation examples, is available in the examples folder of the official project repository: [link] [comments] |
Want to read more?
Check out the full article on the original site