Neural Lyapunov Redesign
Abstract
Learning controllers merely based on a performance metric has been proven effective in many physical and non-physical tasks in both control theory and reinforcement learning. However, in practice, the controller must guarantee some notion of safety to ensure that it does not harm either the agent or the environment. Stability is a crucial notion of safety, whose violation can certainly cause unsafe behaviors. Lyapunov functions are effective tools to assess stability in nonlinear dynamical systems. In this paper, we combine an improving Lyapunov function with automatic controller synthesis in an iterative fashion to obtain control policies with large safe regions. We propose a two-player collaborative algorithm that alternates between estimating a Lyapunov function and deriving a controller that gradually enlarges the stability region of the closed-loop system. We provide theoretical results on the class of systems that can be treated with the proposed algorithm and empirically evaluate the effectiveness of our method using an exemplary dynamical system.
keywords
Lyapunov function, Controller Synthesis, Actor-Critic, Neural Networks1 Introduction
Studying the stability region of autonomous systems and designing controllers (policies) to drive a non-autonomous system towards a target behavior are of fundamental importance in many disciplines, such as aviations (Liao and Wang, 2004), autonomous driving (Wen-Xing and Li-Dong, 2018), and robotics (Pierson and Gashler, 2017). An indisputable goal for a controller is to stabilize the system. Unlike the global nature of linear systems, stability is a local property in nonlinear systems. Knowledge of the stability region is essential in many applications, such as stability of power systems (Xin et al., 2007), design of associative memory in artificial neural networks (Hopfield, 1994), robotics (Westervelt et al., 2003), and biology (Baer et al., 2006).
Controllers that enhance the stability region of a system, also known as Region of Attraction (RoA), are highly desired as they make more clever use of the inherent nonlinear structure of the system. For example, an autonomous driving system will remain safe under more diverse and potentially harsh conditions (Imani Masouleh and Limebeer, 2018).
A great number of methods for designing a controller for nonlinear systems and determining their RoA (Isidori, 2014; Khalil and Grizzle, 2002) have been proposed in the literature mainly based on Lyapunov’s theory of stability (Liapounoff, 1907). However, the design of a stabilizing controller has been ad-hoc for every class of nonlinear systems. Our work is inspired by a classic method called Lyapunov Redesign in control theory that uses a given Lyapunov function to design a controller such that the closed-loop system becomes stable when assessed by that Lyapunov function. Here, we relax the necessity to know the Lyapunov function by learning it together with the controller.
Machine learning and control theory have contributed to each other in various ways. Function approximators such as kernel methods (Pillonetto et al., 2014) and neural networks (Chu et al., 1990) have been successfully used for system identification. Moreover, ideas from information theory and statistics have been adopted for model selection in system identification (Solowjow et al., 2018; Mehrjou et al., 2018). Moreover, recent advances in implicit generative models have proven effective in filtering applications where the states of the system are inferred from noisy observations (Mehrjou and Schölkopf, 2018a). The development of automatic differentiation packages for machine learning has opened up a new approach to stability analysis and estimation of functions of interest in control theory such as Hamiltonian Greydanus et al. (2019) or Lyapunov function Mehrjou and Schölkopf (2019).
The analytical tools from control theory have helped to analyze the dynamics of machine learning algorithms. For example, the algorithms such as generative adversarial networks (Goodfellow et al., 2014) and -player cooperative games have been analyzed as dynamical systems to obtain some insight into the dynamics of learning (Mehrjou and Schölkopf, 2018b; Mehrjou, 2018; Mescheder et al., 2017; Mehrjou et al., 2019) and the emergence of the playing strategies (Balduzzi et al., 2018). In the present work, analytical tools from control theory are employed to study the strength of the learning signal during the course of training.
The popularity of multi-player learning algorithms in machine learning after Generative Adversarial Networks (Goodfellow et al., 2014) have been inspired in areas of control theory where such multi-player setting can be defined. Mehrjou et al. (2020) have proposed a two-player setting where one player learns the Lyapunov function and the region of attraction while the other player learns the governing equations of the system. These players inform each other and their collaboration gives a faster convergence compared with learning each of them separately. The present work can be seen as a two-player algorithm where one player learns the Lyapunov function and the stability region while the other player improves the controller. The information exchange between the two players is the key factor of the proposed algorithm.
As the Lyapunov function is one of the most important objects in control theory, machine learning tools have been employed to learn it for nonlinear systems (Richards et al., 2018). A given Lyapunov function is used in (Berkenkamp et al., 2016; Berkenkamp et al., 2017) to derive a controller with a safety guarantee. Chang et al. (2019) solve an optimization problem at every stage to find the states that violate the Lyapunov condition. Our work proposes improvements in various directions. We improve the Lyapunov learning algorithm of Richards et al. (2018) by a theoretically motivated method and show that hyperbolicity is a needed feature for nonlinear systems whose controllers are learned iteratively. Moreover, Berkenkamp et al. (2016); Berkenkamp et al. (2017) assume the Lyapunov function is given while our work co-learns the Lyapunov function and the controller. Chang et al. (2019)’s algorithm needs to be solved until the end that can be too costly as a global optimization problem has to be solved multiple times. However, our work is a growing method that improves the controller while the system is in action.
We bring together various tools from control theory and machine learning to build an iterative algorithm that redesigns both controller and the Lyapunov function to enlarge the stability region. Our contributions are as follows: 1) Improving the learning of the Lyapunov function, 2) Interlacing the Lyapunov learning with the policy update to enlarge the RoA iteratively, and 3) Providing theoretical results for the tractable class of systems and analyzing the learning signal. Section 2 goes over the preliminary materials and Section 3 describe the problem. The proposed algorithm and its theoretical discussions are presented in Section 4. Finally, empirical evaluation comes in Section 5, followed by related work and conclusion in Section 6. To stay within the space limit, some proofs, theoretical discussions, and extended experimental results are provided in the Appendix.
2 Preliminaries
Here we present the definitions, notations, and theoretical results that are used in later sections.
System: A discrete-time11 1 Including discretized continuous-time systems time-invariant disturbance-free nonlinear dynamical system is described by
| (1) |
where is the discrete time index, and are the state and control signals. We consider a fully observable regime, where the states are available to a feedback controller, i.e., , and is the feedback law or policy. Hence, 1 can be written as a time-invariant autonomous (TIA) system where is the time-independent dynamics function. By assuming Lipschitz continuity for and , a unique solution to this system for every initial state exists that is captured by the so-called flow function , with .
Sets: For a TIA system with dynamics function , a state vector is called an equilibrium point if it is a fixed-point for , i.e., . A state vector is called a regular point if it is not an equilibrium point. Let be the Jacobian of at . If has no eigenvalue with modulus one, is called a hyperbolic equilibrium point. A hyperbolic equilibrium point is asymptotically stable when the eigenvalues of its corresponding Jacobian have modulus less than one; otherwise, it is an unstable equilibrium point. A system whose all equilibrium points are hyperbolic is called a hyperbolic system. A set is called an invariant set, if , i.e., every trajectory starting in remains in , for . A point is said to be in the -limit set (or -limit set) of , if for every and (), there exists a () such that . The stable and unstable manifolds of are defined as the set of points whose -limit (-limit) set is and denoted by ().
Both and are proved to be invariant sets (Palis and De Melo, 2012).
Stability: A fixed-point is said to be an asymptotically stable equilibrium, if . Nonlinear systems often have a local stability region (RoA) that is defined for the stable equilibrium as . Topologically speaking, when is continuous, is an open, invariant set (see Chiang and Alberto, 2015 for exact definitions). The stability boundary is a closed positively invariant set and is of dimension , if is not dense in .
Lyapunov stability.
Let be a locally Lipschitz continuous dynamics function with an equilibrium point at the origin . Suppose there exists a locally Lipschitz continuous function and a domain , such that
| (2) | |||||
| (3) |
Then, is asymptotically stable and is a Lyapunov function (lf). The domain in which (3) is satisfied is called the Lyapunov decrease region. Every sublevel set , for , that is contained within is invariant under the dynamics .
3 Problem Statement
We consider a discrete-time TIA system as in 1, where the control signal is produced by a feedback-controller parameterized by . Therefore, the closed-loop dynamics denoted by is a functional of the controller and is consequently parameterized by as . Without loss of generality, we assume that the equilibrium point of interest is located at the origin . The policy induces a RoA around the equilibrium point denoted by .22 2 We drop from the superscript of , since we always assume , unless otherwise stated.
Each control task can be broken down into two subtasks: 1) Controller synthesis and 2) Closed-loop response evaluation. The controller is designed to optimize some measure of performance. In this work, the performance measure is the size of the stability region.
We endow the state space with a measure to obtain the measure space with Borel sigma-algebra . To prevent pathological cases, we assume to be compact with . Let be the set of all functions from which the policy is chosen. The goal is to find a member of the equivalence class of optimal policies , where is defined as .
The main challenge in this optimization problem is the fact that there is no analytical or straightforward way to infer how changing changes . If there exists a differentiable map from to , one could locally increase the stability region by perturbing the policy in the direction of . However, except for extremely simple systems, such a map cannot be derived analytically. In this work, we construct a bridge between these two objects by an auxiliary function, which is an evolving Lyapunov function that is learned alongside the policy.
Our goal is to construct a sequence of policies that gives a sequence of RoAs , such that as , where is the largest achievable RoA that is constrained by the physical limitations of the system (see Appendix A for the characterization of using the concept of control Lyapunov function). To achieve this goal, we need to address two challenges: 1) Approximating for a fixed and 2) Using to find . Next section, explains our proposed method to address these two challenges.
4 Proposed Method
For a function , let’s define its sublevel set with level value as . The index refers to a phase of the algorithm. At phase , let be the RoA of the closed-loop system 1 that is induced by the state-feedback policy . It can be shown that there exists an optimal Lyapunov function with a level value , such that (Vannelli and Vidyasagar, 1985). Therefore, the information of is encoded in .
Starting with a conservative controller (e.g., a quadratic controller for the linearized system), our method inductively constructs a sequence of policies that eventually converges to a policy with maximal achievable RoA. See Figure 1(Left) for an overall schematic of the algorithm.
Each step of this inductive process is called a phase of the algorithm. Each phase consists of two sub-phases: 1) Learning the Lyapunov function and the RoA corresponding to the policy of that phase 2) Updating the policy to enlarge the RoA. The RoA estimation sub-phase finds a Lyapunov function and level value , such that . Then, the policy update sub-phase learns a new policy , such that . These conditions need to be satisfied for every that consequently limits the class of treatable systems. Before delving into the algorithmic implementation, Section 4.1 provides necesary theoretical insights into this favorable class of systems along with other theoretical considertations for the proposed multi-phase growing algorithm.
4.1 Theoretical Discussion
We start with the assumptions that are necessary for the practical applicability of the method. Then, we show for which class of systems these assumptions are satisfied.
Assumption 1.
Let be a set-valued function defined as . Let and be some specified metrics in the space of policies and the space of all subsets of the state space, respectively. Then, the map is assumed to be continuous with respect to the topologies induced by the metrics and .
This assumption indicates that a small change in the policy leads to a small change in the RoA that it induces. Formally speaking, let and be the RoA and the policy of phase . Assumption 1 states that for every , one can choose small enough such that if satisfies , then . Next, we show that hyperbolic systems fulfill this assumption33 3 The operator shows the symmetric difference between two sets..
Theorem 2 (Persistance of the stability boundary with variations in the policy).
Consider the closed-loop hyperbolic system with policy . For a certain policy , let , be an asymptotically stable equilibrium point and its corresponding RoA. Then, for every , there exists such that for every with , we have .
Proof sketch.
The first step to prove this result is to characterize the RoA in terms of the properties of the dynamics function . As is characterized by its boundary, we focus our attention on the stability boundary . The critical elements44 4 For theoretical discussion, we focus on critical elements that are equilibrium points. Similar results exist for other types of critical elements such as limit cycles but are left out of this work for brevity of the dynamical system determine the structure of the stability boundary. Suppose is a diffeomorphism and all equilibrium points on are hyperbolic. Moreover, let the stable and unstable manifolds of the equilibrium points on intersect transversally55 5 Roughly speaking, the manifolds intersect in a generic way.. Finally, assume that every trajectory on approaches one of the equilibrium points. If are the hyperbolic equilibrium points on , is completely characterized by
| (4) |
See Theorems 9-11 in Chiang and Alberto (2015) for the detailed proof. Hence, to show the persistance of , it is enough to show the persistance of the equilibrium points that live on and the persistance of their stability condition. As a result of the continuity of and w.r.t. their arguments, implicit function theorem guarantees that small perturbations to cause small changes in the hyperbolic equilibrium points (Krantz and Parks, 2012). If is a hyperbolic equilibrium point of for the policy , there exists a and a neighborhood of that contains a unique hyperbolic equilibrium point for every . Similarly, the continuity of the eigenvalues of w.r.t. affirms that the perturbed equilibrium point has the same stability condition as .
As stated above, is characterized by the stable manifolds of equilibrium points that live on it. It was also shown that the hyperbolic equilibrium points on together with their stable and unstable manifolds change continuously with . This results in a continuous change of , and consequently , w.r.t. small variations in . ∎
This result suggests restricting the change of the policy at the policy update sub-phase of each growing phase of the algorithm to bound the change of its induced RoA. For parametric policies such as neural networks, this is achieved by cropping parameter values after every phase of training.
4.2 Algorithm
The implementation of the algorithm that was outlined in Section 4 comes in the following. Notice that the algorithm is a multi-phase inductive method. Hence, we only present two sub-phases of a single phase. The full algorithm consists of iterations over this phase.
RoA Estimation Sub-Phase: Learn from .
This sub-phase takes the current policy and the previous RoA estimate and outputs that approximates . For this sub-phase, we improve the growing algorithm of (Richards et al., 2018) to learn an inner estimate of RoA. Our RoA estimation algorithm takes advantage of the theoretical results of (Chiang and Thorp, 1989) to improve the stability of training. The proposed loss function is more robust against local minima observed by Richards et al. (2018) as is empirically shown in Section 5.
The learning algorithm is verbally described here and the pseudo-code can be seen in Algorithm 1 in the Appendix. It starts with an initial conservative estimate of RoA and grows it during multiple iterations (phases). A neural network, as a universal function approximator, is employed to estimate a Lyapunov function for the system. At each iteration, the Lyapunov function is improved such that one of its sublevel sets gives a better estimate of the RoA. For this purpose, a fixed number of initial states are taken from a gap surrounding the current estimate of the RoA. The initial states are integrated forward in time by the closed-loop dynamics to produce the solution for each initial state . The final state of each trajectory determines the stability of its corresponding initial state. We train the Lyapunov function as a classifier. The current estimate of the RoA produced by the current Lyapunov function is called the largest stable sublevel set. The initial states are labelled stable if their trajectory enters the largest stable sublevel set and are labelled unstable otherwise. We denote these two sets of initial states as and respectively and minimize the loss function
| (5) |
to update the Lyapunov function where is fixed to a constant value ( throughout this work). The idea is to absorb this degree of freedom in to ease training. The loss function is minimized by automatic differentiation and Stochastic Gradient Descent (SGD) with respect to the parameters of the neural network that realizes . Once it is minimized, a line search is carried out on the level value to obtain such that does not exceed the true RoA. The same process repeats for a certain number of iterations until a good inner estimate of the RoA is achieved. An important component in this process is the size of the gap around the largest stable sublevel set of each iteration of the algorithm. This gap is produced by with . The size of this gap is controlled by . Larger values of gives a faster convergence but less stable training.
To give an intuitive idea of the terms in Equation 5, the first two terms encourage the Lyapunov function to change in a way that its sublevel set includes the stable initial states and excludes the unstable initial states . The third term weighted by encourages the negative definiteness of on the RoA. The last term is inspired by the constructive method of (Chiang and Thorp, 1989) that accelerates capturing the entire RoA (see Appendix C). To satisfy Lyapunov conditions, needs to be positive definite on its domain. Rather than treating this condition in the loss function, we encode it in the architecture of the neural network using the construction proposed by Richards et al. (2018). Check Section G.1 for the detailed description of the architecture.
Policy Update Sub-Phase: Learn from :
This sub-phase of the algorithm uses the estimated Lyapunov function to update the policy so that the new policy gives rise to a larger RoA. The idea is to change the policy in a way that the unstable trajectories starting from around the current RoA enter the RoA and become stable. Let be the working domain of the system around the equilibrium . Given a hypothesis class of feasible policies , only a subset of is stabilizable. Assume is the largest stabilizable subset with . Therefore, an attempt to improve amounts to appending points from to . The set is not fully known in advance but some of its properties can be derived. Especially, for system 1, if , the maximum stabilizable set whose measure materializes as is compact and connected. Using this theoretical result, if , the stabilizable states can be chosen from a gap around .
Because the RoA estimation sub-phase estimates it as a sublevel set of a Lyapunov function, i.e. ), the sampling gap is constructed as for a . To make sure the policy does not destabilize the regions that are already stabilized in the previous phases, the algorithm also samples initial states from within . All sampled initial states are integrated forward for steps and the policy is updated via minimizing the loss function
| (6) |
We implement the policy as a differentiable function such as a neural network and use automatic differentiation and SGD for minimization. The parameters of the policy appear in 6 via the end state of the closed-loop trajectories. It is clear in 6 that minimizing with respect to while the Lyapunov function is fixed, pushes the trajectories towards the areas where the Lyapunov function assumes smaller values. This affects both stable and unstable trajectories while its influence on unstable trajectories can be magnified by . The detailed pseudo-code of this sub-phase can be found in Algorithm 2 in the Appendix. The quality of the training signal is analysed next.
Theoretical analysis of the learning signal— The effect of the policy on passes through the Lyapunov function as can be seen in 6. Unlike the conventional Lyapunov redesign method in control theory where the Lyapunov function is fixed, here the Lyapunov function itself is learned by the RoA estimation sub-phase of the algorithm. Hence, an ill-conditioned can harm the policy update phase. To take a closer look at this issue, we expand the learning signal analytically. Let the policy be a function of the states parameterised by . Let be the time step of the final state of the trajectory. The learning signal to update the policy is proportional to expanded as
| (7) |
by applying the chain rule for differentiation.
The term is the single-step effect of on when is fixed. We discuss every term in this equation in the following. Observe that is multiplied the summation, i.e., its small value diminishes the entire signal. It can be expanded as
| (8) |
The first term on the r.h.s. does not vanish as it is or for the loss function defined by Equation 6. The second term of the r.h.s depends on the slope of evaluated at the final state of the trajectory. One potential pathological condition occurs for stable and long trajectories. The reason is that continuously vanishes at the equilibrium (see Lemma 4 in the Appendix). Therefore, for long stable trajectories where is too close to the equilibrium, the learning signal to update the policy will be too small. Too long trajectories are detrimental for unstable trajectories as well because the states may grow exponentially and cause damages to the system. Hence, the length of the trajectory is an important design parameter that needs special attention when applying our proposed method in practice. The terms inside the sum only depend on the properties of the dynamics, not the Lyapunov function. Specifically, the first term shows how long the system keeps the memory of the past states and the second term shows how sensitive the system is with respect to the controller parameters. A more detailed discussion is deferred to Appendix F.
Before presenting the performance of the method empirically, it is important to note that our method assumes the model of the system is given. The following remark discusses to what extent the model of the system is needed and this requirement can be relaxed in the future.
Remark 3.
The RoA estimation phase does not need the model of the system. The system can be launched from sampled initial states and the generated trajectories are all we need in 5. The policy update phase of the algorithm requires a local estimate of the system to be able to compute . The locality of the model is inversely proportional to the length of the trajectory in 6. A detailed theoretical discussion on this point is deferred to Appendix E.
5 Experiments
.
We consider an inverted pendulum system defined as and where the state vector consists of the angle and angular velocity. Moreover are the acceleration of gravity, length, inertia, and friction coefficient. The scalar is the input force. The open-loop system (with ) has equilibrium points at with . We focus on the equilibrium point in the frictionless setting where the system shows oscillatory behavior and consequently is not asymptotically stable (see Section G.2 for system and modeling details). First, an LQR controller is designed for the linearized system around the origin (see the vector field and the initial RoA in Figure 5 in the Appendix). The control signal passes through a loose saturation function as . The function is parameterized by as illustrated in Figure 4. In the first experiment, the slopes and are kept fixed where and are trainable parameters of the policy, i.e., . The Lyapunov function is realized by a layer neural network parameterized by . Each layer has neurons with a special architecture (see Section G.1) inspired by (Richards et al., 2018) followed by tanh activation function that imposes the positive definiteness of the entire network as is required by the Lyapunov conditions in 2. The chosen hyper-parameters for the SGD training can be found in Section G.3.
The initial controller gives a small RoA since it is designed for the local linear approximation of the system. As the initial policy is LQR designed for the locally linearized model, is pre-trained by the quadratic function .
After pre-training, sub-phases of the algorithm of Section 4.2 are run alternately to capture the RoA and improve the policy. The green step-like plot in Figure 2(a) and Figure 2(b) shows the true size of the RoA. Each jump in the green plots shows one iteration of the policy update algorithm resulting in an increased RoA. The fluctuating red plot in Figure 2(a) shows the size of the estimated RoA without our improvement over the RoA estimation algorithm of Richards et al. (2018) while Figure 2(b) shows the outcome of the presence of our proposed additional term in the loss function 5. It shows that the added term results in a less fluctuating estimate of the RoA, and when combined with the policy update sub-phase, gives a faster convergence to a larger RoA ( fraction of the domain volume after policy updates).
As stated in Section 4.2, is not necessarily equal to . After learning with in 5, the algorithm searches for a value of such that the Lyapunov decrease condition is met for all states within the sublevel set . It can be seen in Figure 2(c) that these values converge to that can be perceived as a sign of the stable training of the algorithm.
The trace of the parameters of the policy is shown in Figure 2(d). As these policy’s trainable parameters represent the upper and lower limits of the loose threshold function, the policy learning algorithm updates them in the directions that decrease their suppressing effect. This is what we also expect from the physics of the system. Graphical visualization of the policy update and RoA estimation sub-phase is shown in Figure 1(Right). Each row shows one phase of the algorithm. The policies are updated along the rows from top to bottom. Within one row, the policy is fixed and RoA is estimated from left to right (See Figure 7 in the appendix for a larger visualization).
In the second experiment, the threshold limits and are kept fixed while the slopes are trainable parameters. The rest of the training setting remains the same as the previous experiment. Figures 3(a) and 3(b) shows that the policy update sub-phase enlarges the RoA (green plot) of the system while the RoA estimation sub-phase (red plot) manages to follow the new RoA after each policy update. Our improved RoA estimation algorithm results in a more monotonic convergence of the estimated RoA that ultimately learns a controller that induces a larger RoA (). Similar to Figure 2(c), convergence of values to can be seen in Figure 3(c). The trace of the upper and lower slopes are shown in Figure 3(d). Almost equal learned values for upper and lower slopes are expected due to the structural symmetry of the saturation function (Figure 4) that appears in the closed-loop system.
6 Related Work and Conclusions
We have proposed a two-player collaborative and iterative algorithm that iterates over two sub-phases that learn the Lyapunov function and use it to learn a controller to enlarge the RoA of the system.
The existing approaches that are close to the purpose of this paper are those that simultaneously synthesize a controller and maximize the stability region. Our work does not put any limit on the class of considered systems except the generic condition of hyperbolicity. For restricted classes such as polynomial systems, Sums-of-Squares (SOS) method leads to a bilinear optimization that is solved by some form of alternation (Jarvis-Wloszek et al., 2003; Majumdar et al., 2013). As a dual to Lyapunov-based methods, Majumdar et al. (2014) uses the notion of occupation measure to optimize a feedback controller for a polynomial system, but it has scalability issues due to its reliance on SDP optimization toolbox. Our work is different from this class of methods as our method is not limited to polynomial systems. Moreover, our method uses automatic differentiation that is naturally combined with neural networks to enjoy their superior scalability combined with SGD optimization.
Among data-driven approaches, Berkenkamp et al. (2017) use statistical models of the system to learn a controller with the assumption that the Lyapunov function is given. Our method is different as we learn the Lyapunov function and the controller together in an alternating fashion. Neural Lyapunov Control by Chang et al. (2019) is closer to our work while their approach is different from our method in multiple ways: They need to solve a costly global optimization problem for a component called falsifier to find the states on which the Lyapunov conditions are violated. We rather use the geometric properties of the level sets of the Lyapunov function to find the potentially unstable states that are chosen from a ring around the current stable sublevel set. In addition, Unlike Chang et al. (2019)’s method that needs to be done until the end to be usable on the system, the growing nature of our work allows the system be in action while the controller keeps improving.
In the context of reinforcement learning, our method can be seen as an actor-critic approach (Grondman et al., 2012; Bhasin et al., 2013; Lillicrap et al., 2015) where the actor tries to stabilize the system while the critic estimates the size of the RoA induced by the controller. The actor is the policy network and the critic is the network that implements the Lyapunov function.
In control theory, as the title of our work suggests, the proposed algorithm can be seen as an automatic version of the celebrated Lyapunov redesign method (Khalil and Grizzle, 2002; Hwang et al., 2013) where the Lyapunov function and the closed-loop system are re-designed together iteratively with the purpose of enlarging the stability region.
In this work, we assume the model of the system is given. This condition can be relaxed as suggested by Remark 3. Investigating this relaxation can be considered for the future. For example, learning a local model that adapts at each iteration could be one solution that adds another component to the algorithm and turns it into a three-player collaborative game.
Appendix A Control Lyapunov Function and Maximal Stabilizable Set
The use of the Lyapunov theory to guide designing the input of a system has been made precise with the introduction of control Lyapunov function (clf). A clf for a system of the form is a , radially unbounded function if
| (9) | |||||
| (10) |
Just as the existence of a Lyapunov function is necessary and sufficient conditions for the stability of an autonomous system, the existence of a clf is a necessary and sufficient condition for stabilizability of a system with control input. In other words, the existence of clf guarantees the existence of a controller that stabilizes the system for all initial states within a neighborhood around the equilibrium point.
According to the definition of Lyapunov function in Section 2 and clf above, Lyapunov function assess the stability of a closed-loop system for a fixed controller while clf investigates the existence of a control signal that stabilizes the system in a domain . In the definition of clf, no functional limitation is assumed for the control signal . In practice, is produced by a state-feedback controller via the policy function . Moreover, due to the implementation constraints, only a subset of these functions can be realized. Therefore, it is quite likely that with be the Lebesgue measure, i.e., the best feasible controller cannot expand the RoA of the system to the entire . Let be the values that the control signal can take at state . Then, we define
| (11) |
where is the maximal stabilizable set as was used in Section 3.
Appendix B Proofs
In this section, a more detailed theoretical exposition of some of the material that is dropped from the main text due to space limitation is presented.
The following lemma shows that the derivative of a Lyapunov function vanishes at the equilibrium point. One can see the Lyapunov redesign method as an actor-critic algorithm where the Lyapunov function plays the role of the critic. As the learning signal for updating the actor (policy) passes through the derivative of the critic (Lyapunov function) due to the chain rule, the following lemma implies that getting closer to the equilibrium will weaken the information content of the signal for learning the policy.
Lemma 4.
Derivative of a Lyapunov function at the origin: Let be a dimensional vector space and be a continuous positive definite function, i.e., for and . Then, .
Proof sketch.
We use the technique of proof by contradiction. Let . Suppose there exists an index such that . Due to the continuity of , we expand at in the direction of as
for an arbitrary value of close to . Since is arbitrary, we choose . As we assumed , for sufficiently close to , we can write
which is in contrast with the positive definiteness of . Therefore, cannot be nonzero. As is chosen arbitrarily from , the derivative of with respect to any of its arguments is zero at the origin, meaning that, . ∎
Each iteration of the RoA estimation algorithm expands the level set of the estimated Lyapunov function to sample from the gap surrounding the current estimate of the RoA for a . Both too small and too large gaps are harmful to the stability of the growing RoA estimation algorithm. A too small gap results in too few samples and prolongs the number of growth phases. Moreover, if the gap is too small, it is more likely that all initial states taken from the gap either converges to the equilibrium or diverges. Therefore, the dataset for the optimization problem 5 will be highly skewed that slows down the learning process even further. A too large gap is also harmful as it may advance far beyond the true RoA of the system and many sampled initial states can diverge to unknown and potentially dangerous regions of the state space. As a result, investigating the growth rate of the gap as a function of the properties of is desirable to regularize or prevent harmful sampling behaviors. The following theorem sheds light on this matter.
Theorem 5.
Growth rate of sublevel sets: Assume is a positive definite Lipschitz continuous function on . Let be the region enclosed by the level set at the level value . If for and , then .
Proof sketch.
Let be a tiny perturbation in the direction of the normal to the level set. is expanded around as
where can be ignored for sufficiently small . For and sufficiently close to ,
As is assumed to be a lower bound of , implies .
Notice that is a dimensional surface that encloses an dimensional volume that are both embedded in a dimensional embedding space . We are interested in the volume of . Assume is the differential form for . We can write where is the surface differential form for . Hence,
| (12) |
where does not depend on or . Hence, by pushing , that completes the proof. ∎
As a result of this theorem, in some applications, one may need to control for to prevent sampling from a too large or too small gap.
Appendix C Theoretical Motivation of in Equation 5
In this section we discuss the theory behind the term in Equation 5 that we added as an improvement to (Richards et al., 2018) to facilitate learning the RoA. The objective function for the RoA estimation sub-phase is restated here:
The first two terms construct a classifier objective. The third term is added to conform with the Lyapunov decrease conditions. Here, we focus on the last term, i.e., . The motivation behind adding this term comes from the constructive method proposed by Chiang and Thorp (1989).
The idea of the constructive methodology of Chiang and Thorp (1989) is to construct a sequence of functions for the autonomous dynamical system in order to use the level sets of the accumulating function of this sequence for estimating the RoA of the vector field . The theory is developed for a class of functions more general than Lyapunov functions that are called energy-like functions. An energy-like function decreases over the trajectories of the system (see Chiang and Alberto (2015) for a precise definition). Given an energy-like function for the vector field , the following sequence of functions is constructed
| (13) | ||||
where are positive numbers. Two facts about this sequence must be proved: 1) All functions produced in this sequence are energy-liked functions. 2) For a fixed positive , . The following two theorems guarantee these points.
Theorem 6 (Energy-like functions, lemma in Chiang and Thorp (1989)).
Let be an energy-like function for the nonlinear autonomous system with the equilibrium point . Let be a compact set around that contains no other equilibrium points. Then, there exists an such that for , the function is also an energy-like function on the compact set for the vector field .
This theorem guarantees that all functions in the constructive process 13 are energy-like functions.
Theorem 7 (Monotonic sublevel sets, lemma in Chiang and Thorp (1989)).
Let be an energy-like function for the nonlinear autonomous system with the equilibrium point . Let be a compact set around that contains no other equilibrium points. Assume the set is non-empty for some constant . Then there exists an such that for the set characterized by where and , the following holds
| (14) |
This theorem guarantees that the sequence built by the constructive process 13 gives a monotonically increasing sequence of sublevel sets.
Now, we get back to the addded term to the objective function, i.e., . Notice that is fixed and the minimization is performed with respect to . Hence, minimizing the above term at each phase of the algorithm emulates the above constructive process and encourages the learned Lyapunov functions to be monotonic in the sense that their sublevel sets tend to become a monotonically increasing sequence that covers more and more space of the true RoA.
Appendix D Algorithms
The proposed algorithms in this work are verbally described in Section 4.2. To facilitate implementation, the detailed pseudo-code of the algorithms come here. The RoA estimation sub-phase is realized as Algorithm 1 and the policy update sub-phase is realized as Algorithm 2. \RestyleAlgoboxed
Inputinput\SetKwInOutOutputoutput \Input: The Lyapunov function and level value of phase where | | : Closed-loop system vector field | : Level value multiplicative factor | : Number of sampled states | : Number of phases | : Mixture parameter | : Trajectory length | : Domain | : Negative definiteness weighting factor | : Monotonicity weighting factor
Init to and to
Init the sampling distribution to , i.e., uniform distribution over the domain
\For
Generate samples from
Run on for steps
Optimize for in the objective function 5 using the dataset
Inputinput\SetKwInOutOutputoutput
\Input: The Lyapunov function and level value of phase where | Closed-loop system vector field | : Level value multiplicative factor | : Number of sampled states | : Mixture parameter | : Trajectory length | : Unstable states weighting factor
\Output
Init sampling distribution to , i.e., uniform distribution over
Generate samples from
Optimize for in the objective function 6 using the dataset
Appendix E Model-Based Assumption
The model of the system is used to produce the trajectories of the system which is needed in evaluating both objective functions in 6 and 5. However, the information needed to compute 5 can also be obtained by experimentation with the physical system without requiring the dynamics function of the system. In the following, we show that the knowledge of the model of the system can be relaxed in both sub-phases of the algorithm.
E.1 RoA Estimation Sub-Phase
As can be seen in Equation 5 and Algorithm 1, in this sub-phase, the model is used to produce trajectories starting from the sampled initial states from the gap around the current estimate of the RoA or from withing the RoA. In both cases, as also suggested by Richards et al. (2018), instead of the model, the real system can be used to produce the trajectories. Assume in Algorithm 1 satisfies the conditions of Theorem 5 of the Appendix. Therefore, the gap from which the initial states are sampled is not too large and a hyperbolic physical system does not exhibit a drastically different and potentially dangerous behavior when it is launched from initial states sampled from this surrounding gap. Hence, in an approach similar to active learning, the real system can be used to produce the trajectories and label them based on whether they enter the current target level set of the estimated Lyapunov function or not. In conclusion, in this sub-phase, there will be no need to know the model of the system or estimate it.
E.2 Policy Update Sub-Phase
The model requirement is a bit different in this sub-phase compared with the RoA estimation sub-phase. As we need to update the policy, information on the way the behavior of the system changes with respect to a change in the policy is required. However, looking at 6, it is observed that the behavior of the system influences the objective function only via the Lyapunov function . Suppose the policy is parameterized as . Then, the closed-loop system becomes . The required gradient to update the policy parameters contains the term where the information of is encoded in . The derivative decomposes as
| (15) |
where the knowledge of the model is required to compute that will be a matrix of size . When the model is not given, one must instead try to estimate the model of the system . However, this vector-valued function is difficult to estimate unless in very limited cases. Instead, one can try to directly estimate rather than as a function of . As is a scalar-valued function, it takes fewer trajectories to obtain a decent estimate of . Hence, even though the model of the system is needed for this sub-phase, there are two factors that relaxes this requirement: 1) As the trajectories are integrated forward only for steps in Algorithm 2, a local estimation would be sufficient. 2) Even in the local estimatation regime, one does not need to estimate the nonlinear vector field as an to function. What matters is how the vector field looks like through the lens of the Lyapunov function that is a scalar-valued function. Hence, an estimation problem can be replaced by an estimation problem.
Appendix F Weak Learning Signal
In this section, we take a closer look at the occasions that the learning signal for the policy update sub-phase of the algorithm (Section 4.2) is weak. We discuss the problem for a general setting and show that the setting of this paper is a special case.
Problem Statement.
Assume the discrete-time time-invariant non-autonomous dynamical system . The goal is to design for such that meets some specified conditions for . In the Lyapunov stability analysis, these conditions are assessed by a function , i.e., after rolling out the starting state for steps by the dynamics controlled by , where encapsulates the desired conditions for the trajectory of the system. Assume the deviation of from its desired set is measured by a deviation metric . In many control tasks such as tracking, the entire trajectory matters, and will be a function of every state in the trajectory. However, in control tasks such as reaching, only the final state matters; consequently the objective function only depends on . Stability, in the presence of a Lyapunov function, can be seen as an example of the second class of tasks where the relative position of compared to the level sets of the Lyapunov function is sufficient to decide the convergence of that trajectory. In practice, the control signal is produced as a parametric function, i.e. . Therefore, the entire trajectory is now parameterised by and so is the loss function . The class of algorithms known as policy gradient uses to learn the controller . In this section, we study the condition of this gradient and show under which circumstances it vanishes and results in slow convergence.
In a general case where in is a function of the entire trajectory , the gradient w.r.t. the controller parameters is written as:
| (16) | ||||
| (17) | ||||
| (18) |
The gradients are derived as sum-of-products and refers to the immediate partial derivate of state with respect to when is considered as a constant.
F.1 The Component
This term concerns the differential condition of at as
| (20) |
If any of these terms gets too smalll, the overall gradient gets small too resulting in a vanishing gradient issue. To avoid this, the algorithm must ensure that these terms remain sufficiently large. For the first term , this condition is normally fulfilled if the deviation metric is designed properly. For example, one cadidate function for would be a signed distance function that measures how far is from the maximal stable sublevel set , e.g., . Another candidate deviation metric could be that does not care about the actual value of as long as lives within the sublevel set . For the former case, meaning that the gradient does not vanish as long as .
The second term of the r.h.s of 20 depends on the slope of the function evaluated at the final state of the trajectory. If is a candidate Lyapunov function, vanishes at the equilibrium as we proved in Lemma 4. Therefore, if is too close to the equilibrium (i.e., the system converges), the learning signal to update the policy will vanish. This point is formalized in the following remark.
Remark 8.
Consider the closed-loop system . Let be the initial state of a trajectory that starts from within the RoA of the equilibrium point of the closed-loop system denoted by . Let be the Lyapunov function and the objective function is optimized to update the policy . One must be careful not to let the trajectories roll out for too long (). As gets too close to the equilibrium, the information of the trajectory degenerates (see Theorem 9) and the gradient to update the controller vanishes (see Lemma 4). On the other hand, If does not belong to the RoA of , it can go too far from and may escape the validity domain of the Lyapunov function . Hence, in either case, the length of the trajectory influences the information content of the trajectory for updating the policy. Both too large and too small values of must be avoided when the trajectories pass through the Lyapunov function and the Lyapunov function acts as a critic in the algorithm for learning the policy. Too small values of are non-informative due to the continuity of . Too large values of , on the other hand, is non-informative as the trajectory enters the flat regions of or escape the domain of validity of .
Theorem 9.
Consider the dynamical system where the control signal is issued by the policy function that is parameterised by . Let be an asymptotic equilibrium point of this system. If and is a Lyapunov function with , then
| (21) |
Proof sketch.
It can be seen in 19 that appears multiplicatively in . As stated in Lemma 4, at that makes vanish as well at the equilibrium point. Now suppose with respect to both its arguments and . Moreover, is assumed to be smooth with respect to its parameters . Therefore, the map is continuous. Furthermore, as because . The continouity of the map together with the above result on vanishing at the equilibrium point completes the proof. ∎
The effect of the other terms of Equation 19 on the learning signal is discussed below.
F.2 The Component
This term determines how state information propagates forward through the trajectory. More precisely, it shows how perturbing a state at time affects the downstream state after time steps when the parameters of the system are kept fixed. In the following, we take a closer look at the constituent terms of 18. We first define the function
| (22) |
that is different form 18 in the sense that is not necessarily a function of . Due to the fact that equals the product of along the trajectoy , a measure of the size of would be informative about the influence of on . First, we consider the vanishing gradient issue when the influence becomes too small. Notice that the size of as defined in 22 is determined by two terms as (we drop the index for convenience)
| (23) |
Let be the dynamics of the closed-loop system, i.e., . If is Lipschitz continuous (as it is assumed in Section 2 to ensure the existence and uniqueness of the solution), both terms on the r.h.s. of the inequality 23 will be bounded. However, the condition of Equation 22 is a more general case when is not necessarily a function of the states. In this case, must be Lipschitz in both and , that is, there exists positive constants and such that:
| (24) | |||
| (25) |
Intuitively, this means that the open-loop dynamics rolls out smoothly and does not respond too harshly to the changes in the control input. If a component of the system breaks down under some control input, , the above conditions do not hold. In addition, it might be the case that the dynamics of the system show high-frequency vibrations under some specific control inputs (e.g., when the controller excites the natural frequency of the system). These conditions occur rarely in physical systems when the controller remain within a reasonable working regime but may happen frequently under adversarial regimes when the system is intentionally attacked by un unauthorized user. Such regimes are beyond the scope of this paper. Hence, we can reasonably assume that is upper bounded by .
A more general control signal consists of two parts. The first part is a function of states and the second part is open-loop. Therefore, we have:
We can write the overall dynamics as which transforms to the case of 22 with the difference that the policy function is now absorbed in the first component of 22. Hence, decomposes as
Observe that Equation 18 depends only on the first block of and does not affect the gradient even though it affects the trajectory of the system. As a result, the influence of the open-loop control signal on is via the final states of the trajectory as well as in 19.
F.3 The Component
This component captures the effect of the policy parameters on the next state of the system when the current state is kept fixed. Using chain rule we have
| (26) |
The first term in the r.h.s. depends on how sensitive is the dynamics function with respect to its control argument. Lower bounding this sensitivity can ensure that the effect of the controller remains visible throughout the trajectory. More rigorously, we assume there exists sufficiently large such that
where is the domain of interest in which the system operates.
The second term on the r.h.s of Equation 26 is independent from the rest of the system and shows the sensitivity of the control signal with respect to the parameters of the controller. For example, if the controller is implemented by a neural network with tanh activation functions in the hidden layers, this term can vanish if the weights diverge and push the activation values towards the saturation regimes of tanh.
Appendix G Training Details
G.1 Lyapunov Function
A parametric candidate Lyapunov function must satisfies the conditions of 2. It must be positive definite on a domain and its value must decrease along the trajectories of the system. As the second condition depends on the system, it is embedded in the optimization loss function 5. The first condition (positive definiteness) though does not depend on the system. It must be enforced for every . Rather than including it in the loss function, we restrict the hypothesis set to the class of positive definite functions. In kernel methods, this property can be achieved by a proper choice of kernels. With neural networks, can be represented by as a Lyapunov candidate function where is a multilayer perceptron. This guarantees the non-negativeness of . To ensure does not vanish at any point other than the origin, first suppose and are the input and output of the layer respectively, i.e., where is the weight matrix and is the activation function. To guarantee the strict positiveness of for , both activation function and weight matrix must have trivial nullspaces. Activation functions such as tanh and ReLU meet this condition. The weight matrix can be constructed as the following:
| (27) |
where for some is the identity matrix, and is a positive constant to ensure the upper block has full rank. See Remark 1 in the appendix of (Richards et al., 2018) for further details.
In our experiments, is represented by a -layer multilayer perceptron each layer of dimension followed by tanh activation functions and a linear last layer.
G.2 Discretized Time and State Space
We discretize the dynamics of the inverted pendulum with time resolution of . The state space is also discretized in the rectangle . Each dimension is divided equally into sections to form a dimensional grid. Therefore, all the computations of Section 5 takes place with a finite set of states. For example, the true RoA denoted by the green plot in Figure 1(Right) is computed by integrating forward all states of the state space grid. If the resolution of the grid is too coarse, the bound on the negative definiteness of must change from to a more conservative negative value in order to make sure the critical Lyapunov decrease condition will not be violated. The new bound depends on the Lipschitz constants of and (see Richards et al. (2018) for the detailed derivation of the bound).
G.3 Hyper-parameters
The pre-training phase is performed with the learning rate and training steps. Each run of the RoA estimation algorithm is performed with the learning rate and training steps. Each run of the policy update sub-phase is performed with the learning rate with steps. The number of learning steps in the policy update sub-phase is a proxy to the distance between the current policy and the updated policy. Hence, by keeping this number fairly small, we make sure the condition of Assumption 1 is likely to be fulfilled.
In Equation 5, is set to to enforce the Lyapunov decrease condition. In the same equation, is set to 0.01 to encourage to monotonicity of the RoA estimation algorithm. In Equation 6, is set to to put more emphasis on stabilizing the unstable states compared with keeping stable the already stable states.
The sampling mixture parameters and are both set to in Algorithms 1 and 2 respectively.
The length of the integrated trajectories () is set to for both RoA estimation (see Algorithm 1) and policy update (see Algorithm 2) sub-phases.
The multiplication constants and for both RoA estimation and policy update sub-phases is set to .
The number of RoA estimation sub-phases in Algorithm 1 is set to . The total number of policy update sub-phases is also set to . One can alternatively use a context-aware stopping criterion. For instance, updating the policy can be stopped when no significant change in the RoA or the policy parameters is observed.
The number of sampled initial states is initialized to in Algorithms 1 and 2 and increases by after each update of the policy. The heuristic reason is that after each policy update, the RoA enlarges and it takes more samples to obtain a good representative of the gap surrounding the RoA.
Appendix H More Experimental Results
References
- Baer et al. (2006) Steven M Baer, Bingtuan Li, and Hal L Smith. Multiple limit cycles in the standard model of three species competition for three essential resources. Journal of mathematical biology, 52(6):745–760, 2006.
- Balduzzi et al. (2018) David Balduzzi, Sebastien Racaniere, James Martens, Jakob Foerster, Karl Tuyls, and Thore Graepel. The mechanics of n-player differentiable games. arXiv preprint arXiv:1802.05642, 2018.
- Berkenkamp et al. (2016) Felix Berkenkamp, Angela P Schoellig, and Andreas Krause. Safe controller optimization for quadrotors with gaussian processes. In 2016 IEEE International Conference on Robotics and Automation (ICRA), pages 491–496. IEEE, 2016.
- Berkenkamp et al. (2017) Felix Berkenkamp, Matteo Turchetta, Angela Schoellig, and Andreas Krause. Safe model-based reinforcement learning with stability guarantees. In Advances in neural information processing systems, pages 908–918, 2017.
- Bhasin et al. (2013) Shubhendu Bhasin, Rushikesh Kamalapurkar, Marcus Johnson, Kyriakos G Vamvoudakis, Frank L Lewis, and Warren E Dixon. A novel actor–critic–identifier architecture for approximate optimal control of uncertain nonlinear systems. Automatica, 49(1):82–92, 2013.
- Chang et al. (2019) Ya-Chien Chang, Nima Roohi, and Sicun Gao. Neural lyapunov control. In Advances in Neural Information Processing Systems, pages 3245–3254, 2019.
- Chiang and Thorp (1989) H-D Chiang and James S Thorp. Stability regions of nonlinear dynamical systems: A constructive methodology. IEEE Transactions on Automatic Control, 34(12):1229–1241, 1989.
- Chiang and Alberto (2015) Hsiao-Dong Chiang and Luís FC Alberto. Stability regions of nonlinear dynamical systems: theory, estimation, and applications. Cambridge University Press, 2015.
- Chu et al. (1990) S Reynold Chu, Rahmat Shoureshi, and Manoel Tenorio. Neural networks for system identification. IEEE Control systems magazine, 10(3):31–35, 1990.
- Goodfellow et al. (2014) Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pages 2672–2680, 2014.
- Greydanus et al. (2019) Samuel Greydanus, Misko Dzamba, and Jason Yosinski. Hamiltonian neural networks. In Advances in Neural Information Processing Systems, pages 15353–15363, 2019.
- Grondman et al. (2012) Ivo Grondman, Lucian Busoniu, Gabriel AD Lopes, and Robert Babuska. A survey of actor-critic reinforcement learning: Standard and natural policy gradients. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 42(6):1291–1307, 2012.
- Hopfield (1994) John J Hopfield. Neurons, dynamics and computation. Physics Today, 47(2):40–47, 1994.
- Hwang et al. (2013) Eun-Ju Hwang, Hyo-Seok Kang, Chang-Ho Hyun, and Mignon Park. Robust backstepping control based on a lyapunov redesign for skid-steered wheeled mobile robots. International Journal of Advanced Robotic Systems, 10(1):26, 2013.
- Imani Masouleh and Limebeer (2018) Mehdi Imani Masouleh and David JN Limebeer. Region of attraction analysis for nonlinear vehicle lateral dynamics using sum-of-squares programming. Vehicle System Dynamics, 56(7):1118–1138, 2018.
- Isidori (2014) Alberto Isidori. Nonlinear Control Systems Design 1989: Selected Papers from the IFAC Symposium, Capri, Italy, 14-16 June 1989. Elsevier, 2014.
- Jarvis-Wloszek et al. (2003) Zachary Jarvis-Wloszek, Ryan Feeley, Weehong Tan, Kunpeng Sun, and Andrew Packard. Some controls applications of sum of squares programming. In 42nd IEEE international conference on decision and control (IEEE Cat. No. 03CH37475), volume 5, pages 4676–4681. IEEE, 2003.
- Khalil and Grizzle (2002) Hassan K Khalil and Jessy W Grizzle. Nonlinear systems, volume 3. Prentice hall Upper Saddle River, NJ, 2002.
- Krantz and Parks (2012) Steven G Krantz and Harold R Parks. The implicit function theorem: history, theory, and applications. Springer Science & Business Media, 2012.
- Liao and Wang (2004) F Liao and JL Wang. Analysis and synthesis of reliable flight control systems via parameter-dependent lyapunov functions. Proceedings of the Institution of Mechanical Engineers, Part I: Journal of Systems and Control Engineering, 218(6):433–450, 2004.
- Liapounoff (1907) Alexandre Liapounoff. Problème général de la stabilité du mouvement. In Annales de la Faculté des sciences de Toulouse: Mathématiques, volume 9, pages 203–474, 1907.
- Lillicrap et al. (2015) Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
- Majumdar et al. (2013) Anirudha Majumdar, Amir Ali Ahmadi, and Russ Tedrake. Control design along trajectories with sums of squares programming. In 2013 IEEE International Conference on Robotics and Automation, pages 4054–4061. IEEE, 2013.
- Majumdar et al. (2014) Anirudha Majumdar, Ram Vasudevan, Mark M Tobenkin, and Russ Tedrake. Convex optimization of nonlinear feedback controllers via occupation measures. The International Journal of Robotics Research, 33(9):1209–1230, 2014.
- Mehrjou (2018) Arash Mehrjou. Analysis of nonautonomous adversarial systems. arXiv preprint arXiv:1803.05045, 2018.
- Mehrjou and Schölkopf (2018a) Arash Mehrjou and Bernhard Schölkopf. Deep nonlinear non-gaussian filtering for dynamical systems. arXiv preprint arXiv:1811.05933, 2018a.
- Mehrjou and Schölkopf (2018b) Arash Mehrjou and Bernhard Schölkopf. Nonstationary gans: Analysis as nonautonomous dynamical systems. In Workshop on Theoretical Foundations and Applications of Deep Generative Models at ICML, 2018b.
- Mehrjou and Schölkopf (2019) Arash Mehrjou and Bernhard Schölkopf. Deep lyapunov function: Automatic stability analysis for dynamical systems. arXiv preprint arXiv:1901.08403, 2019.
- Mehrjou et al. (2018) Arash Mehrjou, Friedrich Solowjow, Sebastian Trimpe, and Bernhard Schölkopf. A local information criterion for dynamical systems. arXiv preprint arXiv:1805.10615, 2018.
- Mehrjou et al. (2019) Arash Mehrjou, Wittawat Jitkrittum, Krikamol Muandet, and Bernhard Schölkopf. Kernel-guided training of implicit generative models with stability guarantees. arXiv preprint arXiv:1910.14428, 2019.
- Mehrjou et al. (2020) Arash Mehrjou, Andrea Iannelli, and Bernhard Schölkopf. Learning dynamical systems using local stability priors. arXiv preprint arXiv:2008.10053, 2020.
- Mescheder et al. (2017) Lars Mescheder, Sebastian Nowozin, and Andreas Geiger. The numerics of gans. In Advances in Neural Information Processing Systems, pages 1825–1835, 2017.
- Palis and De Melo (2012) J Jr Palis and Welington De Melo. Geometric theory of dynamical systems: an introduction. Springer Science & Business Media, 2012.
- Pierson and Gashler (2017) Harry A Pierson and Michael S Gashler. Deep learning in robotics: a review of recent research. Advanced Robotics, 31(16):821–835, 2017.
- Pillonetto et al. (2014) Gianluigi Pillonetto, Francesco Dinuzzo, Tianshi Chen, Giuseppe De Nicolao, and Lennart Ljung. Kernel methods in system identification, machine learning and function estimation: A survey. Automatica, 50(3):657–682, 2014.
- Richards et al. (2018) Spencer M Richards, Felix Berkenkamp, and Andreas Krause. The lyapunov neural network: Adaptive stability certification for safe learning of dynamic systems. arXiv preprint arXiv:1808.00924, 2018.
- Solowjow et al. (2018) Friedrich Solowjow, Arash Mehrjou, Bernhard Schölkopf, and Sebastian Trimpe. Minimum information exchange in distributed systems. In 57th IEEE Conference on Decision and Control (CDC).[Electronic resource], 2018.
- Vannelli and Vidyasagar (1985) Anthony Vannelli and Mathukumalli Vidyasagar. Maximal lyapunov functions and domains of attraction for autonomous nonlinear systems. Automatica, 21(1):69–80, 1985.
- Wen-Xing and Li-Dong (2018) Zhu Wen-Xing and Zhang Li-Dong. A new car-following model for autonomous vehicles flow with mean expected velocity field. Physica A: Statistical Mechanics and its Applications, 492:2154–2165, 2018.
- Westervelt et al. (2003) Eric R Westervelt, Jessy W Grizzle, and C Canudas De Wit. Switching and pi control of walking motions of planar biped walkers. IEEE Transactions on Automatic Control, 48(2):308–312, 2003.
- Xin et al. (2007) H Xin, D Gan, J Qiu, and Z Qu. Methods for estimating stability regions with applications to power systems. European transactions on electrical power, 17(2):113–133, 2007.