Optimization

Total Page:16

File Type:pdf, Size:1020Kb

Optimization ECE 592 Topics in Data Science Dror Baron Associate Professor Dept. of Electrical and Computer Engr. North Carolina State University, NC, USA Optimization Keywords: linear programming, dynamic programming, convex optimization, non-convex optimization What is Optimization? What is optimization? . Wikipedia: In mathematics, computer science and operations research, mathematical optimization (alternatively, mathematical programming or simply, optimization) is the selection of a best element (with regard to some criterion) from some set of available alternatives. 4 Application #1-Classroom scheduling . Real story NCSU has classes on multiple campuses, dozens of buildings, etc. We want a “good” schedule . What’s good? – Availability of rooms – Proximity of classroom to department – Instructors have day/time preferences – Match sizes of rooms and anticipated class enrollment – Avoid conflicts between course pairs of interest to students 5 Application #2- 1 recovery . Among infinitely manyℓ solutions, seek one with smallest 1 norm (sum of absolute values) ℓ . Relation to compressed sensing recovery (later in course) . Can express x=xp-xn 1 = , + , . min + subject to (s.t. ) y=Φx -Φx , , ∑=1 p n – Also need xp, xn to be non-negative ∑=1 6 Application #3-reducing fuel consumption . Suppose gas prices increase a lot . Truck fleet company wants to save $ by reducing fuel consumption . Things are simple on flat highways . Challenges: 1) You see a hill; can push engine up hill and coast down, or accelerate before hill, then reduce speed while climbing 2) We see red light; should we coast, accelerate, slam brakes? Main point: dynamic behavior links past, present, future 7 Application #4-process design in factories . Consider factory with complicated process – Want to buy less inputs (chemicals) – Want to use less energy – Want product to be produced quickly (time) – Want robustness to surprises (e.g., power shortages) . Goal: tune production process to minimize costs – “Costs” involve inputs, energy, time, robustness, … – Known as multi objective optimization 8 Dynamic Programming (DP) Keywords: Bellman equations, dynamic programming What is dynamic programming (DP)? . Wikipedia: In mathematics, management science, economics, computer science, and bioinformatics, dynamic programming (also known as dynamic optimization) is a method for solving a complex problem by breaking it down into a collection of simpler subproblems, solving each of those subproblems just once, and storing their solutions – ideally, using a memory-based data structure. 10 Resembles divide and conquer . Have a large problem . Partition into parts . Dynamic nature of problem links past, present, future . Want decision whose combined “costs” (current plus future) is best . Whereas brute force optimization is computationally intense, DP is fast 11 Problem setting . t – time . T – time horizon (maximal time) . xt – state at time t . Possible actions ( ) . T(x,a) – next state upon choosing action a ∈ Γ . F(x,a) – payoff from action a . Want to maximize our payoff up to horizon T 12 Solution approach . Basis case: t=T-1, have one time left for an action . Maximize payoff by maximizing F(xt,a) * a =arg maxa∈ F(xt,a) Γ * . At time T (end of problem) arrive at state xT=T(x,a ) – Don’t care about final state, only about payoff 13 Solution continued . Recursive case: t<T-1, have multiple decisions left . Let’s keep it simple with t=T-2 . Based on basis case, for each Xt-1=XT-2 can calculate a* for last decision (in next time step, t=T-1) . Want optimal cost to account for current payoff and payoff in next step = arg max { , + next_payoff(T(xt,a))} ( ) ∗ ∈Γ 14 Recursive solution . Let’s simplify recursive case for t=T-2 using notation for optimal actions / payoffs at time t – - optimal action at time t given state xt – ∗( ) – optimal payoff starting from time t Ψ * . Basis case provides a (xT-1), , ∀ . Recursive case for t=T-2 Ψ −1 = arg max { , + next_payoff(T(x ,a))} ( ) t ∗ = arg max { , + ( = ( , ))} (∈Γ) −1 . Repeat recursively∈Γ for smallerΨ t 15 Computationally efficient DP solution . Instead of processing from t up to T, reverse order: – t=T-1: compute , ( ) for all possible xt – t=T-2: = arg max∗ { , + ( = ( , ))} ( ) ∗ Ψ −1 −2 – t=T-3: = argm∈Γax { , + Ψ( = ( ,))} ( ) ∗ −2 −3 ∈Γ Ψ . General case: Bellman’s optimality equations . Each time step, store optimal actions and payoffs . Lookup table (LUT) for Ψ instead of recomputing . Can construct sequence of optimal actions with LUT 16 Why computationally efficient? . Let’s contrast computational complexities . Brute force optimization: – |Γ| actions per time step and T time steps – Must evaluate |Γ|T trajectories of actions – Θ(|Γ|T) . DP: – Compute , + ( = ( , ))} for |Γ| actions, T time – Θ(|Γ|T) Ψ . Whereas brute force optimization is computationally intense, DP is fast 17 Variations . Deterministic / random – Next state and payoff could be random – Example: there could be more users than expected; adjust server (action) to account for future trajectory of software . Finite / infinite horizon – Infinite horizon decision problems require discount factor β to give future payoffs at time t weight βt – Payoffs in far future matter less β<1 . Discrete / continuous time 18 Example [Cormen et al.] . Rod cutting problem . Have rod of integer length n . Have table of prices pi charged for length-i cuts . Cutting is free . Want to cut rod into parts (or not cut at all) to maximize profit 19 Example continued . Length n=4 . Can charge prices p1=1, p2=5, p3=8, p4=9 . Could look at all possible sets of cuts (see below) 20 Example using DP . Unrealistic to consider cutting configurations for large n, use DP instead . Basis: n=1, Ψ(1)=p1=1 . Recursion: n=2, Ψ(2)=max{2Ψ(1),p2}=5 . n=3, Ψ(3)=max{Ψ(1)+Ψ(2),p3}=max{5+1,8}=8 . At each stage, maximize over Ψ(k)+Ψ(n-k) for k=1,2,…,n-1; and for k=n use pn Ex: Ψ(7)=max{Ψ(1)+Ψ(6),Ψ(2)+Ψ(5),Ψ(3)+Ψ(4),…,p7} 21 Real-world application . Viterbi algorithm . Decodes convolution codes in CDMA – Also used in speech recognition – Text is “hidden” and (noisy) speech observations help estimate text . Relies on DP . Finds shortest path 22 Linear Programming Keywords: linear programming, simplex method Formulation . Canonical form max . , – Note: s.t. = subject to ≤ ≥0 . Matrix manipulations/tricks create variations: – Ax=b by enforcing ≤ and ≥ T – We’ve minimized ||x||1 (instead of c x) 24 What’s it good for? . Transportation - pose airline costs and revenue as linear model, maximize profit (revenue-costs) w/LP . Manufacturing – minimize costs by posing them as linear model . Common theme: many real-world problems are approximately linear, or can be linearized around working point (Taylor series) 25 History . Early formulations date back to early 20th century (rudimentary forms even earlier) . Dantzig invented simplex method (solver) in 40s – Polynomial average runtime; slow worst case . Interior point methods – much faster worst case 26 Simplex algorithm . Linear constraints, , 0 – Correspond to convex polytope . Linear function being optimized,≤ ≥ cTx – Optimal on corner point of polytope – Simplex = outer shell of convex polytope . Start at some corner point (vertex) . Examine neighboring vertices . Either cTx already optimal, or it’s better at neighbor . Move to best neighboring vertex; iterate until done . Specific steps correspond to linear algebra 27 Convex Optimization Keywords: convex optimization What are convex/concave functions? . Consider convex real valued function defined on space , : → ℝ . Convex: f(λx+(1- λ)y))≤ λf(x)+(1- λ)f(y),∀x,y∈ , λ∈(0,1) . Concave: -”- ≥ -”- . Note: f convex if and only if –f concave; convex/concave imply negative/positive second derivatives . Any local optimum is global optimum 29 What is convex optimization? . Basic convex problem: = arg min{f x } – Set and function f(x) must∗ both be convex ∈ . Alternate form: min ( ) . , – Functions f, g , …, g all convex 1 m ≤0 ∀ 30 Applications (Why is this interesting?) . Many problems can be posed as convex . Least squares . Entropy maximization . Linear programming 31 Newton’s method . Newton’s method finds roots of equations, f(x)=0 . Instead, derivative f`=0 or gradient = 0 2 . Taylor expansion: fT(x)=f(xt)+ + +… 1 . Root of derivative: f’(x )+f’’(x ) =0 t f′t � ∆ 2 f′′ � ∆ . Iterate with x =x + t+1 t ∆ ∆ . Newton’s method is simple but O(1/t) convergence 32 Second order methods . Challenge: first order approximation to derivative slows down Newton’s method . Solution: use higher order approximation – Instead of f’(xt)+f’’(xt) , use third derivative too ∆ . Multi-dimensional function? Use gradient, Hessians… . Second order methods more complicated but faster 33 Gradient descent Keywords: gradient descent, line search, golden section search Gradient descent . In each iteration, select direction to pursue – Coordinate descent – move along one of coordinates – Gradient descent - direction that minimizes cost function fastest . How far should we move along that direction? . Undershooting or overshooting bad for convergence 35 Line search . Key sub-method is to move along direction just enough to minimize the function along that line . Line search = optimization along line . Many variations – binary search, golden rule search . Let’s make up an example for this and code it! – Check course webpage for Matlab script 36 Integer Programming Keywords: integer programming, integer linear programs, relaxation What is integer programming? . Integer program = optimization problem where some/all variables must be integers . Integer linear programs (ILP): = arg max . � += – Slack variables s ≥0 ∈ℤ 38 Example . Support set detection – y=Ax+z – Sparse x – Want to identify support set where x≠0 . Can we do “perfect” support set detection? – Are there tiny non-zeros? (yes difficult) – What’s the SNR (low difficult) 39 Example continued . Support set detection, y=Ax+z, want support set . Algorithm: – Consider candidate support set, s∈{0,1}N – Create matrix As contains column i iff si=1 – Run least squares using As (find low-energy solution to y=Asx) – Iterate over all s, select solution with smallest residual .
Recommended publications
  • Turbo Decoding As Iterative Constrained Maximum Likelihood Sequence Detection John Maclaren Walsh, Member, IEEE, Phillip A
    1 Turbo Decoding as Iterative Constrained Maximum Likelihood Sequence Detection John MacLaren Walsh, Member, IEEE, Phillip A. Regalia, Fellow, IEEE, and C. Richard Johnson, Jr., Fellow, IEEE Abstract— The turbo decoder was not originally introduced codes have good distance properties, which would be relevant as a solution to an optimization problem, which has impeded for maximum likelihood decoding, researchers have not yet attempts to explain its excellent performance. Here it is shown, succeeded in developing a proper connection between the sub- nonetheless, that the turbo decoder is an iterative method seeking a solution to an intuitively pleasing constrained optimization optimal turbo decoder and maximum likelihood decoding. This problem. In particular, the turbo decoder seeks the maximum is exacerbated by the fact that the turbo decoder, unlike most of likelihood sequence under the false assumption that the input the designs in modern communications systems engineering, to the encoders are chosen independently of each other in the was not originally introduced as a solution to an optimization parallel case, or that the output of the outer encoder is chosen problem. This has made explaining just why the turbo decoder independently of the input to the inner encoder in the serial case. To control the error introduced by the false assumption, the opti- performs as well as it does very difficult. Together with the mizations are performed subject to a constraint on the probability lack of formulation as a solution to an optimization problem, that the independent messages happen to coincide. When the the turbo decoder is an iterative algorithm, which makes the constraining probability equals one, the global maximum of determining its convergence and stability behavior important.
    [Show full text]
  • A Comparative Study of Time Delay Estimation Techniques for Road Vehicle Tracking Patrick Marmaroli, Xavier Falourd, Hervé Lissek
    A comparative study of time delay estimation techniques for road vehicle tracking Patrick Marmaroli, Xavier Falourd, Hervé Lissek To cite this version: Patrick Marmaroli, Xavier Falourd, Hervé Lissek. A comparative study of time delay estimation techniques for road vehicle tracking. Acoustics 2012, Apr 2012, Nantes, France. hal-00810981 HAL Id: hal-00810981 https://hal.archives-ouvertes.fr/hal-00810981 Submitted on 23 Apr 2012 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. Proceedings of the Acoustics 2012 Nantes Conference 23-27 April 2012, Nantes, France A comparative study of time delay estimation techniques for road vehicle tracking P. Marmaroli, X. Falourd and H. Lissek Ecole Polytechnique F´ed´erale de Lausanne, EPFL STI IEL LEMA, 1015 Lausanne, Switzerland patrick.marmaroli@epfl.ch 4135 23-27 April 2012, Nantes, France Proceedings of the Acoustics 2012 Nantes Conference This paper addresses road traffic monitoring using passive acoustic sensors. Recently, the feasibility of the joint speed and wheelbase length estimation of a road vehicle using particle filtering has been demonstrated. In essence, the direction of arrival of propagated tyre/road noises are estimated using a time delay estimation (TDE) technique between pairs of microphones placed near the road.
    [Show full text]
  • Optimization Basic Results
    Optimization Basic Results Michel De Lara Cermics, Ecole´ des Ponts ParisTech France Ecole´ des Ponts ParisTech November 22, 2020 Outline of the presentation Magic formulas Convex functions, coercivity Existence and uniqueness of a minimum First-order optimality conditions (the case of equality constraints) Duality gap and saddle-points Elements of Lagrangian duality and Uzawa algorithm More on convexity and duality Outline of the presentation Magic formulas Convex functions, coercivity Existence and uniqueness of a minimum First-order optimality conditions (the case of equality constraints) Duality gap and saddle-points Elements of Lagrangian duality and Uzawa algorithm More on convexity and duality inf h(a; b) = inf inf h(a; b) a2A;b2B a2A b2B inf λf (a) = λ inf f (a) ; 8λ ≥ 0 a2A a2A inf f (a) + g(b) = inf f (a) + inf g(b) a2A;b2B a2A b2B Tower formula For any function h : A × B ! [−∞; +1] we have inf h(a; b) = inf inf h(a; b) a2A;b2B a2A b2B and if B(a) ⊂ B, 8a 2 A, we have inf h(a; b) = inf inf h(a; b) a2A;b2B(a) a2A b2B(a) Independence For any functions f : A !] − 1; +1] ; g : B !] − 1; +1] we have inf f (a) + g(b) = inf f (a) + inf g(b) a2A;b2B a2A b2B and for any finite set S, any functions fs : As !] − 1; +1] and any nonnegative scalars πs ≥ 0, for s 2 S, we have X X inf π f (a )= π inf f (a ) Q s s s s s s fas gs2 2 s2 As as 2As S S s2S s2S Outline of the presentation Magic formulas Convex functions, coercivity Existence and uniqueness of a minimum First-order optimality conditions (the case of equality constraints) Duality gap and saddle-points Elements of Lagrangian duality and Uzawa algorithm More on convexity and duality Convex sets Let N 2 N∗.
    [Show full text]
  • Comparison of Risk Measures
    Geometry Of The Expected Value Set And The Set-Valued Sample Mean Process Alois Pichler∗ May 13, 2018 Abstract The law of large numbers extends to random sets by employing Minkowski addition. Above that, a central limit theorem is available for set-valued random variables. The existing results use abstract isometries to describe convergence of the sample mean process towards the limit, the expected value set. These statements do not reveal the local geometry and the relations of the sample mean and the expected value set, so these descriptions are not entirely satisfactory in understanding the limiting behavior of the sample mean process. This paper addresses and describes the fluctuations of the sample average mean on the boundary of the expectation set. Keywords: Random sets, set-valued integration, stochastic optimization, set-valued risk measures Classification: 90C15, 26E25, 49J53, 28B20 1 Introduction Artstein and Vitale [4] obtain an initial law of large numbers for random sets. Given this result and the similarities of Minkowski addition of sets with addition and multiplication for scalars it is natural to ask for a central limit theorem for random sets. After some pioneering work by Cressie [11], Weil [28] succeeds in establishing a reasonable result describing the distribution of the Pompeiu–Hausdorff distance between the sample average and the expected value set. The result is based on an isometry between compact sets and their support functions, which are continuous on some appropriate and adapted sphere (cf. also Norkin and Wets [20] and Li et al. [17]; cf. Kuelbs [16] for general difficulties). However, arXiv:1708.05735v1 [math.PR] 18 Aug 2017 the Pompeiu–Hausdorff distance of random sets is just an R-valued random variable and its d distribution is on the real line.
    [Show full text]
  • Direct Optimization Through $\Arg \Max$ for Discrete Variational Auto
    Direct Optimization through arg max for Discrete Variational Auto-Encoder Guy Lorberbom Andreea Gane Tommi Jaakkola Tamir Hazan Technion MIT MIT Technion Abstract Reparameterization of variational auto-encoders with continuous random variables is an effective method for reducing the variance of their gradient estimates. In the discrete case, one can perform reparametrization using the Gumbel-Max trick, but the resulting objective relies on an arg max operation and is non-differentiable. In contrast to previous works which resort to softmax-based relaxations, we propose to optimize it directly by applying the direct loss minimization approach. Our proposal extends naturally to structured discrete latent variable models when evaluating the arg max operation is tractable. We demonstrate empirically the effectiveness of the direct loss minimization technique in variational autoencoders with both unstructured and structured discrete latent variables. 1 Introduction Models with discrete latent variables drive extensive research in machine learning applications, including language classification and generation [42, 11, 34], molecular synthesis [19], or game solving [25]. Compared to their continuous counterparts, discrete latent variable models can decrease the computational complexity of inference calculations, for instance, by discarding alternatives in hard attention models [21], they can improve interpretability by illustrating which terms contributed to the solution [27, 42], and they can facilitate the encoding of inductive biases in the learning process, such as images consisting of a small number of objects [8] or tasks requiring intermediate alignments [25]. Finally, in some cases, discrete latent variables are natural choices, for instance when modeling datasets with discrete classes [32, 12, 23]. Performing maximum likelihood estimation of latent variable models is challenging due to the requirement to marginalize over the latent variables.
    [Show full text]
  • Extreme-Value Theorems for Optimal Multidimensional Pricing
    Extreme-Value Theorems for Optimal Multidimensional Pricing Yang Cai∗ Constantinos Daskalakisy Computer Science, McGill University EECS, MIT [email protected] [email protected] October 28, 2014 Abstract We provide a near-optimal, computationally efficient algorithm for the unit-demand pricing problem, where a seller wants to price n items to optimize revenue against a unit-demand buyer whose values for the items are independently drawn from known distributions. For any chosen accuracy > 0 and item values bounded in [0; 1], our algorithm achieves revenue that is optimal up to an additive error of at most , in polynomial time. For values sampled from Monotone Hazard Rate (MHR) distributions, we achieve a (1 − )-fraction of the optimal revenue in poly- nomial time, while for values sampled from regular distributions the same revenue guarantees are achieved in quasi-polynomial time. Our algorithm for bounded distributions applies probabilistic techniques to understand the statistical properties of revenue distributions, obtaining a reduction in the search space of the algorithm through dynamic programming. Adapting this approach to MHR and regular distri- butions requires the proof of novel extreme value theorems for such distributions. As a byproduct, our techniques establish structural properties of approximately-optimal and near-optimal solutions. We show that, when the buyer's values are independently distributed according to MHR distributions, pricing all items at the same price achieves a constant fraction of the optimal revenue. Moreover, for all > 0, at most g(1/) distinct prices suffice to obtain a (1 − )-fraction of the optimal revenue, where g(1/) is a quadratic function of 1/ that does not depend on the number of items.
    [Show full text]
  • Cesifo Working Paper No. 5428 Category 12: Empirical and Theoretical Methods June 2015
    A Service of Leibniz-Informationszentrum econstor Wirtschaft Leibniz Information Centre Make Your Publications Visible. zbw for Economics Aquaro, Michele; Bailey, Natalia; Pesaran, M. Hashem Working Paper Quasi Maximum Likelihood Estimation of Spatial Models with Heterogeneous Coefficients CESifo Working Paper, No. 5428 Provided in Cooperation with: Ifo Institute – Leibniz Institute for Economic Research at the University of Munich Suggested Citation: Aquaro, Michele; Bailey, Natalia; Pesaran, M. Hashem (2015) : Quasi Maximum Likelihood Estimation of Spatial Models with Heterogeneous Coefficients, CESifo Working Paper, No. 5428, Center for Economic Studies and ifo Institute (CESifo), Munich This Version is available at: http://hdl.handle.net/10419/113752 Standard-Nutzungsbedingungen: Terms of use: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Documents in EconStor may be saved and copied for your Zwecken und zum Privatgebrauch gespeichert und kopiert werden. personal and scholarly purposes. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle You are not to copy documents for public or commercial Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich purposes, to exhibit the documents publicly, to make them machen, vertreiben oder anderweitig nutzen. publicly available on the internet, or to distribute or otherwise use the documents in public. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, If the documents have been made available under an Open gelten abweichend von diesen Nutzungsbedingungen die in der dort Content Licence (especially Creative Commons Licences), you genannten Lizenz gewährten Nutzungsrechte. may exercise further usage rights as specified in the indicated licence. www.econstor.eu Quasi Maximum Likelihood Estimation of Spatial Models with Heterogeneous Coefficients Michele Aquaro Natalia Bailey M.
    [Show full text]
  • Download (543Kb)
    XOT FOR QUOTATION WITHOUT PERMISSION OF THE AUTHOR FAVORABLE CLASSES OF LIPSCHITZ CONTINUOUS FUNCTIONS IN SUBGRADIENT OPTIMIZATION R. Tyrrell Rockafellar January 1981 LQP-8 1- 1 Research supported in part by the Air Force Office of Scientific Research, Air Force Systems Command, United States Air Force, under grant number 77-3204. Working Papers are interim reports on work of the International Institute for Applied Systems Analysis and have received only limited review. Views or opinions expressed herein do not necessarily repre- sent those of the Institute or of its National Member Organizations. INTERNATIONAL INSTITUTE FOR APPLIED SYSTEMS ANALYSIS A-2361 Laxenburg, Austria ABSTRACT Clarke has given a robust definition of subgradients of arbitrary Lipschitz continuous functions f on R", but for pur- poses of minimization algorithms it seems essential that the subgradient multifunction af have additional properties, such as certain special kinds of semicontinuity, which are not auto- matic consequences of f being Lipschitz continuous. This paper explores properties of 3f that correspond to f being subdiffer- entially regular, another concept of Clarke's, and to f being a pointwise supremum of functions that are k times continuously differentiable. FAVORABLE CLASSES OF LIPSCHITZ CONTINUOUS FUNCTIONS IN SUBGRADIENT OPTIMIZATION R. Tyrrell Rockafellar 1. INTRODUCTION A function f : R~+Ris said to be locally Lipschitzian if for each x E Rn there is a neighborhood X of x such that, for some X -> 17, (1.1) If(x") -£(XI)/ -< XIXI'-xlI for all XIEX, EX . Examples include continuously differentiable functions, convex functions, concave functions, saddle functions and any linear combination or pointwise maximum of a finite collection of such functions.
    [Show full text]
  • Dual Coordinate Descent Methods for Logistic Regression and Maximum Entropy Models
    Machine Learning Journal manuscript No. (will be inserted by the editor) Dual Coordinate Descent Methods for Logistic Regression and Maximum Entropy Models Hsiang-Fu Yu · Fang-Lan Huang · Chih-Jen Lin Received: date / Accepted: date Abstract Most optimization methods for logistic regression or maximum entropy solve the primal problem. They range from iterative scaling, coordinate descent, quasi- Newton, and truncated Newton. Less efforts have been made to solve the dual problem. In contrast, for linear support vector machines (SVM), methods have been shown to be very effective for solving the dual problem. In this paper, we apply coordinate descent methods to solve the dual form of logistic regression and maximum entropy. Interest- ingly, many details are different from the situation in linear SVM. We carefully study the theoretical convergence as well as numerical issues. The proposed method is shown to be faster than most state of the art methods for training logistic regression and maximum entropy. 1 Introduction Logistic regression (LR) is useful in many areas such as document classification and natural language processing (NLP). It models the conditional probability as: 1 Pw(y = ±1jx) ≡ ; 1 + e−ywT x where x is the data, y is the class label, and w 2 Rn is the weight vector. Given l n two-class training data fxi; yigi=1; xi 2 R ; yi 2 f1; −1g, logistic regression minimizes the following regularized negative log-likelihood: l X T 1 P LR(w) = C log 1 + e−yiw xi + wT w; (1) 2 i=1 Department of Computer Science National Taiwan University Taipei 106, Taiwan fb93107, d93011, [email protected] 2 where C > 0 is a penalty parameter.
    [Show full text]
  • On Competitive Nonlinear Pricing Andrea Attar, Thomas Mariotti, Francois Salanie
    On competitive nonlinear pricing Andrea Attar, Thomas Mariotti, Francois Salanie To cite this version: Andrea Attar, Thomas Mariotti, Francois Salanie. On competitive nonlinear pricing. Theoretical Economics, Econometric Society, 2019, 14 (1), pp.297-343. 10.3982/TE2708. hal-02097209 HAL Id: hal-02097209 https://hal.archives-ouvertes.fr/hal-02097209 Submitted on 26 May 2020 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. Distributed under a Creative Commons Attribution - NonCommercial| 4.0 International License Theoretical Economics 14 (2019), 297–343 1555-7561/20190297 On competitive nonlinear pricing Andrea Attar Toulouse School of Economics, CNRS, University of Toulouse Capitole and Dipartimento di Economia e Finanza, Università degli Studi di Roma“Tor Vergata” Thomas Mariotti Toulouse School of Economics, CNRS, University of Toulouse Capitole François Salanié Toulouse School of Economics, INRA, University of Toulouse Capitole We study a discriminatory limit-order book in which market makers compete in nonlinear tariffs to serve a privately informed insider. Our model allows for general nonparametric specifications of preferences and arbitrary discrete distri- butions for the insider’s private information. Adverse selection severely restricts equilibrium outcomes: in any pure-strategy equilibrium with convex tariffs, pric- ing must be linear and at most one type can trade, leading to an extreme form of market breakdown.
    [Show full text]
  • Reinforcement Learning Via Fenchel-Rockafellar Duality
    Reinforcement Learning via Fenchel-Rockafellar Duality Ofir Nachum Bo Dai [email protected] [email protected] Google Research Google Research Abstract We review basic concepts of convex duality, focusing on the very general and supremely useful Fenchel-Rockafellar duality. We summarize how this duality may be applied to a variety of reinforcement learning (RL) settings, including policy evaluation or optimization, online or offline learning, and discounted or undiscounted rewards. The derivations yield a number of intriguing results, including the ability to perform policy evaluation and on-policy policy gradient with behavior-agnostic offline data and methods to learn a policy via max-likelihood optimization. Although many of these results have appeared previously in various forms, we provide a unified treatment and perspective on these results, which we hope will enable researchers to better use and apply the tools of convex duality to make further progress in RL. 1 Introduction Reinforcement learning (RL) aims to learn behavior policies to optimize a long-term decision-making process in an environment. RL is thus relevant to a variety of real- arXiv:2001.01866v2 [cs.LG] 9 Jan 2020 world applications, such as robotics, patient care, and recommendation systems. When tackling problems associated with the RL setting, two main difficulties arise: first, the decision-making problem is inherently sequential, with early decisions made by the policy affecting outcomes both near and far in the future; second, the learner’s knowledge of the environment is only through sampled experience, i.e., previously sampled trajectories of interactions, while the underlying mechanism governing the dynamics of these trajectories is unknown.
    [Show full text]
  • A Single-Loop Smoothed Gradient Descent-Ascent Algorithm
    A Single-Loop Smoothed Gradient Descent-Ascent Algorithm for Nonconvex-Concave Min-Max Problems Jiawei Zhang ∗ Peijun Xiao † Ruoyu Sun ‡ Zhi-Quan Luo § October 30, 2020 Abstract Nonconvex-concave min-max problem arises in many machine learning applications including minimizing a pointwise maximum of a set of nonconvex functions and robust adversarial training of neural networks. A popular approach to solve this problem is the gradient descent-ascent (GDA) algorithm which unfortunately can exhibit oscillation in case of nonconvexity. In this paper, we introduce a “smoothing” scheme which can be combined with GDA to stabilize the oscillation and ensure convergence to a stationary solution. We prove that the stabilized GDA algorithm can achieve an O(1/ǫ2) iteration complexity for minimizing the pointwise maximum of a finite collection of nonconvex functions. Moreover, the smoothed GDA algorithm achieves an O(1/ǫ4) iteration complexity for general nonconvex-concave problems. Extensions of this stabilized GDA algorithm to multi-block cases are presented. To the best of our knowledge, this is the first algorithm to achieve O(1/ǫ2) for a class of nonconvex-concave problem. We illustrate the practical efficiency of the stabilized GDA algorithm on robust training. 1 Introduction Min-max problems have drawn considerable interest from the machine learning and other engi- neering communities. They appear in applications such as adversarial learning [1–3], robust opti- mization [4–7], empirical risk minimization [8, 9], and reinforcement learning [10, 11]. Concretely speaking, a min-max problem is in the form: min max f(x,y), (1.1) x∈X y∈Y arXiv:2010.15768v1 [math.OC] 29 Oct 2020 where X Rn and Y Rm are convex and closed sets and f is a smooth function.
    [Show full text]