Reproduce “Newton Losses: Using Curvature Information for Learning with Differentiable Algorithms” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Felix Petersen, Christian Borgelt, Tobias Sutter, Hilde Kuehne, Oliver Deussen, Stefano Ermon

Researchers from Stanford University, University of Salzburg, University of Konstanz, and MIT-IBM Watson AI Lab introduce Newton Losses, a method that leverages second-order curvature information from the loss function to improve the stability and performance of neural networks using differentiable algorithms. The approach addresses issues like vanishing and exploding gradients, leading to consistent accuracy improvements (e.g., over 2x for some algorithms) on tasks such as MNIST sorting and Warcraft shortest-path finding without the high computational cost of full second-order optimization.

Key insights

  • Leveraging second-order curvature information directly from the loss function effectively mitigates vanishing and exploding gradients in differentiable algorithms.
  • The method creates a smoother, more well-behaved loss landscape, facilitating more stable and effective optimization of neural networks.
  • Newton Losses provide benefits similar to second-order optimization for the loss function while maintaining the computational efficiency and generalization properties of first-order optimization for network parameters.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.