On the Sample Complexity of Stability Constrained Imitation Learning
Stephen Tu, Alexander Robey, Tingnan Zhang, Nikolai Matni
Introduction
Imitation Learning (IL) techniques use demonstrations of desired behavior, provided by an expert, to train a policy. IL offers many appealing advantages: it is often more sample-efficient than reinforcement learning , and can lead to policies that are more computationally efficient to evaluate online than optimization-based experts. Indeed, there is a rich body of work demonstrating the advantages of IL-based methods in a range of applications including video-game playing , humanoid robotics , and self-driving cars . Safe IL further seeks to provide guarantees on the stability or safety properties of policies produced by IL. Methods drawing on tools from Bayesian deep learning , PAC-Bayes , stability regularization , or robust control , are able to provide varying levels of guarantees in the context of IL.
However, when applied to continuous control problems, little to no insight is given into how the underlying stability properties of the expert policy affect the sample-complexity of the resulting IL task. In this paper, we address this gap and answer the question: what makes an expert policy easy to learn? Our main insight is that when an expert policy satisfies a suitable quantitative notion of robust incremental stability, i.e., when pairs of system trajectories under the expert policy robustly converge towards each other, and when learned policies are also constrained to satisfy this property, then IL can be made provably efficient. We formalize this insight through the notion of incremental gain stability constrained IL algorithms, and in doing so, quantify and generalize previous observations of efficient and robust learning subject to contraction based stability constraints.
There exist a rich body of work examining the interplay between stability theory and learning dynamical systems/policies satisfying stability/safety properties from demonstrations.
Nonlinear stability and learning from demonstrations: Our work applies tools from nonlinear stability theory to analyze the sample complexity of IL algorithms. Concepts from nonlinear stability theory, such as Lyapunov stability or contraction theory , have also been successfully applied to learn autonomous nonlinear dynamical systems satisfying desirable properties such as (incremental) stability or controllability. As demonstrated empirically in , using such stability-based regularizers to trim the hypothesis space results in more data-efficient and robust learning algorithms. However, no quantitative sample-complexity bounds are provided.
To provide fine-grained insights into the relationship between system stability and sample-complexity, we first define and analyze the notion of incremental gain stability (IGS) for a nonlinear dynamical system. IGS provides a quantitative measure of robust convergence between system trajectories, that in our context strictly expands on the guarantees provided by contraction theory by allowing for a graceful degradation away from exponential convergence rates.
We then propose and analyze the sample-complexity properties of IGS-constrained imitation learning algorithms, and show that the graceful degradation in stability translates into a corresponding degradation of generalization bounds by linking nonlinear stability and statistical learning theory. In particular, we show that when imitating an IGS expert policy, IGS-constrained behavior cloning requires trajectories to achieve imitation loss bounded by , where is the task horizon, is the effective number of parameters of the function class for the learned policy, and is an IGS parameter determined by the expert policy. We show that for contracting systems, leading to task-horizon independent bounds scaling as . Furthermore, we construct a simple family of systems where the IGS parameter satisfies for . This yields sample-complexity that scales as , which makes clear that an increase/decrease in yields a corresponding increase/decrease in sample-complexity.
Motivated by the empirical success and widespread adoption of DAgger and DAgger-like algorithms, we also extend our analysis to an IGS-constrained DAgger-like algorithm. We show that this algorithm enjoys comparable stability dependent sample-complexity guarantees, requiring trajectories to achieve -bounded imitation loss, again recovering time-independent bounds for contracting systems that gracefully degrade when applied to our family of systems satisfying .
Together, our results are the first to delineating a class of systems where the sample-complexity bounds for imitation learning scale sublinearly in the task-horizon , and do so without requiring (strong) convexity of the loss function in the policy parameters. We conclude by demonstrating the validity of our theoretical results on (a) our simple family of nonlinear systems for which the underlying IGS properties can be quantitatively tuned, and (b) a high-dimensional nonlinear quadrupedal robotic system. Empirically, we find that the sample-complexity scaling predicted by the underlying stability properties of the expert policy are indeed observed in practice.
Problem Statement
We consider the following discrete-time dynamical system:
Incremental Gain Stability
The crux of our analysis relies on a property which we call incremental gain stability (IGS). Before formally defining IGS, we motivate the need for a quantitative characterization of convergence rates between system trajectories. A key quantity that repeatedly appears in our analysis is the following sum of trajectory discrepancy induced by policies and :
We already saw this quantity appear naturally in (2.3). Furthermore, we will reduce analyzing the performance of behavior cloning and our DAgger-like algorithm to bounding the discrepancy (3.1) between trajectories induced by the expert policy and a learned policy .
The simplest way to bound (3.1) is to use a discrete-time version of Grönwall’s inequality: if the map defining (2.1) is -Lipschitz, in addition to the policies and being -Lipschitz, then (assuming ) we can upper bound the discrepancy (3.1) by:
allows us to treat as an input signal, yielding
Here, .
IGS quantitatively bounds the amplification of an input signal (and differences in initial conditions ) on the corresponding system trajectory discrepancies . Note that a system that is incrementally gain stable is automatically ISS. IGS also captures the phase transition that occurs in non-contracting systems about the unit circle. For example, when and for all , inequality (3.3) reduces to Finally, as IGS measures signal-to-signal () amplification, it is well suited to analyzing learning algorithms operating on system trajectories.
Then, is -incrementally-gain-stable with .
Our first example of incremental gain stability is a contracting system .
Consider the dynamics . Suppose that is autonomously contracting, i.e., there exists a positive definite metric and a scalar such that:
Three concrete examples of autonomously contracting systems include:
with the metric , and
where is a twice differentiable potential function satisfying , and .
Our next example illustrates a family of systems that degrade away from exponential rates.
Consider the scalar dynamics for . Then as long as , we have that is -IGS, with
The system described in Proposition 3.5 behaves like a stable linear system when , and like a polynomial system when (hence ). This example highlights the need to be able to capture a phase-transition within our definitions and Lyapunov characterizations.
Algorithms and Theoretical Results
In this section we define and analyze IGS-constrained imitation learning algorithms. We begin by introducing our main assumption of dynamics and policy class regularity.
We assume that the dynamics , policy class , expert , and initial condition distribution satisfy:
The dynamics map satisfies .
The policy class is convex and for all .
The distribution over initial conditions satisfies a.s. for .
is -Lipschitz for all .
The constants .
Before turning to our main stability assumption we briefly remark on Assumption 4.1(b), which requires that the policy class is convex. This assumption is stronger than is actually necessary. Instead, we could consider optimizing at epoch over a function class defined recursively as , with the base case . Instead, we choose to make the assumption that is convex to simplify the presentation, noting that using the recursive representation would yield the same sample complexity bounds.Our results are derived by bounding the Rademacher complexity of a particular function class, which in our setting is preserved under convex hulls. See Proposition E.4 in the appendix for more details.
We remark that we assume that the expert policy lies in our policy class, i.e., , to guarantee that zero imitation loss can be achieved in the limit of infinite data; it is straightforward to relax this assumption to and prove results with respect to the best stabilizing policy in class.
With these definitions and assumptions in place, we introduce IGS-Constrained Mixing Iterative Learning (CMILe) in Algorithm 1 and state our main theoretical results. CMILe draws upon and integrates ideas from Stochastic Mixing Iterative Learning (SMILe) , constrained policy optimization , and the IGS tools developed in Section 3. As in SMILe and DAgger, CMILe proceeds in epochs, beginning with data generated by the expert policy, and iteratively shifts towards a learned policy via updates of the form , where is the current data-generating policy, is the policy learned using the most recently generated data, and is a mixing parameter. However, CMILe contains two key departures from traditional IL algorithms: (i) it constrains the learned policy at each epoch to remain appropriately close to the previous epoch’s data-generating policy (constraint (4.1b)), and (ii) all data-generating policies are constrained to induce IGS closed-loop systems (constraint (4.1c)). The latter constraint allows us to leverage the IGS machinery of Section 3 to analyze Algorithm 1.
In presenting our results, we specialize the policy class to have the parametric form:
with and a fixed twice continuously differentiable map. As an example, neural networks with weights and twice continuously differentiable activation functions are captured by the policy class (4.2). We note that our results do not actually require a parameteric representation: as long as a particular policy class Rademacher complexity (defined in Appendix E) can be bounded, then our results apply. In what follows, we define the following constants:
We first analyze a single epoch version of Algorithm 1, which reduces to Behavior Cloning (BC) subject to interpolating the expert policy on the training data (constraint (4.1b)) and inducing an IGS closed-loop system (constraint (4.1c)).
Suppose that Assumption 4.1 and Assumption 4.2 hold. Set in Algorithm 1. Suppose that satisfies:
With probability at least over the randomness of Algorithm 1, we have that:
Theorem 4.3 shows that the imitation loss for IGS-constrained BC decays as We discuss implications on sample-complexity after analyzing the general setting.
Next we analyze Algorithm 1 as stated, and show that if the mixing parameter and number of episodes are chosen appropriately with respect to the IGS parameters of the underlying expert system, sample-complexity guarantees similar to those in the IGS-constrained BC setting can be obtained. As described above, the key to ensuring that guarantees can be bootstrapped across epochs is the combination of a trust-region constraint (4.1b) and IGS-stability constraints (4.1c) on the intermediate data-generating policies.
Suppose that Assumption 4.1 and Assumption 4.2 hold, and that:
Suppose further that for , we have:
that divides , , and . Then with probability at least over the randomness of Algorithm 1, Algorithm 1 is feasible for all epochs, and:
Theorem 4.4 states that if the mixing parameter and number of episodes are set according to the underlying IGS-stability parameters of the expert system then the imitation loss of the final policy scales as .
By comparing the sample complexity bound for IGS-BS (Theorem 4.3) to the bound for IGS-CMILe (Theorem 4.4), we see that for fixed IGS parameters and number of trajectories , the imitation error for IGS-BC is order-wise dominated by the IGS-CMILe imitation error. That is, while our current analysis does show the benefits of expert robustness via explicit dependence on the IGS parameters, it does not show the relative benefits of IGS-CMILe over IGS-BC, despite our experimental evidence suggesting otherwise (cf. Section 5). We leave a theoretical analysis showing the benefit of IGS-CMILe over IGS-BC to future work.
From the above discussion, we can delineate classes of systems for which imitation loss sample-complexity bounds are sublinear in the task horizon . Specifically, we bound the number of trajectories needed to achieve -bounded imitation loss, ignoring logarithmic factors and problem constants except the horizon length and the IGS parameter :
IGS-BS (Theorem 4.3) requires trajectories; this is sublinear in when .
IGS-CMILe (Theorem 4.4) requires trajectories; this is sublinear in when .
Finally, when a system is contracting, we have by Proposition 3.4, and hence the number of required trajectories for both IGS-BC and IGS-CMILe simplifies to .
The requirement on the constraint slack in (4.4) allows the constrained ERM problem (Algorithm 2) non-zero slack in matching the behavior of the previous policy (cf. (4.1b)). This is compatible with practical implementations of first order trust region policy optimization, where constraints are enforced via soft losses instead of as hard constraints.
1 Necessity of Stability Constraints
The empirical risk minimization algorithm (Algorithm 2) we consider in this work requires an IGS constraint on the learned policy (cf. (4.1c)). Here, we show the necessity of imposing this stability constraint in order to derive high probability sub-exponential in bounds on the imitation error. Consider the linear time-invariant system:
which contains . Note that Assumptions 4.1 and 4.2 hold for the closed-loop expert dynamics and policy class. The behavior cloning ERM problem (without stability constraints on ) is:
It is easy to check that on (a constant probability event), is an optimal solution of this ERM problem (that achieves zero training loss). Let . Since ,
Therefore, if one removes the stability constraint (4.1c), then sub-exponential in imitation error bounds are impossible without more problem assumptions or other algorithmic modifications.
Experiments
In our experiments, we implement neural network training by combining the haiku NN library with optax in jax .
In order to implement Algorithm 1, a constrained ERM subproblem (Algorithm 2) over the policy class must be solved. Two elements make this subproblem practically challenging: (i) the trust-region constraint (4.1b), and (ii) the IGS-stability constraint (4.1c).
We implement the trust-region constraint (4.1b) by initializing the weights parameterizing the policy at those of the previous epoch’s parameters , and using a small learning rate during training. Alternative viable approaches include imposing trust-region constraints on the parameters of the form , or explicitly enforcing the trust-region constrain (4.1b). These latter options would be implemented through either a suitable Lagrangian relaxation to soft-penalties in the objective, or by drawing on recent results in constrained empirical risk minimization .
Enforcing the IGS constraint (4.1c) via an incremental Lyapunov function (cf. Proposition 3.3) is more challenging, as it must be enforced for all within a desired region of attraction. If such a Lyapunov function is known for the expert, then it can be used to only enforce stability constraints on trajectory data, an approximation/heuristic that is common in the constrained policy optimization literature (see for example ). However, if a Lyapunov certificate of IGS stability for the expert is not known, then options include (a) learning such a certificate for the expert from data, see for example , or (b) jointly optimizing over an IGS certificate and learned policy. Although this may be computationally challenging, alternating optimization schemes have been proposed and successfully applied in other contexts, see for example .
Fortunately, we note that empirically, explicit stability constraints seem not to be required. In the next subsection, we study the quantitative effects of enforcing the stability constraint (4.1c) for a linear system, for which a stability certificate is available, and for which the level of stability of the expert system can be quantitatively tuned. We observe that only when (a) the expert is nearly unstable, and (b) we are in a low-data regime, that a small difference in performance between stability-constrained and unconstrained algorithms occurs, suggesting that optimal policies are naturally stabilizing. Therefore, we simply omit constraint (4.1c) from our implementation and take care to ensure that sufficient data is provided to the IL algorithms to yield stabilizing policies.
2 Tuneable IGS System
In this experiment, we vary to see the effect of on the final task goal error and imitation loss. We compare three different algorithms. BC is standard behavior cloning. CMILe is Algorithm 1 with the practical modifications as described above. DAgger is the imitation learning algorithm from Ross et al. . For each algorithm, we also consider a modification (indicated by the +IGS label) where policy imitation is augmented with a soft loss encoding the IGS constraint (4.1c). For all algorithms, we fix the number of trajectories from (5.1) to be . The horizon length is . The distribution over initial condition is set as . We set the policy class to be two layer MLPs with hidden width and activations. Each algorithm minimizes the imitation loss using epochs of Adam with learning rate and batch size . For all algorithms except BC, we use epochs with (in DAgger’s notation, we set ), resulting in trajectories per epoch.
3 Unitree Laikago
We now study IL on the Unitree Laikago robot, an 18-dof quadruped with 3-dof of actuation per leg. We use PyBullet for our simulations. The goal of this experiment is to demonstrate, much like for the previous tuneable family of IGS systems, that increasing the stability of the underlying closed-loop expert decreases the sample-complexity of imitation learning. We do this qualitatively by studying a sideways walking task where the robot tracks a constant sideways linear velocity. By increasing the desired linear velocity, the resulting expert closed-loop becomes more unstable.
Our expert controller is a model-based predictive controller using a simplified center-of-mass dynamics as described in Di Carlo et al. . The stance and swing legs are controlled separately. The swing leg controller is based on a proportional-derivative (PD) controller. The stance leg controller solves for the desired contact forces to be applied at the foot using a finite-horizon constrained linear-quadratic optimal control problem; the linear model is computed from linearizing the center-of-mass dynamics. The desired contact forces are then converted to hip motor torques using the body Jacobian. More details about the expert controller can be found in the appendix.
We restrict our imitation learning to the stance leg controller, as it is significantly more complex than the swing leg controller. Furthermore, instead of randomizing over initial conditions, we inject randomization into the environment by subjecting the Laikago to a sequence of random push forces throughout the entire trajectory. We compare the performance of BC, CMILe, and CMILe+Agg; the CMILe+Agg algorithm is identical to CMILe, except that at epoch , the data from previous epochs is also used in training. DAgger is omitted for space reasons as its performance is comparable to CMILe+Agg.
We set the horizon length to , and featurized the robot state into a -dimensional feature vector; the exact features are given in Appendix B.2. The output of the policy is a -dimensional vector ( contact forces for each of the legs). We used a policy class of two layer MLPs of hidden width with ReLU activations. For training, we ran epochs of Adam with a batch size of and step size of . Furthermore, we tried to overcome the effect of overfitting in BC by using the following heuristic: we used of the training data as a holdout set, and we stopped training when either the holdout risk increased times or epochs were completed, whichever came first. To assess the effect of the number of samples on imitation learning, we vary the number of rollouts per epoch . For CMILe and CMILe+Agg, we fix and . We provide BC with total trajectories.
Conclusions and Future Work
We showed that IGS-constrained IL algorithms allow for a granular connection between the stability properties of an underlying expert system and the resulting sample-complexity of an IL task. Our future work will focus on two complementary directions. First, CMILe and DAgger significantly outperform BC in our experiments, but our bounds are not yet able to capture this: future work will look to close this gap. Second, although our focus in this paper has been on imitation learning, we have developed a general framework for reasoning about learning over trajectories in continuous state and action spaces. We will look to apply our framework in other settings, such as safe exploration and model-based reinforcement learning.
Acknowledgements
The authors would like to thank Vikas Sindhwani, Sumeet Singh, Andy Zeng, and Lisa Zhao for their valuable comments and suggestions. NM is generously supported by NSF award CPS-2038873, NSF CAREER award ECCS-2045834, and a Google Research Scholar Award.
References
Appendix A Stability Study
for and . Note that by rewriting this equation as
Then note that we can rewrite the Lyapunov equation (A.1) as
for . To that end, we suggest solving the Lyapunov equation
with , for a small and the solution to the DARE, so as to obtain a a Lyapunov certificate with similar convergence properties to that of the expert, where trades off between how small can be and how robust the resulting Lyapunov function is to mismatches between the learned policy and the expert policy. We note that the existence of solutions to this Lyapunov equation are guaranteed by continuity of the solution of the Lyapunov equation and that the solution to the DARE is the maximizing solution among symmetric solutions .
A.2 Experimental Results
We study the effects of explicitly constraining the played policies to be IGS through the use of Lyapunov certificates. The use of Lyapunov constraints to enforce incremental stability was studied in Section G.1 of Boffi et al. , with the main takeaway being that systems satisfying suitable exponential Lyapunov conditions, in particular those certifying exponential input-to-state-stability, are also exponentially IGS (i.e., satisfy ) on a compact set of initial conditions and bounded inputs.
We drew initial conditions according to the distribution . We used a policy parameterized by a two-hidden-layer feed-forward neural network with ReLU activations. Each hidden layer in this network had a width of 64 neurons. For both BC and CMILe without stability constraints, we train the policy for 500 epochs; for CMILe with stability constraints, we trained policies for 1000 epochs. All neural networks were optimized with the Adam optimizer with a learning rate of .
Appendix B Laikago Experimental Details
The expert controller contains multiple components: the swing controller, the stance controller, and the gait generator. The gait generator uses the clock source to generate a desired gait pattern, where a pair of diagonal legs are synchronized and are out of phase with the other pair. Throughout our experiments, we fixed the gait to be a trotting gait. The swing controller generates the aerial trajectories of the feet when they lift up and controls the landing positions based on the desired moving speed. The stance leg controller is based on model predictive control (MPC) using centroidal dynamics . Recall that in our experiments, we only perform imitation learning for the stance leg controller.
We now describe the centroidal dynamics model. We treat the whole robot as a single rigid body, and assume that the inertia contribution from the leg movements is negligible (cf. Figure 3). With these assumptions, the system dynamics can be simply written using the Newton-Euler equations:
where denotes the center of mass (CoM) translation and rotation, is the contact force applied on the -th foot (set to zero if the -th foot is not in contact with the ground), and is the displacement from the CoM to the contact point. We used the same Euler angle conventions in to represent the CoM rotation. Since the robot operates in a regime where its base is close to flat, singularity from the Euler angle representation is not an concern.
The MPC module solves an optimization problem over a finite horizon to track a desired pose and velocity . The system dynamics can be linearized around the desired state and discretized:
where , is the concatenated force vectors from all feet. We then formally write the optimization target:
where we used a diagonal and matrix with the weights detailed in . At runtime, we apply the feet contact forces from the first step by converting them to motor torques using the Jacobian matrix.
B.2 Featurization
The inputs to the MPC algorithm is a 28 dimension vector , where is a binary vector indicating feet contact states, and represent the relative displacement from the CoM to each feet. This representation contains redundant information, since one can infer the body height from the contact state, and local feet displacements when the quadruped is walking on flat ground. Also, since in our experiments the desired pose and speed of the robot are fixed (moving along direction at constant speed without body rotation), they are not passed as inputs to the imitation policy. Furthermore, the current body linear velocities of the robot are omitted from the inputs as well, since they are not directly measurable on a legged robots without motion capture systems or state estimators. As a result, the inputs to the imitation policy are condensed to a 14 dimensional vector , i.e., the roll, pitch angle of the CoM, and the contact state masked feet positions.
Appendix C Incremental Gain Stability Proofs
We first prove a simple proposition which we use repeatedly.
We now derive some basic consequences of the definition of incremental gain stability. The following helper proposition will be useful for what follows.
For any and integers satisfying , we have:
Let the index set be defined as:
By Hölder’s inequality, since ,
Next, we compare the autonomous trajectories between two different initial conditions (both trajectories are not driven by any input).
Now, suppose that . By a similar argument:
Combining these inequalities yields the desired inequality (C.1):
Now we turn to (C.2). By Proposition C.2 and -incremental-gain-stability, we have:
The next result compares two trajectories starting from the same initial condition, but one being driven by an input sequence whereas the other is autonomous.
By Proposition C.2, the fact that , and -incremental-gain-stability,
Above, the last equality follows from Proposition C.1. The claimed inequality now follows. ∎
C.2 Proof of Proposition 3.3
Now define . Then for , by the assumed inequality (3.6),
Next, by Proposition C.1, since :
Appendix D Examples of Incremental Gain Stability Proofs
Recall the following definition of autonomously contracting in Proposition 3.4, which we duplicate below for convenience.
Consider the dynamics . We say that is autonomously contracting if there exists a positive definite metric and a scalar such that:
For what follows, let denote the geodesic distance under the metric :
The next result shows that the Euclidean norm lower and upper bounds the geodesic distance under as long as is uniformly bounded.
We now restate and prove Proposition 3.4. See 3.4
Fix initial conditions and an input sequence . Consider two systems:
Above, (a) is triangle inequality, (b) follows from Proposition D.2 and Proposition D.3, and (c) follows from the Lipschitz assumption. Now unroll this recursion, to yield for all
Now dividing both sides by and summing the left hand side,
D.2 Scalar Example with p∈(0,∞)𝑝0p\in(0,\infty)
Recall we are interested in the family of systems:
Let us assume wlog that , otherwise we can swap by considering instead. Now, we have
On the other hand, if , then
In this case, we have . By swapping , we reduce to Case 1 where we know that (D.1) already holds. ∎
Next, we show that the sign of is preserved under a perturbation , as long as is small enough.
Let satisfy . We have that:
Observe that (D.2) holds trivially when . Furthermore, when :
Clearly when . Furthermore, one can check that . Therefore:
By assumption, we have that and hence . This shows that , and hence (D.2) holds in this case.
Hence, we have , and hence (D.2) holds in this case.
Because is an element of , by convexity of ,
Above, (a) is Proposition D.5 and (b) is Proposition D.4. ∎
Note that Proposition 3.5 is an immediate consequence of Proposition D.6 with Proposition 3.3.
Appendix E Proof of Theorem 4.3 and Theorem 4.4
Our main tool will be the following uniform convergence result.
Next, define the following Rademacher complexity for the policy class :
Now fix a data generating policy and goal policy . Furthermore, let be drawn i.i.d. from . With probability at least (over ), we have:
This follows from standard uniform convergence results, see e.g., Wainwright . ∎
Under Assumption 4.1 and Assumption 4.2, we have that:
Let and . Since and is -Lipschitz:
Above, the last inequality follows from Proposition C.3. ∎
We now give a bound on the Rademacher complexity .
Fix an and . Since for all , by repeated applications of Taylor’s theorem:
Now supposing and for , then:
The calculation above shows that for all ,
Thus, for every , letting , we have the following upper bound on the covering number:
Therefore by Dudley’s entropy integral (cf. Wainwright ):
The last inequality above follows from the numerical estimate:
Let denote the convex hull of the policy class , and let
The following auxiliary proposition shows that the Rademacher complexity of the policy class can be analyzed nearly identically to the Rademacher complexity of the original class .
Suppose that the policy class is uniformly bounded, i.e.,
E.2 Proof
We first state our main meta-theorem, from which we deduce our rates.
Suppose that Assumption 4.1 and Assumption 4.2 hold. Suppose that divides . Define as:
Fix a . Assume that for all :
For , define as:
With probability at least (over drawn i.i.d. from ), we have that the following inequalities simultaneously hold for the policies produced by Algorithm 1:
We first use induction on to show that:
Therefore, by our assumption that is -Lipschitz:
Now using the observation that , we write:
Therefore, on the event ,
The first inequality above uses Jensen’s inequality to move the expectation inside .
Furthermore we note that on , it holds that:
Above, (a) follows from (E.7) and (b) follows from (E.6).
Our remaining task is to show that on we have:
We proceed with a similar argument as in the base case. We first write:
Therefore since by assumption is -Lipschitz:
Combining this inequality with the inequality above,
Taking expectations of both sides, applying (E.6), and using Jensen’s inequality, we obtain
where the first inequality (a) follows from (E.7), and the second inequality (b) from being feasible to the constrained optimization problem (4.1).
where (a) follows from (E.7), (b) from using as a feasible point for optimization problem (4.1) and optimality of , (c) from another application (E.7), and (d) follows from (E.6).
This finishes the inductive step. Thus we conclude that on the event , which occurs with probability at least , we have that for ,
We now assume and that the event holds. On this event:
Furthermore we note that on , it holds that:
Therefore we can bound on by:
Therefore since is -Lipschitz by assumption,
Furthermore, it is straightforward to check that:
Combining this inequality with (E.13), taking expectations and applying Jensen’s inequality:
With Theorem E.5 in place, we now turn to the proof of our main results, which are immediate consequences of Theorem E.5. We first restate and prove Theorem 4.3. See 4.3
Theorem E.5 states that if , then:
To complete the proof we simply need to bound , which has the form:
From Proposition E.2 and Proposition E.3, we have that:
We now restate and prove Theorem 4.4. See 4.4
We first bound , which has the form:
From Proposition E.2 and Proposition E.3, we have that:
Setting , this yields the bound:
We choose and such that (a) and (b) for , which leads to the constraint (4.3) for (a) and the constraint (4.4) for (b).
In preparation to apply Theorem E.5, we use our assumptions to show:
Since , then . Furthermore, since we also assume that , then
Now we proceed to bound :
Combining this bound with the inequalities for yields (E.19).
We now apply Theorem E.5 with (E.19) and (E.20):
Since by (4.3), we have: