WorksMathematics
Multi-Trajectory Parallel-in-Iteration Optimization
Abstract
Previously, we developed a ``parallel-in-iteration'' optimization framework that uses multigrid reduction-in-time (MGRIT) to parallelize slowly converging optimization methods, such as gradient descent. Unlike time-dependent evolution problems, optimization requires only a final point with a sufficiently small gradient, rather than an accurate approximation of the entire trajectory of iterates. This motivates a different use of MGRIT: instead of repeatedly improving the approximation of a single long trajectory, we introduce restarted MGRIT (R-MGRIT), which performs one MGRIT iteration on a trajectory, takes the approximate final point as a new initial guess, and repeats the process on a new trajectory. Each restart thus defines a new all-at-once system, allowing progress toward the solution without accurately approximating the preceding trajectory. Moreover, we find that these trajectories can be shortened without increasing the number of restarts needed for convergence. We provide theoretical results comparing MGRIT and R-MGRIT for linear problems and demonstrate the convergence behavior of the shortened trajectories numerically for both linear and nonlinear problems. Shortening the trajectories increases the estimated parallel speedup while reducing the number of processors required.
Introduction
Consider the unconstrained optimization problem of minimizing a convex function , i.e., solving . Suppose that for solving this problem we employ a 1-step iterative optimization algorithm of the form
where is a linear or nonlinear operator and is a generic forcing term that does not depend on . For example, if , where is -smooth and is nonsmooth, then we may use proximal gradient [5, 4] as the optimization method, which takes the form of (1) with
where denotes the subgradient of , and for all . If , i.e., the objective function is -smooth, then (2) reduces to the gradient descent operator [18, 19], another prototypical method of the form (1). These algorithms may converge slowly; for general convex problems, gradient descent and proximal gradient have a convergence rate of , such that tens of thousands or more iterations [7, 21, 5] may be required to get an accurate approximation to the optimum. Since the algorithms are sequential in , a long wall-clock time may then be required to solve the problem.
Assume iterations of the method (1) starting from an initial guess are required in order to approximate , a minimizer of , to the desired accuracy. Computing this sequence of iterates is equivalent to solving the “all-at-once” system,
where is the initial guess. Parallel-in-time algorithms, such as multigrid reduction-in-time (MGRIT) [11], are designed to solve systems of the form (3) for time-dependent evolution equations [13, 20]. Further inspired by the fact that certain optimization algorithms can be interpreted as discretizations of time-dependent ODEs [26, 3, 23], in [2] we re-purposed parallel-in-time methods, namely MGRIT, to parallelize over iterations of optimization algorithms by writing those iterations in the form of (3). We showed that this approach can substantially reduce the predicted wall-clock time compared with executing the optimization algorithm sequentially. We note that related ideas have also since been used to parallelize gradient flows with Parareal [27].
While parallel-in-time methods approximate entire exact trajectories with high accuracy, the goal for optimization problems is to sufficiently reduce the gradient of the initial guess in order to obtain an approximate minimizer of the objective function. In our parallel-in-iteration approach [2], MGRIT is used to approximate the exact sequence of iterates produced by a fixed number of steps of the sequential optimization method (1). Since the intermediate iterates generated by (1) are irrelevant to the final solution, expending computational resources to accurately approximate the entire trajectory is inefficient. Instead, we can consider multiple trajectories, and approximate them inexactly with just one or a few MGRIT iterations, where each new trajectory is started from the final point of the previous trajectory.
We call this restarted MGRIT algorithm R-MGRIT. Given an optimization problem with minimizer and optimization method (1), we consider applying MGRIT to the associated all-at-once system (3) with time points. After one MGRIT iteration, we obtain approximate solutions , . If the approximation at the final point, , is not sufficiently accurate, we formulate a new all-at-once system,
where the new initial guess is updated to . This updated system determines a new trajectory yielded by (1) starting from the improved initial guess . Rather than accurately approximating a single long trajectory, R-MGRIT approximates a sequence of potentially shorter trajectories, using the final point of each to initialize the next. We therefore refer to R-MGRIT as a multi-trajectory parallel-in-iteration algorithm.
Our motivation is to investigate whether doing a one MGRIT iteration per trajectory leads to a more efficient parallel-in-iteration method than running MGRIT to convergence on a single trajectory, assuming the trajectory has enough optimization steps to reach the desired optimization accuracy. We prove, based on existing MGRIT error propagation theory, that standard MGRIT and R-MGRIT yield approximately the same gradient reduction after a fixed number of iterations. However, we find that we can shorten the consecutive trajectories without increasing the number of trajectories needed for convergence, which increases the parallel speedup while at the same time reducing the number of processors required.
The rest of this paper is organized as follows. In § 2, we introduce our model problems and the optimization methods considered in this paper. In § 3, we present the MGRIT algorithm in an optimization context and define our standard and multi-trajectory parallel-in-iteration schemes. In § 4, we compare the standard and restarting MGRIT schemes theoretically, which justifies our approach of truncating the time domain for multi-trajectory solves. § 5 provides numerical results, in which we observe that both standard and restarted schemes converge in approximately the same number of iterations; moreover, the number of R-MGRIT trajectories required for convergence is either preserved or reduced by truncating the time domain to a fixed fraction of the original number of time points. In § 6, we provide theoretical speedup estimates for the truncated restarting scheme, showcasing its superiority over the standard MGRIT scheme. In § 7, we apply Anderson acceleration to accelerate R-MGRIT, and concluding remarks are given in § 8.
Model problems
In the following, we briefly summarize our model problems and present the optimization algorithms of our choice for each problem; for a more complete discussion, see [2]. The optimization algorithms are employed in the parallel-in-iteration framework, such that in what follows we speak of a “fine-grid” optimization method, and a complementary “coarse-grid” optimization method; see discussion in subsection 3.1. We let denote a coordinate on , such that when and when . The matrices which appear in the definition of our model problems arise from finite-difference discretizations of (negative) Laplacian operators, and are defined as
for and , respectively, with . Here, is a tridiagonal matrix with elements , and on the sub-, main and superdiagonals, respectively, and is the identity matrix. The 2-norm of is for , while the 2-norm of is for . Throughout the paper, we refer to and as 1D and 2D Laplacian matrices, respectively.
Quadratic minimization problem (MP1)
Our first model problem, MP1 (7), is the following straightforward quadratic minimization,
where is the 1D Laplacian matrix (5), such that , and is some prescribed vector. We consider solving this problem with a fine-grid gradient descent iteration, which uses the update
with stepsize for . On the coarse-grid we are required to step over the stability limit of gradient descent, and as such we use the proximal point method, with updates given by
Elastic obstacle problem (MP2)
Our second model problem, MP2 (10), is an approximate linearized discretization of the elastic obstacle problem (EOP) [6, 22] with an penalty [28]. Given some discretized obstacle and dimension , letting , MP2 is given by
where is the -dimensional Laplacian matrix from (2.1), is a predefined penalty parameter, and , where and denotes the norm. For sufficiently large , the solution of (10) is an approximate solution of the continuous EOP up to a change of variables [16, 12].
As in [2], we consider proximal gradient descent as the fine-grid method for (10), with updates taking the form
where denotes the gradient of and denotes the subgradient of ; the proximal operator is given component-wise by
We take with , . Analogously to MP1, on coarse grids we must step over the stability limit of the proximal gradient descent method, so that on coarse grids we use the alternating proximals method:
Parallel-in-iteration optimization methods
In [2], we presented our parallel-in-iteration framework for optimization problems based on re-purposing parallel time integration algorithms for time-dependent differential equations, motivated by the fact that optimization algorithms often have interpretations as discretizations of time-dependent differential equations (such as gradient flow). In this section, we recall the MGRIT algorithm [11], which we present in the context of optimization. Then, we define our multi-trajectory R-MGRIT parallel-in-iteration scheme. While we use MGRIT in our exposition of the multi-trajectory framework, we note that other parallel-in-time methods, such as PFASST [17, 10], for example, could be employed instead.
The MGRIT algorithm
Given an initial guess and 1-step iterative method of the form (1), we consider the associated all-at-once system of the form (3), where is the initial guess and is the exact solution. The associated residual vector, given an approximation , is defined as
We assume that is sufficiently large such that is a sufficiently accurate approximation of the minimizer . Instead of solving (3) sequentially with time-stepping or forward substitution, MGRIT aims to solve it iteratively and in parallel via the introduction of a coarser approximation of the problem. Let , be a fine temporal mesh with constant spacing ; in an optimization setting, we take it to be the fixed stepsize of the underlying optimization method (1). Then, given an integer coarsening factor , we introduce a coarse temporal mesh , , where , with constant spacing . We denote the points appearing exclusively on the coarse mesh by -points, while all remaining points are -points. Figure 1 illustrates the fine- and coarse-grid temporal meshes.

Figure 1. Fine- and coarse-grid discretization meshes with coarsening factor . -points (in blue) are denoted by , while all remaining points are -points (in black); the fine grid is the union of - and -points.
MGRIT has both linear [11] and Full Approximation Scheme (FAS) variants [14], suitable for linear and nonlinear , respectively, and these variants differ in the way that coarse-grid correction is performed. First, we consider the linear case, in which we assume is a linear operator, such that is a matrix-vector product with matrix . We also write the action of the space-time operator , meaning it operates simultaneously on all spatial coordinates and time points of the solution , as a matrix-vector product . From (3), we obtain an equivalent system written only in terms of the -points, which we write in block-matrix form as
where ; note that plays the role of time-stepping operator for this coarse system. While system (15) has a factor of fewer equations than (3), it is no less expensive to solve because (naively) computing the action of is times as expensive as computing that of . So, instead, MGRIT solves an approximation to the ideal coarse-grid system (15) arising from replacing the ideal coarse-grid time-stepping operator with an approximation:
Then, MGRIT solves the approximate system , where the approximation replaces the terms in (15) by .
Throughout the paper, we assume MGRIT is initialized with an initial approximate solution vector which simply extends the initial guess to all other time points, which will be important to maintain progress in the restarted method. Letting denote the initial MGRIT residual (14), we define the linear MGRIT algorithm in Algorithm 3.1 with the standard MGRIT pre- and post-relaxation schemes [11, 9], where stands for the injection operator. Note that we omit the post F-relaxation that follows the correction at C-points, since it is made redundant by the FCF-relaxation in the following iteration. We note that while the MGRIT convergence criterion is given in terms of the residual
Algorithm 3.1 2-level MGRIT(, , , , ).
Initialize given initial guess : .
repeat
Apply FCF-relaxation to using .
Inject residual to the coarse grid: .
Solve coarse-grid correction problem using : .
Correct approximate solution at C-points: .
until .
(14), in [2 Lemma 5.1] we proved that reducing the norm of the initial residual by a factor implies that the norm of the gradient is also reduced to a similar factor; i.e., , where denotes the MGRIT approximate solution at the final time point .
Now let us consider the MGRIT coarse-grid correction in the more general FAS case, where in (3) is not (necessarily) a linear operator. Let be an approximate solution of in (3). After performing the FCF-relaxation step, both the fine-grid approximation and nonlinear residual are injected to the coarse-grid:
The ideal FAS coarse-grid problem is then to solve the system
for the coarse-grid solution , where similarly to (15),
The coarse-grid system (18) results from the elimination of F-points variables from the residual equation . Similarly to the linear case, the MGRIT iteration solves an approximation of (18),
where replaces the terms in by a computationally cheaper .
We define the 2-level FAS-MGRIT iteration in Algorithm 3.2, once again omitting the redundant post-F relaxation. Similarly to the linear case, in [2 Lemma 5.1] we proved that implies that , where denotes the generalized gradient of , given by
Algorithm 3.2 2-level FAS-MGRIT(, , , ,).
Initialize given initial guess : .
repeat
Apply FCF-relaxation to using .
Inject approximate solution and residual to coarse grid: , .
Solve coarse-grid correction problem: .
Compute coarse-grid error approximation: .
Correct approximate solution at C-points: .
until .
for some . Note that is the same as the proximal gradient operator (11); in particular, .
While we have described 2-level MGRIT methods, multilevel MGRIT schemes are obtained by recursively applying the 2-level schemes. In our numerical tests, we apply the standard MGRIT scheme for MP1 (7) and the FAS-MGRIT scheme for MP2 (10). For both MP1 and MP2, MGRIT is iterated until the 2-norm of the residual (14) is reduced by 8 orders of magnitude from its initial value.
The restarted MGRIT algorithm for optimization problems (R-MGRIT)
We now describe the R-MGRIT algorithm, Algorithm 3.3. As introduced in § 1, instead of approximating a single exact trajectory yielded by the underlying optimization method (1), we treat the initial guess of the all-at-once system (3) as a parameter to be reinitialized. Each new trajectory is approximated using one MGRIT iteration.1 Thus, R-MGRIT can be interpreted as a restarting scheme that approximates multiple trajectories, each hopefully starting from a point closer to the true optimum. It is important to propagate across the C-points in the new trajectory because a random initialization of the C-points may reintroduce large gradients. We note that one R-MGRIT iteration costs the same as one MGRIT iteration from Algorithms 3.1 and 3.2.
Algorithm 3.3 R-MGRIT(, , , ,,).
repeat
Initialize given initial guess : .
Run 1 iteration of MGRIT on all-at-once system .
Set , .
until .
Asymptotic final-point analysis of MGRIT and R-MGRIT
In the following, we compare standard linear MGRIT and R-MGRIT theoretically. We use the index to denote the number of iterations for standard MGRIT and the number of restarts (i.e., trajectories) for R-MGRIT. Based on linear MGRIT error propagation theory [9, 25], we demonstrate that if the approximate solutions at the final time point of the th MGRIT iteration and th R-MGRIT trajectory are approximately the same, converging to the same asymptotic limit as .
Consider an iterative method of the form (1) with a linear operator . Furthermore, we assume for , such that, given an initial guess , we have
Writing the th iterate yielded by (1) in terms of the initial guess yields
Since is a fixed point of the iteration, i.e., , we may shift coordinates by defining , with the resulting iteration being . Thus, without loss of generality, we simplify the above iteration to
For concreteness, we may consider in the case of gradient descent (8) for MP1, (7).
In the following, we first explicitly determine the MGRIT error propagation matrix for MGRIT iterations. Assuming a constant initialization strategy, we then characterize the MGRIT and R-MGRIT approximate solutions, for the case of MGRIT iterations and R-MGRIT trajectories with 1 MGRIT iteration per trajectory, at the final time point in terms of the MGRIT parameters. Finally, we prove that the MGRIT and R-MGRIT end-point approximate solutions converge to the same asymptotic limit for fixed as .
MGRIT error propagation after iterations
Let and denote the fine- and coarse-grid operators. After iterations, the C-point error propagation block matrix propagates the error at C-points via
where and denote the C-point initial error and the C-point error after iterations, respectively. For MGRIT with FCF-relaxation, is given by [9, 25]
or block-wise, by
By taking the th power of in (26), we explicitly determine the error propagation matrix for MGRIT iterations. We now introduce an assumption to hold uniformly throughout this section; while not strictly necessary for all of the results, applying the assumption uniformly aids in the presentation.
Assumption 4.1. The fine- and coarse-grid operators and are simultaneously unitarily diagonalizable and satisfy and .
Proposition 4.2. Let Assumption 4.1 hold. For any iteration , the block-components of are given by:
Proof. By induction on . The base case trivially matches (26) since . Now, assume the formula holds for . We compute the -th block of via the block matrix product
By (28) holding for and , the addends in this sum are non-zero only if and . Adding these two inequalities, we have that if . Otherwise, for , substituting (28) into (29) yields
where we used the commutativity of and . Recall the hockey-stick (or Fermat’s) identity for non-negative integers ,
Applying the change of variables , we get that
where the final equality comes from applying (30). ∎
From Proposition 4.2, we generalize [9 Lemma 3.2] to determine the C-point errors after iterations.
Lemma 4.3. Let Assumption 4.1 hold. After iterations of MGRIT with FCF-relaxation, the approximate solution at the th C-point satisfies , where the error at the C-points satisfies
Proof. The error at the -th C-point, , is determined by the product of the -th block row of with the initial C-point error vector :
The statement then follows from substituting (28) into (34).
Characterizing (R-)MGRIT final-point approximate solutions
We now characterize the approximate solutions at the final time point for standard MGRIT and R-MGRIT. For both methods, we use the constant initialization strategy described in Algorithms 3.1 and 3.3.
First, consider standard MGRIT applied to a trajectory with initial guess . Since the exact solution at the th C-point is , the constant initialization gives an initial error . Substituting this into Lemma 4.3, the error after MGRIT iterations at the final time point is , where
Since the exact solution at the final time point is , the corresponding MGRIT approximation is
where .
Next, consider R-MGRIT with one MGRIT iteration per trajectory. Since the same constant initialization strategy is used for each trajectory, the operator mapping its initial guess to its approximate final point is always the one-iteration MGRIT operator
Let denote the initial guess of the th R-MGRIT trajectory, with . The approximate final point of this trajectory is . By construction, this becomes the initial guess for the next trajectory, i.e., . Applying this relation recursively, we obtain
Thus, standard MGRIT applies iterations to a single trajectory, yielding the final-point approximation , whereas R-MGRIT applies the same single-iteration final-point operator times, yielding . In the following sections, we compare these two approximations as .
Error operators
Let be the unitary matrix that diagonalizes both and under Assumption 4.1, such that
is satisfied with and denoting the th eigenvalues of and , respectively. We denote by the th modal component of the initial guess , where is the th column of . Then, after an eigenvector expansion of on the basis of eigenvectors given by the columns of , it follows that the action of on the th mode is given by , given by [9, 25]
Following similar steps, it also follows from Proposition 4.2 that the action of from (35) on the th mode (i.e., the th modal component of ) is
such that the modal equivalents of (36) and (38) are
and
respectively, where is the th modal component of , and is the th modal component of . We now establish the asymptotic modal error operator as .
Lemma 4.4. Let Assumption 4.1 hold. As , the modal error operator from (41) for MGRIT iterations asymptotically converges to a well-defined limit modal operator
Proof. Applying the change of variables reverses the summation order, rewriting the modal error operator from (41) as:
Let . We can split the summation into two distinct parts and evaluate their limits as . For the first part involving the term, let
To bound this sum, let . By hypothesis, both and , which implies . Taking the absolute value yields:
Using the hockey-stick identity (30), the sum of the binomial coefficients evaluates to , giving the bound . The expression is a polynomial in of degree , while is an exponentially decaying term. Since exponential decay dominates polynomial growth as , we have , meaning .
The second part of the summation in (45), , is a partial sum of the negative binomial series. As , this yields the Maclaurin series expansion for :
Because , this series converges absolutely. Substituting these two limits back into the original expression yields
which recovers in (44).
Asymptotic final-point (R-)MGRIT approximate solutions
We now show that for any fixed , both MGRIT with iterations and R-MGRIT with 1 MGRIT iteration on consecutive trajectories converge to the same final-point approximate solution, asymptotically for .
Theorem 4.5. Let Assumption 4.1 hold. For any fixed , the MGRIT and R-MGRIT final-point solutions from (36) and (38) converge to the same limit as , namely,
where
Proof. We first establish the result for each modal component. For , define . By Lemma 4.4, we have
Since , we also have as . Thus, using (42) and (43), we obtain
Hence, the MGRIT and R-MGRIT final-point approximations converge to the same limit in every mode.
To recover the full approximate solution vectors, recall that the columns of form an orthonormal basis. Since is finite, the modal limits can be combined to give
Finally, by the simultaneous diagonalization of and ,
Therefore, the common limit is , as claimed. ∎
By the triangle inequality, we can bound the finite-time difference between the MGRIT and R-MGRIT approximate solutions by their differences with respect to their shared asymptotic limit:
In our numerical experiments from § 5, we observe that these right-hand side terms are approximately zero for a sufficiently large , which implies the left-hand side difference is also close to zero. Namely, we will infer this in Figure 3 from the fact that the gradient at the C-points stalls for both MGRIT and R-MGRIT, which is consistent with , with similar behavior observed in the nonlinear, nonsmooth MP2 experiments in Figure 5 and Figure 7.

Figure 3. -norm of the gradient of the MP1 approximate solutions at coarse time index and iteration of MGRIT, R-MGRIT and -truncated R-MGRIT (with ), from left to right, divided by the -norm of the gradient of the initial guess .

Figure 5. -norm of the generalized gradient (21) of the MP2-1D, (10), approximate solutions at coarse time index and iteration of MGRIT, R-MGRIT and -truncated R-MGRIT (with ), from left to right, divided by the -norm of the gradient of the initial guess .

Figure 7. -norm of the generalized gradient (21) of the MP2-2D approximate solutions at coarse time index and iteration of MGRIT, R-MGRIT and -truncated R-MGRIT (with ), from left to right, divided by the -norm of the gradient of the initial guess .
On a truncated R-MGRIT strategy
We now motivate the idea of shortening R-MGRIT trajectories, by showing that the approximate endpoint solution obtained with one MGRIT iteration depends only weakly on the length of the trajectory.
Lemma 4.6. Let Assumption 4.1 hold. Consider an R-MGRIT trajectory with fixed initial guess . Let denote its approximation at the th C-point after one MGRIT iteration. Then the limit exists, and
Consequently,
Proof. Under constant initialization, Lemma 4.3 gives
Separating the final term yields the recurrence
Since , we obtain
Using and iterating gives
Since , the Neumann series converges, giving
Subtracting this limit from the preceding finite sum and using the geometric series identity gives (58). Finally, since is unitarily diagonalizable, , which yields (59). □
Lemma 4.6 provides a motivation for shortening R-MGRIT trajectories. Although the approximate solution along a single trajectory generally converges to , its difference from this limit decays geometrically at a rate governed by . Thus, sufficiently far along a trajectory, computing additional C-points has little effect on its approximate endpoint. Since R-MGRIT uses only this endpoint to initialize the next trajectory, much of this additional computation may be unnecessary.
More precisely, let denote the endpoint operator for a trajectory with coarse-grid intervals. The lemma implies that as , and hence for fixed . Therefore, sufficiently long trajectories can be shortened while retaining approximately the same final-point solution after restarts, potentially reducing the computational cost of R-MGRIT.
Motivated by this observation, we consider truncating each R-MGRIT trajectory to fine-grid intervals, where and is rounded to a multiple of when necessary. For sufficiently large , the preceding analysis suggests that, for fixed ,
The theoretical result does not specify how short the trajectories can be made, nor does it guarantee that truncation preserves the number of restarts required for convergence. We investigate these questions numerically in § 5, using .
Numerical results for MGRIT vs. R-MGRIT
For our numerical experiments we consider the two model problems, MP1, (7), and MP2, (10), with the optimization methods described in subsections 2.1 and 2.2 for MP1 and MP2, respectively. For each problem, we first determine via a sequential fine-grid solve, then construct our fine-grid mesh of points with spacing . We choose as the relative tolerance for all iterative methods.
For R-MGRIT, as proposed in subsection 4.5, we consider truncating the fine-grid time domain by a fixed factor . In this case, we solve all-at-once systems of the form (4) corresponding to a fifth of the number of iterations of the underlying optimization method. We illustrate convergence results for a particular set of choices. for the parameters (dimension of the Laplacian matrix), (coarsening factor) and (number of levels). Later, we present results for different values of , and to analyze how performance is affected by the choices of these parameters.
The initial MGRIT guess is chosen to be random with components in , after which the condition is enforced on the all-at-once system (3). For both model problems, we fix a step size for the th level operator, , where denotes the coarsening factor and the maximum number of levels; note that we use the same operator (with the level-appropriate step size ) on all levels .
Numerical experiments for gradient descent applied to MP1
We solve MP1, (7), using gradient descent, (8). For this example, the 1D Laplacian matrix in (5) with 2-norm is taken with , the coarsening factor is chosen to be and the number of levels to be . We also choose to be random with components in . First, we solve the problem sequentially, with 30,016 iterations required for the convergence of the gradient descent algorithm (8). MGRIT then solves (3) using Algorithm 3.1. We then consider truncating the total number of fine-grid intervals from to . For a truncation factor , we have .
Convergence for the sequential and MGRIT solves is illustrated in Figure 2, in which we observe that MGRIT requires 8 iterations for convergence, while R-MGRIT only requires 6 trajectories, so a total of 6 MGRIT iterations. We plot the gradient at the C-point approximate solutions of each iteration of MGRIT and R-MGRIT in Figure 3, in which we observe that the truncated R-MGRIT possesses a similar convergence behavior as the full-time domain R-MGRIT solve. Therefore, by truncating to a sufficiently large (yet relatively small) , we obtain convergence in at most as many iterations as MGRIT.

Figure 2. (a): Convergence of MP1 with a standard sequential solve using gradient descent (8). (b): Convergence of MP1 using MGRIT (in blue), R-MGRIT (in red) and -truncated R-MGRIT with (in yellow).
Figure 2(b) shows that MGRIT and R-MGRIT converge essentially with the same speed and the cost per iteration is the same, so there is no direct benefit in considering multiple inexact trajectories instead of converging MGRIT accurately on a single trajectory. However, the middle panel of Figure 3 suggests that running R-MGRIT with shorter trajectories may provide a substantial cost benefit. This approach is explained in the -truncated numerical results in this section, and gain in computational cost is discussed in § 6.
Although the numerical results illustrated in Figure 3 are only presented for the norm of the gradient, the theory from § 4 allows us to interpret the results in terms of the approximate solutions. Theorem 4.5 predicts that the difference between the MGRIT and R-MGRIT final-point approximate solutions for each fixed iteration index will be small as the number of C-points becomes sufficiently large for both to approximate their common asymptotic limit of , and Figure 3 indicates that this happens much earlier than . Indeed, Figure 3 suggests that (60) holds for with with -truncated R-MGRIT attaining a similar gradient reduction factor to MGRIT and full-time R-MGRIT.
For , we observe that is no longer large enough for the approximation to hold and the MGRIT final-point gradient stalls, with a final gradient reduction factor of approximately as predicted by [2 Lemma 5.1]. By approximating new target trajectories rather than the initial one, R-MGRIT iterations of index continue to reduce the gradient by approximately the same linear rate, as first illustrated in Figure 2. Thus, R-MGRIT does not require an accurate estimation of , the number of iterations required for convergence of gradient descent (8) with the prescribed accuracy threshold.
In Table 1, we present MGRIT and R-MGRIT convergence results for MP1 (7) with different coarsening factors , number of MGRIT levels and different sizes for the matrix in (5); we note that all R-MGRIT results hold identically for a truncation factor (not shown). Having established in [2] that the number of iterations does not change much as increases, here we only present results for the smallest () and largest () possible number of levels given the number of time points and the coarsening factor .
| 9(9) | 9(9) | |
| 8(7) | 8(7) | |
| 8(6) | 8(6) | |
| 7(5) | — | |
| 9(9) | 9(9) | |
| 8(7) | 8(7) | |
| 8(6) | 8(6) | |
| 8(6) | — | |
| 7(5) | — |
Table 1. MP1 (7) MGRIT convergence results for different values of and . In parentheses, results for R-MGRIT. Here, denotes the maximum number of levels for the given coarsening factor. For both and , we have for , for , for and for ; for , we have . (a) , ; (b) , .
Numerical experiments for proximal gradient applied to MP2
Numerical results for MP2-1D
We now consider solving the EOP, MP2 (10), using proximal gradient method (11) with penalty parameter .
For MGRIT, we choose the alternating proximals operator (13) to be the coarse-grid operator. We present one MP2-1D and one MP2-2D example, similar to those in [2].
For the MP2-1D example, we consider MP2 in (10) with and , with MGRIT parameters and . The obstacle is obtained by discretizing for on a uniform mesh of points.
We again start by presenting results for the sequential and (R-)MGRIT convergence in Figure 4. In this example, the proximal gradient method requires 109,888 iterations to reach the prescribed halting tolerance, i.e., that the generalized gradient of , in (21), be reduced by 8 orders of magnitude; we extend the number of time points to such that is an integer. In Figure 4, we observe that MGRIT reaches the prescribed residual tolerance in 10 iterations, while R-MGRIT reaches it in 9 iterations both when using the full number of time points and when truncating the time domain to a fifth of the number of time points. The convergence speed of all 3 methods in Figure 4 is very similar. We present the C-point gradients of each iteration in Figure 5, in which we observe similar behavior in the gradient norm to what we observed in Figure 3 for MP1.

Figure 4. (a): Convergence of MP2-1D with a standard sequential solve using proximal gradient (11). (b): Convergence of MP2-1D using MGRIT (in blue), R-MGRIT (in red) and -truncated R-MGRIT with (in yellow).
Numerical results for MP2-2D
For the MP2-2D example, we consider MP2 in (10) with and , with MGRIT parameters and . The obstacle is obtained by discretizing $\phi(x,y)=\max{0,\sin x}\max{0,\sin y} for on a uniform mesh of points in each spatial dimension. We present the sequential and MGRIT convergence results in Figure 6, noting that the sequential solver required 13,256 iterations to converge; for a coarsening factor , we then work with , such that denotes the number of coarse time intervals. We present C-point gradients in Figure 7, in which we observe that -truncated R-MGRIT (with ) converged in 9 iterations, while MGRIT and full-time R-MGRIT converged in 10 iterations. As in the MP2-1D example, we observe that -truncated R-MGRIT required fewer iterations to reduce the gradient by a factor of than MGRIT and full-time R-MGRIT.

Figure 6. (a): Convergence of MP2-2D with a standard sequential solve using proximal gradient (11). (b): Convergence of MP2-2D using MGRIT (in blue), R-MGRIT (in red) and -truncated R-MGRIT with (in yellow).
While the theory from § 4 is only presented for linear MGRIT problems, we observe generally similar results for the nonlinear MP2, (10), in both one and two dimensions. In particular, in both Figure 4 and Figure 6 we observe that R-MGRIT reduces the gradient by a factor of in the same 9 iterations required for MGRIT to achieve a similar reduction factor, with R-MGRIT continuing to reduce the gradient in subsequent iterations while MGRIT’s final-point generalized gradient stalls. Although the approximation from (60) for with is observed to be less accurate in that the convergence to the final gradient is slower in Figure 5 and Figure 7 than in Figure 3, as can be inferred from the rightmost panel of the respective figures, this is advantageous for -truncated R-MGRIT, which is able to reduce the final-point generalized gradient (21) at a slightly faster rate because the gradient undershoots with a slow increase to the final value.
In Table 2 and Table 3, we present convergence results for MP2, (10), with different coarsening factors , number of MGRIT levels and different sizes for the matrices in (5) for MP2-1D and in (6) for MP2-2D. As in Table 1, we only present results for the smallest () and largest () permissible number of levels. Comparing results for MGRIT, R-MGRIT with full time domain, and -truncated R-MGRIT, we observe that the truncated variant achieves comparable gradient reduction in a similar number of iterations.
Table 2. MP2-1D MGRIT convergence results for different values of , and . In parentheses, results for R-MGRIT; in square brackets, results for R-MGRIT with truncation factor . For , we have for and for . For both and , we have for , for , for and for $m = 1024. (a) , . (b) , .
| — | — |
Table 3. MP2-2D MGRIT convergence results for different values of , and . In parentheses, results for R-MGRIT; in square brackets, results for R-MGRIT with truncation factor . For both and , we have for , for , for and for $m=256. (a) , . (b) , .
R-MGRIT parallel speedup estimates
In § 5, we empirically observed that -truncated R-MGRIT achieves gradient reduction comparable to MGRIT (in the same or fewer number of iterations) with the R-MGRIT time domain truncated to a fifth of the number of time points required for MGRIT convergence to the same accuracy threshold. Because the primary motivation for employing MGRIT is to reduce the wall-clock time required to solve the sequential problem, we now formalize how this temporal truncation translates into practical parallel speedup. In the following, we assume that one R-MGRIT iteration has the same computational cost as one MGRIT iteration as described by the speedup formulas derived in [2]. Thus, in this section we discuss 2-level R-MGRIT with a -truncated temporal domain, with denoting the non-truncated R-MGRIT (or equivalently, MGRIT) speedup estimates.
2-level -truncated R-MGRIT parallel speedup
In the following, recall that denotes the number of time intervals on the fine-grid level , and let denote the wall-clock time required to apply the fine-grid time-stepping operator once. Similarly, recall that denotes the total number of time intervals on the coarse-grid level , and let denote the wall-clock time required to apply the coarse-grid time-stepping operator once. Let denote the coarsening factor, given by . Let denote the number of processors. By full parallelization we mean that , in which case each coarse-grid step is allocated to its own processor, along with fine-grid steps. Let denote the number of iterations required for convergence of standard MGRIT given the coarsening factor . Finally, we let denote the ratio of wall-clock time required to compute one coarse-grid step relative to one fine-grid step.
Given the 2-level parallel speedup estimate formula from [2], which is based on similar formulas [17, 24] for the parareal method [15], the speedup formula for this truncated time domain is
where is the number of iterations required for R-MGRIT convergence on a fine grid with intervals. Note that still equals both the number of R-MGRIT trajectories and the total number of MGRIT iterations used by R-MGRIT. Given some , we substitute into (61), which yields
Note that if , this formula is identical to the 2-level MGRIT speedup formula from [2], but with the operator cost ratio scaled down by ; letting recovers the 2-level MGRIT formula exactly. By setting the derivative of the denominator of (62) with respect to equal to zero for a fixed , we maximize to find the optimal coarsening factor for the -truncated R-MGRIT solve:
Let denote the MGRIT optimal coarsening factor. Then, the relation between the truncated R-MGRIT and the MGRIT optimal coarsening factors satisfies
By substituting and into (62), we find that the ratio between the -truncated R-MGRIT speedup and the standard MGRIT (or non-truncated R-MGRIT) speedup is given by
In practice, we expect that for many small , as seen in Table 1 to Table 3 for . Therefore, the speedup is increased by a factor of while the number of processors required for full parallelization is also reduced proportionally to :
For example, if and , we achieve twice the speedup with half of the number of processors required for the standard MGRIT solve.
3-level -truncated R-MGRIT parallel speedup
We now extend the previous 2-level discussion to 3-level methods based on the 3-level speedup estimates from [2]. Following reasoning similar to the 2-level case, the full-parallelization 3-level -truncated speedup formula is given by
By setting the derivative of the denominator in (67) with respect to equal to zero to maximize , we obtain the optimal coarsening factor given by
where denotes the 3-level MGRIT optimal coarsening factor. As in the 2-level case, truncating R-MGRIT by a factor increases the speedup and reduces the processor requirement relative to MGRIT, this time proportionally to and , respectively:
For example, if and , the predicted speedup is doubled while the processor requirement is quartered relative to the full-time 3-level MGRIT solve.
R-MGRIT parallel speedup estimates for MP1 and MP2
We now present the R-MGRIT parallel speedup estimates for MP1 and MP2 in the following tables. First, we compute the optimal for and by (63) and (68), respectively, given an empirically estimated . We choose as the coarsening factor, rounding it to the nearest integer if needed, for the MGRIT solves. By running the MGRIT algorithm of our choice, namely Algorithm 3.1 for MP1 and Algorithm 3.2 for MP2, with as the coarsening factor, we empirically obtain as the number of iterations required for convergence with the theoretically predicted optimal coarsening factors, and we also estimate . We then use and in the speedup formulas (62) and (67) for 2 and 3 levels, respectively. We then do the same for truncated R-MGRIT, for which we consider a truncation factor , as in § 5. Note that for R-MGRIT, the reported in the following tables corresponds to in the discussion from § 6.
In Table 4 to Table 6, we observe that truncating the time domain to a fifth of the number of time points required for standard MGRIT convergence provides a substantial improvement of the standard MGRIT speedup, in accordance with the theory developed in § 6. Notably, our results here suggest that R-MGRIT converges in less parallel wall-clock time by employing only a small fraction of on each trajectory, the number of iterations required for the underlying optimization method to converge to a sufficiently accurate approximation of the true optimum.
| MGRIT | 2 | 167 | 8 | 3.37 | 109 | 2 | 229 | 8 | 4.09 | 132 |
| 3 | 21 | 8 | 6.20 | 860 | 3 | 26 | 8 | 7.81 | 1155 | |
| R-MGRIT () | 2 | 74 | 6 | 10.05 | 49 | 2 | 103 | 6 | 12.20 | 59 |
| 3 | 13 | 6 | 14.12 | 278 | 3 | 15 | 8 | 13.36 | 401 |
Table 4. Speedup estimates for MP1, (2.2), for different values of and . Here, and are computed based on the numerically estimated values given by for , and for . denotes the number of processors required to achieve optimal speedup. (a) , (b) ,
| MGRIT | 2 | 294 | 9 | 1.25 | 46 | 2 | 403 | 9 | 3.19 | 116 |
| 3 | 20 | 10 | 1.06 | 663 | 3 | 30 | 9 | 4.91 | 1548 | |
| R-MGRIT () | 2 | 131 | 8 | 3.16 | 21 | 2 | 180 | 8 | 8.05 | 52 |
| 3 | 12 | 11 | 1.65 | 221 | 3 | 18 | 9 | 8.39 | 516 | |
| (a) , | (b) , |
Table 6. Speedup estimates for MP2-2D, (2.5), for different values of and . Here, and are computed based on the numerically estimated values given by for , and for . denotes the number of processors required to achieve optimal speedup.
We note that truncating more aggressively, e.g. choosing instead of , did not significantly change the predicted speedup. We remark that an optimal truncation factor can not be determined a priori since we cannot estimate as a function of and the other parameters. However, our numerical results suggest is a good baseline parameter choice for our model problems.
Applying Anderson-acceleration to R-MGRIT
In § 4 and § 5, we observed that R-MGRIT is not expected to achieve faster gradient reduction than MGRIT. Thus, in an attempt to obtain faster gradient reduction over MGRIT, we consider applying acceleration techniques to R-MGRIT. Namely, we consider applying Anderson acceleration [1, 8] to accelerate R-MGRIT. To this end, we define as the map that takes an initial guess and returns the approximate final point obtained after one MGRIT iteration on the corresponding optimization trajectory. Since R-MGRIT uses this final point to initialize the next trajectory, we can write R-MGRIT as the fixed-point iteration
| MGRIT | 2 | 363 | 10 | 7.56 | 303 | 2 | 849 | 10 | 10.88 | 436 |
| 3 | 39 | 10 | 20.65 | 2818 | 3 | 59 | 9 | 33.60 | 6265 | |
| R-MGRIT () | 2 | 162 | 9 | 18.80 | 136 | 2 | 380 | 7 | 34.79 | 195 |
| 3 | 23 | 10 | 35.30 | 956 | 3 | 35 | 8 | 64.63 | 2113 | |
| (a) , | (b) , |
Table 5. Speedup estimates for MP2-1D, (2.5), for different values of and . Here, and are computed based on the numerically estimated values given by for , and for . denotes the number of processors required to achieve optimal speedup.
The minimizer of the underlying optimization problem, , is a fixed point of this map, i.e., .
The Anderson acceleration iteration for (70) given a window size , denoted by , is given by
where for each the coefficients are determined by solving
where for all . Put simply, AA() attempts to accelerate (70) by using the previous initial guesses to generate an improved initial guess for the next all-at-once system. In the tests below we use AA(1), in which case only the previous initial guess is used, and AA(), corresponding to using the full available history of initial guesses.
In Figure 8, we present numerical experiments similar to those in § 5 in which we apply Anderson acceleration to R-MGRIT with a full time domain and truncated R-MGRIT with . We consider the setting of the numerical experiments illustrated in Figure 2 and Figure 6 for MP1-1D, (7), and MP2-2D, (10), respectively; this time, we compare MGRIT with Anderson-accelerated R-MGRIT and Anderson-accelerated truncated R-MGRIT. We observe in Figure 8 that AA() reduces the number of R-MGRIT iterations required for convergence in experiments for both model problems. AA(1) achieves a similar improvement in gradient reduction in all instances, except for the -truncated MP1 experiment. Since Anderson acceleration adds trivial overhead cost to the underlying fixed-point iteration, the acceleration provided would improve the parallel speedup estimates presented in § 6 by further reducing , the number of R-MGRIT iterations required for convergence, relative to , the number of MGRIT iterations required for convergence.

(a) AA(1) applied to R-MGRIT for MP1.

(b) AA(1) applied to R-MGRIT for MP2-2D.

(c) AA() applied to R-MGRIT for MP1.

(d) AA() applied to R-MGRIT for MP2-2D.
Figure 8. Convergence of R-MGRIT (blue), full-time R-MGRIT with Anderson acceleration (71) (orange), -truncated R-MGRIT (yellow) and -truncated R-MGRIT with Anderson acceleration (purple) variants, with , for: (a) MP1 and AA(1), (b) MP2-2D and AA(1), (c) MP1 and AA(), and (d) MP2-2D and AA(). In (a) and (c), the blue curve sits underneath the yellow curve.
Conclusions
We have extended the parallel-in-iteration MGRIT framework for optimization from [2] by introducing restarted MGRIT (R-MGRIT). Rather than repeatedly improving the approximation of a single optimization trajectory, R-MGRIT performs one MGRIT iteration per trajectory, using its approximate final point to initialize the next. For linear problems under suitable assumptions, we proved that, for any fixed , the final-point approximations obtained from MGRIT iterations and R-MGRIT trajectories converge to the same limit as the trajectory length tends to infinity.
We further showed that the approximate endpoint of a single R-MGRIT trajectory approaches its infinite-trajectory limit geometrically, which together with our numerical observations motivates a truncated R-MGRIT strategy in which each trajectory is shortened by a factor . Our numerical experiments on linear and nonlinear optimization problems showed that truncation generally does not reduce gradient reduction per trajectory, while leading to substantial performance gains: our parallel cost analysis predicts that shortening the trajectories can substantially increase parallel speedup while reducing the number of processors required.
Finally, we investigated the use of Anderson acceleration with R-MGRIT and observed further reductions in the number of trajectories required for convergence in our numerical experiments. Future work will consider extensions of these parallel-in-iteration methods to broader classes of optimization problems and optimization algorithms, along the lines discussed in [2].
Acknowledgements. The authors used Google’s Gemini and OpenAI’s ChatGPT during the final stages of the preparation of this manuscript. All AI suggestions mathematical claims, proofs, computations, citations, and final wording were reviewed, verified, and edited by the authors, who take full responsibility for the manuscript. Los Alamos National Laboratory report number LA-UR-26-28803.
References
- [1]D. G. Anderson, Iterative procedures for nonlinear integral equations, Journal of the ACM, 12 (1965), p. 547–560, https://doi.org/10.1145/321296.321305.
- [2]G. H. M. Araújo, O. A. Krzysik, and H. De Sterck, Parallel-in-iteration optimization using multigrid reduction in time, ETNA - Electronic Transactions on Numerical Analysis, 66 (2026), p. 32–63, https://doi.org/10.1553/etna_vol66s32.
- [3]H. Attouch, Z. Chbani, J. Peypouquet, and P. Redont, Fast convergence of inertial dynamics and algorithms with asymptotic vanishing viscosity, Mathematical Programming, 168 (2016), p. 123–175, https://doi.org/10.1007/s10107-016-0992-8.
- [4]A. Beck, First-Order Methods in Optimization, Society for Industrial and Applied Mathematics, 2017, https://doi.org/10.1137/1.9781611974997.
- [5]A. Beck and M. Teboulle, A fast iterative shrinkage-thresholding algorithm for linear inverse problems, SIAM Journal on Imaging Sciences, 2 (2009), p. 183–202, https://doi.org/10.1137/080716542.
- [6]L. A. Caffarelli, The obstacle problem revisited, The Journal of Fourier Analysis and Applications, 4 (1998), p. 383–402, https://doi.org/10.1007/bf02498216.
- [7]A. Chambolle and T. Pock, An introduction to continuous optimization for imaging, Acta Numerica, 25 (2016), p. 161–319, https://doi.org/10.1017/S0962492900009x.
- [8]H. De Sterck and Y. He, Linear asymptotic convergence of Anderson acceleration: Fixed-point analysis, SIAM Journal on Matrix Analysis and Applications, 43 (2022), p. 1755–1783, https://doi.org/10.1137/21m1449579.
- [9]V. A. Dobrev, T. Kolev, N. A. Petersson, and J. B. Schroder, Two-level convergence theory for multigrid reduction in time (MGRIT), SIAM Journal on Scientific Computing, 39 (2017), p. S501–S527, https://doi.org/10.1137/16m1074096.
- [10]M. Emmett and M. Minion, Toward an efficient parallel in time method for partial differential equations, Communications in Applied Mathematics and Computational Science, 7 (2012), p. 105–132, https://doi.org/10.2140/camcos.2012.7.105.
- [11]R. D. Falgout, S. Friedhoff, T. V. Kolev, S. P. MacLachlan, and J. B. Schroder, Parallel time integration with multigrid, SIAM Journal on Scientific Computing, 36 (2014), p. C635–C661, https://doi.org/10.1137/130944230.
- [12]M. P. Friedlander and P. Tseng, Exact regularization of convex programs, SIAM Journal on Optimization, 18 (2008), p. 1326–1350, https://doi.org/10.1137/060675320.
- [13]M. J. Gander, 50 Years of Time Parallel Time Integration, Springer International Publishing, Cham, Switzerland, 2015, p. 69–113, https://doi.org/10.1007/978-3-319-23321-5_3.
- [14]A. J. Howse, H. D. Sterck, R. D. Falgout, S. MacLachlan, and J. Schroder, Parallel-in-time multigrid with adaptive spatial coarsening for the linear advection and inviscid burgers equations, SIAM Journal on Scientific Computing, 41 (2019), p. A538–A565, https://doi.org/10.1137/17m1144982.
- [15]J.-L. Lions, Y. Maday, and G. Turinici, Résolution d’EDP par un schéma en temps parallèle, Comptes Rendus de l’Académie des Sciences - Series I - Mathematics, 332 (2001), p. 661–668, https://doi.org/10.1016/s0764-4442(00)01793-6.
- [16]O. L. Mangasarian, Sufficiency of exact penalty minimization, SIAM Journal on Control and Optimization, 23 (1985), p. 30–37, https://doi.org/10.1137/0323003.
- [17]M. Minion, A hybrid parareal spectral deferred corrections method, Communications in Applied Mathematics and Computational Science, 5 (2010), p. 265–301, https://doi.org/10.2140/camcos.2010.5.265.
- [18]Y. Nesterov, A method for solving the convex programming problem with convergence rate O(1/k²), Proceedings of the USSR Academy of Sciences, 269 (1983), pp. 543–547.
- [19]Y. Nesterov, Introductory Lectures on Convex Optimization, Springer US, 2004, https://doi.org/10.1007/978-1-4419-8853-9.
- [20]B. W. Ong and J. B. Schroder, Applications of time parallelization, Computing and Visualization in Science, 23 (2020), https://doi.org/10.1007/s00791-020-00331-4.
- [21]B. O’Donoghue and E. Candès, Adaptive restart for accelerated gradient schemes, Foundations of Computational Mathematics, 15 (2013), p. 715–732, https://doi.org/10.1007/s10208-013-9150-3.
- [22]J.-F. Rodrigues, Obstacle problems in mathematical physics, North-Holland Mathematics Studies, North-Holland, May 2014.
- [23]O. Romero, M. Benosman, and G. J. Pappas, ODE discretization schemes as optimization algorithms, in 2022 IEEE 61st Conference on Decision and Control (CDC), IEEE, Dec. 2022, p. 6318–6325, https://doi.org/10.1109/cdc51059.2022.9992691.
- [24]D. Ruprecht and R. Krause, Explicit parallel-in-time integration of a linear acoustic-advection system, Computers & Fluids, 59 (2012), p. 72–83, https://doi.org/10.1016/j.compfluid.2012.02.015.
- [25]B. S. Southworth, Necessary conditions and tight two-level convergence bounds for parareal and multigrid reduction in time, SIAM Journal on Matrix Analysis and Applications, 40 (2019), p. 564–608, https://doi.org/10.1137/18m122608.
- [26]W. Su, S. Boyd, and E. J. Candès, A differential equation for modeling Nesterov’s accelerated gradient method: Theory and insights, Journal of Machine Learning Research, 17 (2016), pp. 1–43.
- [27]Y. Sun and Y. Xu, Parareal algorithm for gradient flow arising from orthogonality-constrained matrix optimization problems, Journal of Scientific Computing, 109 (2026), https://doi.org/10.1007/s10915-026-03443-0.
- [28]G. Tran, H. Schaeffer, W. M. Feldman, and S. J. Osher, An l¹ penalty method for general obstacle problems, SIAM Journal on Applied Mathematics, 75 (2015), p. 1424–1444, https://doi.org/10.1137/140963303.