[Paper Review] Understanding the Curse of Unrolling
The paper provides a non-asymptotic analysis of derivative iterates in algorithm unrolling, identifies factors driving the curse of unrolling, and shows that truncation or warm-starting mitigates it, with supporting experiments.
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 demonstrate that warm-starting in bilevel optimization naturally induces an implicit form of truncation, providing a practical remedy. Our theoretical findings are supported by numerical experiments on representative examples.
Motivation & Objective
- Explain the non-asymptotic origin of the curse of unrolling in derivative iterates.
- Identify algorithmic factors impacting derivative errors during unrolled differentiation.
- Show how truncation of early iterations reduces the curse and memory usage.
- Demonstrate that warm-starting induces implicit truncation in bilevel optimization.
- Provide numerical experiments validating the theory and practical remedies.
Proposed method
- Model the inner problem as a fixed-point iteration with mapping A and study its derivative via implicit differentiation.
- Derive non-asymptotic bounds for the derivative sequence D x^(k)(u) and its error using forward and reverse mode AD.
- Introduce and analyze a truncation (late-start) scheme that starts derivative computation from a later iteration.
- Prove convergence of the truncated derivative sequence and bound the curse term.
- Discuss resource allocation between solving the inner problem and differentiating, under a fixed computational budget.
- Explore warm-starting as an implicit truncation mechanism and relate it to existing practice.

Experimental results
Research questions
- RQ1What causes the derivative iterates to initially drift away from the true Jacobian in unrolled differentiation?
- RQ2How do truncation and warm-starting affect the non-asymptotic behavior of derivative iterates?
- RQ3Can we quantify the trade-offs between computation, memory, and accuracy in unrolled differentiation?
- RQ4Under what conditions does truncated or warm-started differentiation recover or approximate the true Jacobian?
- RQ5How do forward and reverse mode AD propagate derivative information in the presence of unrolled iterations?
Key findings
- Derivative iterates can exhibit a non-asymptotic, initial increase in error before converging to the true Jacobian.
- A bound shows a growing-then-decaying term that captures the curse of unrolling and is governed by the contraction rate and Lipschitz constants.
- Truncating early iterations from derivative computation mitigates the curse and reduces memory usage.
- Warm-starting in bilevel optimization implicitly truncates the derivative path by starting near the fixed point, providing a practical remedy.
- Explicit truncation bounds quantify how delaying derivative computation attenuates the curse, with convergence guarantees for truncated schemes.
- Experiments on representative problems corroborate the theoretical findings.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.