A probabilistic incremental proximal gradient method
\"Omer Deniz Akyildiz, \'Emilie Chouzenoux, V\'ictor Elvira, Joaqu\'in, M\'iguez

TL;DR
This paper introduces the probabilistic incremental proximal gradient (PIPG) method, which interprets the algorithm probabilistically, allowing uncertainty propagation and enabling the use of Bayesian filters for large-scale optimization.
Contribution
It develops a novel probabilistic interpretation of the incremental proximal gradient algorithm and integrates Bayesian filtering techniques for improved uncertainty management.
Findings
Enables uncertainty propagation in optimization iterations
Allows use of Kalman and extended Kalman filters in optimization
Facilitates large-scale regularized problem solving
Abstract
In this paper, we propose a probabilistic optimization method, named probabilistic incremental proximal gradient (PIPG) method, by developing a probabilistic interpretation of the incremental proximal gradient algorithm. We explicitly model the update rules of the incremental proximal gradient method and develop a systematic approach to propagate the uncertainty of the solution estimate over iterations. The PIPG algorithm takes the form of Bayesian filtering updates for a state-space model constructed by using the cost function. Our framework makes it possible to utilize well-known exact or approximate Bayesian filters, such as Kalman or extended Kalman filters, to solve large-scale regularized optimization problems.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A probabilistic incremental
proximal gradient method
Ömer Deniz Akyildiz, Émilie Chouzenoux, Víctor Elvira, Joaquín Míguez Ö. D. Akyildiz is with the Dept. of Computer Science and Dept. of Statistics at University of Warwick and Alan Turing Institute, London, UK. Email: [email protected]É. Chouzenoux is with the Center for Visual Computing, INRIA Saclay, CentraleSupélec, Gif-sur-Yvette, France.V. Elvira is with IMT Lille Douai & CRIStAL laboratory (UMR CNRS 9189), Villeneuve d’Ascq, France.J. Míguez is with the Dept. of Signal Theory and Communications, Universidad Carlos III de Madrid, Leganés, Spain, 28912.Ö. D. A. is funded by the Lloyds Register Foundation programme on Data Centric Engineering through the London Air Quality project and supported by The Alan Turing Institute for Data Science and AI under EPSRC grant EP/N510129/1. J. M. acknowledges the support of the Spanish Agencia Estatal de Investigación (TEC2015-69868-C2-1-R ADVENTURE) and the Office of Naval Research (N00014-19-1-2226). V. E. and É .C. acknowledge the support from the Agence Nationale de la Recherche of France under PISCES (ANR-17-CE40-0031-01) and MAJIC (ANR-17-CE40-0004-01) projects.
Abstract
In this paper, we propose a probabilistic optimization method, named probabilistic incremental proximal gradient (PIPG) method, by developing a probabilistic interpretation of the incremental proximal gradient algorithm. We explicitly model the update rules of the incremental proximal gradient method and develop a systematic approach to propagate the uncertainty of the solution estimate over iterations. The PIPG algorithm takes the form of Bayesian filtering updates for a state-space model constructed by using the cost function. Our framework makes it possible to utilize well-known exact or approximate Bayesian filters, such as Kalman or extended Kalman filters, to solve large-scale regularized optimization problems.
Index Terms:
Probabilistic optimization, stochastic gradient, proximal algorithms, extended Kalman filtering
I Introduction
In this paper, we are interested in optimization problems of the form
[TABLE]
with where, for , , are nonlinear least squares functions i.e., for , , with and a nonlinear differentiable mapping. Moreover, is a twice-differentiable regularizer. Because classical optimization schemes may be inefficient to solve (1) when is very large, stochastic or incremental optimization methods have gained a significant momentum. In particular, the stochastic gradient descent (SGD) [1] has become widely popular to solve such problems. At each SGD iteration, a mini-batch of component functions is randomly selected and a gradient step with respect to this mini-batch is performed. A number of variants of SGD have been since developed (see [2, 3] for a review).
The objective function in Eq. (1) has a sum structure. Therefore, it opens the door for more efficient algorithms than gradient methods, such as proximal splitting methods [4, 5]. In particular, the proximal gradient (PG) method minimizes a sum of two terms, one being smooth, by alternating gradient steps on the differentiable one and proximal update on the second, thereby exploiting fully the structure of the cost function. Naturally, stochastic extensions of proximal methods have become increasingly popular in the machine learning literature, see, e.g., [6, 7, 8, 9, 10]. The optimization method in consideration in this paper is known as the incremental proximal gradient (IPG) algorithm [7], and can be understood as an incremental version of the stochastic proximal gradient method [8, 9]. Similarly to its batch version PG, the IPG method would solve (1) by using the gradient of and the proximal operator of (or vice versa) at each iteration to move within the parameter space. Therefore, the IPG takes advantage of the structure of the cost function while staying computationally efficient for large .
In this paper, we propose a probabilistic IPG (PIPG) method to solve the problem in Eq. (1). The PIPG algorithm reads as an approximate inference method in a probabilistic state-space model (SSM), tailored to the loss function. To be specific, it takes the form of an extended Kalman filter (EKF) to infer the hidden states of this SSM. This setting yields a probabilistic interpretation which enables the quantification of the uncertainty of the estimates at any time, extending our previous work [11] which only focused on the case . The posterior covariance matrix involved in PIPG updates plays the role of a variable-metric. Thus, another key advantage of PIPG is to provide an adaptive rule for the metric update within the IPG scheme. Note that the PIPG method is related to the class of probabilistic numerical methods (see, e.g., [12, 13, 14]), extending such methods for solving large-scale optimization problems. We mention [15] as a related work, that emphasizes the links between Kalman filtering and the online natural gradient method, which can be viewed as an SGD within a specific variable metric. In [16], connections between LMS and Kalman filters are exploited to propose a new algorithm. In [17], the author proposes some variance reduction strategies for SGD, relying on a Kalman interpretation. In contrast, in this work we take advantage of the structure of the cost function itself and we focus on the connection between Kalman and proximal methods.
The paper is organized as follows. In Section II, we briefly give background. In Section III, we introduce the new scheme and the update rules in detail. In Section IV, we demonstrate the performance of our method, on a ridge regression and a nonlinear sparse filter identification problem. We conclude with Section V.
II Background
Let us start by defining the proximal operator [18]111See also http://proximity-operator.net/.
Definition 1**.**
The proximal operator of a convex, proper, lower semi-continuous function within the metric induced by a symmetric, positive definite (SPD) matrix is defined as, where is the Mahalanobis distance.
Let us now present the Kalman updates from [11] which aim at performing Bayesian inference in the case of the model and , where , , SPD, , for , are predefined values, and are random variables in and , respectively. For this model, assuming that the inputs are fixed and the likelihood factorizes as (i.e., the observations are conditionally independent), the mean and the covariance of the Gaussian posterior can be written as [11]
[TABLE]
Note that at the last iteration, with , the Gaussian posterior is perfectly computed with parameters given by Eqs. (2)-(3). The sequence turns out to be identical to the first iterations of the incremental proximal method (IPM) recursion [6, 7] applied to Problem (1):
[TABLE]
when and
[TABLE]
for all and are specified as in (3) (see Props. 4.2–4.4 in [19] for a proof) This viewpoint has been extended in [11] for nonlinear least squares, where
[TABLE]
for all . In Eq. (6), each is a differentiable function, possibly nonlinear. Thus, the IPM iteration of Eq. (4) may not be feasible in a closed form. One can implement the EKF for a model with prior and the likelihood , by linearizing . Denoting , we obtain the update rules [11, 19]
[TABLE]
for . Since the EKF is an approximate Bayesian scheme, multiple passes over the dataset can be performed.
III A Probabilistic IPG method
We now focus on the resolution of the optimization problem in Eq. (1) when . The structure of the cost function suggests the use of the IPG iteration [6, 7]. We consider a variable-metric extension of the IPG. In particular, given (1), the first iterations of the variable-metric IPG update read as
[TABLE]
with , and some predefined SPD matrices. The update (7) can be viewed as an incremental version of the batch variable-metric PG method that has been extensively studied recently in the optimization literature [20, 21]. In the sequel, we propose a probabilistic interpretation of the IPG which leads to a new update rule for the variable-metric matrices. We first consider the linear case (i.e., for quadratic and ) for the sake of simplicity, since all computations are tractable and the inference can be performed in exact manner. Then we present our general version of the PIPG that encompasses a wider class of cost functions.
III-A Linear-Quadratic case
Let us first assume that is defined as in (5) and
[TABLE]
with , . Note that is assumed to be known. Using (8), we can write (7) as
[TABLE]
for . The key observation here is that Eqs. (9)–(10) can be seen as approximate (Kalman) filtering recursions [22]. To be specific, Eq. (9) can be seen as the analog to the prediction step within a Kalman filter. Similarly, the update (10) can be seen as a Bayesian update using (5), see Eq. (2) [11]. However, Eqs. (9)–(10) are different from a Kalman filter, where there would be an update of the covariance matrix between (9)–(10). Therefore, inspired by Eqs. (9)–(10), we propose the use of the following state-space model,
[TABLE]
where , the zero-matrix in , and
[TABLE]
with the identity matrix of . Now, assume that, the pair is given. We propose to apply filtering recursions for the model (11)–(13), which leads to the PIPG updates for the linear quadratic case. Recursions now consist of a predictive step of the mean and covariance
[TABLE]
respectively, and the update of the mean and covariance,
[TABLE]
respectively, with defined in (14). It is worth noting that, in Eqs. (9) and (10), a single is used for both iterations. In the corresponding iterations in the proposed method, i.e., Eqs. (15) and (17), we make use of and , respectively. In this case, one pass over the dataset is enough since the posterior is exact for the model (11)–(13).
III-B General case
In this section, we present the PIPG algorithm for the general nonlinear case. To be specific, we are going to focus on functions taking the form (6). Moreover, we will consider a general function that we assume to be twice differentiable. In this case, the variable-metric IPG update given in (7) does not usually yield analytically tractable computations. Moreover, the Kalman recursions, as we presented in the previous section, do not apply. To see this, first consider the mapping , where
[TABLE]
for some given , SPD and . Except when is quadratic, the above mapping is nonlinear, making it impossible to propagate the uncertainty for the gradient step in (7) as it was done in (9). Moreover, when are chosen as in (6), it may be complicated to realize the proximal step given in (7). To alleviate both problems, we can use the EKF [11, 22]. To this end, we build the model
[TABLE]
In order to apply the EKF in the model (19)–(21), which will lead to the PIPG algorithm, we need to linearize the transition model and the observation model. At iteration , given pair, we define the transition matrix,
[TABLE]
with the Hessian map of . Finally, the PIPG updates can be computed: first the predicted mean and covariance
[TABLE]
respectively,222Note that, although the dynamical model (20) is deterministic (the process covariance matrix is zero), we have introduced in (23), a SPD matrix that accounts for the linearization error made by the EKF. and then the updated mean and covariance
[TABLE]
respectively, where . The algorithm is iterated for and referred to as the PIPG method.
Remark 1**.**
Note that Eqs. (22)–(25) are the most general recursions for our method. Like in the linear case presented in Section III-A, sometimes we can simplify the computations. For instance, if yields a linear mapping for while is a nonlinear least squares loss as in (6), then Eqs. (22)–(23) simplify into (15)–(16). Similarly, when is nonlinear, and is quadratic as in (5), then Eqs. (24)–(25) simplify into (17)–(18).
Remark 2**.**
Although the choice of metrics has been studied in the batch case [20, 23], no practical ways for choosing them are available in the incremental setting to the best of our knowledge. The PIPG scheme provides a natural recipe on how to update the metric matrices in the form of a sequence of posterior covariance matrices.
Remark 3**.**
As mentioned earlier, in the linear and tractable case the PIPG updates given by (15)–(18), are guaranteed to provide, after iterations (i.e., after a single pass of the data), the exact mean and covariance parameters of the Gaussian posterior associated to the state-space model (11)-(13). However, the convergence analysis for the general recursions (22)–(25) (with inexact Kalman updates) would need further investigation that we leave for future work.
IV Numerical results
In this section, we present two experiments in order to illustrate the performance of PIPG in the context described in Sections III-A and III-B.
IV-A Ridge regression
We consider first the linear-quadratic case, depicted in Section III-A. We set . Moreover, the sought signal is generated as the realization of a multivariate Gaussian variable using . We then simulated noisy observations with for . PIPG recursions (15)–(18) are implemented, for iterations and step-size values withing the range . We also compare the results to the IPG obtained using (9)-(10) with for . IPG was run with a decaying step-size of the form , for the same range of step-size values than PIPG. Note that running the IPG with a constant step-size causes the algorithm to diverge, therefore we do not show those results. For both methods, we access the data in a random order, hence the time dependency of is not affecting our results. We compute the relative mean squared error (RMSE) between the current estimate and the true filter coefficient vector as . The regularization parameter is set to so as to minimize the final RMSE.
The results are displayed in Fig. 1(a). It can be seen that PIPG shows a stable performance with respect to the step-size value. In contrast, IPG appears to be very sensitive to both the step-size tuning and also the decay rate (which is not shown here). Moreover, for a wide range of step-size values, PIPG requires less iterations than IPG to achieve minimal RMSE. Finally, PIPG provides an estimate of the covariance as an additional output, which can be particularly useful in practical applications that require an uncertainty quantification in the solution (e.g., biomedical data processing, financial data analytics).
IV-B Sparse nonlinear regression
Let us now apply the proposed method on the more challenging problem of sparse system identification [24, 25] under nonlinear observation model. Given a real-valued discrete-time input signal \big{(}x_{k}\big{)}_{k\in\mathbb{Z}}, the output of the system at time is defined as , where (assuming circulant boundaries) and are i.i.d. measurement noise samples, and represents the unknown filter taps. A sigmoid nonlinearity for is introduced in the system response, modeling for instance some saturation of the sensor. We set the input signal as in [26], with , and . We run the PIPG recursions (22)–(25) from Section III-B, where we set for every , and the regularization function is chosen as smoothed regularization function [27] i.e., with and the smoothing parameter. Such regularizer allows to promote sparsity, as when , the norm is obtained. The measurement noise variance is . Note that the parameter is also the step-size in the proposed method, as we will discuss below. The filter length is and the output of the system is observed at every time with . Regularization parameters are set manually to so as to reach the best performance in terms of RMSE. We initialize the PIPG algorithm with a prior distribution with large uncertainty, namely , where . The process noise covariance matrix, which models the linearization errors in our method, is chosen as with . We set , accordingly with the noise model. Note that, in general, is an unknown parameter that is to be set by the user depending on the approximate noise level. For comparison, we implement a stochastic gradient descent (SGD) with learning rate for , where and which are chosen to reach an optimal decrease. Note that, for this model, it is not possible to implement the IPG since are not easily proximable.
Fig. 1(b) displaying RMSE evolution for both algorithms, shows that the PIPG method reaches stability in a reduced number of iterations, compared to the SGD, which is a significant practical advantage when one has a limited accessibility to the dataset. From Fig. 1(c)–(d), it can be seen that the PIPG method in Fig. 1(c) provides a better estimate together with the uncertainty bars . A great feature of PIPG is to provide estimates for the covariance matrix, which provides the uncertainty quantification on the parameters. The behavior of the entries of can be seen from Fig. 2, along with some comments. Let us remark that the computation of this matrix of dimension implies an increase in computational complexity, as PIPG scales as while SGD scales as .
V Conclusions
We have proposed a probabilistic incremental optimization method which quantifies and propagates the uncertainty over its estimates. In the case of a regularized non-linear least squares, we have reinterpreted the classical IPG method as an approximate inference method in a state-space model. The extension of IPG to the probabilistic setting enables us to provide quantification of the uncertainties inherent in the numerical problem or caused by modeling errors. Our probabilistic interpretation also allows the use of accelerated variable metric updates, whose metric matrices are derived in an automatic and well-defined way. Future investigations will be devoted to the analysis of the convergence of the PIPG iterates, and the reduction of its complexity by means of suitable approximations.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] H. Robbins and S. Monro, “A stochastic approximation method,” Annals of Mathematical Statistics , vol. 22, pp. 400–407, 1951.
- 2[2] L. Bottou, F. E. Curtis, and J. Nocedal, “Optimization methods for large-scale machine learning,” ar Xiv:1606.04838 , 2016.
- 3[3] M. Pereyra, P. Schniter, E. Chouzenoux, J.-C. Pesquet, J.-Y. Tourneret, A. Hero, and S. Mc Laughlin, “A survey of stochastic simulation and optimization methods in signal processing,” IEEE J. Sel. Top. Signal Process. , vol. 10, no. 2, pp. 224–241, Mar. 2016.
- 4[4] P. L. Combettes and J.-C. Pesquet, “Proximal splitting methods in signal processing,” in Fixed-point algorithms for inverse problems in science and engineering . Springer, 2011, pp. 185–212.
- 5[5] N. Parikh, S. Boyd et al. , “Proximal algorithms,” Foundations and Trends® in Optimization , vol. 1, no. 3, pp. 127–239, 2014.
- 6[6] D. P. Bertsekas, “Incremental gradient, subgradient, and proximal methods for convex optimization: A survey,” Optimization for Machine Learning , vol. 2010, pp. 1–38, 2011.
- 7[7] ——, “Incremental proximal methods for large scale convex optimization,” Mathematical programming , vol. 129, no. 2, pp. 163–195, 2011.
- 8[8] L. Rosasco, S. Villa, and B. C. Vũ, “Convergence of stochastic proximal gradient algorithm,” ar Xiv preprint ar Xiv:1403.5074 , 2014.
