Single-loop approaches to nonsmooth bilevel optimisation
Abstract: We study bilevel optimisation problems in which the inner problem is represented as a set-valued, parametric constraint. We develop relevant optimistic and pessimistic calculus rules, derive corresponding optimality conditions, and formulate nonsmooth adjoint inclusions based on both the Fréchet and limiting coderivatives. Founded on these results, we propose a single-loop algorithm that accommodates a wide range of inner and adjoint steps, including those of primal-dual methods. We prove its convergence. Numerical experiments on total variation regularised inverse problems demonstrate the practicality of the approach.
- Semismooth Newton-type method for bilevel optimization: Global convergence and extensive numerical experiments (2019)
- Methodology and first-order algorithms for solving nonsmooth and non-strongly convex bilevel optimization problems (2022)
- Bilevel parameter learning for higher-order total variation regularisation models (2015)
- Double Momentum Method for Lower-Level Constrained Bilevel Optimization (2024)
- Single-loop methods for bilevel parameter learning in inverse imaging (2024)
- Linearly convergent bilevel optimization with single-step inner methods (2022)
- Scholtes relaxation method for pessimistic bilevel optimization (2021)
- Two-level value function approach to nonsmooth optimistic and pessimistic bilevel programs (2017)
- A Single-Loop Gradient Algorithm for Pessimistic Bilevel Optimization via Smooth Approximation (2025)
- A Single-Loop First-Order Algorithm for Linearly Constrained Bilevel Optimization (2025)
Summary
- The paper introduces single-loop methods that overcome nested iterations in bilevel optimization by leveraging set-valued adjoint calculus.
- It develops new Fréchet subdifferential and coderivative calculus rules to handle nonsmooth, infinite-dimensional inner problems.
- The method demonstrates convergence in TV-regularized inverse problems, offering computational efficiency and strong optimality conditions.
Single-Loop Methods for Nonsmooth Bilevel Optimization: Set-Valued Adjoint Calculus and Algorithmic Implications
Problem Formulation and Context
The work addresses bilevel optimization problems of the form
u,xminJ(u)+R(x)subject to0∈G(u,x),
where u∈U,x∈X are elements of normed spaces, J and R are proper lower semicontinuous functionals, and G is a (possibly nonsmooth and set-valued) constraint encoding the parametric optimality conditions for the inner problem. Unlike the dominant literature that requires strong smoothness assumptions (e.g., differentiability and second-order growth) on G, this work permits G to be set-valued and g (the inner objective) to be nonsmooth, only requiring metric subregularity.
Conventional bilevel algorithms often involve nested loops (an inner optimization for each outer candidate), which is computationally expensive, especially in nonsmooth and high-dimensional settings. Motivated by recent advances [suonpera2022bilevel, suonpera2024general, dizonvalkonen2024tracking], the paper proposes and analyzes single-loop methods which take only one or a fixed number of inner (and adjoint) steps per outer iteration. The authors provide substantial theoretical and algorithmic advancements for nonsmooth, set-valued bilevel problems, including rigorous calculus rules for subdifferentials and coderivatives, general optimality conditions, and a convergence guarantee for their single-loop method.
Subdifferential and Coderivative Calculus
The paper develops new calculus rules for the Fréchet subdifferential and coderivative in the context of set-valued mappings and nonsmooth functionals. Chain and sum rules are established for compositions and sums involving set-valued solution mappings. The framework distinguishes between "optimistic" and "pessimistic" variants (i.e., using infimum or supremum over selections), which correspond to alternative formulations in bilevel optimization.
Key results:
- Chain rules (Theorem 2.3) establish inclusion relationships between subdifferentials/coderivatives of compositions J∘S and those of J and u∈U,x∈X0 under inner (semi-)Lipschitz continuity assumptions.
- Sum rules (Theorem 2.4) extend subdifferential calculus to u∈U,x∈X1 with weaker conditions, allowing for convex, proper, locally Lipschitz u∈U,x∈X2 possibly with nontrivial domains (including indicator functions).
- Novelty: These are among the few results treating Fréchet subdifferentials/coderivatives rigorously for compositions involving set-valued mappings in infinite-dimensional settings.
Generalized Optimality Conditions for Nonsmooth Bilevel Problems
Theoretical developments yield new necessary and sufficient optimality conditions using either Fréchet or limiting/Mordukhovich coderivatives for bilevel problems with nonsmooth inner structure. The analysis clarifies the connection between coderivative inclusions, non-classical KKT-type systems, and the differentiability properties of the solution mapping.
Key claims:
- Detailed Fermat rule generalizations show that any bilevel solution u∈U,x∈X3 must satisfy a sum-inclusion involving subdifferentials/coderivatives of the composed cost and the regularizer.
- The "optimistic" (min-inf) and "pessimistic" (min-sup) settings yield different inclusion directions; necessity/sufficiency is modulated by coderivative choice and (semi-)Lipschitz assumptions.
- Adjoint inclusion (Lemma 3.6): For both coderivative types, it characterizes how (non)smooth (generalized) Lagrange multipliers must be chosen so that
u∈U,x∈X4
for u∈U,x∈X5 given by functional gradients, and u∈U,x∈X6 an adjoint variable.
- Full-system optimality (Theorems 3.10, 3.13): Bilevel stationarity is reduced to finding u∈U,x∈X7 solving the system:
u∈U,x∈X8
where u∈U,x∈X9 denotes either the Fréchet or limiting coderivative.
Single-Loop Algorithmic Framework and Convergence
Building on the "tracking theory" of [dizonvalkonen2024tracking] and the above optimality system, the paper presents a general algorithmic structure for single-loop bilevel optimization involving three working variables: inner J0, adjoint J1, and outer J2.
Algorithmic regime:
- Inner algorithm: One or a fixed number of steps toward updating J3 (e.g., PDPS, FB iteration) for J4 fixed.
- Adjoint algorithm: One or a fixed number of steps to approximate J5 in the adjoint inclusion.
- Outer iteration: Forward-backward (proximal gradient) step in J6 using an estimated generalized derivative.
Convergence theory:
- Formal "tracking inequalities" are established for the inexactness in updating J7 and J8, quantifying how single (or multiple) steps approximate the required fixed points or inclusions (Assumption 5.2, Theorems 5.4 and 5.7).
- The key technical result, Theorem 5.14, proves the convergence of the method to generalized criticality, i.e., the sum-inclusion
J9
- The work outlines the exact requirements (e.g., set-valued descent inequalities, Aubin/inner Lipschitz regularity) for the theoretical guarantees, providing a basis for their satisfaction in relevant classes of nonsmooth problems and in infinite-dimensional spaces.


Figure 1: Outer function value R0 convergence versus computational resources for single-loop and reference methods in the denoising problem.
Example Applications: TV-Regularized Inverse Problems
The algorithm is specialized and analyzed in detail for nonsmooth TV-regularized inverse imaging problems:
- Denoising: Tuning the data-fidelity parameter for TV denoising under nonsmooth constraints.
- Deblurring: Learning convolution kernel parameters along with regularization in a TV-regularized deconvolution setting.
Specialized adjoint inclusions and coderivative calculations are derived for the structure of the TV norm (see Section 6.2, Lemmas 6.7 and 6.8), revealing that the adjoint problem can be efficiently solved via constrained quadratic programming due to the separable nonsmooth structure of the TV term.


Figure 2: Visualization of the deblurring kernel structure (left) and example images for the deblurring and denoising applications (right), demonstrating the tractability of the set-valued adjoint system.
Numerical experiments (Section 7) on realistic imaging problems demonstrate:
- Reliability and computational efficiency of the single-loop method, often outperforming reference methods requiring highly accurate inner subproblem solutions.
- Empirically verified convergence of the generalized differential criterion and outer function value, even under high computational constraints and for large imaging problems.
Theoretical and Practical Implications
Theoretical:
The paper demonstrates that bilevel optimization for a broad class of nonsmooth and set-valued inner problems is amenable to first-order, single-loop optimization schemes. It systematically extends the generalized differentiation and coderivative calculus to compositions central in bilevel learning, even in infinite-dimensional settings and without requiring strong constraints or smoothness. The analysis clarifies how different types of coderivatives (Fréchet, limiting) correspond to various criticality notions in bilevel programs.
Practical:
The developed methods enable the practical solution of challenging inverse problems (e.g., with TV or similar nonsmooth regularizers) where conventional nested or exact adjoint-based approaches fail due to computational intractability or ill-posedness of derivatives. In particular, the reduction to tractable system solves (often convex quadratic programs, even under set-valued structure) and the convergence of the single-loop algorithm make these methods highly attractive for large-scale applications—such as imaging and variational parameter estimation—where automation of hyperparameter selection is crucial.
Future directions:
- Tightening sufficiency/necessity: Further work may address sufficient conditions for global convergence to global optima in nonconvex settings and clarify the tightness of optimality conditions under weaker regularity.
- Extensions: The approach can likely be generalized to vector-valued or infinite-dimensional outer variables, more general inner constraints, or settings where R1 has more complicated set-valued nonconvex structure.
- Acceleration/stochasticity: Investigation into acceleration, variance reduction, and stochastic versions may significantly improve the practical performance and scalability of these single-loop methods for high-dimensional machine learning and signal processing tasks.
Conclusion
This paper rigorously extends the theoretical, algorithmic, and empirical state of bilevel optimization for problems where the inner problem is set-valued and nonsmooth, fundamentally expanding the class of problems for which first-order, single-loop methods can be proved to converge to criticality. The contributions—including new calculus rules for generalized derivatives, the explicit set-valued optimality systems, and the convergence theory for generalized single-loop algorithms—provide a foundation for both practical algorithms and further research in nonsmooth variational optimization.
References:
- E. Suonperä, T. Valkonen, "Single-loop approaches to nonsmooth bilevel optimisation" (2606.19143).
- [suonpera2022bilevel], [suonpera2024general], [dizonvalkonen2024tracking], and others as cited throughout the original manuscript.
Paper to Video (Beta)
No one has generated a video about this paper yet.
Whiteboard
No one has generated a whiteboard explanation for this paper yet.
Paper Prompts
Sign up for free to create and run prompts on this paper.
Top Community Prompts
Open Problems
We haven't generated a list of open problems mentioned in this paper yet.
Continue Learning
- How does the single-loop algorithm compare to traditional nested bilevel optimization methods in terms of computational cost?
- What role do the new subdifferential and coderivative calculus rules play in ensuring convergence for nonsmooth problems?
- How do the optimistic and pessimistic formulations affect the derived optimality conditions in the paper?
- In what ways can the proposed methodology be extended to other inverse problems or nonconvex settings?
- Find recent papers about nonsmooth bilevel optimization.