Lune

NeurIPS2024Top-tier venue

Rethinking Deep Thinking: Stable Learning of Algorithms using Lipschitz Constraints

Jay Bear, Adam Prügel-Bennett, Jonathon S. Hare

Abstract

Iterative algorithms solve problems by taking steps until a solution is reached. Models in the form of Deep Thinking (DT) networks have been demonstrated to learn iterative algorithms in a way that can scale to different sized problems at inference time using recurrent computation and convolutions. However, they are often unstable during training, and have no guarantees of convergence/termination at the solution. This paper addresses the problem of instability by analyzing the growth in intermediate representations, allowing us to build models (referred to as Deep Thinking with Lipschitz Constraints (DT-L)) with many fewer parameters and providing more reliable solutions. Additionally our DT-L formulation provides guarantees of convergence of the learned iterative procedure to a unique solution at inference time. We demonstrate DT-L is capable of robustly learning algorithms which extrapolate to harder problems than in the training set. We benchmark on the traveling salesperson problem to evaluate the capabilities of the modified system in an NP-hard problem where DT fails to learn.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Parallel Samplers for Recurrent-Depth Models cites Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networks
  • Efficient Parallel Samplers for Recurrent-Depth Models cites Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach
  • Efficient Parallel Samplers for Recurrent-Depth Models cites End-to-end Algorithm Synthesis with Recurrent Networks: Extrapolation without Overthinking
  • Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach cites End-to-end Algorithm Synthesis with Recurrent Networks: Extrapolation without Overthinking
  • End-to-end Algorithm Synthesis with Recurrent Networks: Extrapolation without Overthinking cites Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth ApproachJonas Geiping, Sean McLeish, Neel Jain, John Kirchenbauer et al.NeurIPS 2025 · 431 citations
  2. Efficient Parallel Samplers for Recurrent-Depth ModelsJonas Geiping, Xinyu Yang, Guinan SuICML 2026 · 5 citations

Builds on3

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent NetworksAvi Schwarzschild, Eitan Borgnia, Arjun Gupta, Furong Huang et al.NeurIPS 2021 · 133 citations
  3. End-to-end Algorithm Synthesis with Recurrent Networks: Extrapolation without OverthinkingArpit Bansal, Avi Schwarzschild, Eitan Borgnia, Zeyad Emam et al.NeurIPS 2022 · 54 citations

Related papers

  1. On Logical Extrapolation for Mazes with Recurrent and Implicit NetworksBrandon Knutson, Amandin Chyba Rabeendran, Michael I. Ivanitskiy, Jordan Pettyjohn et al.AAAI 2026 · 7 citations
  2. Learning Iterative Reasoning through Energy MinimizationYilun Du, Shuang Li, Joshua B. Tenenbaum, Igor MordatchICML 2022 · 37 citations
  3. Understanding Deep Architecture with Reasoning LayerXinshi Chen, Yufei Zhang, Christoph Reisinger, Le SongNeurIPS 2020 · 14 citations
  4. Convergent Graph SolversJunyoung Park, Jinhyun Choo, Jinkyoo ParkICLR 2022 · 17 citations
  5. On Lipschitz Regularization of Convolutional Layers using Toeplitz Matrix TheoryAlexandre Araujo, Benjamin Négrevergne, Yann Chevaleyre, Jamal AtifAAAI 2021 · 31 citations
Dusk over the sea between two cliffs drawn in fine vertical lines