iccv2019论文全集9205-certainty-equivalence-is-efficient-for-linear-quadratic-control_第1页
iccv2019论文全集9205-certainty-equivalence-is-efficient-for-linear-quadratic-control_第2页
iccv2019论文全集9205-certainty-equivalence-is-efficient-for-linear-quadratic-control_第3页
iccv2019论文全集9205-certainty-equivalence-is-efficient-for-linear-quadratic-control_第4页
iccv2019论文全集9205-certainty-equivalence-is-efficient-for-linear-quadratic-control_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Certainty Equivalence is Effi cient for Linear Quadratic Control Horia Mania University of California, Berkeley Stephen Tu University of California, Berkeley Benjamin Recht University of California, Berkeley Abstract Westudytheperformanceof

2、thecertaintyequivalentcontroller onLinearQuadratic (LQ) control problems with unknown transition dynamics. We show that for both the fully and partially observed settings, the sub-optimality gap between the cost incurred by playing the certainty equivalent controller on the true system and the cost

3、incurred by using the optimal LQ controller enjoys a fast statistical rate, scaling as the square of the parameter error. To the best of our knowledge, our result is the fi rst sub-optimality guarantee in the partially observed Linear Quadratic Gaussian (LQG) setting. Furthermore, in the fully obser

4、ved Linear Quadratic Regulator (LQR), our result improves upon recent work by Dean et al.11, who present an algorithm achieving a sub-optimality gap linear in the parameter error. A key part of our analysis relies on perturbation bounds for discrete Riccati equations. We provide two new perturbation

5、 bounds, one that expands on an existing result from Konstantinov et al. 25, and another based on a new elementary proof strategy. 1Introduction One of the most straightforward methods for controlling a dynamical system with unknown transitions is based on the certainty equivalence principle: a mode

6、l of the system is fi t by observing its time evolution, and a control policy is then designed by treating the fi tted model as the truth 6. Despite the simplicity of this method, it is challenging to guarantee its effi ciency because small modeling errors may propagate to large, undesirable behavio

7、rs on long time horizons. As a result, most work on controlling systems with unknown dynamics has explicitly incorporated robustness against model uncertainty 11, 12, 23, 30, 41, 42. In this work, we show that for the standard baseline of controlling an unknown linear dynamical system with a quadrat

8、ic objective function known as Linear Quadratic (LQ) control, certainty equivalent control synthesis achieves better cost than prior methods that account for model uncertainty. Our results hold for both the fully observed Linear Quadratic Regulator (LQR) and the partially observed Linear Quadratic G

9、aussian (LQG) setting. For offl ine control, where one collects some data and then designs a fi xed control policy to be run on an infi nite time horizon, we show that the gap between the performance of the certainty equivalent controller and the optimal control policy scales quadratically with the

10、error in the model parameters for both LQR and LQG. To the best of our knowledge, we provide the fi rst sub-optimality guarantee for LQG. Moreover, in the LQR setting our work improves upon the recent result of Dean et al.11, who present an algorithm that achieves a sub-optimality gap linear in the

11、parameter error. In the case of online LQR control, where one 33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada. adaptively improves the control policy as new data comes in, our offl ine result implies that a simple, polynomial time algorithm using -greedy ex

12、ploration suffi ces for nearly optimal e O(pT) regret. 2Main Results for the Linear Quadratic Regulator An instance of the linear quadratic regulator (LQR) is defi ned by four matrices: two matrices A?2 RnnandB?2 Rnd that defi ne the linear dynamics and two positive semidefi nite matrices Q 2 Rnnand

13、R 2 Rdd that defi ne the cost function. Given these matrices, the goal of LQR is to solve the optimization problem min u0,u1,. lim T!1 E 1 T T X t=0 x t Qxt+ u t Rut # s.t. xt+1= A?xt+ B?ut+ wt,(1) wherext,utandwtdenote the state, input (or action), and noise at timet, respectively. The expectation

14、is over the initial statex0 N(0,In)and the i.i.d. noisewt N(0,?2 wIn). When the problem parameters(A?,B?,Q,R)are known the optimal policy is given by linear feedback, ut= K?xt, whereK?= ?(R + B ?P?B?)?1B?P?A?whereP? is the (positive defi nite) solution to the discrete Riccati equation P?= A ?P?A? A

15、?P?B?(R + B ?P?B?) ?1B ?P?A?+ Q (2) and can be computed effi ciently 4, see e.g. Problem(1) considers an average cost over an infi nite horizon. The optimal controller for the fi nite horizon variant is also static and linear, but time-varying. The LQR solution in this case can be computed effi cien

16、tly via dynamic programming. In this work we are interested in the control of a linear dynamical system with unknown transition parameters(A?,B?)based on estimates(bA, b B). The cost matricesQandRare assumed known. We analyze the certainty equivalence approach: use the estimates(bA, b B)to solve the

17、 optimization problem(1)while disregarding the modeling error, and use the resulting controller on the true system (A?,B?). We interchangeably refer to the resulting policy as the certainty equivalent controller or, following Dean et al.11, the nominal controller. We denote by b Pthe solution to the

18、 Riccati equation(2)associated with the parameters(bA, b B)and let b Kbe the corresponding controller. We denote byJ(A,B,K)the cost(1)obtained by using the actionsut= Kxton the system(A,B), and we use b J and J?to denote J(A?,B?, b K) and J(A?,B?,K?), respectively. Let ? 0such thatkA? b Ak andkB? b

19、Bk . (Here and throughout this work we usekkto denote the Euclidean norm for vectors as well as the spectral (operator) norm for matrices.) Dean et al. 11introduced a robust controller that achieves b J ? J? C1(A?,B?,Q,R)for some complexity termC1(A?,B?,Q,R)that depends on the problem parameters. We

20、 show that the nominal controller ut= b Kxtachieves b J ? J? C2(A?,B?,Q,R)2. Both results require to be suffi ciently small (as a function of the problem parameters) and it is important to note thatmust be much smaller for the nominal controller to be guaranteed to stabilize the system than for the

21、robust controller proposed by Dean et al.11. However, our result shows that once the estimation erroris small enough, the nominal controller performs better: the sub-optimality gap scales asO(2)versusO(). Both the more stringent requirement onand better performance of nominal control compared to rob

22、ust control, when the estimation error is suffi ciently small, were observed empirically by Dean et al.11. Before we can formally state our result we need to introduce a few more concepts and assumptions. It is common to assume that the cost matricesQandR are positive defi nite. Under an additional

23、observability assumption, this condition can be relaxed to Q being positive semidefi nite. Assumption 1.The cost matricesQandR are positive defi nite. Since scaling bothQandRdoes not change the optimal controllerK?, we can assume without loss of generality that?(R) ? 1, where ?() denotes the minimum

24、 singular value. A square matrixMis stable if its spectral radius(M)is (strictly) smaller than one. Recall that the spectral radius is defi ned as(M) = max|?| : ? is an eigenvalue of M. A linear dynamical system(A,B)in feedback withKis fully described by the closed loop matrixA + BK. More precisely,

25、 in this casext+1= (A + BK)xt+ wt. For a static linear controllerut= Kxtto achieve fi nite LQR cost it is necessary and suffi cient that the closed loop matrix is stable. 2 In order to quantify the growth or decay of powers of a square matrix M, we defi ne (M,) := sup ?kMkk?k : k ? 0 .(3) In other w

26、ords,(M,)is the smallest value such thatkMkk (M,)kfor allk ? 0. We note that(M,) might be infi nite, depending on the value of, and it is always greater or equal than one. Ifis larger than(M) , we are guaranteed to have a fi nite(M,)(this is a consequence of Gelfands formula). In particular, ifMis a

27、 stable matrix, we can choose 0such that(L?) ? 0such that kbA ? A?k andkbB ? B?k and assumekbP ? P?k f()for some functionfsuch that f() ? . Then, under Assumption 1 the certainty equivalent controller ut= b Kxtachieves b J ? J? 200?2 wd? 9 ? (L?,?)2 1 ? ?2 f()2,(4) as long as f() is small enough so

28、that the right hand side is smaller than ?2 w. In Section 4 we present two upper boundsf()onkbP ? P?k: one based on a proof technique proposed by Konstantinov et al.25and one based on our direct approach. Both of these upper bounds satisfyf() = O()for suffi ciently small. For simplicity, in this sec

29、tion we only specialize our meta-theorem (Theorem 1) using the perturbation result from our direct approach. To state a specialization of Theorem 1 we need a few more concepts. A linear system(A,B)is called controllable when the controllability matrix B ABA2B.An?1Bhas full row rank. Controllability

30、is a fundamental concept in control theory; it states that there exists a sequence of inputs to the system(A,B) that moves it from any starting state to any fi nal state in at mostnsteps. In this work we quantify how controllable a linear system is. We denote, for any integer ? 1, the matrixC:= B AB

31、.A?1Band call the system(,)-controllable if then-th singular value ofCis greater or equal than, i.e.?(C) = q ?min ?C C ? ? . Intuitively, the largeris, the less control effort is needed to move the system between two different states. Assumption 2. We assume the unknown system (A?,B?) is (,)-control

32、lable, with 0. Assumption 2 was used in a different context by Cohen et al.9. For any controllable system and any ? nthere exists 0such that the system is(,)-controllable. Therefore,(,)-controllability is really not much stronger of an assumption than controllability. Asgrows minimum singular value

33、?(C)also grows and therefore a largercan be chosen so that the system is still(,)controllable. Note that controllability is not necessary for LQR to have a well-defi ned solution: the weaker requirement is that of stabilizability, in which there exists a feedback matrixKso thatA?+ B?Kis stable. The

34、result of Dean et al.11only requires stabilizability. While our upper bound onkbP ?P?k requires controllability, the result of Konstantinov et al.25only requires stabilizability. However, our upper bound onkbP ? P?kis sharper for some classes of systems (see Section 4). A direct plug in of our pertu

35、rbation result, presented in Section 4, into Theorem 1 yields the following guarantee. Theorem 2.Suppose thatd n. Letand?be two real values such that(A?) and (L?) ? 0such thatkbA ? A?k andkbB ? B?k and defi ne ? = max1,(A?,) + . Under Assumptions 1 and 2, the certainty equivalent controller ut= b Kx

36、t satisfi es the suboptimality gap b J ? J? O(1)?2 wd 5?15 ? (A?,)6?4(?1) (L?,?)2 1 ? ?2 maxkQk2,kRk2 min?(Q)2,?(R)2 1 + 1 2 2, (5) as long as the right hand side is smaller than ?2 w. Here, O(1) denotes a universal constant. 3 The exact form of Equation 5, such as the polynomial dependence on,?, et

37、c, can be improved at the expense of conciseness of the expression. In our proof we optimized for the latter. The factor maxkQk2,kRk2/min ?(Q)2,?(R)2 is the squared condition number of the cost function, a natural quantity in the context of the optimization problem(1) , which can be seen as an infi

38、nite dimensional quadratic program with a linear constraint. The term (L?,?)2 1?2 quantifi es the rate at which the optimal controller drives the state towards zero. Generally speaking, the less stable the optimal closed loop system is, the larger this term becomes. An interesting trade-off arises b

39、etween the factor5?4(?1)(which arises from upper bounding perturbations of powers ofA?on a time interval of length) and the factor(the lower bound on ?(C), which is increasing in . Hence, the parameter should be seen as a free-parameter that can be tuned to minimize the right hand side of (5). Now,

40、we specialize Theorem 2 to a few cases. Case: A?is contractive, i.e. kA?k t Qxt+ u t Rut? TJ?. Abbasi-Yadkori and Szepesvri1study the performance of optimism in the face of uncertainty (OFU) and show that it has e O(pT)regret, which is nearly optimal for this problem formulation. However, the OFU al

41、gorithm requires repeated solutions to a non-convex optimization problem for which no known effi cient algorithm exists. To deal with the computational issues of OFU, Dean et al.12propose to analyze the behavior of- greedy exploration using the suboptimality gap results of Dean et al.11. In the cont

42、ext of continuous control,-greedy exploration refers to the application of the control lawut= (xt,xt?1,.,x0)+t witht N(0,?2 ,tId), whereis the policy, updated in epochs, and?2,tis the variance of the exploration noise. Dean et al.12set the variance of the exploration noise as?2 ,t t?1/3, and show th

43、at their method achieves e O(T2/3)regret. They use epochs of size2iand decompose the regret roughly asRegret(T) = O T(bJ ? J?) + T?2 ,T . Since the estimation error of the model parameters scales asO(?,T pT)?1), and since the suboptimality gap b J ? J?of the robust controller is linear in the estima

44、tion error, we haveRegret(T) = O p T ?,T + T?2 ,T . Then, setting ?2 ,t t?1/3balances these two terms and yields e O(T2/3)regret. However, Theorem 2, which states that the gap b J ? J?for the nominal controller depends quadratically on the estimation rate, implies that online certainty equivalent co

45、ntrol achievesRegret(T) = O 1 ?2 ,T + T?2 ,T . Here, the optimal variance of the exploration noise scales as?2 ,t t?1/2, yielding e O(pT)regret. We note that the observation that certainty equivalence coupled with-greedy exploration achieves e O(pT)regret was fi rst made by Faradonbeh et al. 16. Cor

46、ollary 1.(Informal)-greedy exploration with exploration schedule?2 ,t t?1/2combined with certainty equivalent control yields an adaptive LQR algorithm with regret bounded as e O(pT). 3Main Results for the Linear Quadratic Gaussian Problem Now we consider partially observable systems. In this case th

47、e system dynamics have the form: xt+1= A?xt+ B?ut+ wt, wt N(0,?2 wI) , (7a) yt= C?xt+ vt, vt N(0,?2 vI) . (7b) In (7), only the output process yt is observed. The LQG problem is defi ned as1: min u0,u1,. lim T!1 E 1 T T X t=0 y t Qyt+ u t Rut # s.t. (7a),(7b) .(8) 1 Note that many texts defi ne the

48、LQG cost in terms ofxT tQxtinstead ofy T tQyt. We choose the latter because we do not want the cost to be tied to a particular (unknown) state representation. 5 Here, the inpututis allowed to depend on the history2Ht:= (u0,.,ut?1,y0,.,yt?1). The opti- mal solution to(8)is to setut= K?b xt, withK?the

49、 optimal LQR solution to(A?,B?,CT ?QC?,R) and b xt:= Ext|Ht. The MSE estimate b xt can be solved effi ciently via Kalman fi ltering: b xt+1= A?b xt+ B?ut+ L?(yt? C?b xt) , (9a) L?= ?A?CT ?(C?C T ? + V )?1,(9b) ?= A?AT ? + ?2 wI ? A?C T ?(C?C T ? + ?2 vI) ?1C?AT ? .(9c) There is an inherent ambiguity

50、 in the dynamics(7a)-(7b)which makes LQG more delicate than LQR. In particular, for any invertibleT, the LQG problem(8)with parameters(A?,B?,C?,Q,R)is equivalent to the LQG problem with parameters(TA?T?1,TB?,C?T?1,Q,R)and appropriately rescaled noise processes. To deal with this ambiguity, we assume

51、 that we have estimates(bA, b B, b C,bL) such that there exists an unitary T such that: maxkbA ? TA?T?1k,kbB ? TB?k,kbC ? C?T?1k,kbL ? TL?k .(10) Recent work 32,35,38 has shown how to obtain this style of estimates with guarantees from input/output data. As in Section 2, we assume that the cost matr

52、ices(Q,R)are known. Then, we study the performance of the certainty equivalence controller defi ned by: b xt+1= b Ab xt+ b But+bL(yt? b Cb xt) , ut= b Kb xt, b K = LQR(bA, b B, b CTQbC,R) .(11) Similarly to Theorem 1 for LQR, we state a meta theorem for LQG. Unlike Theorem 1, however, we need a stro

53、nger type of Riccati perturbation guarantee which also allows for perturbation of the Q matrix. Specifi cally, we suppose there exists?0such that for any? ?0and(bA, b B, b Q)with maxkbA ? Ak,kbB ? Bk,kbQ ? Qk ?the solutionsPand b Pof the Riccati equations with parameters (A,B,Q,R) and (bA, b B, b Q,

54、R) satisfy kP ? b Pk f(?) ,(12) for an increasing functionfwithf(?) ? ?.The constant?0and functionfare allowed to depend on the parameters(A,B,Q,R).In Section 4, we present a perturbation bound (Proposition 1) that satisfi es these properties. Similarly to Section 2, we defi ne?:= 1 + maxkA?k,kB?k,k

55、C?k,kK?k,kL?k,kP?k. The following theorem is our main result for LQG. Theorem 3.Suppose that(A?,B?)is stabilizable,(C?,A?)is observable, and that Assumption 1 holds. Letbe an upper bound onkbA ? TA?T?1k,kbB ? TB?k,kbC ? C?T?1k, andkbL ? TL?kfor some unitary transformationT. Suppose that assumption(1

56、2)holds with parameters (TA?T?1,TB?,T?TCT ?QC?T ?1,R) and that is suffi ciently small so that3kC?k+kQk+ ?0 and 1, where := 7?3 ? ?(R)f(3kC?k 2 +kQk+). Let b K be defi ned as in (11), and defi ne N?as N?:= A ?+ B?K? B?K? 0A? L?C? ? ,(13) where the pair(K?,L?) is optimal for the LQG problem defi ned b

57、y(A?,B?,C?,Q,R). Let? 0 be such that(N?) ? 1. Then as long as 1? 20?(N?,?), the interconnection of (11)with(7) using (bA, b B, b C, b K,bL) is stable. Furthermore, the cost J(bA, b B, b C, b K,b L) satisfi es: J(bA, b B, b C, b K,bL) ? J? O(1)max?2 w,? 2 v(tr(C T ?QC?) + tr(R) 6(N?,?) (1 ? ?2)3 ?6 ?

58、 2 . The proof of Theorem 3 appears in Appendix F. We note that such a?exists since(N?) 1; by the stability and observability assumptions in Theorem 3, we have that bothA?+ B?K?and A? L?C?are stable (c.f. Appendix E of Kailath et al.24). Theorem 3 is a meta-theorem showing how perturbation bounds on the solution of Riccati equations translates into suboptimality bounds on the performance of certainty equivalent control. Combining Theorem 3 with Proposition 1, we have the following explicit result, an analogue of Theorem 2 for LQG. To simp

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论