기본 정보
- 저자
- DOI
- 10.1109/lra.2022.3145100
- 저널
- IEEE Robotics and Automation Letters
- 발행년도
- 2022
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 2
- 라이선스
- publisher-specific-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/lra.2022.3145100
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W4210590774
평가 내용
- 관련도
- 사업분야
- 모빌리티 소재 · (4) 카시트 모듈
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 59,443자
본문 펼치기
섹션 본문 92문단 · 34,231자
(제목 없음)
1This paper proposes a data-driven method for learning convergent control policies from offline data using Contraction theory.Contraction theory enables constructing a policy that makes the closed-loop system trajectories inherently convergent towards a unique trajectory.At the technical level, identifying the contraction metric, which is the distance metric with respect to which a robot's trajectories exhibit contraction is often non-trivial.We propose to jointly learn the control policy and its corresponding contraction metric while enforcing contraction.To achieve this, we learn an implicit dynamics model of the robotic system from an offline data set consisting of the robot's state and input trajectories.Using this learned dynamics model, we propose a data augmentation algorithm for learning contraction policies.We randomly generate samples in the state-space and propagate them forward in time through the learned dynamics model to generate auxiliary sample trajectories.We then learn both the control policy and the contraction metric such that the distance between the trajectories from the offline data set and our generated auxiliary sample trajectories decreases over time.We evaluate the performance of our proposed framework on simulated robotic goal-reaching tasks and demonstrate that enforcing contraction results in faster convergence and greater robustness of the learned policy.
Introduction
2While learning-based controllers have achieved significant success, they still lack safety guarantees.For instance, in general, the temporal evolution of a robot's trajectories under a learned policy cannot be certified.On the other hand, when a system's dynamics are known, control-theoretic properties, such as stability and contraction, directly examine the temporal progression of a system's states to verify whether a system remains within a safe set, and whether the system's trajectories converge.In this paper, we seek to enforce the desired temporal evolution of the closed-loop system's states while learning the policy from an offline set of data, i.e. we seek to learn control policies such that under the learned policy, the convergence of a robot's trajectories is achieved.
3To achieve such trajectory convergence, our design approach leverages Contraction theory [1].Contraction theory provides a framework for identifying the class of nonlinear dynamic systems that have asymptotic convergent trajectories.Intuitively, a region of the state space is a contraction space if the distance between any two close neighboring trajectories decays over time.This notion of convergence is relevant to many robotic tasks such as tracking controllers where we want a robot to either reach a goal or track a reference trajectory.In this paper, we want to learn policies from offline data such that they achieve convergence of a robot's trajectories in closed loop.While contraction theory provides a simple and intuitive characterization of convergent trajectories, finding the distance metric with respect to which a robot's trajectories exhibit contraction -which is called the contraction metric -is often non-trivial.To address this challenge, we propose to jointly learn the robot policy and its corresponding contraction metric.
4We learn the robot dynamics model from an offline data set consisting of the robot's state and input trajectories.This setting is similar to the setting of offline model-based reinforcement learning (RL) where a dynamics model and a policy are learned from a set of robot trajectories that are collected offline.Learning from offline data is appropriate for safety-critical applications where online data collection is dangerous [2].We learn a dynamics model of the system from the data and propose a data augmentation algorithm for learning contraction policies.Randomly sampled states are propagated forward in time through the learned dynamics model to generate auxiliary sample trajectories.We then learn both our policy and our contraction metric such that the distance between the robot trajectories from the data set and the auxiliary sample trajectories decreases over time.Learning contraction policies is particularly relevant to offline RL as it allows us to regard the errors in the learned dynamics model as external disturbances and obtain a tracking error bound in regions where the learning errors of the dynamics model are bounded [3,4].
5We evaluate the performance of our proposed framework on a set of simulated robotic goal-reaching tasks.The performance of our proposed framework is compared with a number of control algorithms.We demonstrate that as a result of enforcing contraction, the robot's trajectories converge faster to the goal position with a higher degree of accuracy.It is further shown that learning contraction policies increases the robustness of the learned policy with respect to learned dynamics model mismatch, i.e. enforcing contraction increases the robustness of the learned policies.In summary, our contributions are the following:
6• We propose a framework for learning convergent robot policies from an offline data set using Contraction theory.
7• We develop a data augmentation algorithm for learning contraction policies from the offline data set.
8• We provide a formal analysis for bounding contraction policy performance as a function of dynamics model mismatch.
9• We perform numerical evaluations of our proposed policy learning framework and demonstrate that enforcing contraction results in favorable convergence and robustness performance.
10The organization of this paper is as follows.In Section 2, we provide an overview of the related and prior work.We provide an overview of Contraction theory in Section 3 and present our problem formulation in Section 4. We then discuss our proposed framework in Section 5. Section 6 provides a discussion and analysis of the robustness of learned contraction policies.In Section 7, we evaluate and compare the performance of our policy learning algorithm.Finally, we will conclude the paper in Section 8.
Related Work
11For systems with unknown dynamics, several offline RL algorithms have been developed recently which either directly learn a policy using an offline data-set [5][6][7][8] or learn a surrogate dynamics model from the offline data to learn an appropriate policy [9,10].However, the majority of such RL algorithms lack formal safety guarantees, and the convergent behavior of the learned policies is not certified [11,12].
12When the system dynamics are known, robust and certifiable control policy design can be achieved through various control-theoretic methods such as reachability analysis [13], Funnels [14,15], and Hamilton-Jacobi analysis [16,17].Lyapunov stability criteria, Contraction Theory, and Control Barrier Functions have been extensively utilized for providing strong convergence guarantees for nonlinear dynamical systems [1,[18][19][20][21].However, even when the dynamics are known, finding a proper Lyapunov function or a control barrier function is itself a challenging task.To address these challenges, learning algorithms have been utilized for learning the Lyapunov and Control Barrier Functions [22][23][24].[11] and [25] propose to learn contraction metrics to find contraction control policies for known systems.
13Various recent works have considered combining control-theoretic tools with learning algorithms to enable learning safe policies even when dynamics are unknown.[26,27] consider learning stable dynamics models.In [28], Contraction theory is used to learn stabilizable dynamics models of unknown systems.In [12,29], Lyapunov functions are used for ensuring the stability of the learned policies.[30] proposed to learn the system dynamics and its corresponding Lyapunov function jointly to ensure the stability of the learned dynamics model.
14In this work, we consider learning contraction policies from offline data for systems with unknown dynamics.Our work is closely related to [11] and [25], where Contraction theory has been used for certifying convergent trajectories.The current work is different in that, unlike these approaches where dynamics are explicitly known and assumed to be control-affine, we consider access to only an offline data set.We assume that we can learn an implicit model of system dynamics, in the form of a neural network function approximator, and provide robustness guarantees with respect to the errors of the learned dynamics model.
Contraction Theory
15Contraction theory assesses the stability properties of dynamical systems by studying the convergence behavior of neighboring trajectories [1].The convergence is established by directly examining the evolution of the weighted Euclidean distance of close neighboring trajectories.Formally, consider a differentiable autonomous discrete-time dynamical system g(x) : R n → R n defined as
16with Jacobian
17Now, consider a differential displacement δx t .The differential displacement dynamics at x t are governed by
18The system dynamics g(x t ) are contractive if there exists a full rank state dependant metric Θ(x) ∈ R n × R n such that the system trajectories satisfy
19Equation (4) indicates that the weighted distance between any two infinitesimally close states decreases as the dynamics evolve [31].When Θ(x) = I the distances between trajectories are measured in the Euclidean norm sense.Figure 1 illustrates the behavior of two trajectories of a contractive system when Θ(x) = I.
20For a small finite displacement ∆x t , as an approximation of infinitesimal small displacement δx t , the first-order Taylor expansion of the system dynamics allows us to locally approximate the forward evolution of the displacement
21Thus, we may approximate the contraction condition (4) as
22Establishing a system as contractive allows for several useful stability properties to be deduced.We state motivating results from [1] in the following definition and proposition.
23Definition 1 Given the discrete-time system x t+1 = g(x t ), a region of the state space is called a contraction region with respect to a uniformly positive definite metric
24Proposition 1 A convex contraction region contains at most one equilibrium point.
25It is shown in [1] that ( 7) is equivalent to condition (4) holding for all x t in the contraction region.Thus, by Proposition 1, we may conclude that a unique equilibrium exists within a convex region if (4) holds everywhere inside the region.Therefore, (6) represents a useful numerical analog that can be enforced in order to drive a region towards being contractive.By choosing a set of ∆x t , we will use condition (6) to enforce contracting behavior of the closed-loop system.Going beyond autonomous systems, when a system is subject to control input u t , i.e., x t+1 = g(x t ) = f (x t , u t ), contraction theory can be used to design state feedback policies u t = u(x t ) such that the closedloop system trajectories converge to a given reference state.This may be done by determining u(x t ) such that the convex region of interest is contractive and the unique equilibrium is the desired reference state.Such a control design process is outlined in the following sections.
Problem Formulation
26We consider the problem of control policy design for a robot with unknown discrete-time dynamics
27We assume that we can use an offline data set D consisting of tuples of state transitions and control inputs (x t , x t+1 , u t ) satisfying unknown system dynamics
28Our objective is to obtain a data-driven state-feedback control policy u t = u(x t ) to steer the system ( 8) towards a desired reference state x r ∈ R n , i.e. x t → x r as t → ∞.To compensate for the lack of knowledge of the true system dynamics, we propose using a model of the system dynamics that we learn from the offline data D. Note that this indicates that our learned dynamics model may still not be available explicitly and may only be available as implicit dynamics such as neural networks approximators.More specifically, we aim to design a control policy u(x t ) that leverages the learned dynamics model
29to drive the system asymptotically to x r .
Learning Deep Contraction Policies
30To develop a policy that results in contractive behavior, we seek to enforce the approximate condition in (6), requiring the weighted distances of close neighboring trajectories to decrease over time.
31To enforce this condition, we need to ensure that we have sufficiently close neighboring points for each point within our training set.However, our training data set may not include such neighboring trajectories.We augment our data set with auxiliary trajectories that enable us to enforce this condition at each data point.That is, for each x t ∈ D, we augment our data set with a ∆x t sampled from
32where the parameter λ is set in the training process.We sample points from ∆ t to ensure that ∆x t is a small displacement with respect to the training data set.Then, for each data point x t , we create the auxiliary state xt = x t + ∆x t .Both of these points are propagated through our x t+1 and x t+1 , respectively.Finally, we require that the weighted distance between the two states decreases over time as stated in condition (11).
33learned dynamics model to calculate the states at the next time step: x t+1 = f (x t , u(x t )) and x t+1 = f (x t , u(x t )).The initial state, the auxiliary state, and the predicted evolution of these two states are then combined into a tuple (x t , xt , x t+1 , x t+1 ).The collection of all such tuples over each x t ∈ D form the augmented data set D .Now, we want to evaluate the contracting behavior of the controller u(x t ) through the learned model on the augmented data set D .Thus, we seek to enforce condition (6) for the elements of D
34with respect to a contraction metric Θ(x t ).Contractive behavior is illustrated in Figure 2, showing the weighted distance between xt and x t decays as the system evolves to x t+1 and x t+1 .We evaluate the approximate contraction condition only at the states x t that exist in the data set D. This is due to the fact that the dynamics model is learned from D and hence f is expected to behave the most accurately at these points, which in turn will increase the quality of the learned policy.This will enforce contractive behavior with respect to the learned dynamics model f .Later we will discuss how we can ensure contractive behavior of the closed-loop behavior of the true dynamics model f .
35Since in general, the contraction metric Θ(x) is not known, and it is directly coupled to the control policy, we propose a learning-based approach to jointly learn both the control policy and the metric with respect to which the policy exhibits contraction.We refer to such a policy as a deep contraction policy.To this end, let us start by assuming that we know a control policy u(x) that makes f (x, u(x)) contractive.Consider now that we want to learn a corresponding contraction metric.Let this contraction metric be represented by a model Θ(x; w Θ ) which is parameterized by weights w Θ .We then obtain the best parameters of this contraction metric, denoted by w Θ , from
36where
37The term Θ(x t+1 ; w Θ )(x t+1 −x t+1 ) − Θ(x t ; w Θ )∆x t is an approximate measure of the contraction condition (11) which ideally should be negative for all elements of D .Since enforcing (11) directly results in a non-differentiable optimization, we minimize (13) as a proxy for (11).Note that L Θ is computed over all data points in D .When paired with differentiable contraction metric Θ(x; w Θ ), the choice of loss function ( 13) is differentiable and is amenable to gradient decent optimization.
38Now, let's consider the more general case where both the policy and its contraction metric are unknown.We want to learn both the state-feedback policy and the contraction metric together.We want to learn a control policy represented by a function approximator û(x; w u ), parameterized by weights w u , such that the closed-loop system is contractive with respect to the metric model Θ.To achieve this, we propagate the initial data points in D with the control policy model û(x; w u ) as
39We obtain the parameters of the contraction metric w Θ , denoted by w Θ , and the parameters of the control policy w u , denoted by w u , by minimizing a loss function L u over the data set D
40where
41Loss function (14) ensures that the region of interest X is contractive with respect to Θ and the learned dynamics model f .However, so far there has been no mechanism to ensure that the unique equilibrium of the contractive system is indeed the desired reference value x r .To alleviate this, we need the learning process to be aware of the desired reference value, which we would like to be the equilibrium of the contraction region.The measure of awareness that we introduce is based on the ability of the controller û(x; w u ) to steer the system from an initial state x 0 ∈ X to the desired state value x r in k time steps, i.e. how close x k gets to x r .Therefore, to enforce the system's states to contract to x r , we add another penalty term to our loss function to obtain the final loss function utilized for learning the policy and contraction metric:
42where Calculate L u (w Θ , w u ) using ∆x t 's and D 14:
43Calculate gradients ∇ wΘ L and ∇ wu L 16:
44Update w Θ and w u 17: end for is the tracking loss with α ∈ R >0 as the penalty factor.Here, x k (x 0 ) is the k th state value of the process x t+1 = f (x t , û(x t ; w u )), initialized at x 0 = x 0 where x 0 is drawn from a countable set Y ∈ X .The number of time steps k is set by the designer and, as the reader may infer, affects the transient behavior of the closed-loop system.
Contraction of True Dynamics Under Learned Policy
45A major concern regarding control policy design using a learned model from offline data is that of model mismatch.In order to bound the controller performance degradation, we assume a known upper bound on the Lipschitz constant of the model error f (x t , u t )−f (x t , u t ), which we denote as L f −f .In practice, such an upper bound may be estimated by fitting a Reverse Weibull distribution over the data set D [32,33].
46Lemma 1 Consider an unknown system f (x, u) and its learned model f (x, u) with an upperbound estimation on the Lipschitz constant of f (x, u) − f (x, u) as L f −f .The error between the learned model and the unknown system is bounded by ε, i.e. f (x, u) − f (x, u) < ε, for all (x, u) ∈ X × U where
47)
48Proof See Appendix.
49The constant D in Lemma 1 is the maximum distance that a point (x, u) ∈ X × U can have from its nearest data point (x t , u t ) ∈ D.
50Deep contraction policy learning proposed in Algorithm 1 ideally ensures contractive behavior of the controlled learned system f (x t , u(x t )) at the states x t ∈ D.More specifically, by defining an approximate measure of contraction condition (4) as
51the controlled learned model being contractive is equivalent to E ∆xt C f (xt,û(xt)) (x t , ∆x t ) < 0 for all x t ∈ D and ∆x t ∈ ∆ t .Hence, it remains for us to verify whether the learned policy exhibits contraction with the true unknown system dynamics in the sense of contraction condition (4), i.e.E ∆xt C f (xt,û(xt)) (x t , ∆x t ) < 0 for all x t ∈ X and ∆x t ∈ ∆ t .We seek to derive a condition under which we are guaranteed that the controlled true dynamics are also contractive with the learned policy.To arrive to such quantification, we begin with contraction of the learned model C f (xt,û(xt)) (x t , ∆x t ) at the training points, x t ∈ D and end with an upper bound estimation of the contraction of the true dynamics C f (xt,û(xt)) (x t , ∆x t ) at any points x ∈ X .The following Proposition establishes the condition under which the approximate contraction measure holds for the true robot dynamics under the trained u(x t ).
52and L C , respectively.Additionally, let | Θij (x t )| < γ, λ be given by (10), and ε be given as in (16).Then the true dynamics (8) are contractive under the trained controlled policy û(x t ), i.e.
53Proof See Appendix.
Implementation & Evaluation
54We evaluate the performance of the contraction policies in a set of goal-reaching robotic tasks by comparing our method against a number of offline control methods suitable for systems with learned dynamics models.In particular, we compare our framework with the following algorithms:
551. MPC: An iterative Linear Quadratic Controller (iLQR) as described in [34] ran in a receding horizon fashion.
Learning without contraction:
56To evaluate the effectiveness of the contraction penalty, we further evaluate the robot's performance in the absence of any contraction terms in the loss function.
Reinforcement Learning:
57We also use the state-of-the-art offline RL method Conservative Q-Learning (CQL) [35] for further comparisons.
58We evaluate the performance of our approach on two different robotic settings involving nonlinear dynamical systems of varying complexity represented by neural networks.The dynamics of these systems have closed-form expressions, but it is assumed that we do not have access to such expressions.We assume that we only have access to a set of system trajectories and learn a dynamics model from the state-action trajectories.The learned dynamics are represented as neural networks to the model-based control methods: deep contraction policy, MPC controller, and contraction-free learning.The RL implementation develops the policy directly from the same offline data set that is used to train the dynamics model in a model-free fashion.This allows us to implement our algorithm on the learned systems while having an analytical baseline to compare against to quantify robustness.Additionally, we consider state and control sets X , U defined by box constraints in order to constrain the size of the training data.Clearly for such constraints, X is convex.The dynamical systems we have chosen for our performance evaluation are as follows:
591. 2D Planar Car: A planar vehicle that is capable of controlling its acceleration, α, and angular velocity, ω.Here x := [p x , p y , θ, v] and u := [α, ω] where p x , p y are the planar positions, v is the velocity, and θ is the heading angle.The system dynamics are governed by: ẋ = [v cos(θ), v sin(θ), ω, α] .
602. 3D Drone: An adaptation of a drone model that is given by [11] and [36].This model describes an aerial vehicle capable of directly controlling the rate of change of it's normalized thrust Ḟ , and Euler Angles, φ, θ, ψ.Here x := [p x , p y , p z , v x , v y , v z , F, φ, θ, ψ] and u := [ φ, θ, ψ] where p i , v i are the translational positions and velocities along the i th axis, respectively.Omitting the first order integrators in p i , F, φ, θ, ψ for brevity, the dynamics can then be expressed as
61where g is the acceleration due to gravity.
62For both systems we assume a timestep of ∆t = 0.1s and a final time of T = 10s.
Learning System Dynamics
63All of the continuous dynamical systems described above are represented to our controllers as fully connected neural networks which capture the discretization of the model integration:
64The training dataset D is generated by aggregating reference trajectories through the state space generated from an iLQR controller applied directly to the true dynamics f (x t , u t ).The reference trajectories Φ (x t , u t ) were chosen such that x t ∈ X and u t ∈ U for all t.Trajectory data was used in order to implement a discounted multistep prediction error as in [37] until sufficient integration accuracy was achieved.
Controller Implementation
65The contraction metric and control policy neural networks, Θ(x t ; w Θ ) and û(x t ; w u ), are trained according to Algorithm 1.
66For our ablation study, we remove the contraction penalty term and simply find a policy for minimizing the tracking error norm.Without a contraction penalty, the impact of contraction conditions during the learning process vanishes.In order to create a controller for this case, each x t ∈ D is forward evolved a number of time steps under the learned control policy and trained with a discounted cumulative loss of the tracking error norms over each timestep.
67For the MPC controller, the iLQR planner utilizes the learned dynamics model in order to calculate the linearization relative to the state and control inputs.This linearization is used along with weighting matrices Q = 100I, R = 1000I in order to calculate an iLQR control law.
68In order to train an offline reinforcement learning algorithm like CQL, the algorithm needs access to state, action, and reward pairs.We reutilize the offline iLQR trajectories created for dynamics learning as training episodes for the offline CQL RL algorithm.The reward at each time step is taken to be the negative norm of the tracking error at the next time step given the currently taken action.
Performance Results
69In order to compare the performance of our method with the alternative implementations outlined above, we propose a number of metrics to compare the controllers:
70• The time evolution of the tracking error, to quantify the controllers' ability to converge to the desired reference x r .
71• The converged tracking error versus the initial tracking error, to quantify the controllers' ability to operate over the working space X × U.
72• Root Mean Square Error (RMSE) of the tracking error versus learned model loss, to quantify the controllers' ability to deal with model mismatch.
73For all analyses, the controllers were each presented with an identical set of 256 initial conditions within X .The control methods were implemented as described above in an attempt to drive these initial states to the desired reference x r .The results were aggregated over the 256 initial conditions for the 2D car and 3D drone.
74In the time evolution analysis, desirable controllers have trajectories that quickly converge, have minimal tracking error norm, and have high convergence precision.Results directly comparing all of the controllers relative to this performance measure for the two dynamical systems are given in Figure 3 (left and middle).The results show that over the two different systems and a multitude of initial conditions, the contraction learning policy performs well relative to the proposed comparison controllers.For the simpler dynamic system of the two, the 2D planar car, the results are comparable among all controllers but favor the contraction controller, while the more complex drone environment shows the clear benefits of our approach.The enforcement of contraction conditions forces nearby trajectories to converge to one another, and when near the reference point, this has the effect of reducing the norm of the tracking error further than the systems designed without contraction in mind.The contraction controller consistently has the lowest mean norm of the tracking error over all the sampled initial states.
75Comparing the converged tacking error, in this case, the average of the final 10 timestamps of each trajectory, versus the initial tracking error gives insight into the performance of the controllers' over the entire state and control space X and U. Cases with a higher initial tracking error represent trajectories that start closer towards the boundary of our working space X × U. Favorable controllers are ones in which the converged tracking error remains constant or grows slowly as the initial tracking error increases.Figure 3 (right) directly shows this comparison.The results here clearly show that the MPC controller and the learned policy without the contraction terms have difficulty as the initial state norm gets further from the desired reference.For the MPC controller, the poor performance is likely caused by not having expressive enough dynamics due to the repeated linearization process.The contraction-free policy shows good performance for small initial tracking errors but quickly degrades as this value grows.Such a control method acts extremely locally.Training a collection of states to converge to the reference without the additional contraction structure does not yield favorable stability properties.The CQL policy and deep contraction learning generate trajectories with minimal degradation as the tracking error increases, with the contraction learning method consistently having the highest degree of performance.
76Finally, for the 3D drone scenario, the impact of the learned dynamics model quality on the modelbased controllers' performance is studied.To this end, multiple models of different quality were learned from the same offline data set.Since the CQL policy is directly learned from the offline data and does not utilize the learned dynamics model, this method is omitted from this analysis.In this case, favorable controllers are ones in which the error grows slowly with increasing model inaccuracy.Comparison of the RMSE values of the tracking error norm over the length of the trajectories for the varying quality dynamics models are shown in Table 1.The contraction learning model shows favorable performance as dynamics model mismatch increases due to the robustness properties discussed in Section 6.For particularly low-quality learned dynamics models we even see that the deep contraction policy is able to generate stabilizing controllers where the contraction-free policy and MPC controller fail to do so.
Non-control Affine Analysis
77In order to quantify the ability of our deep contraction policy learning to generalize to more complex systems, we perform an illustrative analysis of our controller on the double pendulum model given in [38].Such a system is chaotic with a non-affine control input.Figure 4 shows the comparison of two scenarios where the designed controller was implemented on both the learned model and the true dynamics.The trajectories show the controller is able to accomplish the task when applied to the learned model.However, when applied to the true dynamics, the controller positions the arms with a slight positional error while keeping the angular velocity at zero.
Conclusion and Future Work
78In this paper, we established a framework for learning a converging control policy for an unknown system from offline data.We leveraged Contraction theory and proposed a data augmentation method for encoding the contraction conditions directly into the loss function.We jointly learned the control policy and its corresponding contraction metric.We compared our method with several state-of-the-art control algorithms and showed that our method provides faster convergence, a smaller tracking error, lower variance of trajectories.For our future work, we would like to extend the current work to develop the stochastic confidence bound of our control design approach design.
79Lemma 1 We ground our error analysis on the training error of the tuples (x t , u t ) ∈ D and propagate the error to the general state and control tuples (x, u) ∈ X × U.
80The first and the second inequalities are obtained by adding and subtracting the terms f (x t , u t ) and f (x t , u t ), and also using the norm and Lipschitz constant properties.If we define E(x t , u t , x, u) as the right hand side of the second inequality, then max where x t+1 = f (x t , û(x t )), xt+1 = f (x t , û(x t )), x t+1 = f (x t , û(x t )), and x t+1 = f (x t , û(x t )).The inequality holds due to addition and subtraction of proper terms and norm properties.The inequality can be further simplified using the Frobenius norm of the contraction metric Θ.Since, by assumption, the entries of the contraction metric are bounded by γ, we have Θ(x) F ≤ nγ.Having an upper bound estimate of the Lipschitz constant of entries of the contraction metric L Θij and recalling that (x t+1 − x t+1 ) ≤ ε from Lemma 1, leads to the result
81Θij .In addition, using the estimated Lipschitz constant L f −f , we have that ((
82. Now, using the Lipschitz constant of u(x) as L u , we have that ((x t+1 −x t+1 )−(x t+1 −x t+1 )) ≤ L f −f λ(1+L u ).Finally, we can write the following inequality: which concludes the proof.
Figure 1 :
83Figure 1: The schematic of two neighboring trajectories that exhibit contraction.The distance between the trajectories decreases over time: δxt+1 < δxt , i.e. trajectories converge.
Figure 2 :
84Figure 2: We sample a small displacement ∆xt around the data point xt to augment an auxiliary point xt = xt + ∆xt to our data set.Then, we propagate the auxiliary state xt and the actual state xt through our learned dynamics model f under feedback control law u(xt) to calculate the next states:x t+1 and x t+1 , respectively.Finally, we require that the weighted distance between the two states decreases over time as stated in condition(11).
Figure 3 :
85Figure 3: Norm of the tracking error over a collection of 256 initial states for the 2D car problem (left) and the 3D drone problem (middle).The y axis is shown on a logarithmic scale and results capture the mean plus and minus one standard deviation.We see that the additional complexity of the 3D drone over the 2D car model allows for greater variation in algorithm performance.Norm of the average final tracking error versus the norm of the initial tracking error (right).As the initial states approach the boundary of the region of interest, controller performance tends to degrade.
Figure 4 :
86Figure 4: Angular position and angular velocity of the double pendulum system.The controlled learned model and controlled true dynamics are shown.Results are shown for two different sets of initial conditions
(Proposition 2
87x,u)∈X ×U min (xt,ut)∈D E(x t , u t , x, u) ≤ ε where ε = max (xt,xt+1,ut)∈D x t+1 − f (x t , u t ) + L f −f D,which concludes the proof.We want to derive a sufficient condition which ensures that contraction condition(11) holds for the true dynamics model.Using the learned dynamics model, the left-hand side of (11) for x t ∈ X can be bounded for the true dynamics asΘ(x t+1 )(x t+1 − x t+1 ) − Θ(x t )∆x t ≤ Θ(x t+1 )(x t+1 − x t+1 ) − Θ(x t )∆x t + ( Θ(x t+1 ) − Θ(x t+1 ))(x t+1 − x t+1 ) + Θ(x t+1 )((x t+1 − x t+1 ) − (x t+1 − x t+1 )) + ( Θ(x t+1 ) − Θ(x t+1 ))((x t+1 − x t+1 ) − (x t+1 − x t+1 )) ,
88Data set: (x t , x t+1 , u t ) ∈ D Calculate x k 's using Y and f (x t , u(x t ; w f ))Calculate L tr (w u ) using x 0 ∈ Y and x k 's
Table 1 :
89Tracking Error Norm RMSE, 3D Drone
90*N/A * * Values of N/A represent cases where sufficiently stabilizing controllers were not generated.
91Θij .With Lipschitz constant L C , we can derive an upper bound forC f (xt,û(xt)) (x, ∆x t ), x t ∈ X and ∆x t ∈ ∆ t , such that C f (x,û(x)) (x t , ∆x t ) < ζ where ζ = max x∈X min xt∈D C f (xt,û(xt)) (x t , ∆x t ) + L C x t − x .Finally by taking the expectation on Equation (18), we getE ∆xt Θ(x t+1 )(x t+1 − x t+1 ) − Θ(x t )∆x t ≤ ζ + λ(ετ L f u + (ετ + nγ)L f −f (1 + L u ))
92where τ = ij L 2
참고문헌 34건
- A numerical analysis of chaos in the double pendulum Chaos Solitons & Fractals · Elsevier BV · 2005 10.1016/j.chaos.2005.08.032
- Estimation of the Lipschitz constant of a function Journal of Global Optimization · Springer Science+Business Media · 1996 10.1007/bf00229304
- Synthesis and stabilization of complex behaviors through online trajectory optimization 2012 10.1109/iros.2012.6386025
- Learning Stable Nonlinear Dynamical Systems With Gaussian Mixture Models IEEE Transactions on Robotics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tro.2011.2159412
- Contraction Analysis of Nonlinear Systems 1999
- Improving Multi-Step Prediction of Learned Time Series Models Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2015 10.1609/aaai.v29i1.9590
- LQR-trees: Feedback motion planning on sparse randomized trees 2009 10.15607/rss.2009.v.003
- Safe Sequential Path Planning of Multi-Vehicle Systems Under Presence of Disturbances and Imperfect Information. arXiv (Cornell University) · Cornell University · 2016
- FaSTrack: A modular framework for fast and guaranteed safe motion planning 2017 101109cdc20178263867
- Robust online motion planning via contraction theory and convex optimization 2017 10.1109/icra.2017.7989693
- Learning Stable Stochastic Nonlinear Dynamical Systems International Conference on Machine Learning · 2017
- Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1801.01290
- Episodic Learning with Control Lyapunov Functions for Uncertain Robotic Systems 2019 10.1109/iros40897.2019.8967820
- Model-Based Reinforcement Learning for Atari arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1903.00374
- Funnel libraries for real-time robust feedback motion planning The International Journal of Robotics Research · SAGE Publishing · 2017 10.1177/0278364917712421
- Towards Provably Not-At-Fault Control of Autonomous Robots in Arbitrary Dynamic Environments 2019 10.15607/rss.2019.xv.051
- Learning for Safety-Critical Control with Control Barrier Functions arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1912.10099
- Learning Stable Deep Dynamics Models arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2001.06116
- Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2005.01643
- Learning Stabilizable Dynamical Systems via Control Contraction Metrics EasyChair preprint · 2019 10.29007/jz9w
- MOPO: Model-based Offline Policy Optimization arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2005.13239
- Conservative Q-Learning for Offline Reinforcement Learning arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2006.04779
- Deep learning controller for nonlinear system based on Lyapunov stability criterion Neural Computing and Applications · Springer Science+Business Media · 2020 10.1007/s00521-020-05077-1
- Reinforcement Learning for Safety-Critical Control under Model Uncertainty, using Control Lyapunov Functions and Control Barrier Functions 2020 10.15607/rss.2020.xvi.088
- Learning Stability Certificates from Data arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2008.05952
- Learning Certified Control using Contraction Metric arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2011.12569
- Learning Control Barrier Functions from Expert Demonstrations 2021 60th IEEE Conference on Decision and Control (CDC) · 2020 10.1109/cdc42340.2020.9303785
- Planning With Learned Dynamics: Probabilistic Guarantees on Safety and Reachability via Lipschitz Constants IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2021 10.1109/lra.2021.3068889
- Learning lyapunov functions for hybrid systems 2021 10.1145/3447928.3456644
- Learning-based Robust Motion Planning With Guaranteed Stability: A Contraction Theory Approach IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2021 10.1109/lra.2021.3091019
- Contraction theory for nonlinear stability analysis and learning-based control: A tutorial overview Annual Reviews in Control · Elsevier BV · 2021 10.1016/j.arcontrol.2021.10.001
- Model-based Reinforcement Learning: A Survey arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2006.16712
- The Lyapunov Neural Network: Adaptive Stability Certification for Safe\n Learning of Dynamical Systems arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1808.00924
- Safe Model-based Reinforcement Learning with Stability Guarantees arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1705.08551