Manuscript Offprint
arXiv:2611.08359A Theoretical Analysis of a Bilevel Optimization Formulation for Combined Local-Global Optical Flow Models
Abstract
This paper analyzes a bilevel formulation for learning the regularization parameter of combined local-global (CLG) optical flow models. The lower-level problem computes the flow from a Lucas-Kanade data term and a quadratic or total variation (TV) regularizer, and the upper-level problem selects the parameter that minimizes the squared distance to a ground-truth flow. The setting is finite-dimensional, and a full-rank assumption makes the lower-level solution unique. For the quadratic model we derive sufficient conditions for the existence of an optimal parameter, for every optimal parameter to be positive, and for strict local optimality. For TV regularization an optimal parameter always exists, because the lower-level solution vanishes for large parameters, and we give a sufficient condition for positivity that accounts for the coupling of the two flow components through the local structure tensors. Synthetic examples illustrate the conditions, including cases in which they fail.
Keywords: Bilevel Optimization, Optical Flow, Regularization Parameter Learning, Total Variation, Local-Global Models
1 Introduction
Variational methods estimate the optical flow between two frames by minimizing an energy that combines a data term, derived from brightness constancy, with a regularizer weighted by a parameter . The quality of the estimate depends strongly on . Too small a value leaves the flow noisy, and too large a value oversmooths it. This paper studies the choice of by bilevel learning from ground-truth flow and asks, in a fully discrete setting, when an optimal parameter exists and when it is positive.
The linearized brightness constancy constraint gives one equation per pixel for the two flow components, so the flow is not determined locally (the aperture problem). Lucas and Kanade [1] assume that the flow is constant in a window around each pixel and solve the resulting local least-squares problems. Horn and Schunck [2] instead add a global quadratic penalty on the flow gradient, which yields dense flow fields but smooths motion boundaries. Total variation (TV) regularization, introduced for image denoising [3], preserves such boundaries. Shulman and Hervé [4] proposed an early non-quadratic regularizer for discontinuous flow fields, and TV is widely used for optical flow [5–11]. We use its isotropic form, applied to each flow component. TV is convex but not differentiable, and it is usually minimized by primal-dual methods [7, 9, 12] or replaced by a smooth approximation such as the Huber function [13]. The combined local-global (CLG) model of Bruhn et al. [14] joins the Lucas–Kanade data term with a global regularizer. It inherits the robustness of the local method and the density of the global one, and it can be minimized efficiently, for instance by multigrid methods [15]. Spatially varying parameters adapted to image features have also been proposed [16–18].
Given two frames and a ground-truth flow on a grid of pixels, we consider
where is the Lucas–Kanade system of the window around the pixel p, and R is either a quadratic penalty on the discrete flow gradient or the TV seminorm. Section 2 defines all objects precisely.
Problem (1.1) rests on four modeling choices. First, the parameter is learned from ground truth. Classical parameter-choice rules, such as the discrepancy principle [19], the L-curve [20], generalized cross-validation [21] and Stein's unbiased risk estimate [22], need no ground truth. They rely instead on knowledge of the noise or on heuristic criteria, and they do not target the flow error itself. Bilevel learning uses training data with known ground truth and minimizes the reconstruction error directly. Second, the upper-level loss is the squared Euclidean distance, which equals the sum over all pixels of the squared endpoint errors, a standard accuracy measure for optical flow [23]. It is smooth in w, whereas the endpoint error itself and the angular error [24] are not differentiable where the error vanishes. Third, a single scalar parameter is the natural first case. It is the setting in which existence and positivity can be characterized by explicit conditions, and spatially varying parameters, as in the bilevel framework of [25], can build on it. Fourth, the CLG data term makes the lower-level problem well posed. When every window contains two pixels with linearly independent gradients, the data term is strongly convex, and the lower-level solution is unique for every , including (Lemma 1). The Horn–Schunck data term alone is never strongly convex, because its matrix in (2.1) has a null space of dimension at least N.
Bilevel learning of regularization parameters in imaging was established by Kunisch and Pock [26] for variational denoising and by De los Reyes and Schönlieb [27] for learning noise models in TV denoising. Its theory includes existence results for a broad class of regularizers [28], refined stationarity systems for TV [29], stationarity and second-order conditions through a reformulation as a mathematical program with complementarity constraints [30], and spatially dependent parameters [25]. For finite-dimensional linear inverse problems with a continuously differentiable regularizer, Ehrhardt, Gazzola and Scott [31] give a sufficient condition for a positive optimal parameter. Our positivity result for the quadratic model (Theorem 3) is a special case of their condition. Applications include blind deconvolution [32] and the learning of fractional differential operators [33], and Crockett and Fessler [34] survey the field. Computational work addresses inexact lower-level solves through derivative-free methods [35], inexact hypergradients [36] and single-loop schemes [37]. Learning through truncated or approximate inference [38, 39] and learned variational inference layers [40] aim at empirical performance rather than at the analysis of a regularization weight. For optical flow, Jiang et al. [41] use a bilevel scheme that couples flow and camera motion in unsupervised deep learning. Closest to the present setting, El Hakoume et al. [42] learn the two Lamé coefficients of a fluid optical flow registration model by bilevel supervised learning, within a multi-frame super-resolution method. Positivity is imposed through a fixed box, uniqueness of the lower-level solution is assumed, and the bilevel problem “is not theoretically studied” because their model lacks the required regularity. Related work by Laghrib and coauthors learns spatially varying weights for nonlocal deblurring [43]. To our knowledge, no previous work establishes existence, positivity and second-order conditions for learning the regularization parameter of a variational optical flow model from ground-truth flow. Here all objects are finite-dimensional, the proofs are direct, and the conditions are explicit and computable from the data for both regularizers.
The main contributions are the following.
-
A finite-dimensional bilevel formulation for CLG optical flow in which a scalar regularization parameter is learned from ground-truth flow.
-
Existence of an optimal parameter. For any convex regularizer that vanishes only at zero, a sufficient condition is that the Lucas-Kanade estimate be closer to the ground truth than the zero flow (Proposition 2). For TV with zero boundary values this condition is not needed, because the lower-level solution vanishes beyond a finite value of (Corollary 5).
-
Sufficient conditions under which is not optimal, so that every optimal parameter is positive, for the quadratic model (Theorem 3, an instance of the condition of [31]) and for TV (Theorem 8), and second-order sufficient conditions for strict local optimality in the quadratic model (Theorem 4). The TV condition is not covered by [31], because TV is not differentiable, and it differs structurally from the analyses of scalar data terms [28, 29]. The Lucas-Kanade data term couples the two flow components through blocks that vary from pixel to pixel. This coupling requires a four-way partition of the pixels, a term for the pixels at which only one flow component has a nonzero gradient, and a term for the spatial variation of the blocks. These terms vanish for spatially uniform scalar data terms.
-
Synthetic examples that illustrate the conditions, including cases in which the sufficient conditions fail.
Section 2 introduces the discrete setting and states the bilevel problem. Section 3 analyzes quadratic regularization and Section 4 total variation regularization. Section 5 presents the examples, and Section 6 discusses the limitations of the analysis and concludes.
For two frames , let be the spatial derivatives and the temporal derivative. The computation of and is described at the beginning of Section 5. With and , the linearized brightness constancy constraint reads
The Lucas-Kanade data term assigns to each pixel a window that contains , and . Imposing (2.1) at every with the common value gives the local system with
The data term is
where collects the vectors and . Let be the permutation matrix that orders the unknowns pixel by pixel:
Stacking all local systems gives the global system
whose matrix has rows and columns, and is block diagonal with rectangular blocks. Hence
In the ordering , consists of four diagonal blocks formed from the entries of the matrices .
Throughout the paper we assume
(A1) for every ,
that is, every window contains two pixels with linearly independent image gradients. Then for every , so , and has the unique minimizer , the Lucas–Kanade solution
(2.5)
The two regularizers use two difference operators, and their boundary conditions are part of the model. For the quadratic regularizer, takes forward differences between horizontally and vertically adjacent pixels, with zero ghost values on all four sides of the grid, so with . The matrix is the five-point Laplacian with homogeneous Dirichlet conditions. On flows we set and
Since is injective, . The matrix is the discrete vector Laplacian. For the TV regularizer, the gradient of a scalar field at a pixel is
where and are the shifts to the next column and the next row, and equals on and 0 outside . Thus the ghost values beyond the last column and the last row are zero. The map is injective. On flows, , and a dual field is with . The discrete divergence is for scalar fields and for flows, so that
holds exactly, with no boundary terms. Forward differences of other fields on , such as residuals, are also taken with . The two operators differ at the border, since has no differences across the left and the top sides, and . The analysis of the quadratic model uses only . For TV, existence uses only the injectivity of , and the positivity analysis also uses the forward-difference form of (Lemma 6).
With these operators, the quadratic (CLG) energy and the TV energy are
The Horn-Schunck energy [2]
is the special case of (2.7), for which (A1) fails.
Given a ground-truth flow , we consider
with given by (2.7) in Section 3 and by (2.8) in Section 4.
Lemma 1 Assume (A1), and let be convex. For every , the function is strongly convex with modulus and has exactly one minimizer. In particular, in (2.10) is uniquely defined for both energies and every , including , and is a single-valued function on .
Proof Since , the function is convex, so is strongly convex. A finite strongly convex function on has exactly one minimizer.
Without (A1), the lower-level problem may have many solutions, for instance at because of the aperture problem. Problem (2.10) would then require an optimistic or a pessimistic formulation, which we do not consider.
Remark 1 When the ground truth is only partially available or carries confidence weights, the loss can be replaced by with and weights , . The lower-level solutions do not depend on . The corresponding changes to the conditions of Sections 3 and 4 are stated in Remark 9.
3 Quadratic Regularization
In this section the lower-level energy is the quadratic CLG energy (2.7),
At the minimizer the gradient of vanishes. For each pixel this gives
(3.2) where collects the two entries of at . Globally,
Under (A1), , and . The matrix is therefore positive definite for every . It remains positive definite for small negative : since , this holds for every with . Hence
and and are infinitely differentiable on the open interval . In particular, is an ordinary two-sided derivative, although only is admissible in the bilevel problem. From and ,
and therefore
Substituting (3.4) reduces (2.10) to the single-level problem
If every minimizer satisfies , then some amount of regularization strictly improves on the unregularized Lucas–Kanade estimate.
Remark 2 In practice is never formed. The symmetric positive definite system (3.3) is solved by preconditioned conjugate gradients or multigrid, and requires one more solve with the same matrix. Since is a scalar, can be minimized by a bounded one-dimensional search, which is what the examples of Section 5 use, or by a gradient-based method with the analytical gradient (3.6).
The proof of the next existence result uses the minimizing-sequence argument of [26, Proposition 3.1] in finite dimension.
Proposition 2 Assume (A1). Let be convex with if and only if , and let be the minimizer of . Then:
(i) is continuous on , for all , and as ;
(ii) is continuous on , and as ;
(iii) if
(3.8) then has a minimizer , and .
The regularizers and satisfy these hypotheses, because and are injective.
Proof Let , so that .
(i) Since , we have , and . Hence . This gives the bound on and shows that is bounded. Let . Then , and every accumulation point of satisfies by continuity of , so . Hence . Now let , and let be an accumulation point of . For every , . Passing to the limit along the corresponding subsequence gives , so by Lemma 1. Hence .
(ii) This follows from (i).
(iii) Since , there is with for all . The continuous function attains its minimum on at some . This point minimizes on , and .
Condition (3.8) is sufficient but not necessary, since a finite minimizer can exist when it fails. It cannot, however, be dropped from Proposition 2. Consider an abstract instance with a single pixel, and the quadratic regularizer. Then and . With and , decreases strictly to and never attains its infimum. For the quadratic energy, never vanishes at a finite when , because is invertible. The TV case behaves differently (Section 4).
Theorem 3 Assume (A1). Then . If
then for all sufficiently small , and every minimizer of on satisfies .
Proof At , (3.5) gives , and (3.6) then gives the formula for . Under (3.9), , so decreases on a right neighborhood of 0 and is not a minimizer.
Theorem 3 is the instance, for the CLG data term and the quadratic regularizer, of a general sufficient condition for positivity due to Ehrhardt, Gazzola and Scott [31, Corollary 1], which covers convex, continuously differentiable regularizers. For an identity forward operator and a quadratic regularizer, their condition is the one of Kunisch and Pock [26, Proposition 3.1].
Remark 3 Condition (3.9) has a first-order meaning. Since with ,
Condition (3.9) therefore states that the first-order smoothing correction has a negative component along the residual . At each pixel, , so the correction can be large where is nearly singular. This condition concerns the sum over all pixels, not each pixel separately.
Remark 4 Suppose the regularizer uses Neumann-type differences (forward differences set to zero in the last column and the last row), in either the quadratic or the TV case. Its kernel is then the space of constant flows, where and is the vector of ones. Lemma 1 still applies. As , converges to the minimizer of on ,
which is the constant flow , the least-squares solution of all local systems together. The proof is the argument of Proposition 2, with 0 replaced by this minimizer. A sufficient condition for a finite minimizer is therefore
The matrix couples the two flow components. The operator is the -orthogonal projector onto , and it coincides with the Euclidean projector (componentwise averaging) if and only if all matrices are equal.
Theorem 4 Assume (A1), and let satisfy the first-order necessary conditions for problem (3.7),
Then is a strict local minimizer of on if either:
(a) and ; or
(b) , , and
Proof (a) If and , then is increasing on a right neighborhood of 0.
(b) By (3.6), with
Since and are invertible, gives and . By the Cauchy–Schwarz inequality, , which is smaller than under (3.12). Hence , and together with this makes a strict local minimizer.
Remark 5 The bound (3.12) is sufficient but not necessary: if , then without it. In the examples of Section 5, strict local optimality is checked by evaluating directly.
Proposition 2 and Theorems 3 and 4 do not determine whether has a unique global minimizer (see Section 6.1). Because depends nonlinearly on , need not be convex, and multiple local minima cannot be excluded a priori.
4 Total Variation Regularization
This section treats the TV energy (2.8) with the gradient of Section 2. The TV term is not differentiable, so the lower-level optimality condition is an inclusion rather than a linear system, and no closed form such as (3.4) is available.
Write with for , where are the entries at pixel . Since is finite and convex, . Hence minimizes in (2.8) if and only if there is a dual field such that, for every pixel ,
Here if , and is the closed unit ball of . In global form,
The upper-level problem is
and its constraint holds if and only if (4.3) holds for some . The dual field need not be unique, while is.
Corollary 5 Assume (A1), and let , where is the smallest singular value of . Then for every . Consequently for , and problem (4.4) has a solution . If in addition
then , and . The threshold is sufficient and need not be the smallest with .
Proof Let and for all . Since is differentiable with , the point minimizes if and only if . If , then for all . Otherwise let , and put , which is well defined because is injective. Then . By a singular value decomposition, , so . Hence , and by uniqueness.
By Proposition 2(ii), is continuous on the compact interval , so it attains its minimum there at some . Since for , the point
solves (4.4). Under (4.5), , which excludes both and .
In the TV case, condition (4.5) is therefore not needed for existence. It guarantees that the optimal parameter improves on the zero flow, which is the TV solution for all large . Example 5 shows the difference: there (4.5) fails, yet an optimal parameter exists and improves on both the unregularized estimate and the zero flow.
Remark 6 With Neumann-type differences, vanishes on all constant flows. As , then converges to the constant flow of Remark 4, and condition (3.10) gives a finite optimal parameter.
We now give sufficient conditions under which is not optimal, that is, under which some gives , so that TV regularization strictly improves on the unregularized Lucas–Kanade estimate. The grid is assumed to have at least two rows and two columns.
For each pixel , let , a symmetric positive definite matrix with entries , , where indexes the first row and column. Let be the residual of the unregularized estimate. The spatial variation of is measured by for when , and by the backward difference when lies in the last column () or the last row (). With the spectral norm , let
The pixels are partitioned according to which components of have a nonzero gradient:
The data-alignment sums, the variation bound and the mixed-pixel bound are
Finally, let
be the upper right Dini derivative of Q at 0.
For a vector field on we write , where and are the two components of , and denotes the extension of by zero outside .
Lemma 6 Let for . For every and ,
Proof If , then
If , then , and the second term vanishes because .
Lemma 7 For each let satisfy and , and set for . Then
Proof Fix . Since , the Cauchy–Schwarz inequality in and then in the index gives
In both cases of the definition, , so
Summing over gives the claim.
Theorem 8 Assume (A1) and
Then . Consequently for all sufficiently small , and is not a solution of (4.4). Every solution, which exists by Corollary 5, satisfies .
Proof Subtracting (4.1) at , where , gives
With and the symmetry of ,
and the adjoint identity (2.6) for each component yields
By Proposition 2(i), as , and is bounded for . Since the dual fields take values in the unit ball, the right-hand side of (4.7) is bounded, and is finite. Choose such that the quotients converge to , and pass to a subsequence along which and . Since and the graph of is closed, , and likewise for . Moreover with . With , the limit in (4.7) is
By Lemma 6, the last double sum equals with
and Lemma 7 with and gives . The expansion of the matrix product in gives
On both subgradients are determined:
and the pixel contributes exactly its summands of and . On the part with is the summand. In the part with , condition (4.6a) and the linearity of give , so this part equals . The set is symmetric, with the roles of and exchanged. On , condition (4.6a) gives , so the contribution is 0. Hence .
Consequently , which is negative by (4.6b). Since the lim sup is negative, there is with for every .
Remark 7 In the TV case the dual fields need not be unique. The proof does not assume that is differentiable at . The upper Dini derivative is always finite here (see the proof of Theorem 8), and its negativity is all the argument needs.
Remark 8 Condition (4.6a) is an idealized structural assumption. It asks that the ground truth be flat wherever a component of is flat. At such pixels the residual gradient of that component vanishes, so the undetermined subgradient does not enter the corresponding same-component term. Its remaining contributions, through the off-diagonal entry and through the variation of , are bounded by and . The condition is not expected to hold for real data in which has flat regions caused by the aperture problem. When is computed from noisy images, exact zeros of or are not expected, and (4.6a) then holds trivially. This is the case in Example 5, where all pixels lie in .
Condition (4.6b) compares the aggregate alignment between the weighted error gradients and the flow gradients of with two worst-case bounds: for the spatial variation of , and for the pixels where exactly one component of vanishes. Both bounds replace the unknown dual vectors by their largest possible values, so the condition is conservative. It can be evaluated from , the ground truth and the matrices .
Corollary 9 Under the assumptions of Theorem 8, suppose in addition that is spatially constant with , and that no mixed pixels occur, that is, . Then , and condition (4.6b) reduces to
If this inequality holds, then is not optimal.
Proof If is constant, both the forward and the backward differences vanish, so and . Without mixed pixels, . With the displayed inequality is condition (4.6b), and the conclusion follows from Theorem 8.
Remark 9 For the weighted loss of Remark 1, the results of Sections 3 and 4 hold with the following changes, and the proofs are otherwise unchanged. In Proposition 2, the limit of is and condition (3.8) becomes . The additional condition of Corollary 5 changes in the same way. In Theorem 3, condition (3.9) becomes . Theorem 4 applies with the first-order conditions (3.11) written for . In part (b), is replaced by , which follows from when at every pixel but not for a mask, and (3.12) is replaced by . For TV, let . Theorem 8 holds with in place of in and , and Corollary 9 then requires , not , to be spatially constant, with the entries of .
5 Illustrative Examples
We present numerical examples that illustrate the theoretical conditions, including cases in which the sufficient conditions fail. These examples are not intended as a performance evaluation or comparison with state-of-the-art methods. Two scales are considered: a grid (and a grid in Example 6), which allows direct inspection of all conditions, and a grid, which exercises the framework at a more realistic scale with noise and subpixel motion.
In the examples built from images, frame is produced by bilinear backward warping of with a constant global translation. Gaussian noise is then added to , and the intensities are clipped to . The spatial derivatives are central differences at interior pixels and one-sided differences at the border, computed on each frame and averaged over the two frames. Each window is the block of pixels centered at , truncated at the image border. All reported numerical values of these examples are illustrative and depend on the particular noise realization. In the examples on small grids, the image derivatives or the matrices are prescribed directly, and (A1) holds without modification.
The theoretical results (Proposition 2, Theorems 3, 4 and 8, and Corollary 5) assume , which follows from full-rank LK patches. In the experiments, the stabilization ensures positive definiteness in low-texture regions where the rank condition may not hold strictly. The theorems apply to the stabilized .
Quadratic regularization uses the matrix and TV regularization uses the gradient of Section 2.
For quadratic regularization, the lower-level solution is computed by one linear solve. For TV, the lower-level problem is solved by the Chambolle–Pock primal–dual algorithm [9] with the exact proximal map of the data term, which is a linear solve per pixel. The step sizes start from , so that , and follow the accelerated rule for a strongly convex data term. Each solve stops when the relative primal–dual gap falls below a prescribed tolerance or at an iteration limit, which is for the sweep solves. The sweep tolerances are given in each example.
In Examples 1 and 2 the optimal parameter is located by bounded one-dimensional minimization (Brent's method), and sweeps of over a grid of values produce the plotted curves. In Examples 4 and 5, is sampled on a grid of values with warm starts and then on a finer grid around the coarse minimum, and a confirmation run at uses the tolerance . Example 3 prescribes the parameter and checks it by a grid sweep, and Example 6 evaluates the positivity condition without a parameter search.
5.1 Quadratic Regularization
Examples 1 and 2 satisfy the existence condition (3.8) and have finite minimizers. Remark 10 gives a case in which (3.8) fails and a finite minimizer still exists, and the one-pixel instance after Proposition 2 shows that without (3.8) the infimum need not be attained. A third, constructed example illustrates the second-order condition of Theorem 4(b).
Example 1 We consider a synthetic image pair with per-pixel spatial gradients and temporal derivatives given by
and a spatially varying ground-truth flow field
For this toy example, the entire grid is used as the local neighborhood for each pixel, so that all blocks and vectors are identical. We obtain
The constant Lucas-Kanade solution is therefore at every pixel.
We first verify the conditions of Proposition 2 and Theorem 3. For this example,
so . Hence a finite optimal regularization parameter exists under Dirichlet boundary conditions.
The inner product
so condition (3.9) is satisfied and . Although is spatially uniform, . Since is constant and the grid spacing is 1, , where is the number of in-grid neighbors of , that is, and 4 at the corners, the edge midpoints and the center. The inner product is therefore .
Numerical minimization of gives
which is an error reduction of approximately 7.96%. Figure 1 shows .
At the computed minimizer, the first-order condition is confirmed: . Moreover, and direct numerical evaluation gives . Hence is a strict local minimizer, although the residual bound (3.12) of Theorem 4(b) is not satisfied here (0.772 > 0.521) (see Remark 11). Table 1 summarizes the key numerical values.
Table 1 Key numerical values for Example 1.
| Quantity | Value |
|---|---|
| (Dirichlet existence, (3.8)) | Yes |
| 0.110 | |
| Condition (3.9) satisfied | Yes |
| Optimal | 0.585 |
| 0.648 | |
| 2.79 | |
| 0.597 | |
| Error reduction | 7.96% |
| 0.204 | |
| Yes | |
| Strict local minimizer (, direct evaluation) | Yes |
Example 2 We consider a scene where frame is a smooth random texture obtained by applying a Gaussian blur (standard deviation 3 pixels) to white noise and normalizing to

Fig. 1 Objective versus the regularization parameter for the quadratic example. The curve decreases for small , which confirms the prediction from condition (3.9)
[0, 1]. Frame is the warp of by the constant global translation at every pixel, with border values replicated, and the noise level is . Both random fields come from NumPy's default_rng with seed 154.
Under Dirichlet boundary conditions,
We verify the conditions of Proposition 2 and Theorem 3. For the Dirichlet finite-existence condition (3.8),
so condition (3.8) is satisfied and Proposition 2 guarantees a finite optimal regularization parameter.
For the positivity test (condition (3.9)),
so condition (3.9) is satisfied and , which guarantees .
A log-scale sweep over brackets the minimizer, and the bounded search locates it at
a 30.8% reduction versus . Figure 2(d)–(f) shows the curve and the pointwise error maps and .
At the computed minimizer: , , and . The curvature decomposes as with and , so holds without invoking the residual bound (3.12). Six further realizations of the same generator (seeds 0–3, 42 and 99) give between 1092 and 1323, between 0.52 and 0.68, and reductions between 30.0% and 38.2%. At every seed and the residual bound (3.12) fails. This small sample describes the variability
Table 2 Key numerical values for Example 2.
| Quantity | Value |
|---|---|
| 1294.8 | |
| 1450.0 | |
| (Dirichlet existence, (3.8)) | Yes |
| (positivity, (3.9)) | |
| (interior minimum, guaranteed by Prop. 2 and Thm. 3) | 0.532 |
| 896.4 | |
| Reduction vs. | 30.8% |
| 230 | |
| 126 | |
| (no bound needed) | Yes |
| Residual bound (3.12) satisfied | No |
| Yes | |
| Strict local minimizer route) | Yes |
(a) Frame

(b) Noisy warped frame ( )
(c) Ground-truth flow magnitude
(d) : existence condition holds
(e) Error (before regularization)

(f) Error (after regularization)
Fig. 2 Example 2: (a) Frame (smooth random texture). (b) Noisy warped frame (). (c) Ground-truth flow magnitude (uniform: global translation , magnitude ). (d) on a log scale, with the minimizer (red marker). (e) Pointwise error before regularization. (f) Pointwise error after regularization (30.8% reduction in )
of the realization and is not a robustness study. Hence directly confirms that is a strict local minimizer (see Remark 11). Table 2 summarizes the key values.
Figure 3 shows the noise sensitivity of the quadratic bilevel improvement. The improvement ratio rises from at to at and then stabilizes near 36%. The figure reports medians over five further seeds (42–46) of the same

Fig. 3 Noise-sensitivity of the bilevel improvement for Example 2 (50×50 textured global-translation scene, quadratic regularization, five random seeds). (a) Median and versus noise level (log y-scale). (b) Median improvement ratio with min/max band over seeds. The band width remains below 11 percentage points over the five seeds
generator, so its value at differs from the 30.8% of the single realization above. For this scene and these seeds, the benefit persists over the tested range of noise levels.
Remark 10 The existence condition (3.8) is sufficient but not necessary. We retain the textured scene of Example 2 (same generator and seed) and raise the noise to , at which 880 of the 2500 pixels of are clipped. This gives , so condition (3.8) fails. Nevertheless, numerical optimization finds a finite interior minimizer at with , a 31.8% reduction. In the realizations computed here, condition (3.8) holds at (seed 154 and the six further seeds of Example 2). It fails for all five seeds of the noise study (Figure 3) at and at , where lies between 1609 and 2126, and at . In all these cases a finite minimizer still reduces the error by 31% to 42%. Noise inflates , and in these realizations the condition already fails at , although regularization still reduces the error.
Example 3 We reuse the quadratic setup of Example 1 (same , , ) and fix . The flow and its sensitivity are computed from the lower-level system, and is then chosen so that satisfies both the first-order condition and the residual bound of Theorem 4(b).
The key quantities are defined by
where is the component of orthogonal to . Since we have . The assumption ensures is well-defined, with , , and .
Because and , the first-order condition gives , so is a critical point (cf. (3.11)). By construction , so the residual bound (3.12) holds. Moreover . The example therefore lies in the regime where the curvature contribution is negative, and Theorem 4(b) guarantees that is a strict local minimizer.
For the setup with , numerical verification gives and . A sweep of over with step attains its smallest value at . Conditions (3.8) and (3.9) both hold for this constructed . Table 3 collects the remaining quantities.
Table 3 Key numerical values for the auxiliary Example 3.
| Quantity | Value |
|---|---|
| (Dirichlet existence, (3.8)) | Yes |
| Condition (3.9) satisfied | Yes |
| Prescribed | 1.000 |
| 0.166 | |
| 1.764 | |
| 0.075 | |
| Error reduction | 54.9% |
| 0.137 | |
| -0.026 | |
| 0.111 | |
| (residual ) | 0.274 |
| (SOSC bound) | 0.548 |
| Residual < bound (3.12) | Yes |
| Strict local minimizer (, residual bound) | Yes |
Remark 11 Examples 1–3 clarify the status of the second-order condition in Theorem 4. In Example 1 the residual bound (3.12) is not satisfied, yet direct evaluation confirms . The bound is conservative at this instance. In Example 2 the coupling term satisfies at all seven computed realizations, so follows automatically. The residual bound, which also fails here, is not needed to certify strict local optimality. The auxiliary Example 3 provides the complementary picture: the bound is satisfied and the coupling term is adverse (), so the residual bound certifies without direct evaluation of .
5.2 Total Variation
Example 4 We consider a grid with a ground truth flow that exhibits a step pattern, shared by both components:
To construct an unregularized solution that satisfies the structural assumptions of Theorem 8, we introduce oscillatory perturbations around the step:
In this example and at every pixel. With the gradient at all nine pixels, so every pixel lies in and condition (4.6a) holds trivially.
This example uses the specialization (identity data term), so the lower-level energy reduces to
With at every pixel, Corollary 9 applies (, no mixed pixels), and condition (4.6b) reduces to .
We first verify the conditions of Corollary 5. Numerically, and . An optimal parameter exists by Corollary 5. Since , condition (4.5) is satisfied, so the optimum also improves on the zero flow. The computed flow is zero for every sampled , well below the sufficient threshold of the corollary.
The alignment sum satisfies condition (4.6b), which by Theorem 8 implies and hence . The forward-difference estimate (step ) confirms this result, consistent with from the theoretical formula.
A sweep of 101 uniform points on , followed by 81 points around the coarse minimum, gives with , an error reduction of approximately 57.4%. The sweep tolerance is . The largest final relative gap was . A confirmation run at agrees to five digits. The behavior of is shown in Figure 4. TV regularization reduces the oscillations of . On this small grid it recovers the step of only partly, and the zero ghost values pull the flow toward zero next to the last row and column. Table 4 summarizes the key numerical values.
Table 4 Key numerical values for Example 4.
| Quantity | Value |
|---|---|
| 6.00 | |
| 8.00 | |
| (improvement over zero flow, (4.5)) | Yes |
| Condition (4.6a) satisfied | Yes |
| () | — |
| Alignment in (4.6b) | 17.91 |
| (forward difference; ) | -35.75 |
| 0.211 | |
| 2.558 | |
| Error reduction | 57.4% |
| Computed for all sampled | 0.72 |
Example 5 We consider a scene containing a centered square of intensity 1.0 on a zero background. The translation is , so that the square moves while the background stays static, and the noise has and seed 42. The warp uses zero values outside the image, and the noise is generated with NumPy's RandomState. The ground-truth flow equals on the pixels of the square in and zero elsewhere, so that . The accelerated step sizes use the strong convexity modulus of the data term. The sweep tolerance is . The largest final relative gap over all sweep solves was . The derivative estimates use the tolerance . Both the derivative estimates and the confirmation run at use at most iterations. The parameter is

Fig. 4 Objective versus for the TV example. The minimum is at . For the computed flow is zero and
sampled at 51 log-spaced points over , followed by a 31-point linear refinement in the bracket surrounding the coarse minimum.
We first check the conditions of Corollary 5. Numerically, . Since , the sufficient condition (4.5) fails: the unregularized Lucas–Kanade solution fits noise in background pixels and produces spurious flow that is farther from than the zero-flow baseline. By Corollary 5, an optimal parameter exists whether or not condition (4.5) holds. The condition is sufficient, but not necessary, for the optimum to improve on the zero flow.
The computed satisfies and at all 2500 grid points. Hence , and condition (4.6a) is satisfied.
Condition (4.6b) is verified directly with the stabilized per-pixel inverse . Since , the mixed-pixel coupling structurally, independent of the off-diagonal entries . The remaining sums evaluate to , , , so that . Condition (4.6b) therefore holds, and Theorem 8 guarantees . Forward-difference estimates give with step and with step . Both lie below the bound
obtained in the proof of Theorem 8 (which is consistent with that theorem).
The sweep then locates the minimum at with , an error reduction of approximately 92.3%. A confirmation solve at reproduces to four decimal places. For every sampled the computed flow is zero to solver accuracy (), and to six digits. A dual certificate shows that the exact lower-level solution vanishes as well. By (4.3), if and only if for a dual field with and at every pixel. A least-norm correction of the solver's dual field at the sample gives a field with (relative residual ) and
The field is therefore admissible for every , and for all these . No parameter beyond can therefore improve on the zero flow. The reported gives the smallest loss found by the coarse and refined sweeps, and these samples do not certify global optimality on . In particular , so the learned regularization improves on the zero flow as well as on the unregularized estimate.
TV produces a single block of nearly uniform flow around the moving square. Away from the square and a two-pixel band around it, the squared error falls from 259.9 to 1.7, and 27.6 of the remaining 29.3 lies on the square and that band. The block extends a few pixels beyond the square, and the motion inside it is underestimated: the horizontal component is about 0.40 instead of 0.7, and the vertical component is suppressed. This loss of contrast is characteristic of TV regularization [44]. On the same scene, quadratic regularization with its parameter selected in the same way attains only , at . Its mean flow magnitude on the square is about 0.19, and the flow decays only slowly into the background. Table 5 summarizes the key numerical values. The full curve is shown in Figure 5(d); the pointwise error maps before and after TV regularization are displayed in Figure 5(e)–(f).
Table 5 Key numerical values for Example 5.
| Quantity | Value |
|---|---|
| 381.9 | |
| 58.0 | |
| (improvement over zero flow, (4.5)) | No |
| Condition (4.6a) satisfied | Yes |
| 2500/0/0/0 | |
| Condition (4.6b) verified | Yes |
| 24177 | |
| 24832 | |
| 31638 | |
| (structural zero, ) | 0 |
| 4267 | |
| (numerical, step ) | |
| 1.68 | |
| 29.3 | |
| Reduction vs. | 92.3% |
| (improves on zero flow) | Yes |
| (dual certificate) for all | 3.161 |
The next example is designed to exercise the full condition (4.6b), including the mixed-pixel coupling term involving the off-diagonal entry . Examples 4 and 5 both have , so structurally regardless of . Here we construct a scene in which and , so that .
Example 6 We set the inverse structure tensor to be spatially uniform:
so . Because is spatially uniform, for every pixel and exactly.

Fig. 5 Example 5: (a) Frame : centered square of intensity 1 (white) on a zero (black) background. (b) Noisy translated frame (). (c) Ground-truth flow magnitude : displacement on the square, zero elsewhere (magnitude ). (d) on - axes: (condition (4.5) fails). The minimum at (red marker) lies below . For the lower-level solution is zero, by a dual certificate, and . (e) Pointwise error before regularization: large spurious errors in the static background. (f) Pointwise error after TV regularization (92.3% reduction in ): the background error is largely removed, and the remaining error is a nearly uniform block over the square and a narrow band around it, which reflects the loss of contrast of TV
Pixel coordinates are with . We prescribe piecewise-constant flows with a horizontal step at column :
The residual is for and zero otherwise; . Hence and , so and condition (4.5) is satisfied (Corollary 5).
With the gradient , at nine pixels. These are the four pixels , where ; the three pixels with , where ; the pixel , where ; and the pixel , where . Since , throughout. The partition is , , , .
The step in has the same support as , so wherever one also has . Since , the -implication holds trivially. Condition (4.6a) is satisfied.
Since and , we have and . At every the gradient is therefore aligned with , and . This norm equals at eight of the nine pixels and at (3,3). Hence
Therefore , and Theorem 8 guarantees . Table 6 summarizes the computed quantities.
Table 6 Key numerical values for Example 6.
| Quantity | Value |
|---|---|
| (spatially uniform) | |
| 2 | |
| 8 | |
| (improvement over zero flow, (4.5)) | Yes |
| Condition (4.6a) satisfied | Yes |
| 0/9/0/7 | |
| 4.707 | |
| 0 | |
| 0 | |
| (, ) | 2.354 |
| 2.354 | |
| Condition (4.6b) verified | Yes |
| (Theorem 8) | Guaranteed |
6 Limitations and Conclusion
6.1 Limitations
The results of this paper hold under assumptions that restrict their scope, and some of the conditions are conservative. We summarize these restrictions below.
The analysis requires assumption (A1), that is, full-rank local data matrices. This assumption fails in textureless regions. The examples therefore use the stabilization , which makes positive definite, and their results apply to the stabilized data term.
A single scalar parameter is learned from one pair of frames with an exact ground-truth flow. We do not analyze the effect of errors in the reference flow, nor whether a parameter learned on one pair remains suitable for other pairs. The examples are small synthetic scenes chosen to illustrate the conditions, and they do not evaluate performance on benchmark data.
The existence, positivity and second-order conditions are sufficient but not necessary, and they can be conservative. Condition (3.8) fails for the noisier realizations of Example 2, at the tested noise levels (Remark 10 and Figure 3). Condition (4.5), which guarantees an improvement over the zero flow, fails in Example 5. In all these cases an optimal parameter still exists and improves on . Likewise, the residual bound (3.12) of Theorem 4(b) fails in Examples 1 and 2, although there, and only the constructed Example 3 satisfies it.
The results for TV are weaker than those for the quadratic model. We do not derive a second-order condition for the TV model, and positivity of the optimal parameter is obtained from a Dini-derivative test at , on grids with at least two rows and two columns. Condition (4.6a) is an idealized assumption, and and are worst-case bounds.
Finally, for neither model do we show that has a unique global minimizer. The examples locate the minimizers numerically, by Brent's method for the quadratic model and by grid refinement for TV, and these searches do not certify global optimality.
6.2 Conclusion
This paper analyzed a bilevel formulation for learning the scalar regularization parameter of CLG optical flow models from ground-truth flow, in a finite-dimensional setting in which the lower-level solution is unique.
For quadratic regularization, Proposition 2 gives existence under condition (3.8), which asks that the unregularized Lucas–Kanade estimate be closer to the ground truth than the zero flow. Theorem 3 shows that every minimizer, if one exists, satisfies when the first-order smoothing correction has a negative component along the residual . Theorem 4 gives second-order sufficient conditions for strict local optimality through a residual bound derived from a Cauchy–Schwarz estimate. The examples show that this bound is conservative.
For TV regularization, Corollary 5 shows that an optimal parameter always exists, because the TV solution vanishes beyond a finite value of . Condition (4.5) then guarantees that the optimum improves on the zero flow. Theorem 8 ensures under two conditions. The structural condition (4.6a) asks that the ground truth be flat wherever the unregularized estimate is flat. The quantitative condition (4.6b) asks that the weighted alignment exceed the worst-case bounds , for the spatial variation of , and , for the pixels at which only one component of vanishes. Corollary 9 simplifies the condition when the local structure tensors are spatially constant. In Example 5, TV regularization removes most of the background error, and the motion on the square is underestimated.
Several questions remain open. Spatially varying parameters can adapt the regularization to the image content. The scalar analysis suggests that such an extension will involve the same quantities: the residual of the unregularized estimate, its gradients, and the local structure tensors. Second-order conditions for TV would require a description of the nonsmooth dependence of on . Smoothing the TV term, for instance with the Huber function [13], is one possible route. The Huber function is only once continuously differentiable, however, so the second-order argument of Section 3 does not carry over directly.
Supplementary information. The Python code that reproduces every example, table and figure of Section 5 is provided as ancillary files of this arXiv submission
(directory anc/). Its README lists, for each example, the script, its inputs, its outputs and its location in the paper.
Declarations
Funding. This work was supported by the SSE Seed Funding program of Al Akhawayn University in Ifrane (AUI).
Competing interests. The author has no relevant financial or non-financial interests to disclose.
Data availability. All data are synthetic and are generated by the code in the ancillary files. No external data sets were used.
Code availability. The code is provided as ancillary files of this arXiv submission.
References
[1] Lucas, B.D., Kanade, T.: An iterative image registration technique with an application to stereo vision. In: Proceedings of the 7th International Joint Conference on Artificial Intelligence (IJCAI), vol. 2, pp. 674–679 (1981)
[2] Horn, B.K.P., Schunck, B.G.: Determining optical flow. Artif. Intell. 17(1-3), 185–203 (1981) https://doi.org/10.1016/0004-3702(81)90024-2
[3] Rudin, L.I., Osher, S., Fatemi, E.: Nonlinear total variation based noise removal algorithms. Physica D 60(1-4), 259–268 (1992) https://doi.org/10.1016/0167-2789(92)90242-F
[4] Shulman, D., Hervé, J.-Y.: Regularization of discontinuous flow fields. In: Proceedings of the IEEE Workshop on Visual Motion, Irvine, CA, USA, pp. 81–86 (1989). https://doi.org/10.1109/WVM.1989.47097
[5] Rouchouze, B., Mathieu, P., Gaidon, T., Barlaud, M.: Motion estimation based on Markov random fields. In: Proceedings of the 1st IEEE International Conference on Image Processing, Austin, TX, USA, vol. 3, pp. 270–274 (1994). https://doi.org/10.1109/ICIP.1994.413845
[6] Deriche, R., Kornprobst, P., Aubert, G.: Optical-flow estimation while preserving its discontinuities: A variational approach. In: Li, S.Z., Mital, D.P., Teoh, E.K., Wang, H. (eds.) Recent Developments in Computer Vision (ACCV'95). Lecture Notes in Computer Science, vol. 1035, pp. 69–80. Springer, Berlin, Heidelberg (1996). https://doi.org/10.1007/3-540-60793-5_63
[7] Zach, C., Pock, T., Bischof, H.: A duality based approach for realtime TV-L1 optical flow. In: Hamprecht, F.A., Schnörr, C., Jähne, B. (eds.) Pattern Recognition (DAGM 2007). Lecture Notes in Computer Science, vol. 4713, pp. 214–223.
Springer, Berlin, Heidelberg (2007). https://doi.org/10.1007/978-3-540-74936-3_22
[8] Wedel, A., Pock, T., Zach, C., Bischof, H., Cremers, D.: An improved algorithm for TV-L1 optical flow. In: Cremers, D., Rosenhahn, B., Yuille, A.L., Schmidt, F.R. (eds.) Statistical and Geometrical Approaches to Visual Motion Analysis. Lecture Notes in Computer Science, vol. 5604, pp. 23–45. Springer, Berlin, Heidelberg (2009). https://doi.org/10.1007/978-3-642-03061-1_2
[9] Chambolle, A., Pock, T.: A first-order primal-dual algorithm for convex problems with applications to imaging. J. Math. Imaging Vis. 40(1), 120–145 (2011) https://doi.org/10.1007/s10851-010-0251-1
[10] Ranftl, R., Bredies, K., Pock, T.: Non-local total generalized variation for optical flow estimation. In: Fleet, D., Pajdla, T., Schiele, B., Tuytelears, T. (eds.) Computer Vision – ECCV 2014. Lecture Notes in Computer Science, vol. 8689, pp. 439–454. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10590-1_29
[11] Ali, S., Daul, C., Galbrun, E., Blondel, W.: Illumination invariant optical flow using neighborhood descriptors. Comput. Vis. Image Underst. 145, 95–110 (2016) https://doi.org/10.1016/j.cviu.2015.12.003
[12] Chambolle, A.: An algorithm for total variation minimization and applications. J. Math. Imaging Vis. 20(1–2), 89–97 (2004) https://doi.org/10.1023/B:JMIV.0000011325.36760.1e
[13] Kalmoun, E.M.: An investigation of smooth TV-like regularization in the context of the optical flow problem. J. Imaging 4(2), 31 (2018) https://doi.org/10.3390/jimaging4020031
[14] Bruhn, A., Weickert, J., Schnörr, C.: Lucas/Kanade meets Horn/Schunck: Combining local and global optic flow methods. Int. J. Comput. Vis. 61(3), 211–231 (2005) https://doi.org/10.1023/B:VISI.0000045324.43199.43
[15] Kalmoun, E.M., Garrido, L.: Trust region versus line search for computing the optical flow. Multiscale Model. Simul. 11(3), 890–906 (2013) https://doi.org/10.1137/120897213
[16] Wedel, A., Cremers, D., Pock, T., Bischof, H.: Structure- and motion-adaptive regularization for high accuracy optic flow. In: 2009 IEEE 12th International Conference on Computer Vision (ICCV), Kyoto, Japan, pp. 1663–1668 (2009). https://doi.org/10.1109/ICCV.2009.5459375
[17] Belhachmi, Z., Hecht, F.: Control of the effects of regularization on variational optic flow computations. J. Math. Imaging Vis. 40(1), 1–19 (2011) https://doi.org/10.1007/s10851-010-0239-x
[18] Belhachmi, Z., Hecht, F.: An adaptive approach for the segmentation and the TV-filtering in the optic flow estimation. J. Math. Imaging Vis. 54(3), 358–377 (2016) https://doi.org/10.1007/s10851-015-0608-6
[19] Engl, H.W., Hanke, M., Neubauer, A.: Regularization of Inverse Problems. Mathematics and Its Applications, vol. 375. Kluwer Academic Publishers, Dordrecht (1996). https://doi.org/10.1007/978-94-009-1740-8
[20] Hansen, P.C.: Analysis of discrete ill-posed problems by means of the L-curve. SIAM Rev. 34(4), 561–580 (1992) https://doi.org/10.1137/1034115
[21] Golub, G.H., Heath, M., Wahba, G.: Generalized cross-validation as a method for choosing a good ridge parameter. Technometrics 21(2), 215–223 (1979) https://doi.org/10.1080/00401706.1979.10489751
[22] Stein, C.M.: Estimation of the mean of a multivariate normal distribution. Ann. Stat. 9(6), 1135–1151 (1981) https://doi.org/10.1214/aos/1176345632
[23] Baker, S., Scharstein, D., Lewis, J.P., Roth, S., Black, M.J., Szeliski, R.: A database and evaluation methodology for optical flow. Int. J. Comput. Vis. 92(1), 1–31 (2011) https://doi.org/10.1007/s11263-010-0390-2
[24] Barron, J.L., Fleet, D.J., Beauchemin, S.S.: Performance of optical flow techniques. Int. J. Comput. Vis. 12(1), 43–77 (1994) https://doi.org/10.1007/BF01420984
[25] Pagliari, V., Papafitsoros, K., Raitä, B., Vikelis, A.: Bilevel training schemes in imaging for total variation-type functionals with convex integrands. SIAM J. Imaging Sci. 15(4), 1690–1728 (2022) https://doi.org/10.1137/21M1467328
[26] Kunisch, K., Pock, T.: A bilevel optimization approach for parameter learning in variational models. SIAM J. Imaging Sci. 6(2), 938–983 (2013) https://doi.org/10.1137/120882706
[27] De los Reyes, J.C., Schönlieb, C.-B.: Image denoising: learning the noise model via nonsmooth PDE-constrained optimization. Inverse Probl. Imaging 7(4), 1183–1214 (2013) https://doi.org/10.3934/ipi.2013.7.1183
[28] De los Reyes, J.C., Schönlieb, C.-B., Valkonen, T.: The structure of optimal parameters for image restoration problems. J. Math. Anal. Appl. 434(1), 464–500 (2016) https://doi.org/10.1016/j.jmaa.2015.09.023
[29] De los Reyes, J.C., Villacís, D.: Optimality conditions for bilevel imaging learning problems with total variation regularization. SIAM J. Imaging Sci. 15(4), 1646–1689 (2022) https://doi.org/10.1137/21M143412X
[30] De los Reyes, J.C.: Bilevel imaging learning problems as mathematical programs with complementarity constraints: Reformulation and theory. SIAM J. Imaging Sci. 16(3), 1655–1686 (2023) https://doi.org/10.1137/21M1450744
[31] Ehrhardt, M.J., Gazzola, S., Scott, S.J.: On optimal regularization parameters via bilevel learning. In: Bubba, T.A. (ed.) Data-driven Models in Inverse Problems. Radon Series on Computational and Applied Mathematics, vol. 31, pp. 1–38. De Gruyter, Berlin, Boston (2025). https://doi.org/10.1515/9783111251233-001
[32] Hintermüller, M., Wu, T.: Bilevel optimization for calibrating point spread functions in blind deconvolution. Inverse Probl. Imaging 9(4), 1139–1169 (2015) https://doi.org/10.3934/ipi.2015.9.1139
[33] Bartels, S., Weber, N.: Parameter learning and fractional differential operators: Applications in regularized image denoising and decomposition problems. Math. Control Relat. Fields 13(1), 35–62 (2023) https://doi.org/10.3934/mcrf.2021048
[34] Crockett, C., Fessler, J.A.: Bilevel methods for image reconstruction. Found. Trends Signal Process. 15(2–3), 121–289 (2022) https://doi.org/10.1561/2000000111
[35] Ehrhardt, M.J., Roberts, L.: Inexact derivative-free optimization for bilevel learning. J. Math. Imaging Vis. 63(5), 580–600 (2021) https://doi.org/10.1007/s10851-021-01020-8
[36] Ehrhardt, M.J., Roberts, L.: Analyzing inexact hypergradients for bilevel learning. IMA J. Appl. Math. 89(1), 254–278 (2024) https://doi.org/10.1093/imamat/hxad035
[37] Suonperä, E., Valkonen, T.: Single-loop methods for bilevel parameter learning in inverse imaging. J. Nonsmooth Anal. Optim. 5, 15577 (2025) https://doi.org/10.46298/jnsao-2025-15577
[38] Domke, J.: Generic methods for optimization-based modeling. In: Lawrence, N.D., Girolami, M. (eds.) Proceedings of the Fifteenth International Conference on Artificial Intelligence and Statistics (AISTATS). Proceedings of Machine Learning Research, vol. 22, pp. 318–326 (2012). https://proceedings.mlr.press/v22/domke12.html
[39] Domke, J.: Learning graphical model parameters with approximate marginal inference. IEEE Trans. Pattern Anal. Mach. Intell. 35(10), 2454–2467 (2013) https://doi.org/10.1109/TPAMI.2013.31
[40] Ranftl, R., Pock, T.: A deep variational model for image segmentation. In: Jiang, X., Hornegger, J., Koch, R. (eds.) Pattern Recognition (GCPR 2014). Lecture Notes in Computer Science, vol. 8753, pp. 107–118. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11752-2_9
[41] Jiang, S., Campbell, D., Liu, M., Gould, S., Hartley, R.: Joint unsupervised learning of optical flow and egomotion with bi-level optimization. In: 2020 International Conference on 3D Vision (3DV), pp. 682–691 (2020). https://doi.org/10.1109/3DV50981.2020.00078
[42] El Hakoume, A., Laghrib, A., Hadri, A., Afraites, L.: An optimal fluid optical flow registration for super-resolution with Lamé parameters learning. J. Optim. Theory Appl. 197(2), 508–538 (2023) https://doi.org/10.1007/s10957-023-02186-4
[43] El Malki, I., Jauberteau, F., Laghrib, A., Nachaoui, M.: A bilevel learning approach for nonlocal image deblurring with variable weights parameter. Digit. Signal Process. 149, 104505 (2024) https://doi.org/10.1016/j.dsp.2024.104505
[44] Strong, D., Chan, T.: Edge-preserving and scale-dependent properties of total variation regularization. Inverse Probl. 19(6), S165–S187 (2003) https://doi.org/10.1088/0266-5611/19/6/059