Subgradient Method

Total Page:16

File Type:pdf, Size:1020Kb

Subgradient Method Subgradient Method Ryan Tibshirani Convex Optimization 10-725/36-725 Last last time: gradient descent Consider the problem min f(x) x n for f convex and differentiable, dom(f) = R . Gradient descent: (0) n choose initial x 2 R , repeat (k) (k−1) (k−1) x = x − tk · rf(x ); k = 1; 2; 3;::: Step sizes tk chosen to be fixed and small, or by backtracking line search If rf Lipschitz, gradient descent has convergence rate O(1/) Downsides: • Requires f differentiable this lecture • Can be slow to converge next lecture 2 Subgradient method n Now consider f convex, with dom(f) = R , but not necessarily differentiable Subgradient method: like gradient descent, but replacing gradients with subgradients. I.e., initialize x(0), repeat (k) (k−1) (k−1) x = x − tk · g ; k = 1; 2; 3;::: where g(k−1) 2 @f(x(k−1)), any subgradient of f at x(k−1) Subgradient method is not necessarily a descent method, so we (k) (0) (k) keep track of best iterate xbest among x ; : : : x so far, i.e., f(x(k) ) = min f(x(i)) best i=0;:::k 3 Outline Today: • How to choose step sizes • Convergence analysis • Intersection of sets • Stochastic subgradient method 4 Step size choices • Fixed step sizes: tk = t all k = 1; 2; 3;::: • Diminishing step sizes: choose to meet conditions 1 1 X 2 X tk < 1; tk = 1; k=1 k=1 i.e., square summable but not summable Important that step sizes go to zero, but not too fast Other options too, but important difference to gradient descent: all step sizes options are pre-specified, not adaptively computed 5 Convergence analysis n Assume that f convex, dom(f) = R , and also that f is Lipschitz continuous with constant G > 0, i.e., jf(x) − f(y)j ≤ Gkx − yk2 for all x; y Theorem: For a fixed step size t, subgradient method satisfies lim f(x(k) ) ≤ f ? + G2t=2 k!1 best Theorem: For diminishing step sizes, subgradient method sat- isfies lim f(x(k) ) = f ? k!1 best 6 Basic bound, and convergence rate (0) ? Letting R = kx − x k2, after k steps, we have the basic bound R2 + G2 Pk t2 f(x(k) ) − f(x?) ≤ i=1 i best Pk 2 i=1 ti Previous theorems follow from this. With fixed step size t, we have R2 G2t f(x(k) ) − f ? ≤ + best 2kt 2 For this to be ≤ , let's make each term ≤ /2. Therefore choose t = /G2, and k = R2=t · 1/ = R2G2/2 I.e., subgradient method has convergence rate O(1/2) ... compare this to O(1/) rate of gradient descent 7 Example: regularized logistic regression p Given (xi; yi) 2 R × f0; 1g for i = 1; : : : n, consider the logistic regression loss: n X T T f(β) = − yixi β + log(1 + exp(xi β) i=1 This is a smooth and convex, with n X rf(β) = yi − pi(β) xi i=1 T T where pi(β) = exp(xi β)=(1 + exp(xi β)), i = 1; : : : n. We will consider the regularized problem: min f(β) + λ · P (β) β2Rp 2 where P (β) = kβk2 (ridge penalty) or P (β) = kβk1 (lasso penalty) 8 Ridge problem: use gradients; lasso problem: use subgradients. Data example with n = 1000, p = 20: Gradient descent Subgradient method t=0.001 t=0.001 2.00 t=0.001/k 1e−01 0.50 1e−04 0.20 f−fstar f−fstar 1e−07 0.05 1e−10 0.02 1e−13 0 50 100 150 200 0 50 100 150 200 k k Step sizes hand-tuned to be favorable for each method (of course comparison is imperfect, but it reveals the convergence behaviors) 9 Polyak step sizes Polyak step sizes: when the optimal value f ? is known, take f(x(k−1)) − f ? t = ; k = 1; 2; 3;::: k (k−1) 2 kg k2 Can be motivated from first step in subgradient proof: (k) ? 2 (k−1) ? 2 (k−1) ? 2 (k−1) 2 kx −x k2 ≤ kx −x k2−2tk f(x )−f(x ) +tkkg k2 Polyak step size minimizes the right-hand side With Polyak step sizes, can show subgradient method converges to optimal value. Convergence rate is still O(1/2) 10 Example: intersection of sets ? Suppose we want to find x 2 C1 \ ::: \ Cm, i.e., find a point in intersection of closed, convex sets C1;:::Cm First define fi(x) = dist(x; Ci); i = 1; : : : m f(x) = max fi(x) i=1;:::m and now solve min f(x) x ? ? Note that f = 0 ) x 2 C1 \ ::: \ Cm. Check: is this problem convex? 11 Recall the distance function dist(x; C) = miny2C ky − xk2. Last time we computed its gradient x − P (x) rdist(x; C) = C kx − PC (x)k2 where PC (x) is the projection of x onto C Also recall subgradient rule: if f(x) = maxi=1;:::m fi(x), then [ @f(x) = conv @fi(x) i:fi(x)=f(x) So if fi(x) = f(x) and gi 2 @fi(x), then gi 2 @f(x) 12 Put these two facts together for intersection of sets problem, with fi(x) = dist(x; Ci): if Ci is farthest set from x (so fi(x) = f(x)), and x − PCi (x) gi = rfi(x) = kx − PCi (x)k2 then gi 2 @f(x) (k−1) Now apply subgradient method, with Polyak size tk = f(x ). (k−1) At iteration k, with Ci farthest from x , we perform update x(k−1) − P (x(k−1)) x(k) = x(k−1) − f(x(k−1)) Ci (k−1) (k−1) kx − PCi (x )k2 (k−1) = PCi (x ) 13 For two sets, this is the famous alternating projections algorithm, i.e., just keep projecting back and forth (From Boyd's lecture notes) 14 Stochastic subgradient method Consider sum of functions m X min fi(x) x i=1 Pm Pm Recall that @ i=1 fi(x) = i=1 @fi(x), and subgradient method would repeat m (k) (k−1) X (k−1) x = x − tk · gi ; k = 1; 2; 3;::: i=1 (k−1) (k−1) where gi 2 @fi(x ). In comparison, stochastic subgradient method (or incremental subgradient) repeats x(k) = x(k−1) − t · g(k−1); k = 1; 2; 3;::: k ik where ik 2 f1; : : : mg is some chosen index at iteration k 15 Stochastic gradient descent: special case when fi, i = 1; : : : m are (k−1) (k−1) differentiable, so gi = rfi(x ) Two rules for choosing index ik at iteration k: • Cyclic rule: choose ik = 1; 2; : : : m; 1; 2; : : : m; : : : • Randomized rule: choose ik 2 f1; : : : mg uniformly at random Randomized rule is more common in practice What's the difference between stochastic and usual (called batch) methods? Computationally, m stochastic steps ≈ one batch step. But what about progress? 16 Consider smooth cyclic rule, for simplicity: here we cycle through a descent step on each fi individually. After m steps (i.e., one cycle), assuming constant step sizes αk+1 = : : : αk+m, the update is m (k+m) (k) X (k+i−1) x = x − t rfi x i=1 One batch step is instead m (k+1) (k) X (k) x = x − t rfi x i=1 Pm (k+i−1) (k) so difference in direction is i=1[rfi(x ) − rfi(x )] We can believe that the stochastic method still converges if rf(x) doesn't vary wildly with x 17 Convergence of stochastic methods Assume each fi, i = 1; : : : m is convex and Lipschitz with constant G > 0 1 For fixed step sizes tk = t, k = 1; 2; 3;:::, cyclic and randomized stochastic subgradient methods both satisfy lim f(x(k) ) ≤ f ? + 5m2G2t=2 k!1 best Note: mG can be viewed as Lipschitz constant for whole function Pm i=1 fi, so this is comparable to batch bound For diminishing step sizes, cyclic and randomized methods satisfy lim f(x(k) ) = f ? k!1 best 1For randomized rule, results hold with probability 1 18 How about convergence rates? This is where things get interesting 2 2 Recall that the batch subgradient method rate was O(Gbatch/ ), where Lipschitz constant Gbatch is for whole function • Cyclic rule: iteration complexity is O(m3G2/2). Therefore number of cycles needed is O(m2G2/2), comparable to batch • Randomized rule2: iteration complexity is O(m2G2/2). Thus number of random cycles needed is O(mG2/2), reduced by a factor of m! This is a convincing reason to use randomized stochastic methods, for problems where m is big 2For randomized rule, result holds in expectation, i.e., bound is on expected number of iterations 19 Example: stochastic logistic regression Back to the logistic regression problem: n X T T min f(β) = − yixi β + log(1 + exp(xi β) β2Rp i=1 | {z } fi(β) Pn The gradient computation rf(β) = i=1 yi − pi(β) xi is doable when n is moderate, but not when n ≈ 500 million. Recall: • One batch update costs O(np) • One stochastic update costs O(p) So clearly, e.g., 10K stochastic steps are much more affordable Also, we often take fixed step size for stochastic updates to be ≈ n what we use for batch updates. (Why?) 20 The \classic picture": ● Batch 20 ● Random Blue: batch steps, O(np) Red: stochastic steps, O(p) 10 Rule of thumb for stochastic ●● ●● ●●● ● 0 ●● ●●●● methods: ●● ● ● ●●*● ● ● ●● ● ● ● ● ● ● ● ● • generally thrive far ●● ● ● ●● ● ● ● ●● ● from optimum −10 ● ●● ● ●● ● ●● ●● ●● ● ● • ● ●●● ● generally struggle close ● ●● ● ●● ●● ●● to optimum −20 −20 −10 0 10 20 (More on stochastic methods later in the course ...) 21 Can we do better? Upside of the subgradient method: broad applicability.
Recommended publications
  • A Lagrangian Decomposition Approach Combined with Metaheuristics for the Knapsack Constrained Maximum Spanning Tree Problem
    MASTERARBEIT A Lagrangian Decomposition Approach Combined with Metaheuristics for the Knapsack Constrained Maximum Spanning Tree Problem ausgeführt am Institut für Computergraphik und Algorithmen der Technischen Universität Wien unter der Anleitung von Univ.-Prof. Dipl.-Ing. Dr.techn. Günther Raidl und Univ.-Ass. Dipl.-Ing. Dr.techn. Jakob Puchinger durch Sandro Pirkwieser, Bakk.techn. Matrikelnummer 0116200 Simmeringer Hauptstraße 50/30, A-1110 Wien Datum Unterschrift Abstract This master’s thesis deals with solving the Knapsack Constrained Maximum Spanning Tree (KCMST) problem, which is a so far less addressed NP-hard combinatorial optimization problem belonging to the area of network design. Thereby sought is a spanning tree whose profit is maximal, but at the same time its total weight must not exceed a specified value. For this purpose a Lagrangian decomposition approach, which is a special variant of La- grangian relaxation, is applied to derive upper bounds. In the course of the application the problem is split up in two subproblems, which are likewise to be maximized but easier to solve on its own. The subgradient optimization method as well as the Volume Algorithm are deployed to solve the Lagrangian dual problem. To derive according lower bounds, i.e. feasible solutions, a simple Lagrangian heuristic is applied which is strengthened by a problem specific local search. Furthermore an Evolutionary Algorithm is presented which uses a suitable encoding for the solutions and appropriate operators, whereas the latter are able to utilize heuristics based on defined edge-profits. It is shown that simple edge-profits, derived straightforward from the data given by an instance, are of no benefit.
    [Show full text]
  • Chapter 8 Stochastic Gradient / Subgradient Methods
    Chapter 8 Stochastic gradient / subgradient methods Contents (class version) 8.0 Introduction........................................ 8.2 8.1 The subgradient method................................. 8.5 Subgradients and subdifferentials................................. 8.5 Properties of subdifferentials.................................... 8.7 Convergence of the subgradient method.............................. 8.10 8.2 Example: Hinge loss with 1-norm regularizer for binary classifier design...... 8.17 8.3 Incremental (sub)gradient method............................ 8.19 Incremental (sub)gradient method................................. 8.21 8.4 Stochastic gradient (SG) method............................. 8.23 SG update.............................................. 8.23 Stochastic gradient algorithm: convergence analysis....................... 8.26 Variance reduction: overview................................... 8.33 Momentum............................................. 8.35 Adaptive step-sizes......................................... 8.37 8.5 Example: X-ray CT reconstruction........................... 8.41 8.1 © J. Fessler, April 12, 2020, 17:55 (class version) 8.2 8.6 Summary.......................................... 8.50 8.0 Introduction This chapter describes two families of algorithms: • subgradient methods • stochastic gradient methods aka stochastic gradient descent methods Often we turn to these methods as a “last resort,” for applications where none of the methods discussed previously are suitable. Many machine learning applications,
    [Show full text]
  • An Efficient Solution Methodology for Mixed-Integer Programming Problems Arising in Power Systems" (2016)
    University of Connecticut OpenCommons@UConn Doctoral Dissertations University of Connecticut Graduate School 12-15-2016 An Efficient Solution Methodology for Mixed- Integer Programming Problems Arising in Power Systems Mikhail Bragin University of Connecticut - Storrs, [email protected] Follow this and additional works at: https://opencommons.uconn.edu/dissertations Recommended Citation Bragin, Mikhail, "An Efficient Solution Methodology for Mixed-Integer Programming Problems Arising in Power Systems" (2016). Doctoral Dissertations. 1318. https://opencommons.uconn.edu/dissertations/1318 An Efficient Solution Methodology for Mixed-Integer Programming Problems Arising in Power Systems Mikhail Bragin, PhD University of Connecticut, 2016 For many important mixed-integer programming (MIP) problems, the goal is to obtain near- optimal solutions with quantifiable quality in a computationally efficient manner (within, e.g., 5, 10 or 20 minutes). A traditional method to solve such problems has been Lagrangian relaxation, but the method suffers from zigzagging of multipliers and slow convergence. When solving mixed-integer linear programming (MILP) problems, the recently adopted branch-and-cut may also suffer from slow convergence because when the convex hull of the problems has complicated facial structures, facet- defining cuts are typically difficult to obtain, and the method relies mostly on time-consuming branching operations. In this thesis, the novel Surrogate Lagrangian Relaxation method is developed and its convergence is proved to the optimal multipliers, without the knowledge of the optimal dual value and without fully optimizing the relaxed problem. Moreover, for practical implementations a stepsizing formula, that guarantees convergence without requiring the optimal dual value, has been constructively developed. The key idea is to select stepsizes in a way that distances between Lagrange multipliers at consecutive iterations decrease, and as a result, Lagrange multipliers converge to a unique limit.
    [Show full text]
  • Subgradient Methods
    Subgradient Methods Stephen Boyd and Almir Mutapcic Notes for EE364b, Stanford University, Winter 2006-07 April 13, 2008 Contents 1 Introduction 2 2 Basic subgradient method 2 2.1 Negativesubgradientupdate. .... 2 2.2 Stepsizerules................................... 3 2.3 Convergenceresults.............................. .. 4 3 Convergence proof 4 3.1 Assumptions.................................... 4 3.2 Somebasicinequalities . ... 5 3.3 Aboundonthesuboptimalitybound . ... 7 3.4 Astoppingcriterion.............................. .. 8 3.5 Numericalexample ................................ 8 4 Alternating projections 9 4.1 Optimal step size choice when f ⋆ isknown................... 9 4.2 Finding a point in the intersection of convex sets . ......... 11 4.3 Solving convex inequalities . ..... 14 4.4 Positive semidefinite matrix completion . ........ 15 5 Projected subgradient method 16 5.1 Numericalexample ................................ 18 6 Projected subgradient for dual problem 18 6.1 Numericalexample ................................ 20 7 Subgradient method for constrained optimization 21 7.1 Numericalexample ................................ 24 8 Speeding up subgradient methods 24 1 1 Introduction The subgradient method is a very simple algorithm for minimizing a nondifferentiable convex function. The method looks very much like the ordinary gradient method for differentiable functions, but with several notable exceptions: The subgradient method applies directly to nondifferentiable f. • The step lengths are not chosen via a line search, as in the ordinary gradient method. • In the most common cases, the step lengths are fixed ahead of time. Unlike the ordinary gradient method, the subgradient method is not a descent method; • the function value can (and often does) increase. The subgradient method is readily extended to handle problems with constraints. Subgradient methods can be much slower than interior-point methods (or Newton’s method in the unconstrained case).
    [Show full text]
  • 1 Base Polytopes
    6.883 Learning with Combinatorial Structure Note for Lecture 8 Authors: Hongyi Zhang A bit of history in combinatorial optimization. Last time we talked about the Lovász extension, which plays an important role in the optimization of submodular functions. Actually, despite the name Lovász, Jack Edmonds is another important figure who made huge contribution to this concept, and submodular optimization in general. In DISCML 20111, there was a brief introduction to Jack Edmonds’ contributions to mathematics and computer science by Jeff Bilmes. 1 Base polytopes 1.1 Examples of base polytopes Recall that in the last lecture we defined the base polytope BF of a submodular function, and showed that there is a greedy algorithm to solve the optimization problem max y>x y2BF and the solution is closely related to Lovász extension. Now we shall look at several other examples where interesting concepts turn out to be the base polytopes of some submodu- lar (or supermodular) functions. 1.1.1 Probability simplex Let the ground set be V such that jVj = n. Define F (S) = minfjSj; 1g;S ⊆ V, in last lecture we already saw that F (S) is submodular. It is easy to check that BF is a probability sim- plex. In fact, by definition ( ) X X BF = y : yi = F (V) and yi ≤ F (S) 8S ⊆ V i2V i2S ( n ) X = y : yi = 1 and yi ≥ 0; 8i i=1 n which is a standard (n−1)-simplex in R . 1http://las.ethz.ch/discml/discml11.html NIPS Workshop on Discrete Optimization in Ma- chine Learning 2011 1 1.1.2 Permutahedron PjSj Let the ground set be V such that jVj = n.
    [Show full text]
  • On the Links Between Probabilistic Graphical Models and Submodular Optimisation Senanayak Sesh Kumar Karri
    On the Links between Probabilistic Graphical Models and Submodular Optimisation Senanayak Sesh Kumar Karri To cite this version: Senanayak Sesh Kumar Karri. On the Links between Probabilistic Graphical Models and Submodular Optimisation. Machine Learning [cs.LG]. Université Paris sciences et lettres, 2016. English. NNT : 2016PSLEE047. tel-01753810 HAL Id: tel-01753810 https://tel.archives-ouvertes.fr/tel-01753810 Submitted on 29 Mar 2018 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. THESE` DE DOCTORAT de l’Universite´ de recherche Paris Sciences Lettres PSL Research University Prepar´ ee´ a` l’Ecole´ normale superieure´ On the Links between Probabilistic Graphical Models and Submodular Optimisation Liens entre modeles` graphiques probabilistes et optimisation sous-modulaire Ecole´ doctorale n◦386 ECOLE´ DOCTORALE DE SCIENCES MATHEMATIQUES´ DE PARIS CENTRE Specialit´ e´ INFORMATIQUE COMPOSITION DU JURY : M Andreas Krause ETH Zurich, Rapporteur M Nikos Komodakis ENPC Paris, Rapporteur M Francis Bach Inria Paris, Directeur de these` Soutenue par Senanayak Sesh Kumar KARRI le 27.09.2016 M Josef Sivic ENS Paris, Membre du Jury Dirigee´ par Francis BACH M Antonin Chambolle CMAP EP Paris, Membre du Jury M Guillaume Obozinski ENPC Paris, Membre du Jury RESEARCH UNIVERSITY PARIS ÉCOLENORMALE SUPÉRIEURE What is the purpose of life? Proof and Conjecture, ....
    [Show full text]
  • Convergence Rates of Subgradient Methods for Quasi-Convex
    Convergence Rates of Subgradient Methods for Quasi-convex Optimization Problems Yaohua Hu,∗ Jiawen Li,† Carisa Kwok Wai Yu‡ Abstract Quasi-convex optimization acts a pivotal part in many fields including economics and finance; the subgradient method is an effective iterative algorithm for solving large-scale quasi-convex optimization problems. In this paper, we investigate the iteration complexity and convergence rates of various subgradient methods for solving quasi-convex optimization in a unified framework. In particular, we consider a sequence satisfying a general (inexact) basic inequality, and investigate the global convergence theorem and the iteration complexity when using the constant, diminishing or dynamic stepsize rules. More important, we establish the linear (or sublinear) convergence rates of the sequence under an additional assumption of weak sharp minima of H¨olderian order and upper bounded noise. These convergence theorems are applied to establish the iteration complexity and convergence rates of several subgradient methods, including the standard/inexact/conditional subgradient methods, for solving quasi-convex optimization problems under the assumptions of the H¨older condition and/or the weak sharp minima of H¨olderian order. Keywords Quasi-convex programming, subgradient method, iteration complexity, conver- gence rates. AMS subject classifications Primary, 65K05, 90C26; Secondary, 49M37. 1 Introduction Mathematical optimization is a fundamental tool for solving decision-making problems in many disciplines. Convex optimization plays a key role in mathematical optimization, but may not be applicable to some problems encountered in economics, finance and management ∗ arXiv:1910.10879v1 [math.OC] 24 Oct 2019 Shenzhen Key Laboratory of Advanced Machine Learning and Applications, College of Mathematics and Statistics, Shenzhen University, Shenzhen 518060, P.
    [Show full text]
  • Cp135638.Pdf
    INSTITUTO NACIONAL DE MATEMATICA´ PURA E APLICADA ON GENERAL AUGMENTED LAGRANGIANS AND A MODIFIED SUBGRADIENT ALGORITHM Doctoral thesis by Jefferson Divino Gon¸calves de Melo Supervisor: Dr. Alfredo Noel Iusem Co-supervisor: Dr. Regina Sandra Burachik November 2009 i ii To my wife Leila, my daughter Yasmim and all my family iii iv Abstract In this thesis we study a modified subgradient algorithm applied to the dual problem generated by augmented Lagrangians. We consider an opti- mization problem with equality constraints and study an exact version of the algorithm with a sharp Lagrangian in finite dimensional spaces. An ine- xact version of the algorithm is extended to infinite dimensional spaces and we apply it to a dual problem of an extended real-valued optimization pro- blem. The dual problem is constructed via augmented Lagrangians which include sharp Lagrangian as a particular case. The sequences generated by these algorithms converge to a dual solution when the dual optimal solution set is nonempty. They have the property that all accumulation points of a primal sequence, obtained without extra cost, are primal solutions. We relate the convergence properties of these modified subgradient algorithms to differentiability of the dual function at a dual solution, and exact penalty property of these augmented Lagrangians. In the second part of this thesis, we propose and analyze a general augmented Lagrangian function, which includes several augmented Lagrangians considered in the literature. In this more general setting, we study a zero duality gap property, exact penalization and convergence of a sub-optimal path related to the dual problem. Keywords: nonsmooth optimization, reflexive Banach spaces, sharp La- grangian, general augmented Lagrangians, dual problem, modified subgradi- ent algorithm, primal convergence, exact penalization, Hausdorff topological spaces.
    [Show full text]
  • A Novel Lagrangian Multiplier Update Algorithm for Short-Term
    energies Article A Novel Lagrangian Multiplier Update Algorithm for y Short-Term Hydro-Thermal Coordination P. M. R. Bento 1 , S. J. P. S. Mariano 1,* , M. R. A. Calado 1 and L. A. F. M. Ferreira 2 1 IT—Instituto de Telecomunicações, University of Beira Interior, 6201-001 Covilhã, Portugal; [email protected] (P.M.R.B.); [email protected] (M.R.A.C.) 2 Instituto Superior Técnico and INESC-ID, University of Lisbon, 1049-001 Lisbon, Portugal; [email protected] * Correspondence: [email protected]; Tel.: +351-(12)-7532-9760 This paper is an extended version of our paper published in ICEUBI2019—International Congress on y Engineering—Engineering for Evolution, Covilhã, Portugal, 27–29 November 2019; pp. 728–742. Received: 14 September 2020; Accepted: 11 December 2020; Published: 15 December 2020 Abstract: The backbone of a conventional electrical power generation system relies on hydro-thermal coordination. Due to its intrinsic complex, large-scale and constrained nature, the feasibility of a direct approach is reduced. With this limitation in mind, decomposition methods, particularly Lagrangian relaxation, constitutes a consolidated choice to “simplify” the problem. Thus, translating a relaxed problem approach indirectly leads to solutions of the primal problem. In turn, the dual problem is solved iteratively, and Lagrange multipliers are updated between each iteration using subgradient methods. However, this class of methods presents a set of sensitive aspects that often require time-consuming tuning tasks or to rely on the dispatchers’ own expertise and experience. Hence, to tackle these shortcomings, a novel Lagrangian multiplier update adaptative algorithm is proposed, with the aim of automatically adjust the step-size used to update Lagrange multipliers, therefore avoiding the need to pre-select a set of parameters.
    [Show full text]
  • Lecture 7: February 4 7.1 Subgradient Method
    10-725/36-725: Convex Optimization Spring 2015 Lecture 7: February 4 Lecturer: Ryan Tibshirani Scribes: Rulin Chen, Dan Schwartz, Sanxi Yao 7.1 Subgradient method Lecture 5 covered gradient descent, an algorithm for minimizing a smooth convex function f. In gradient descent, we assume f has domain Rn, and choose some initial x(0) 2 Rn. We then iteratively take small steps in the direction of the negative gradient at the value of x(k) where k is the current iteration. Step sizes are chosen to be fixed and small or by backtracking line search. If the gradient, rf, is Lipschitz with constant L ≥ 0, a fixed step size t ≤ 1=L ensures a convergence rate of O(1/) iterations to acheive error less than or equal . Gradient descent requires f to be differentiable at all x 2 Rn and it can be slow to converge. The subgradient method removes the requirement that f be differentiable. In a later lecture, we will discuss speeding up the convergence rate. Like in gradient descent, in the subgradient method we start at an initial point x(0) 2 Rn and we iteratively update the current solution x(k) by taking small steps. However, in the subgradient method, rather than using the gradient of the function f we are minimizing, we can use any subgradient of f at the value of x(k). The rule for picking the next iterate in the subgradient method is given by: (k) (k−1) (k−1) (k−1) (k−1) x = x − tk · g , where g 2 @f(x ) Because moving in the direction of some subgradients can make our solution worse for a given iteration, the subgradient method is not necessarily a descent method.
    [Show full text]
  • An Augmented Lagrangian Approach to Constrained MAP Inference
    An Augmented Lagrangian Approach to Constrained MAP Inference Andr´eF. T. Martinsyz [email protected] M´arioA. T. Figueiredoz [email protected] Pedro M. Q. Aguiar] [email protected] Noah A. Smithy [email protected] Eric P. Xingy [email protected] ySchool of Computer Science, Carnegie Mellon University, Pittsburgh, PA, USA zInstituto de Telecomunica¸c~oes/ ]Instituto de Sistemas e Rob´otica,Instituto Superior T´ecnico,Lisboa, Portugal Abstract the graph structure in these relaxations (Wainwright We propose a new algorithm for approximate et al., 2005; Kolmogorov, 2006; Werner, 2007; Glober- MAP inference on factor graphs, by combin- son & Jaakkola, 2008; Ravikumar et al., 2010). In the ing augmented Lagrangian optimization with same line, Komodakis et al.(2007) proposed a method the dual decomposition method. Each slave based on the classical dual decomposition technique subproblem is given a quadratic penalty, (DD; Dantzig & Wolfe 1960; Everett III 1963; Shor which pushes toward faster consensus than in 1985), which breaks the original problem into a set previous subgradient approaches. Our algo- of smaller (slave) subproblems, splits the shared vari- rithm is provably convergent, parallelizable, ables, and tackles the Lagrange dual with the subgra- and suitable for fine decompositions of the dient algorithm. Initially applied in computer vision, graph. We show how it can efficiently han- DD has also been shown effective in NLP (Koo et al., dle problems with (possibly global) structural 2010). The drawback is that the subgradient algorithm constraints via simple sort operations. Ex- is very slow to converge when the number of slaves is periments on synthetic and real-world data large.
    [Show full text]
  • On the Computational Efficiency of Subgradient
    Math. Prog. Comp. DOI 10.1007/s12532-017-0120-7 FULL LENGTH PAPER On the computational efficiency of subgradient methods: a case study with Lagrangian bounds Antonio Frangioni1 · Bernard Gendron2,3 · Enrico Gorgone4,5 Received: 1 November 2015 / Accepted: 20 April 2017 © Springer-Verlag Berlin Heidelberg and The Mathematical Programming Society 2017 Abstract Subgradient methods (SM) have long been the preferred way to solve the large-scale Nondifferentiable Optimization problems arising from the solution of Lagrangian Duals (LD) of Integer Programs (IP). Although other methods can have better convergence rate in practice, SM have certain advantages that may make them competitive under the right conditions. Furthermore, SM have significantly progressed in recent years, and new versions have been proposed with better theoretical and prac- tical performances in some applications. We computationally evaluate a large class of SM in order to assess if these improvements carry over to the IP setting. For this we build a unified scheme that covers many of the SM proposed in the literature, comprised some often overlooked features like projection and dynamic generation of variables. The software that was reviewed as part of this submission has been issued the Digital Object Identifier doi:10.5281/zenodo.556738. B Antonio Frangioni [email protected] Bernard Gendron [email protected] Enrico Gorgone [email protected]; [email protected] 1 Dipartimento di Informatica, Università di Pisa, Pisa, Italy 2 Centre Interuniversitaire de Recherche sur les Réseaux d’Entreprise, la Logistique et le Transport (CIRRELT), Montreal, Canada 3 Department of Computer Science and Operations Research, Université de Montréal, Montreal, Canada 4 Dipartimento di Matematica ed Informatica, Università di Cagliari, Cagliari, Italy 5 Indian Institute of Management Bangalore (IIMB), Bengaluru, India 123 Antonio Frangioni et al.
    [Show full text]