potentialpaper

Understanding the Curse of Unrolling

Sheheryar Mehmood, Florian Knoll, Peter Ochs

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We analyze the curse of unrolling, identify its underlying causes, and propose mitigation strategies.

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 on synthetic problems and investigate truncation and warm-starting in few-shot meta-learning, highlighting the dependence of their effectiveness on forward convergence and derivative accuracy.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
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.

Final justification

Final decision (accept)

The strongest review (vB89) leans accept, and its concerns are mostly fixed: Table 1's errors are corrected, the framework is now motivated with concrete examples, and new experiments show the curse also shows up in Heavy-ball and Nesterov's method, beyond what the theory formally covers.

The two reject-leaning reviews don't hold up well:

PvdF says the global Lipschitz assumption never holds for real networks — but the assumption is only on the inner fixed-point map (e.g. logistic regression on embeddings), not the full network. They also call the warm-start results a contradiction, but the theory only predicts warm-starting helps when it actually improves the initialization — which is exactly what the data shows once encoder drift is accounted for. The "incremental over Scieur et al." claim also overstates it: Scieur only handles quadratics, this paper handles general contractive maps, both AD modes, and adds a truncation theory Scieur doesn't have. Tellingly, this reviewer raised their own score from 1 to 3 and admitted the paper may be outside their expertise. 3AsU never responded to the required contribution-type correction from the program chairs, so this review should be downweighted.

The authors also caught their own bug: the meta-learning experiment wasn't properly regularized, so it didn't fully satisfy their assumptions. They owned this and are fixing it with a regularized rerun.

The theory is clean, clearly better than prior work, and honest about its limits. Accept, on condition the promised fixes (figure legend, corrected table, assumption discussion, new experiments) land in the camera-ready.

Area Chair RDfv · Meta-reviewOpenReview ↗
Read meta-review
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.

Final justification

Final decision (accept)

The strongest review (vB89) leans accept, and its concerns are mostly fixed: Table 1's errors are corrected, the framework is now motivated with concrete examples, and new experiments show the curse also shows up in Heavy-ball and Nesterov's method, beyond what the theory formally covers.

The two reject-leaning reviews don't hold up well:

PvdF says the global Lipschitz assumption never holds for real networks — but the assumption is only on the inner fixed-point map (e.g. logistic regression on embeddings), not the full network. They also call the warm-start results a contradiction, but the theory only predicts warm-starting helps when it actually improves the initialization — which is exactly what the data shows once encoder drift is accounted for. The "incremental over Scieur et al." claim also overstates it: Scieur only handles quadratics, this paper handles general contractive maps, both AD modes, and adds a truncation theory Scieur doesn't have. Tellingly, this reviewer raised their own score from 1 to 3 and admitted the paper may be outside their expertise. 3AsU never responded to the required contribution-type correction from the program chairs, so this review should be downweighted.

The authors also caught their own bug: the meta-learning experiment wasn't properly regularized, so it didn't fully satisfy their assumptions. They owned this and are fixing it with a regularized rerun.

The theory is clean, clearly better than prior work, and honest about its limits. Accept, on condition the promised fixes (figure legend, corrected table, assumption discussion, new experiments) land in the camera-ready.

1 comment
Authors · CommentOpenReview ↗

We thank the Area Chair for the careful assessment of our paper and the constructive feedback. We have carefully considered the points raised by both the reviewers and the Area Chair, and have addressed them in our responses to the corresponding reviewer comments. We have also outlined the revisions and additional experiments that will be incorporated into the manuscript to improve the exposition and strengthen the empirical evaluation.

Reviewer vB89OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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).
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.

Formatting concerns

N/A

4 comments
Authors · CommentOpenReview ↗

We thank the reviewer for the helpful comments and suggestions. Our responses are given below.

W1. The paper is built on...

Please refer to our answer to W2 of Reviewer 3AsU. We will expand the discussion of the assumptions and their applicability in the revision.

W2. The authors define the... Q1. Can you provide more...

We thank the reviewer for this valuable suggestion. We agree that the motivation for the fixed-point formulation can be made more concrete. We will revise the paper by adding illustrative examples that explicitly connect our mathematical framework to standard bilevel optimization applications such as hyperparameter optimization and meta-learning.

The common structure underlying these applications is that the lower-level optimization algorithm defines a parametric solution map through an iterative solver. Given parameters uu (e.g., hyperparameters or the parameters of a feature extractor), the lower-level algorithm generates iterates

x(k+1)=A(x(k),u),x^{(k+1)} = \mathcal{A}(x^{(k)},u),

and the converged solution x∗(u)x^{\ast}(u) is the fixed point satisfying

x∗(u)=A(x∗(u),u).x^{\ast}(u)=\mathcal{A}(x^{\ast}(u),u).

In hyperparameter optimization, uu represents the hyperparameters while x∗(u)x^{\ast}(u) denotes the trained model parameters. In our meta-learning experiments, uu corresponds to the encoder parameters and x∗(u)x^{\ast}(u) is the optimal classifier trained on the support set. Since the outer objective depends on x∗(u)x^{\ast}(u), gradient-based optimization requires the Jacobian Dx∗(u)Dx^{\ast}(u).

We agree that making these connections explicit in the main text will improve the accessibility of the paper, and we will incorporate this discussion in the revision.

W3. The section ``Experiments''... Q2. Can you provide the...

We apologize that the presentation of Figure 2 was not sufficiently clear. The meaning of the curves is already described in Appendix D.1 (paragraph beginning at line 589), but we agree that this information should also appear in the main paper. We will revise the caption and the discussion surrounding Figure 2 so that the figure becomes self-contained by explicitly identifying each curve, the dashed bounds, and the truncation indices.

W4. The paper is not clear... Q5. Can a practitioner optimize... Q6. Can you please summarize...

We thank the reviewer for raising this important point. We agree that the current manuscript should more clearly distinguish between our theoretical contributions and the practical recommendations that follow from them. We will revise the paper accordingly.

Our primary contribution is diagnostic rather than prescriptive. Specifically, the theory explains why the derivative error may initially increase even while the forward iterates converge, and identifies the factors responsible for this transient behavior. The resulting analysis provides three practical insights:

  • Forward convergence alone is not a reliable indicator of derivative accuracy. The derivative iterates may remain in the transient regime even after the optimization iterates appear well behaved.
  • The quality of the initialization and the convergence speed of the inner solver strongly influence the severity of the curse. Consequently, better initializations (e.g., successful warm-starting) and faster-converging optimization algorithms can substantially reduce the transient derivative growth.
  • Truncation provides a simple implementation strategy for mitigating the curse while simultaneously reducing reverse-mode memory usage. In modern autodiff frameworks, truncation can be implemented directly using existing stop-gradient (detach) operations without modifying the underlying optimization algorithm.

Regarding Section 4.4, we agree that the optimization problem for selecting the truncation index is primarily a theoretical result. Computing the optimal truncation index from our bound requires quantities such as the contraction rate and Lipschitz constants that are generally unavailable in practice. We will clarify that this analysis is intended to explain the trade-offs governing truncation rather than provide a universally applicable parameter-selection rule.

L1. The authors did not...

Please refer to our answer to W2 of Reviewer 3AsU. We will explicitly discuss the scope and limitations of our theoretical assumptions in the revised manuscript.

Authors · CommentOpenReview ↗

Q3. The conclusion from Table 1... Q4. For Table 1, is the model...

We thank the reviewer for drawing our attention to this part of the experimental presentation. Table 1 and its accompanying discussion contain two issues that we will correct in the revision. First, several entries in Table 1 contain transcription errors; the corresponding complete results in Tables 2 and 3 of the appendix are correct. Second, Table 1 reports “warm-started” results for Epoch 1, although warm-starting is not available in the first epoch because no solution from a preceding epoch exists. Those entries should therefore be marked as N/A. For clarity, the corrected results are reproduced below.

Yes, T=0T=0 denotes differentiation through all iterations without truncation, whereas T=150T=150 denotes the truncation strategy defined in Section 4.3. The meta-training loop was run for five epochs; we report Epochs 1, 2, and 5 to illustrate its behavior at different stages of training.

Forward Errors:

Epoch T=0T=0 (No Warm) T=0T=0 (Warm) T=150T=150 (No Warm) T=150T=150 (Warm)
1 0.518±0.2530.518 \pm 0.253 N/A 0.462±0.2450.462 \pm 0.245 N/A
2 0.058±0.0410.058 \pm 0.041 0.165±0.2210.165 \pm 0.221 0.073±0.0930.073 \pm 0.093 0.085±0.0740.085 \pm 0.074
5 0.018±0.0060.018 \pm 0.006 0.195±0.1860.195 \pm 0.186 0.021±0.0060.021 \pm 0.006 0.183±0.1260.183 \pm 0.126

Backward Errors:

Epoch T=0T=0 (No Warm) T=0T=0 (Warm) T=150T=150 (No Warm) T=150T=150 (Warm)
1 55.435±15.04355.435 \pm 15.043 N/A 46.385±14.68846.385 \pm 14.688 N/A
2 13.720±10.86613.720 \pm 10.866 17.588±12.14017.588 \pm 12.140 14.423±9.59914.423 \pm 9.599 19.882±11.68419.882 \pm 11.684
5 0.467±0.1420.467 \pm 0.142 10.509±8.31910.509 \pm 8.319 0.515±0.2390.515 \pm 0.239 9.008±3.6659.008 \pm 3.665

The relevant conclusion is that the effectiveness of both truncation and warm-starting depends on the corresponding forward optimization trajectory. Our bounds relate the derivative error to the forward-iterate error, the initialization quality, and the contraction behavior of the inner solver. They do not predict an effect tied intrinsically to a particular meta-training epoch.

Without warm-starting, the forward and backward errors decrease substantially from Epoch 1 to Epoch 5. A plausible explanation is that the initially untrained encoder produces a poorly conditioned lower-level problem, while the learned representations at later epochs lead to more favorable optimization trajectories. We will clarify this interpretation while avoiding the implication that the theorems predict a universal monotone dependence on the epoch number.

Warm-starting, however, does not improve the initialization in this experiment. At Epochs 2 and 5, it produces larger final forward errors and correspondingly larger backward errors. Thus, the experiment does not show that warm-starting is generally harmful; rather, it illustrates the condition already identified by our analysis: warm-starting is beneficial only when the previous solution is closer to the solution of the new lower-level problem than the default initialization. Here, changes in the encoder between epochs can make the preceding classifier solution a poor initialization.

Truncation also provides little improvement in this experiment. The lower-level multiclass logistic-regression problem is underdetermined and was run without ℓ2\ell_2 regularization, so it lacks the strong-convexity and contraction properties used in our theory. Its slow convergence means that the retained iterates may still have appreciable forward error, leaving truncation little opportunity to improve derivative accuracy. We will correct the interpretation in the paper and add controlled experiments with and without ℓ2\ell_2 regularization, as well as different step sizes, to isolate how conditioning and forward convergence affect the usefulness of truncation.

Reviewer vB89 · CommentOpenReview ↗

The reviewer thanks the authors for providing a detailed response to the concerns and questions raised. 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, and the reviewer leaves the final decision to the AC.

Authors · CommentOpenReview ↗

We thank the reviewer for the follow-up and appreciate the clarification that the remaining concerns can be addressed through a substantial revision. We will implement the requested changes regarding the scope of the assumptions, motivation of the fixed-point framework, experimental exposition, transcription errors, and the distinction between theoretical guarantees and practical recommendations.

To further address the concerns regarding the empirical evaluation, we provide additional experiments here:

https://anonymous.4open.science/r/neuripsrebuttal-42FE/

The repository contains three sets of experiments comparing truncated unrolling for gradient descent (GD), Heavy-ball (HB), and Nesterov's accelerated gradient (NAG). For each algorithm, we use the standard theoretically optimal step size and momentum parameters whenever available. In each case, we report the forward-iterate error and derivative errors for truncation indices T∈{0,0.2K,0.4K}T \in \{0,0.2K,0.4K\}. That is, the figures are generated using the same visualization as Figure 2 in the paper, except that, for clarity, they report only the algorithm iterate error and the derivative error.

  1. Ridge regression: We use a randomly generated problem with condition number κ≈454\kappa \approx 454. We set K=1500K=1500 for GD and NAG and K=300K=300 for HB.

  2. Logistic regression without batch normalization: We use the UCI Micromass dataset with λ=10\lambda=10, yielding an estimated condition number κ≈6×1012\kappa\approx6\times10^{12}. We use K=3000K=3000. A high-accuracy reference solution is computed using 30,000 HB iterations, reaching a relative gradient norm of approximately 5×10−85\times10^{-8}, and its derivative is computed by implicit differentiation of the optimality condition.

  3. Logistic regression with batch normalization: On the same dataset, batch normalization and λ=0.01\lambda=0.01 yield κ≈1644\kappa\approx1644. We use K=3000K=3000 for GD and NAG and K=300K=300 for HB.

These experiments provide two additional observations. First, the curse of unrolling is also visible for HB and NAG, although these accelerated methods lie outside the assumptions of our present theoretical guarantees. Truncation nevertheless mitigates the transient derivative growth empirically. Second, for the extremely ill-conditioned logistic-regression problem without batch normalization, the forward error decays too slowly for the solver to leave the transient regime within the available budget; consequently, the benefit of truncation is not visible. This reproduces and explains the behavior observed in our original meta-learning experiment. After improving the conditioning, forward convergence becomes substantially faster and the effect of truncation becomes visible again.

We will incorporate these experiments and their interpretation into the revised manuscript while clearly distinguishing the empirical observations beyond our assumptions from the scope of the formal theory.

Reviewer PvdFOpenReview ↗
Rating
3/6
Confidence
2/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

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?

Formatting concerns

None

1 comment
Authors · CommentOpenReview ↗

We thank the reviewer for the careful review and address each point below.

W1. The mathematical claims...

Please refer to our answers to W2 and Q3 of Reviewer 3AsU. We will expand the discussion of the assumptions and their applicability in the revision.

W2. Further, the experimental... Q1. Can the authors tighten...

We thank the reviewer for this valuable suggestion. We agree that the current experimental section is primarily designed to validate the theoretical predictions and therefore focuses on controlled settings. While these experiments confirm the mechanisms predicted by our analysis, we agree that a broader empirical evaluation would further strengthen the practical aspects of the paper.

To address this concern, we will substantially extend the experimental section. Specifically, we will include comparisons of gradient descent, Heavy-ball, Nesterov's accelerated gradient, and the curse-free algorithm of Scieur et al. (2022) on quadratic problems, together with additional experiments on ill-conditioned multiclass logistic regression with and without ℓ2\ell_2 regularization. For each setting, we will report Figure 2-style plots illustrating the forward and derivative errors with and without truncation. These experiments are intended to demonstrate both the scope of our theoretical analysis and the extent to which the observed transient behavior persists beyond its current assumptions.

During preparation of the revision, we identified that the lower-level logistic regression problem used in the meta-learning experiment is underdetermined because no ℓ2\ell_2 regularization was used. Consequently, the assumptions required by our theory are not fully satisfied in this experiment. We will correct this by introducing standard ℓ2\ell_2 regularization, which is common practice in machine learning and restores strong convexity of the lower-level problem. We will update both the experiment and its discussion accordingly. In addition, we will include the controlled logistic regression experiments described above to isolate the lower-level optimization problem underlying our meta-learning setting. This will allow us to investigate how the lack of strong convexity affects the curse of unrolling and whether the benefits of truncation reappear once the assumptions of our theory are restored.

Regarding hyperparameter optimization, we agree that this is another important application area. In many practical settings, however, the lower-level optimization is stochastic, which falls outside the scope of our current deterministic analysis. Understanding the effect of the curse and the effectiveness of truncation in such settings is an interesting direction for future work.

Finally, we respectfully note that the primary objective of the experimental section is not to demonstrate that truncation universally improves every practical application. Rather, it is to validate the theoretical predictions regarding the transient behavior of derivative iterates and to illustrate how the identified factors (initialization quality, convergence speed, and truncation) influence this behavior. We will revise the manuscript to make this distinction more explicit.

W3. Further, even in those...

We thank the reviewer for raising this point. We also note that truncation itself is not proposed as a new algorithmic idea. It has previously been used primarily to reduce memory usage and computational cost when differentiating through optimization algorithms (see Section 1.2). Our contribution is to explain, through a non-asymptotic analysis, why truncation can also mitigate the transient derivative growth associated with the curse of unrolling. To the best of our knowledge, this benefit of truncation was previously unobserved. Please, see also, our answer to Q6 of Reviewer vB89.

Q2. Alternatively, can they tighten...

Please see our response to Reviewer vB89 (Question 6). We agree that Section 4.4 should be presented as a theoretical characterization of the trade-offs governing truncation rather than a universally applicable parameter-selection procedure, and we will revise the paper accordingly.

L1. There should be more honest...

We agree that the relationship to Scieur et al. (2022) should be discussed more explicitly and will strengthen this discussion in the revision. While both works study derivative computation through optimization algorithms, they address complementary questions. Scieur et al. suggest using a small step size to alleviate the curse and develop a curse-free differentiation algorithm for quadratic optimization problems, whereas our contribution is a non-asymptotic analysis of the transient behavior of standard algorithm unrolling for general contractive fixed-point mappings, together with theoretical insights into truncation and warm-starting. We will revise the related work to make this distinction clearer.

Reviewer 3AsUOpenReview ↗
Rating
3/6
Confidence
2/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

Final justification

I remain my score.

Formatting concerns

No formatting concerns.

1 comment
Authors · CommentOpenReview ↗

We thank the reviewer for the thoughtful comments and address each point below.

W1. Limited and inconclusive... L1. Narrow experimental scope...

Please refer to our answer to W2/Q1 of Reviewer PvdF. We will revise the manuscript accordingly.

W2. Strong and global assumptions...

We agree that Assumptions 2.1–2.2 define the scope of our theoretical guarantees and will clarify this more clearly in the revision.

The purpose of Assumptions 2.1 and 2.2 is not to characterize every setting in which the curse of unrolling occurs. Rather, they are sufficient conditions that allow us to derive an explicit global non-asymptotic error bound and identify the transient term responsible for the curse. Outside these assumptions, the curse may still occur; however, our current proof technique no longer yields the same explicit finite-iteration estimate. In particular, local assumptions are already sufficient for the asymptotic convergence results (Remark A.3(i)). Obtaining a global finite-iteration bound from arbitrary initialization, however, requires stronger control over both the contraction behavior and the variation of the Jacobians along the trajectory.

Classical momentum methods (e.g., Heavy-ball) fall outside Assumption 2.1, as already discussed in Remark A.1(ii). Nevertheless, we believe that the impact of our analysis extends beyond the current assumptions. To support this, we will include additional experiments demonstrating that similar transient behavior is also present for Heavy-ball and Nesterov's accelerated gradient, even though these methods are not covered by our current theoretical guarantees. We will clarify this distinction in the revision.

Finally, we will clarify that Assumption 2.2 concerns the inner fixed-point map rather than the complete neural network architecture. In our meta-learning experiments, the lower-level problem is multiclass logistic regression on learned embeddings, so the applicability of the assumptions should be interpreted at the level of the lower-level solver rather than the encoder network.

W3. No direct comparison with...

We agree that the wording in the abstract may suggest a practical comparison between algorithm unrolling and implicit differentiation, whereas our experiments primarily use implicit differentiation as a reference for evaluating the accuracy of the gradients obtained by unrolling. We will revise the wording to make this distinction clearer.

Our objective in this work is to understand the transient behavior of derivative iterates produced by algorithm unrolling. Implicit differentiation plays a complementary role by providing the reference Jacobian (or a highly accurate approximation thereof) against which the unrolled derivatives are compared. Consequently, our experiments focus on analyzing the behavior of unrolling rather than benchmarking implicit differentiation as a competing optimization strategy.

Q1. How does the truncation...

We thank the reviewer for suggesting this comparison. We will include comparisons with the curse-free algorithm of Scieur et al. (2022) in the revised experimental section for the settings where their method is applicable. The two approaches are complementary rather than directly comparable. Scieur et al. derive a curse-free differentiation algorithm for quadratic optimization, whereas our work analyzes standard algorithm unrolling for general nonlinear contractive fixed-point mappings. We will revise the discussion of the related work to better emphasize this distinction and more clearly position our contribution relative to Scieur et al., (2022).

Q2. Have the authors considered...

We believe this is a particularly promising direction for future work because it naturally builds upon the mechanisms identified by our analysis. Our results identify initialization quality and convergence speed as the key factors governing the severity of the curse, suggesting that learned warm-start or learned optimization strategies could exploit precisely these mechanisms.

Q3. Do the authors have...

Although accelerated methods fall outside the assumptions used in our analysis, they provide an important empirical test of whether the observed transient behavior extends beyond the current theory. We will include experiments demonstrating that the curse of unrolling is also present for Heavy-ball and Nesterov's accelerated gradient and that truncation remains effective in mitigating this transient behavior. These experiments are intended to illustrate the broader empirical relevance of the phenomenon while clearly distinguishing it from the scope of our theoretical guarantees.

As for stochastic gradient methods, our current analysis is restricted to deterministic optimization algorithms and therefore does not directly apply to SGD and its variants which will be an interesting direction for future work.

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

Missing a submission?

Loading the discussion…