acceptodds
Published as a conference paper at NeurIPS 2026

Understanding the Curse of Unrolling

Sheheryar Mehmood, Florian Knoll, Peter Ochs

Abstract

Algorithm unrolling is ubiquitous in machine learning, particularly in hyperparameter optimization and meta-learning, where Jacobians of solution mappings are computed by differentiating through iterative algorithms. Although unrolling is known to yield asymptotically correct Jacobians under suitable conditions, recent work has shown that the derivative iterates may initially diverge from the true Jacobian, a phenomenon known as the curse of unrolling. In this work, we provide a non-asymptotic analysis that explains the origin of this behavior and identifies the algorithmic factors that govern it. We show that truncating early iterations of the derivative computation mitigates the curse while simultaneously reducing memory requirements. Finally, we validate our theoretical findings both on synthetic problems and in a meta-learning setting for few-shot classification, where we study the behavior of gradients obtained via unrolling and implicit differentiation.

Keywords:
Paris, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 1%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.33 over 3 reviews, above 0% of the others.
Reviewer_vB89OpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies the convergence of the Jacobian of a fixed-point mapping computed through unrolling the fixed-point iterations. Specifically, the authors consider a mapping u↦x⋆(u)u \mapsto x^{\star}(u) that maps a parameter uu to a fixed point x⋆(u)x^{\star}(u) that solves x=A(x,u)x = \mathcal{A}(x, u) for a smooth mapping A\mathcal{A}. Under Lipschitzness assumptions, the main result (Theorem 2.5) shows the non-asymptotic convergence behavior of the Jacobian Dxk(u)D x^{k}(u) to Dx⋆(u)D x^{\star}(u) where the iterates xk(u)x^{k}(u) are generated by the fixed-point iterations and the derivatives Dxk(u)D x^{k}(u) is calculated by forward-mode and reverse-mode automatic differentiation (AD). The analysis indicates two regimes on error: the transient regime where the error increases and the convergence regime where the error decreases. The authors propose and analyze a truncation strategy to mitigate the increase of error in the transient regime. Numerical experiments on simple quadratic problems and meta-learning problems are provided to support the theoretical findings.

Strengths and weaknesses

Strengths:

  • The theoretical results are well-organized and the main results are clearly presented and clean. The results look reasonable to the reviewer, but the reviewer does not check each proof in full details.
  • Section 3 provides a throrough discussion on the implications of the theoretical results, which helps the readers understand the results and their implications.

Weaknesses:

  • The paper is built on standard but potentially strong assumptions such as Lipschitz continuity and boundedness on all derivatives mappings. As a person outside the field, I am not sure whether these assumptions are meaningful enough in practice. It would be helpful if the authors can provide more discussions on the assumptions. Even if the assumptions might not hold in practice, it is helpful for the readers to understand when the results can be applied and when they cannot be applied.

  • The authors define the mathematical problem clearly but lack of detailed motivation for the problem. It is not clear to the reviewer how to formulate hyperparameter optimization or meta-learning problems can be formulated under the mathematical framework defined in the paper. It would be helpful if the authors can provide a few examples to motivate the problem and the mathematical framework.

  • The section ``Experiments'' is rough and hard to follow (See Questions for more details). Both Figure 2 and Table 1 are not well explained and are not clear to me how to read them.

  • The paper is not clear about whether there are any implementable suggestions for practitioners that can be drawn from the theoretical results. For example, Section 4.4 mentions optimizing the truncation index, but the appendix also mentions that it requires knowing some constants (e.g. convergence rate, Lipschitz constants) that are in general unknown. It would be helpful if the authors can be clear about which piece of advice is implementable and which piece of advice is pure theoretical.

Questions
  • Can you provide more details on how the problems of hyperparameter optimization and meta-learning fit into the fixed-point framework defined in the paper? I appreciate some concrete examples to help me understand the motivation and the implications of the theoretical results.

  • Can you provide the legend for Figure 2? What are the black dashed lines with circles/crosses labels? What does each colored line represent? I'm not sure I understand how to read the figure. I would appreciate if you can provide more details on how to read the figure and how they support the theoretical results.

  • The conclusion from Table 1 is not clear to me. Does T=0T=0 means no truncation, and T=150T=150 indicates truncation? The text mentions that forward pass is still in the transient regime due to ill-conditioning, but why does this matter for the reading of Table 1? What is the conclusion of whether/when to use warm-starting?

  • For Table 1, is the model trained for 5 epochs only? Does any of the theorems suggest different behavior at different epochs of training? Table 1 seems to suggest different behaviors at early v.s. later epochs of training (e.g., when T=0T=0, early epochs benefit from warm-starting; early epoch has consistently smaller error than later epochs). Can you explain more details regarding this difference across epochs?

  • Can a practitioner optimize the truncation index as desctibed in Section 4.4?

  • Can you please summarize the main takeaways for the practioners from your theoretical results? Are there any actions that practitioners can take to improve the accuracy of the Jacobian estimation?

Limitations
  • The authors did not mention any limitations of their theoretical results. For example, when will the results apply (i.e., on which problems the assumptions will hold).
Paper formatting concerns

N/A

Final justification

Most of the reviewer's concerns have been addressed. However, the reviewer believes the paper requires a major revision to: clearly define the scope and limitations of the theoretical analysis/assumptions; motivate the mathematical framework using the hyperparameter learning example; improve the Experiments section and move necessary explanation from Appendix to main paper; correct transcription errors; clarify the implications of the experiments; and clearly distinguish the theoretical contribution from the practical recommendations.

The overall rating of 4 is contingent on a major revision addressing the points above.

Reviewer_PvdFOpenReview ↗
Rating
3
Clarity
3
Confidence
2
Originality
3
Quality
2
Significance
3
Read review
Summary

The authors present a combined theoretical-practical study of the curse of unrolling, wherein errors in the evaluation of a Jacobian for the model/solution mappings explode due to the iterative-compositional nature of modern ML architectures. They present bounds and asymptotic limits for quantities that act as control for the errors that may result out of this process and how they may evolve. Numerical tests are done to validate the theory and test the proposed applications and heuristics.

Strengths and weaknesses

Strength: The work focuses on a problem of clear and significant practical interest (fixed point setting subsumes gradient based methods, truncation/memory reduction/cost reallocation are of significant concern in any ML optimization, etc). It is written with clarity, well-notated, and contains reasonably thorough appendices.

Weaknesses: The mathematical claims are either too weak or resting on assumptions that are too powerful. Assumption 2.1 rules out momentum based methods, while 2.2 requires global Lipschitness - a property that never holds for even toy Neural Networks.

Further, the experimental validation is even weaker - the work claims to be building a robust theory applicable across a large range of regimes, with potentially versatile applications. In contrast, the methods are judged on a sparse set of essentially toy models/tasks.

Further, even in those limited regimes, the empirical results (such as the warm start results during initialisation) often end up at odds with the theoretical claims. Truncation is offered as a potentially powerful tool resulting from the work but is riddled with systemic limitations to such an extent that it is finally acknowledged to be essentially subject to heuristics - which is already the state of the art on such matters.

Questions

Can the authors tighten the experimental results with a more extensive set of regimes over which their theory and heuristics are checked?

Alternatively, can they tighten the methods by which we may move rigorously choose the parameters of the mitigation strategies, instead of relying on heuristics?

Limitations

There should be more honest discussion of exactly how related this work is to the original Scieur et. al. [2022] work - to the best of my assessment, the theoretical gains are mostly incremental and the practical gains are not making a convincing case.

Paper formatting concerns

None

Final justification

The authors have responded to many of my objections with proposals that should be doable without substantially changing the work.

I have consequently raised my score up to a 3: the barrier to higher raises is the set of experimental results that need to be added to tighten the work (as the authors acknowledge themselves).

Is it possible for the authors to provide some preliminary results of the proposed experiments within the review period?

Reviewer_3AsUOpenReview ↗
Rating
3
Clarity
2
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper provides a non-asymptotic analysis of the "curse of unrolling" — the phenomenon where derivative iterates obtained by differentiating through iterative algorithms (algorithm unrolling) may initially diverge from the true Jacobian before eventually converging. This work addresses the central challenge of characterizing the transient behavior of derivative iterates in bilevel optimization settings, where the solution map is defined as a fixed point of a smooth parametric mapping. The authors establish non-asymptotic bounds that decompose the derivative error into a geometrically decaying term and a "curse term" that grows initially before decaying. They further show that truncating (equivalently, late-starting) the derivative computation by excluding early algorithm iterations from the differentiation process suppresses the curse by an additional factor of the contraction rate. The theoretical analysis is validated on synthetic quadratic problems and a meta-learning setting for few-shot classification on Omniglot.

Strengths and weaknesses

Strengths

  1. Clear and timely problem formulation. The paper addresses a practically relevant question in algorithm unrolling: why do derivative iterates behave pathologically in the non-asymptotic regime even when the underlying forward iterates converge smoothly?
  2. Connection to warm-starting. Section 5 provides an insightful bridge between truncation and warm-starting, showing that a good initialization naturally induces an implicit form of truncation by bypassing the early transient regime. This is a nice conceptual contribution.

Weaknesses

  1. Limited and inconclusive empirical validation. The experimental section is thin. The synthetic quadratic experiments (Section 6.1) are well-controlled but also quite simple — they essentially validate the theory in the same setting for which the theory was derived. The meta-learning experiments (Section 6.2) are more realistic but yield only "limited improvements" (line 301), and the authors acknowledge that "many episodes stay far from convergence" (line 302-303). The meta-learning results therefore do not convincingly demonstrate the practical utility of the proposed truncation strategy. The paper would be significantly strengthened by additional experiments on: Hyperparameter optimization benchmarks, Implicit deep learning tasks (e.g., Deep Equilibrium Models), Comparison against Scieur et al.'s curse-free algorithm.
  2. Strong and global assumptions. The theoretical results rely on global contractivity (Assumption 2.1) and global Lipschitz continuity (Assumption 2.2). While the authors discuss local relaxations in Remark 4.2(ii), they do not provide formal non-asymptotic bounds under local assumptions. In practice, many problems of interest (e.g., deep equilibrium models, neural network training) do not satisfy global contractivity, which limits the immediate applicability of the results.
  3. No direct comparison with implicit differentiation in experiments. Although the abstract mentions studying "the behavior of gradients obtained via unrolling and implicit differentiation" (line 11-12), the experimental results do not include a comparison with implicit differentiation. This comparison would be highly informative for practitioners deciding between the two approaches.
Questions
  1. How does the truncation strategy compare to Scieur et al.'s curse-free algorithm in terms of both derivative error and wall-clock time? This seems like an important baseline.
  2. Have the authors considered combining truncation with learned step sizes or learned optimizer parameters, which could jointly optimize convergence speed and curse mitigation?
  3. Do the authors have any insight into whether the curse of unrolling also manifests for accelerated methods (e.g., Nesterov, Heavy-ball) or for stochastic gradient methods? Would truncation still be effective in those settings?
Limitations

Narrow experimental scope. The empirical validation covers only one synthetic setting (quadratic least-squares) and one meta-learning task (Omniglot few-shot classification). Important application domains such as hyperparameter optimization or implicit deep learning are not empirically evaluated.

Paper formatting concerns

No formatting concerns.

Final justification

I remain my score.

Comments on the paper

1 comment
Meta-review

Meta-Review - Submission 28388: Understanding the Curse of Unrolling

Summary of the paper

The paper studies differentiation through iterative solvers (unrolling), the routine step in hyperparameter optimization and meta-learning where the Jacobian of a solution map is needed. The setting is a fixed-point map x=A(x,u)x = A(x, u) under a global contraction assumption (Assumption 2.1) and global Lipschitz and boundedness conditions on the derivatives of AA (Assumption 2.2). The main result, Theorem 2.5, bounds the forward-mode derivative error by e˙(k)(u)≤ρ(u)ke˙(0)(u)+kρ(u)k−1Γ(u)e(0)(u)\dot e^{(k)}(u) \le \rho(u)^k \dot e^{(0)}(u) + k \rho(u)^{k-1} \Gamma(u) e^{(0)}(u), which explains the transient growth known as the curse of unrolling before linear convergence sets in. Theorem 4.1 shows that truncating early iterations mitigates the curse while saving memory, Section 4.4 derives an optimal truncation index by minimizing the bound, and Section 5 interprets warm-starting as an implicit form of truncation. Experiments cover synthetic quadratic least squares (Figure 2) and few-shot Omniglot meta-learning (Table 1).

Reviewers' main points

  • Reviewer PvdF: rating 1 (Strong Reject), confidence 2. Argues the assumptions are too strong (Assumption 2.1 rules out momentum methods, Assumption 2.2 requires global Lipschitzness), the experiments are toy-scale and partly at odds with the theory (warm-start behavior), truncation ends up governed by heuristics, and the theory is incremental over Scieur et al. [2022]. Quality 1, significance 2, originality 2.
  • Reviewer vB89: rating 4 (Borderline Accept), confidence 3. Finds the theory clean, well-organized, and well-discussed (Section 3), but asks for a discussion of when the assumptions hold, concrete examples mapping hyperparameter optimization and meta-learning onto the fixed-point framework, a readable experiments section (Figure 2 legend, Table 1 interpretation), and clarity on which recommendations are implementable.

Key strengths

Both reviewers find the paper clearly written, and my own reading agrees: the main results are cleanly stated, and Section 3 gives a careful interpretation of each term in the bound (the roles of ρ(u)\rho(u), the Lipschitz constant of DADA, and the initial error e(0)(u)e^{(0)}(u)). The problem is practically important, and the paper goes beyond the asymptotic picture with a non-asymptotic bound covering both forward and reverse mode AD, a truncation analysis, a fixed-budget resource reallocation argument (Section 4.3), and a unifying view of warm-starting. The appendices are thorough and, to the paper's credit, unusually honest about limitations (Appendix B.4).

Key weaknesses and disputed points

  1. Strength of assumptions (PvdF, and more mildly vB89). Partly holds. PvdF is right that momentum falls outside the theory: Remark A.1(ii) in the appendix shows the Heavy-ball update map does not satisfy Assumption 2.1 in general, and Appendix D concedes that the Nesterov solver used in the meta-learning experiment is time-varying and outside Assumption 2.1. But PvdF's claim that global Lipschitzness "never holds for even toy Neural Networks" targets the wrong object: Assumption 2.2 applies to the inner fixed-point map, and in the paper's own meta-learning setup the inner problem is multiclass logistic regression on learned embeddings, which is smooth. The authors also note (Remark A.3(i)) that local conditions suffice for the asymptotic results. vB89's request for an explicit discussion of when the assumptions hold remains fair and easy to satisfy.
  2. Incrementality over Scieur et al. [2022] (PvdF). Does not hold at the strength claimed. Scieur et al. analyzed quadratic lower-level problems only; this paper covers general contractive nonlinear fixed-point maps, treats reverse mode as well as forward mode, and adds a truncation theory that Scieur et al. do not have. The proof technique is light (Theorem 2.5 follows from the recursion in Lemma 2.3), so one can argue the technical depth is modest, but the rating-1 criterion of "well-known results" is not met.
  3. Warm-start results at odds with theory (PvdF). Does not hold as stated. The theory ties the curse to the initial error e(0)(u)e^{(0)}(u), so warm-starting helps only when the initialization is actually better. Table 1 matches this: warm-starting helps at epoch 1 and slightly hurts at epoch 5, and Section 6.2 explains the reversal by encoder drift making the previous inner solution worse than the zero initialization. This is consistent with, not contrary to, the analysis, though it does show warm-starting is not reliably useful.
  4. Truncation reduces to heuristics (both reviewers). Holds, and the paper says so itself. Optimizing TT via the bound in (18) requires ρ(u)\rho(u) and Γ(u)\Gamma(u), which are typically unknown, and Appendix B.4 adds that static computational graphs prevent adaptive truncation. Table 1 also shows truncation can hurt late in training (backward error 9.0089.008 with T=150T = 150 versus 0.4670.467 with T=0T = 0 at epoch 5). The contribution is understanding, not a turnkey method.
  5. Experiments unclear and small-scale (both reviewers). Partly holds. Figure 2's caption does not give a legend for the colored truncation curves, exactly as vB89 says, and the reading of Table 1 is under-explained in the main text. The scale is modest: quadratics plus 5-way 1-shot Omniglot with a small CNN encoder, 5 epochs, on CPU.

Lean

leaning accept on the strength of the theory, conditional on fixing the exposition of the experiments. PvdF's rating of 1 is disproportionate after checking the paper: the momentum point is real but acknowledged by the authors, the Lipschitz objection misreads what the assumption applies to, and the warm-start "contradiction" is explained by the theory itself. vB89's 4 at confidence 3 fits the paper better: sound, clean, honest theory with genuinely rough experimental presentation and limited direct practical payoff.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.