NeurIPS 2026QuestionsPapersAreasAboutMarkdown

PTorch: Narrowing the Gap Between Projection and Gradient-Based Learning

Jeff Cyuzuzo Jambé, Jan Quan, Panagiotis Patrinos

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Neural Network Training Dynamics · Type: new method · Keywords: projection-based optimization, gradient-free learning, PyTorch autograd, MLP scaling, vanishing target theorem, memory-efficient projections

Areas: Optimization & Algorithms › Optimization Dynamics › Optimization methods

Summary

PTorch is a projection-based framework built on PyTorch's autograd engine that reduces computational overhead and improves scaling, making it competitive with gradient-based methods on shallow MLPs for MNIST and CIFAR-10.

Explained to a 5-year-old

Some computers learn by trying many guesses and seeing which works best. Other computers learn by moving points straight to the correct answer without guessing. The new idea makes this second kind of learning faster and uses less memory. It does this by using the computer's built-in tool that normally helps with guesses. It also adds a trick that smooths out the learning process.

Explained to a 5-year-old, longer

Some computers learn by trying many guesses and seeing which works best. Other computers learn by moving points straight to the correct answer without guessing. The paper makes this second kind of learning faster and uses less memory. It does this by using the computer's built-in tool that normally helps with guesses. It also adds a trick that smooths out the learning process. And it uses a smarter way to store the information so it doesn’t need much space. With these improvements, the computer can solve picture puzzles like handwritten numbers. It also works on simple color drawings used in tests. The researchers noticed that when the puzzles have many layers, the learning hint becomes weaker. This is like a problem where the instructions get lost in a long chain. They showed this effect with a reasoning that the hint fades as the layers get deeper. Overall, this makes learning without guessing more useful for everyday computer tasks.

For a technical reader

The framework uses PyTorch's autograd engine to perform projection updates directly, reducing overhead. It adds nonlinear relaxation and memory-efficient projections to improve convergence and scaling. Experiments on MNIST and CIFAR-10 show performance on par with gradient-based methods for shallow MLPs. A theoretical analysis reveals a vanishing target effect in deeper layers. The approach aims to make gradient-free optimization practical for larger models.

Problem

Projection-based optimization methods are gradient-free alternatives to gradient-based learning, but they often suffer from high computational costs and poor scaling with depth.

Method

The approach builds on PyTorch's autograd engine to implement projection updates directly, incorporates nonlinear relaxation to improve convergence, and uses memory-efficient projections to reduce computational overhead. It also includes techniques to mitigate the vanishing learning signal in deeper layers.

Results

The approach achieves performance comparable to gradient-based methods on shallow MLPs for MNIST and CIFAR-10, and demonstrates the vanishing target phenomenon in deeper networks.

Contributions

It introduces a projection-based framework that leverages PyTorch's autograd engine to lower computational overhead and improve scaling, adds nonlinear relaxation and memory-efficient projections, and provides a theoretical analysis of vanishing learning signals in projection-based training.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction