We consider the problem of estimating a stochastic linear time-invariant (LTI) dynamical system from a single trajectory via streaming algorithms. The problem is equivalent to estimating the parameters of vector auto-regressive (VAR) models encountered in time series analysis (Hamilton (2020)). A recent sequence of papers (Faradonbeh et al., 2018; Simchowitz et al., 2018; Sarkar and Rakhlin, 2019) show that ordinary least squares (OLS) regression can be used to provide optimal finite time estimator for the problem. However, such techniques apply for offline setting where the optimal solution of OLS is available apriori. But, in many problems of interest as encountered in reinforcement learning (RL), it is important to estimate the parameters on the go using gradient oracle. This task is challenging since standard methods like SGD might not perform well when using stochastic gradients from correlated data points (Gy\"orfi and Walk, 1996; Nagaraj et al., 2020). In this work, we propose a novel algorithm, SGD with Reverse Experience Replay (SGD-RER), that is inspired by the experience replay (ER) technique popular in the RL literature (Lin, 1992). SGD-RER divides data into small buffers and runs SGD backwards on the data stored in the individual buffers. We show that this algorithm exactly deconstructs the dependency structure and obtains information theoretically optimal guarantees for both parameter error and prediction error for standard problem settings. Thus, we provide the first - to the best of our knowledge - optimal SGD-style algorithm for the classical problem of linear system identification aka VAR model estimation. Our work demonstrates that knowledge of dependency structure can aid us in designing algorithms which can deconstruct the dependencies between samples optimally in an online fashion.
翻译:我们认为,从一个轨迹上通过流动算法来估计一个线性直线时间变化(LTI)动态系统的问题。 问题相当于估计在时间序列分析中遇到的矢量自动递减模型参数( Hamilton (202020年) )。 最近一系列论文( Faradonbeh等人, 2018年; Simchowitz等人, 2018年; Sarkar 和 Rakhlin, 2019年) 表明, 普通最小平方( OLS) 回归可以用来为问题提供最佳的有限时间估算值。 然而, 在离线设置时, OLS 的最佳计算方法将适用于离线设置。 但是, 在加强学习中遇到的很多感兴趣的问题( RL) 。 使用梯度或骨骼计算等标准方法可能表现不好, 因为使用相关数据点( Gy\'orfi 和 Wolk, 1996年; Nagaraj 等人等人, 2020年) 之间, 我们在此工作上建议以新式的R 算、 SGD 和 Revredeal 数据结构显示S 的 Sdeal 的S- trevladeal Sdeal 的 Sdeal 。