The Lipschitz Constant of Self-Attention

Total Page:16

File Type:pdf, Size:1020Kb

The Lipschitz Constant of Self-Attention The Lipschitz Constant of Self-Attention Hyunjik Kim 1 George Papamakarios 1 Andriy Mnih 1 Abstract constraint for neural networks, to control how much a net- Lipschitz constants of neural networks have been work’s output can change relative to its input. Such Lips- explored in various contexts in deep learning, chitz constraints are useful in several contexts. For example, such as provable adversarial robustness, estimat- Lipschitz constraints can endow models with provable ro- ing Wasserstein distance, stabilising training of bustness against adversarial pertubations (Cisse et al., 2017; GANs, and formulating invertible neural net- Tsuzuku et al., 2018; Anil et al., 2019), and guaranteed gen- works. Such works have focused on bounding eralisation bounds (Sokolic´ et al., 2017). Moreover, the dual the Lipschitz constant of fully connected or con- form of the Wasserstein distance is defined as a supremum volutional networks, composed of linear maps over Lipschitz functions with a given Lipschitz constant, and pointwise non-linearities. In this paper, we hence Lipschitz-constrained networks are used for estimat- investigate the Lipschitz constant of self-attention, ing Wasserstein distances (Peyré & Cuturi, 2019). Further, a non-linear neural network module widely used Lipschitz-constrained networks can stabilise training for in sequence modelling. We prove that the stan- GANs, an example being spectral normalisation (Miyato dard dot-product self-attention is not Lipschitz et al., 2018). Finally, Lipschitz-constrained networks are for unbounded input domain, and propose an al- also used to construct invertible models and normalising ternative L2 self-attention that is Lipschitz. We flows. For example, Lipschitz-constrained networks can be derive an upper bound on the Lipschitz constant of used as a building block for invertible residual networks and L2 self-attention and provide empirical evidence hence flow-based generative models (Behrmann et al., 2019; for its asymptotic tightness. To demonstrate the Chen et al., 2019). Additionally, Neural ODEs (Chen et al., practical relevance of our theoretical work, we 2018; Grathwohl et al., 2019) are typically defined using formulate invertible self-attention and use it in vector fields parameterized via Lipschitz networks, so that a Transformer-based architecture for a character- the flow generated by the vector field is guaranteed to exist level language modelling task. for all times. Nonetheless, designing Lipschitz-continuous neural net- works and computing (or even upper-bounding) their Lip- 1. Introduction schitz constant is a hard problem. Previous work mostly Lipschitz continuity is a strong form of continuity for func- focused on fully-connected and convolutional networks, not tions. Loosely speaking, a function is Lipschitz continuous only because they are common in deep learning, but also be- if changing its input by a certain amount cannot change cause they are relatively simple to analyze, as compositions its output by more than K times that amount. The con- of linear maps and pointwise non-linearities. Even in this stant K is a hard constraint on how rapidly the function’s case however, exact evaluation of the Lipschitz constant of fully-connected and convolutional networks is NP-hard (Vir- arXiv:2006.04710v2 [stat.ML] 9 Jun 2021 output can vary, and the smallest such K is known as the p maux & Scaman, 2018) and obtaining a tight upper bound function’s Lipschitz constant. For example, f1(x) = jxj remains a challenging task (Virmaux & Scaman, 2018; Fa- and f2(x) = exp(x) for x 2 R are not Lipschitz contin- uous, because their output can change arbitrarily fast as zlyab et al., 2019; Latorre et al., 2020). x approaches 0 and +1 respectively. On the other hand, Fully-connected and convolutional networks are not the g1(x) = tanh(x) and g2(x) = αx are Lipschitz continuous, only neural networks worthy of interest. Recently, self- because their rate of change (derivative) is bounded. attention (Vaswani et al., 2017) has become a popular In deep learning, we often use Lipschitz continuity as a alternative to recurrent neural networks. Self-attention is a key component of the Transformer (Vaswani et al., 1DeepMind, UK. Correspondence to: Hyunjik Kim <hyun- 2017), that has found success as a building block in models [email protected]>. of various data modalities, starting with natural-language processing (Vaswani et al., 2017; Devlin et al., 2019; Proceedings of the 38 th International Conference on Machine Learning, PMLR 139, 2021. Copyright 2021 by the author(s). Brown et al., 2020) and extending to computer vision The Lipschitz Constant of Self-Attention (Zhang et al., 2019; Parmar et al., 2019), audio generation (Virmaux & Scaman, 2018; Behrmann et al., 2019). We (Huang et al., 2019), and reinforcement learning (Parisotto describe how these results are used to provide bounds on et al., 2020). However, so far no previous work has anal- the Lipschitz constant of fully-connected networks (FCN) ysed the Lipschitz properties of self-attention, and thus it and convolutional neural networks (CNN), using the fact has been unclear whether self-attention is a viable option that both are compositions of linear maps and pointwise in applications that require Lipschitz constraints. In this non-linearities. To begin with, the following theorem sug- work, we address this gap in the theory of self-attention by gests a way to bound Lipp(f) for a differentiable Lipschitz providing a thorough analysis of its Lipschitz properties. In function f: particular, we make the following contributions: Theorem 2.1 (Federer, 1969). Let f : Rn ! Rm be differ- entiable and Lipschitz continuous under a choice of p-norm • We prove that the widely used dot-product self-attention k · kp. Let Jf (x) denote its total derivative (Jacobian) at x. is not Lipschitz, and therefore not suitable to use in appli- Then Lipp(f) = supx2 n kJf (x)kp where kJf (x)kp is the cations requiring Lipschitz constraints. R induced operator norm on Jf (x). • We formulate L2 self-attention as an alternative, and show Hence if f is a linear map represented by a matrix W then that it is Lipschitz. • We derive a theoretical upper bound on the Lipschitz con- Lipp(f) = kW kp := sup kW xkp stant of L2 self-attention, and provide empirical evidence kxkp=1 ( of the asymptotic tightness of the bound. σ (W ); if p = 2 = max max P jW j if p = 1 • As a practical demonstration of the theory, we use this i j ij bound to formulate invertible self-attention, and explore its use in a Transformer architecture for character-level where kW kp is the operator norm on matrices induced by language modelling. We compare its test log-likelihood the vector p-norm, and σmax(W ) is the largest singular and stability to dot-product self-attention. value of W . Under this choice of norm, many common non-linearities (including relu, sigmoid, tanh, elu) are 1-Lipschitz. kW k2 = σmax(W ) is usually estimated via 2. Lipschitz Constant of power iteration; we provide details on how this is done in Fully-Connected/Convolutional Layers AppendixB. We first define the notion of Lipschitz continuity, and pro- Since we now know the Lipschitz constants of the compo- ceed to define the Lipschitz constant. nents of both FCN and CNN, we can bound their Lipschitz constants by applying the following lemma: Definition 2.1. Given two metric spaces (X ; dX ) and (Y; dY ), a function f : X!Y is called Lipschitz con- Lemma 2.1 (Federer, 1969). Let g; h be two composable tinuous (or K-Lipschitz) if there exists a constant K ≥ 0 Lipschitz functions. Then g ◦h is also Lipschitz with Lip(g ◦ such that h) ≤ Lip(g) Lip(h). 0 0 0 Corollary 2.1. For a fully-connected network (FCN) or a dY (f(x); f(x )) ≤ KdX (x; x ) for all x; x 2 X : (1) convolutional neural network (CNN) f = WK ◦ ρK−1 ◦ Q The smallest such K is the Lipschitz constant of f, denoted WK−1 ◦ ::: ◦ ρ1 ◦ W1, we have Lipp(f) ≤ k kWkkp Lip(f). under a choice of p-norm with 1-Lipschitz non-linearities ρk. In this paper, we focus on the common case where X = n m R , Y = R , and dX ; dY are induced by a p-norm The above bound is not necessarily tight; there are various P p 1=p kxkp := ( i jxij ) . We will primarily consider the works that compute tighter bounds for FCN and CNN (e.g. cases p = 2 and p = 1, where kxk1 := maxi jxij. To Virmaux & Scaman, 2018; Fazlyab et al., 2019; Latorre emphasise the dependence of the Lipschitz constant on the et al., 2020). choice of p-norm, we will often denote it by Lipp(f). In this case, it follows directly from Definition 2.1 that the 3. Lipschitz Constant of Self-Attention Lipschitz constant is given by 3.1. Dot-product self-attention is not Lipschitz kf(x) − f(x0)k Lip (f) = sup p : p 0 (2) Moving on, we investigate whether self-attention is Lips- x6=x02 n kx − x kp R chitz. We first consider the widely used (scaled) dot-product Next, we outline some basic results that are useful for esti- multihead self-attention as formulated by Vaswani et al. mating Lipschitz constants, also covered in related works (2017). Let x1;:::; xN be a sequence of N elements, where The Lipschitz Constant of Self-Attention D xi 2 R for i = 1;:::;N. We represent this sequence as a The mapping f can be written as matrix X: 2 3 2 > 3 f1(X) — x1 — f(X) = PX = softmax aXX> X = 6 . 7 2 N×1; 6 . 7 N×D 4 . 5 R X = 4 . 5 2 R ; (3) > fN (X) — xN — N X Dot-product multihead self-attention (DP-MHA) is a map where fi(X) = Pijxj 2 R from RN×D to RN×D consisting of H ‘heads’, where H j=1 is chosen to divide D.
Recommended publications
  • Lipschitz Continuity of Convex Functions
    Lipschitz Continuity of Convex Functions Bao Tran Nguyen∗ Pham Duy Khanh† November 13, 2019 Abstract We provide some necessary and sufficient conditions for a proper lower semi- continuous convex function, defined on a real Banach space, to be locally or globally Lipschitz continuous. Our criteria rely on the existence of a bounded selection of the subdifferential mapping and the intersections of the subdifferential mapping and the normal cone operator to the domain of the given function. Moreover, we also point out that the Lipschitz continuity of the given function on an open and bounded (not necessarily convex) set can be characterized via the existence of a bounded selection of the subdifferential mapping on the boundary of the given set and as a consequence it is equivalent to the local Lipschitz continuity at every point on the boundary of that set. Our results are applied to extend a Lipschitz and convex function to the whole space and to study the Lipschitz continuity of its Moreau envelope functions. Keywords Convex function, Lipschitz continuity, Calmness, Subdifferential, Normal cone, Moreau envelope function. Mathematics Subject Classification (2010) 26A16, 46N10, 52A41 1 Introduction arXiv:1911.04886v1 [math.FA] 12 Nov 2019 Lipschitz continuous and convex functions play a significant role in convex and nonsmooth analysis. It is well-known that if the domain of a proper lower semicontinuous convex function defined on a real Banach space has a nonempty interior then the function is continuous over the interior of its domain [3, Proposition 2.111] and as a consequence, it is subdifferentiable (its subdifferential is a nonempty set) and locally Lipschitz continuous at every point in the interior of its domain [3, Proposition 2.107].
    [Show full text]
  • The Beginnings 2 2. the Topology of Metric Spaces 5 3. Sequences and Completeness 9 4
    MATH 3963 NONLINEAR ODES WITH APPLICATIONS R MARANGELL Contents 1. Metric Spaces - The Beginnings 2 2. The Topology of Metric Spaces 5 3. Sequences and Completeness 9 4. The Contraction Mapping Theorem 13 5. Lipschitz Continuity 19 6. Existence and Uniqueness of Solutions to ODEs 21 7. Dependence on Initial Conditions and Parameters 26 8. Maximal Intervals of Existence 29 Date: September 6, 2017. 1 R Marangell Part II - Existence and Uniqueness of ODES 1. Metric Spaces - The Beginnings So.... I am from California, and so I fly through L.A. a lot on my way to my parents house. How far is that from Sydney? Well... Google tells me it's 12000 km (give or take), and in fact this agrees with my airline - they very nicely give me 12000 km on my frequent flyer points. But.... well.... are they really 12000 km apart? What if I drilled a hole through the surface of the Earth? Using a little trigonometry, and the fact that the radius of the earth is R = 6371 km, we have that the distance `as the mole digs' so-to-speak from Sydney to Los Angeles CA is given by (see Figure 1): 12000 x = 2R sin ≈ 10303 km (give or take) 2R Figure 1. A schematic of the earth showing an `equatorial' (or great) circle from Sydney to L.A. So I have two different answers, to the same question, and both are correct. Indeed, Sydney is both 12000 km and around 10303 km away from L.A. What's going on here is pretty obvious, but we're going to make it precise.
    [Show full text]
  • Convergence Rates for Deterministic and Stochastic Subgradient
    Convergence Rates for Deterministic and Stochastic Subgradient Methods Without Lipschitz Continuity Benjamin Grimmer∗ Abstract We extend the classic convergence rate theory for subgradient methods to apply to non-Lipschitz functions. For the deterministic projected subgradient method, we present a global O(1/√T ) convergence rate for any convex function which is locally Lipschitz around its minimizers. This approach is based on Shor’s classic subgradient analysis and implies generalizations of the standard convergence rates for gradient descent on functions with Lipschitz or H¨older continuous gradients. Further, we show a O(1/√T ) convergence rate for the stochastic projected subgradient method on convex functions with at most quadratic growth, which improves to O(1/T ) under either strong convexity or a weaker quadratic lower bound condition. 1 Introduction We consider the nonsmooth, convex optimization problem given by min f(x) x∈Q for some lower semicontinuous convex function f : Rd R and closed convex feasible → ∪{∞} region Q. We assume Q lies in the domain of f and that this problem has a nonempty set of minimizers X∗ (with minimum value denoted by f ∗). Further, we assume orthogonal projection onto Q is computationally tractable (which we denote by PQ( )). arXiv:1712.04104v3 [math.OC] 26 Feb 2018 Since f may be nondifferentiable, we weaken the notion of gradients to· subgradients. The set of all subgradients at some x Q (referred to as the subdifferential) is denoted by ∈ ∂f(x)= g Rd y Rd f(y) f(x)+ gT (y x) . { ∈ | ∀ ∈ ≥ − } We consider solving this problem via a (potentially stochastic) projected subgradient method.
    [Show full text]
  • Hölder-Continuity for the Nonlinear Stochastic Heat Equation with Rough Initial Conditions
    Stoch PDE: Anal Comp (2014) 2:316–352 DOI 10.1007/s40072-014-0034-6 Hölder-continuity for the nonlinear stochastic heat equation with rough initial conditions Le Chen · Robert C. Dalang Received: 22 October 2013 / Published online: 14 August 2014 © Springer Science+Business Media New York 2014 Abstract We study space-time regularity of the solution of the nonlinear stochastic heat equation in one spatial dimension driven by space-time white noise, with a rough initial condition. This initial condition is a locally finite measure μ with, possibly, exponentially growing tails. We show how this regularity depends, in a neighborhood of t = 0, on the regularity of the initial condition. On compact sets in which t > 0, 1 − 1 − the classical Hölder-continuity exponents 4 in time and 2 in space remain valid. However, on compact sets that include t = 0, the Hölder continuity of the solution is α ∧ 1 − α ∧ 1 − μ 2 4 in time and 2 in space, provided is absolutely continuous with an α-Hölder continuous density. Keywords Nonlinear stochastic heat equation · Rough initial data · Sample path Hölder continuity · Moments of increments Mathematics Subject Classification Primary 60H15 · Secondary 60G60 · 35R60 L. Chen and R. C. Dalang were supported in part by the Swiss National Foundation for Scientific Research. L. Chen (B) · R. C. Dalang Institut de mathématiques, École Polytechnique Fédérale de Lausanne, Station 8, CH-1015 Lausanne, Switzerland e-mail: [email protected] R. C. Dalang e-mail: robert.dalang@epfl.ch Present Address: L. Chen Department of Mathematics, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA 123 Stoch PDE: Anal Comp (2014) 2:316–352 317 1 Introduction Over the last few years, there has been considerable interest in the stochastic heat equation with non-smooth initial data: ∂ ν ∂2 ˙ ∗ − u(t, x) = ρ(u(t, x)) W(t, x), x ∈ R, t ∈ R+, ∂t 2 ∂x2 (1.1) u(0, ·) = μ(·).
    [Show full text]
  • 1. the Rademacher Theorem
    GEOMETRIC ANALYSIS PIOTR HAJLASZ 1. The Rademacher theorem 1.1. The Rademacher theorem. Lipschitz functions defined on one dimensional inter- vals are differentiable a.e. This is a classical result that is covered in most of courses in mea- sure theory. However, Rademacher proved a much deeper result that Lipschitz functions defined on open sets in Rn are also differentiable a.e. Let us first discuss differentiability of Lipschitz functions defined on one dimensional intervals. This result is a special case of differentiability of absolutely continuous functions. Definition 1.1. We say that a function f :[a; b] ! R is absolutely continuous if for very " > 0 there is δ > 0 such that if (x1; x1 +h1);:::; (xk; xk +hk) are pairwise disjoint intervals Pk in [a; b] of total length less than δ, i=1 hi < δ, then k X jf(xi + hi) − f(xi)j < ": i=1 The definition of an absolutely continuous function reminds the definition of a uniformly continuous function. Indeed, we would obtain the definition of a uniformly continuous function if we would restrict just to a single interval (x; x+h), i.e. if we would assume that k = 1. Despite similarity, the class of absolutely continuous function is much smaller than the class of uniformly continuous function. For example Lipschitz function f :[a; b] ! R are absolutely continuous, but in general H¨oldercontinuous functions are uniformly continuous, but not absolutely continuous. Proposition 1.2. If f; g :[a; b] ! R are absolutely continuous, then also the functions f ± g and fg are absolutely continuous.
    [Show full text]
  • On Lipschitz Continuity of Projections 2
    ON LIPSCHITZ CONTINUITY OF PROJECTIONS ONTO POLYHEDRAL MOVING SETS EWA M. BEDNARCZUK1 AND KRZYSZTOF E. RUTKOWSKI2 Abstract. In Hilbert space setting we prove local lipchitzness of projections onto parametric polyhedral sets represented as solutions to systems of inequalities and equations with parameters appearing both in left-hand-sides and right-hand-sides of the constraints. In deriving main results we assume that data are locally Lips- chitz functions of parameter and the relaxed constant rank constraint qualification condition is satisfied. 1. Introduction Continuity of metric projections of a given v¯ onto moving subsets have already been investigated in a number of instances. In the framework of Hilbert spaces, the projection ′ PC (¯v) of v¯ onto closed convex sets C, C , i.e., solutions to optimization problems minimize kz − v¯k subject to z ∈ C, (Proj) are unique and Hölder continuous with the exponent 1/2 in the sense that there exists a constant ℓH > 0 with ′ 1/2 kPC (¯v) − PC′ (¯v)k≤ ℓH [dρ(C, C )] , where dρ(·, ·) denotes the bounded Hausdorff distance (see [2] and also [7, Example 1.2]). In the case where the sets, on which we project a given v¯, are solution sets to systems of equations and inequalities, the problem P roj is a special case of a general parametric problem minimize ϕ0(p, x) subject to (Par) ϕi(p, x)=0 i ∈ I1, ϕi(p, x) ≤ 0 i ∈ I2, where x ∈ H, p ∈D⊂G, H - Hilbert space, G - metric space, ϕi : D×H→ R, arXiv:1909.13715v2 [math.OC] 6 Oct 2019 i ∈ {0} ∪ I1 ∪ I2.
    [Show full text]
  • Stability and Convergence of Stochastic Gradient Clipping: Beyond Lipschitz Continuity and Smoothness
    Stability and Convergence of Stochastic Gradient Clipping: Beyond Lipschitz Continuity and Smoothness Vien V. Mai 1 Mikael Johansson 1 Abstract problems are at the core of many machine-learning appli- cations, and are often solved using stochastic (sub)gradient Stochastic gradient algorithms are often unsta- methods. In spite of their successes, stochastic gradient ble when applied to functions that do not have methods can be sensitive to their parameters (Nemirovski Lipschitz-continuous and/or bounded gradients. et al., 2009; Asi & Duchi, 2019a) and have severe instabil- Gradient clipping is a simple and effective tech- ity (unboundedness) problems when applied to functions nique to stabilize the training process for prob- that grow faster than quadratically in the decision vector x lems that are prone to the exploding gradient (Andradottir¨ , 1996; Asi & Duchi, 2019a). Consequently, a problem. Despite its widespread popularity, the careful (and sometimes time-consuming) parameter tuning convergence properties of the gradient clipping is often required for these methods to perform well in prac- heuristic are poorly understood, especially for tice. Even so, a good parameter selection is not sufficient to stochastic problems. This paper establishes both circumvent the instability issue on steep functions. qualitative and quantitative convergence results of the clipped stochastic (sub)gradient method Gradient clipping and the closely related gradient normal- (SGD) for non-smooth convex functions with ization technique are simple modifications to the underlying rapidly growing subgradients. Our analyses show algorithm to control the step length that an update can make that clipping enhances the stability of SGD and relative to the current iterate. These techniques enhance that the clipped SGD algorithm enjoys finite con- the stability of the optimization process, while adding es- vergence rates in many cases.
    [Show full text]
  • Arxiv:1706.10175V1 [Math.CV] 30 Jun 2017 Uscnomlslto Fteieult 11 Ihrsett H D the to Respect with (1.1) Inequality the Metric
    LIPSCHITZ CONTINUITY OF QUASICONFORMAL MAPPINGS AND OF THE SOLUTIONS TO SECOND ORDER ELLIPTIC PDE WITH RESPECT TO THE DISTANCE RATIO METRIC PEIJIN LI AND SAMINATHAN PONNUSAMY Abstract. The main aim of this paper is to study the Lipschitz continuity of certain (K,K′)-quasiconformal mappings with respect to the distance ratio metric, and the Lipschitz continuity of the solution of a quasilinear differential equation with respect to the distance ratio metric. 1. Introduction and main results Martio [22] was the first who considered the study on harmonic quasiconformal mappings in C. In the recent years the articles [8, 14, 16, 17, 18, 26] brought much light on this topic. In [6, 21], the Lipschitz characteristic of (K,K′)-quasiconformal mappings has been discussed. In [20], the authors proved that a K-quasiconformal harmonic mapping from the unit disk D onto itself is bi-Lipschitz with respect to hyperbolic metric, and also proved that a K-quasiconformal harmonic mapping from the upper half-plane H onto itself is bi-Lipschitz with respect to hyperbolic metric. In [23], the authors proved that a K-quasiconformal harmonic mapping from D to D′ is bi-Lipschitz with respect to quasihyperbolic metrics on D and D′, where D and D′ are proper domains in C. Important definitions will be included later in this section. In [15], Kalaj considered the bi-Lipschitz continuity of K-quasiconformal solution of the inequality (1.1) ∆f B Df 2. | | ≤ | | Here ∆f represents the two-dimensional Laplacian of f defined by ∆f = fxx +fyy = 4fzz and the mapping f satisfying the Laplace equation ∆f = 0 is called harmonic.
    [Show full text]
  • Metric Spaces
    Chapter 1. Metric Spaces Definitions. A metric on a set M is a function d : M M R × → such that for all x, y, z M, Metric Spaces ∈ d(x, y) 0; and d(x, y)=0 if and only if x = y (d is positive) MA222 • ≥ d(x, y)=d(y, x) (d is symmetric) • d(x, z) d(x, y)+d(y, z) (d satisfies the triangle inequality) • ≤ David Preiss The pair (M, d) is called a metric space. [email protected] If there is no danger of confusion we speak about the metric space M and, if necessary, denote the distance by, for example, dM . The open ball centred at a M with radius r is the set Warwick University, Spring 2008/2009 ∈ B(a, r)= x M : d(x, a) < r { ∈ } the closed ball centred at a M with radius r is ∈ x M : d(x, a) r . { ∈ ≤ } A subset S of a metric space M is bounded if there are a M and ∈ r (0, ) so that S B(a, r). ∈ ∞ ⊂ MA222 – 2008/2009 – page 1.1 Normed linear spaces Examples Definition. A norm on a linear (vector) space V (over real or Example (Euclidean n spaces). Rn (or Cn) with the norm complex numbers) is a function : V R such that for all · → n n , x y V , x = x 2 so with metric d(x, y)= x y 2 ∈ | i | | i − i | x 0; and x = 0 if and only if x = 0(positive) i=1 i=1 • ≥ cx = c x for every c R (or c C)(homogeneous) • | | ∈ ∈ n n x + y x + y (satisfies the triangle inequality) Example (n spaces with p norm, p 1).
    [Show full text]
  • Functions of One Variable
    viii 3.A. FUNCTIONS 77 Appendix In this appendix, we describe without proof some results from real analysis which help to understand weak and distributional derivatives in the simplest context of functions of a single variable. Proofs are given in [11] or [15], for example. These results are, in fact, easier to understand from the perspective of weak and distributional derivatives of functions, rather than pointwise derivatives. 3.A. Functions For definiteness, we consider functions f :[a,b] → R defined on a compact interval [a,b]. When we say that a property holds almost everywhere (a.e.), we mean a.e. with respect to Lebesgue measure unless we specify otherwise. 3.A.1. Lipschitz functions. Lipschitz continuity is a weaker condition than continuous differentiability. A Lipschitz continuous function is pointwise differ- entiable almost everwhere and weakly differentiable. The derivative is essentially bounded, but not necessarily continuous. Definition 3.51. A function f :[a,b] → R is uniformly Lipschitz continuous on [a,b] (or Lipschitz, for short) if there is a constant C such that |f(x) − f(y)|≤ C |x − y| for all x, y ∈ [a,b]. The Lipschitz constant of f is the infimum of constants C with this property. We denote the space of Lipschitz functions on [a,b] by Lip[a,b]. We also define the space of locally Lipschitz functions on R by R R R Liploc( )= {f : → : f ∈ Lip[a,b] for all a<b} . By the mean-value theorem, any function that is continuous on [a,b] and point- wise differentiable in (a,b) with bounded derivative is Lipschitz.
    [Show full text]
  • Fat Homeomorphisms and Unbounded Derivate Containers
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector JOURNAL OF MATHEMATICAL ANALYSIS AND APPLICATIONS 81, 545-560 (1981) Fat Homeomorphisms and Unbounded Derivate Containers J. WARGA* Department of Mathematics, Northeastern University, Boston, Massachusetts 021 I5 Submitted by Harold Kushner We generalize local and global inverse function theorems to continuous transfor- mations in I?“, replacing nonexistent derivatives by set-valued “unbounded derivate containers.” We also construct and study unbounded and ordinary derivate containers, including extensions of generalized Jacobians. 1. INTRODUCTION Let B(x, a) [B(x, a)] denote the open [closed] ball of center x and radius a. The classical inverse function theorem implies that a C’ function f in a Banach space whose derivativef’(2) has a continuous inverse is fat at X, i.e., there exists c > 0 such that f(&, a)) 2 @f(f), ca) for sufficiently small positive a. A global version of the inverse function theorem [ 7, Lemma 1, p. 661 asserts that if f is C’ in some neighborhood X of B(.F, a) and If’(x)-‘1 </3 (X E X) then .fXB(% a>>= B(.fT% a/P) P<a,<a) and a restriction off has a C’ inverse U: g(j-(f), a/j?) + @, a). If f is a Lipschitzian mapping in R” then a known result concerning functions defined on convex sets [5, Lemma 3.3, p. 5541 yields, as special cases, fat mapping and local and global homeomorphism theorems formulated in terms of derivate containers /if(x). The latter play the role of set-valued derivatives and are, crudely speaking, sets of limits of f:(y) as i + 00 and y --) x, where (fi) is any sequence of C’ functions converging uniformly to f.
    [Show full text]
  • Lecture Notes on Ordinary Differential Equations
    Lecture notes on Ordinary Differential Equations S. Sivaji Ganesh Department of Mathematics Indian Institute of Technology Bombay May 20, 2016 ii Sivaji IIT Bombay Contents I Ordinary Differential Equations 1 1 Initial Value Problems 3 1.1 Existence of local solutions . 5 1.1.1 Preliminaries . 5 1.1.2 Peano’s existence theorem . 7 1.1.3 Cauchy-Lipschitz-Picard existence theorem . 10 1.2 Uniqueness . 14 1.3 Continuous dependence . 16 1.3.1 Sandwich theorem for IVPs / Comparison theorem . 17 1.3.2 Theorem on Continuous dependence . 18 1.4 Continuation . 19 1.4.1 Characterisation of continuable solutions . 21 1.4.2 Existence and Classification of saturated solutions . 22 1.5 Global Existence theorem . 24 Exercises . 26 Bibliography 31 iii iv Contents Sivaji IIT Bombay Part I Ordinary Differential Equations Chapter 1 Initial Value Problems In this chapter we introduce the notion of an initial value problem (IVP) for first order systems of ODE, and discuss questions of existence, uniqueness of solutions to IVP. We also discuss well-posedness of IVPs and maximal interval of existence for a given solution to the IVP. We complement the theory with examples from the class of first order scalar equations. ( ) The main hypotheses in the studies of IVPs is Hypothesis HIVPS , which will be in force throughout our discussion. ( ) Hypothesis HIVPS Let Ω ⊆ Rn be a domain and I ⊆ R be an open interval. Let f : I × Ω ! Rn ( ) 7! ( ) = ( ) be a continuous function defined by x, y f x, y where y y1,... yn . Let ( ) 2 I × Ω x0, y0 be an arbitrary point.
    [Show full text]