We consider the problem of learning linear dynamical systems under adversarial contamination from a single trajectory of length T. While identification of linear dynamical systems itself is well-studied, the problem of robust system identification under adversarial contamination is relatively less explored. In this work, we study the setting where a fraction of the T observations are contaminated by adversarial outliers. We propose different estimators based on relaxations of least-trimmed squares along with an alternating minimization algorithm. Furthermore, we also propose two estimators which exploit the group-sparsity (through penalization/hard-constraints) of the outliers. For the estimator with group-sparse penalty, we derive non-asymptotic error bounds which establish its robustness to outliers. We also show empirically that the proposed estimators work well in practice.
1 INTRODUCTION
Regression is a fundamental problem in machine learning where there exists a set of covariates X⊂Rd, set of labels Y⊂R and a distribution D on X×Y, from which a learner gets (xi,yi)i=1m∼i.i.dD and attempts to learn the underlying model parameters. For instance in the case of linear regression where yi=xi⊤β∗+εi ( εi is noise), minimax error rates for estimating β∗ are now well known even in the high-dimensional regime ( m≪d) (Ye and Zhang, 2010; Raskutti et al., 2011; Lounici et al., 2011).
However, when a fraction of the data (xi,yi)i=1m is contaminated by an adversary, estimating β∗ becomes a more challenging task. This is known as robust regression under adversarial contamination and has been extensively studied in recent years under different models of contamination, e.g., inlier-outlier model (Merad and Gaïffas, 2023a,b), Huber contamination (Balakrishnan et al., 2017) and strong contamination (Liu et al., 2020, 2019). A wide range of methods have been explored, e.g., robust gradient-descent (Merad and Gaïffas, 2023a,b; Liu et al., 2020, 2019; Cherapanamjeri et al., 2020) with gradient estimators using Median-of-Means, Trimmed Mean, robust PCA and SDP formulations; least-trimmed squares estimators (Bhatia et al., 2015, 2017) through hard-thresholding; penalized Huber M-estimators (Pensia et al., 2025; Dalalyan and Thompson, 2019; Sasai and Fujisawa, 2020; Sasai, 2022; Sasai and Fujisawa, 2025; Maurya et al., 2026); other approaches such as least-absolute-deviation (Karmalkar and Price, 2019; Pensia et al., 2025) and Dantzig selectors (Chen et al., 2013).
While the aforementioned works provide strong theoretical results when the clean data is i.i.d, whether they can be extended to the setting where the clean data exhibits dependencies is relatively less understood.
Learning linear dynamical systems (LDS). Let A∗∈Rn×n be an unknown matrix, and consider the LDS1 (with x0=0)
xt+1=A∗xt+ηt+1,t=0,…,T−1,(1.1)
where ηt∼i.i.d.N(0,In) refers to the process noise (the “excitation” of the system). Given the trajectory (xt)t=1T, estimating A∗ is by now a well-studied problem, with many applications arising, e.g., in control systems and reinforcement learning. A key challenge in provably estimating A∗ is the dependencies between the observations (xt)t=1T. It was recently shown (Jedra and Proutiere, 2020; Sarkar and Rakhlin, 2019; Simchowitz et al., 2018; Shirani Faradonbeh et al., 2018)
1Also referred to as VAR (vector autoregressive) model of order 1 in the literature.
that the ordinary least squares (OLS) estimator recovers A∗ with non-asymptotic error bounds (up to log factors) of O(1/T) holding with high probability (w.h.p) when T is suitably large w.r.t n. The results hold under different sets of stability assumptions on A∗, captured through its spectral radius ρ(A∗), such as: strict stability ( ρ(A∗)<1) (Jedra and Proutiere, 2020), the more challenging marginal stability regime ρ(A∗)≤1 (Sarkar and Rakhlin, 2019; Simchowitz et al., 2019), and also for the unstable regime ρ(A∗)>1 (Sarkar and Rakhlin, 2019; Shirani Faradonbeh et al., 2018). Results under different structural assumptions on A∗ also exist, including sparsity (Basu and Michailidis, 2015; Kock and Callot, 2015; Song and Bickel, 2011; Melnyk and Banerjee, 2016), low-rank plus sparsity (Lv et al., 2021; Basu et al., 2019), and general convex constraints (Tyagi and Efimov, 2024). These works show that A∗ can be provably recovered under milder requirements on T w.r.t n as opposed to the unstructured case.
Our setting. In this work, we focus on a setting in which an ϵ-fraction of the states are adversarially contaminated. Formally, the adversary corrupts data residing on a subset S⊂[T] of time-indices, referred to as the set of outliers, with ∣S∣=s=ϵT (with 0<ϵ<1). The goal is to recover an estimate A of A∗∈A using the corrupted data (x~t)t=1T, and ensure it is robust to the corruptions. Here, A⊂Rn×n is a closed, convex set that captures prior structural information about A∗. As discussed in Section 1.2, existing work in this setting for (1.1) is scarce, and typically not focused on the adversarial setting.
1.1 Our contributions
Our contributions are threefold.
In Section 2, we introduce different estimators for jointly estimating A∗ and the set of outliers, each based on a particular continuous relaxation of least-trimmed squares (Rousseeuw, 1984; Rousseeuw and Driessen, 2006). We also provide a simple alternating minimization based meta-algorithm (cf., Algorithm 1) which provides an efficient procedure for solving these relaxations.
In Section 3, we introduce two estimators which exploit the group-sparse nature of the outliers, and amount to minimizing a constrained, weighted least-squares objective with either (i) a ℓ1/ℓ2 group-sparse penalty, or (ii) group-sparse hard constraints. For the former, we obtain non-asymptotic error rates in the Frobenius norm of (up to log-factors)
O(Tk+Tns)
for joint estimation of k-sparse A∗ (with A chosen to be a ℓ1 ball) and the contamination-levels. See Theorem 1 for details.
We provide a through empirical evaluation of the proposed estimators on synthetic examples, which show that they work well in practice.
Our theoretical results hold for an oblivious adversary (Assumption 1), analogous to the inlier-outlier model considered in robust regression: the choice of S is independent of (xt)t=1T. Once S is chosen, the corruptions on t∈S are allowed to be arbitrary – they can even depend on the data in the inlier set Sc. Moreover, A∗ is required to be strictly stable (Assumption 2).
Our error rates are likely near-optimal (up to log factors) if one is also interested in estimating the outliers, but not for estimation rates solely for A∗; see discussion after Theorem 1. To our knowledge, these are the first theoretical results for provably robust estimation of LDSs, under adversarial contamination, from a single trajectory.
1.2 Related work
Existing works for robust estimation of LDSs can be categorized as follows. See Appendix C.2 for more details.
Heavy-tailed covariates or process noise. There exists a substantial recent line of work that provide robust estimators for learning A∗ under (1.1) (or higher-order versions thereof) from a single trajectory, with (ηt)t≥1 assumed to be heavy-tailed (Qiu et al., 2015; Wong et al., 2020; Halder and Michailidis, 2022; Wang and Tsay, 2023; Wang et al., 2024; Dijk and Cho, 2025; Lu et al., 2025). Recently Kanakeri and Mitra (2025) studied this in the setting of multiple i.i.d trajectories of the form (1.1). These works typically provide non-asymptotic error bounds, with Wang and Tsay (2023) providing minimax optimal rates.
Sparse process noise. There exists a line of work that considers learning under (slightly general forms of) (1.1) from a single trajectory, where ηt is either drawn from a sparse adversarial process (Kim and Lavaei, 2026b,a) or involves an additive sparse outlier term (Kim, 2026; Farahmand et al., 2011). The results of Kim and Lavaei (2026b,a) involve non-asymptotic error rates for parameter-recovery while Kim (2026) establish asymptotic normality for their estimator.
Learning from corrupted states. Bhatia et al. (2016) consider a univariate (n=1), higher-order version of (1.1), and assume that the learner observes x~t=xt+θt where θ=[θ1θ2…θT] is sparse. Assuming the outliers are independent of noise 2 they propose a block-sparse hard thresholding algorithm and provide non-asymptotic rates. The work of Kanakeri and Mitra (2025) discussed earlier, further shows (for the strong contamination adversarial model) that if an ϵ-fraction of the trajectories are corrupted, then their estimator still recovers A∗ up to a small error (w.r.t operator norm). Their theoretical result for this adversarial setting, and even their algorithm, does not apply to the single trajectory setting considered in our work. Wong (2017) considers a higher-order version (1.1). Assuming that the learner observes x~t=xt+wt where (wt)t≥1 are i.i.d centered Gaussians (with known covariance), they establish non-asymptotic recovery guarantees for the penalized lasso. Finally, we note that a line of work has considered the setting where x~t is formed by independently sub-sampling the entries of xt (with missing entries set to zero), where (xt)t=1T is generated from (1.1). Non-asymptotic error bounds are known for different structural assumptions on A∗ (under strict stability), e.g., sparsity and low-rankness (Rao et al., 2016, 2017b; Dalle and Castro, 2025; Jalali and Willett, 2018; Wong, 2017). Rao et al. (2017a) consider the setting where x~t is formed by taking compressive linear measurements of xt (at each t), and study the limits of covariance-based estimation.
1.3 Notation
Let x∈Rn be a vector and B,A∈Rn1×n2 be matrices. For i,j∈[n1]×[n2] let Ai,:∈R1×n2 be the i-th row, A:,j∈Rn1 be the j-th column and Aij be the (i,j)-th entry of A. ∥x∥p denotes the standard ℓp norm and ∥A∥2 and ∥A∥F denotes the spectral norm and the Frobenius norm of A respectively. For integers p,q≥1, recall the (mixed) entry-wise Lp,q norm
∥A∥p,q:=(j=1∑n2∥A:,j∥pq)1/q.
Furthermore, we denote ∥A∥2,0:=∑j∈[n2]1{∥A:,j∥2>0} where 1{E} denotes the indicator variable for event E. Note that ∥⋅∥2,0 is not a norm. The inner product of B,A is defined as ⟨B,A⟩=Tr(B⊤A), and vec(A)∈Rn1n2 denotes the vector formed by stacking the columns of A. The all-ones vector in Rn is denoted by 1n. For matrices in Rn×n, we denote the unit Frobenius sphere by Sn, the unit Frobenius ball by Bn, and the identity matrix by In. The Kronecker product is denoted by ⊗.
As far as possible, calligraphic letters are reserved for sets. The normal distribution with mean μ and covariance Σ is denoted by N(μ,Σ). For a,b>0, we write a≲b if there exists a constant C>0 such that a≤Cb. If a≲b and a≳b, then we write a≍b. The values of symbols used for denoting constants (e.g., c,C etc.) may change from line-to-line.
2 ROBUST ESTIMATORS BASED ON LEAST-TRIMMED SQUARES
Consider the linear dynamical process given in equation (1.1) and the contamination process where s observations are contaminated. Recall that (x~t)t=1T denotes the contaminated observations. Denoting
zt∗=1{t∈S},
consider the following A-constrained least squares problem for estimating A∗.
A∈Amint=1∑T−1zt∗zt+1∗x~t+1−Ax~t22.
The above objective function only considers summands where both x~t+1 and x~t are uncontaminated, thus filtering out the effects of contaminated entries. Of course, (zt∗)t=1T is not known as S is unknown, and what is known is that ∑t=1Tzt∗=T−s. Hence, a natural approach is to jointly estimate (A∗,(zt∗)t=1T) via the following combinatorial optimization problem.
Remark 1. Note that Problem (P1) is analogous to the least trimmed squares estimator Rousseeuw (1984); Rousseeuw and Driessen (2006) which is known to be robust to strong contamination Bhatia et al. (2015, 2017), in i.i.d. regression. However, unlike the standard least trimmed squares, problem (P1) involves products ztzt+1 and is thus formulated as a quadratic program w.r.t. (zt)t=1T.
Remark 2. We assume s is known a priori, following Diakonikolas et al. (2019, 2023, 2024); Maurya et al. (2026); Pensia et al. (2025).
2this is not stated explicitly but seems to be needed in the proof, e.g., within Appendix B.6
We can rewrite problem (P1) as follows. Given a matrix A∈Rn×n, let Q(A)∈RT×T be defined as follows: for all 1≤t≤T−1, Q(A)t,t+1=Q(A)t+1,t=21∥x~t+1−Ax~t∥22 and Q(A)t,t′=0 for all other t,t′∈[T]. Note that
where z=[z1z2…zT]⊤. Therefore, problem (P1) is equivalent to
A∈A,z∈{0,1}Tminz⊤Q(A)zs.t1T⊤z=T−s.(P2)
Algorithm 1 Meta algorithm for jointly estimating A∗ and (zt∗)t=1T
Require: Initial guess A(0), convergence threshold ϵ, maximum iterations K.
Ensure: Final estimates (A,z).
1: k←0
2: repeat
3: Step 1: Update z
4: Given A(k) solve a relaxed formulation (cf., (P3), (P6), (P4) and (P5)) to obtain z~.
5: Round z~ using (2.1) to obtain z(k+1)∈{0,1}T.
6: Step 2: Update A
7: Given z(k+1), solve (P2) to find A(k+1).
8: k←k+1
9: until ∥A(k−1)∥F∥A(k)−A(k−1)∥F≤ϵ or k≥K
10: return A=A(k), z=z(k)
Overview of relaxations of (P2) Note that problem (P2) is a combinatorial problem w.r.t the binary variables zt's. In order to circumvent this, we next introduce several estimators all of which are essentially obtained by considering different continuous relaxations of {0,1}T.
Sphere relaxation. Using the fact that 1T⊤z=∥z∥22 when z∈{0,1}T, we can relax (P2) as follows. See Appendix D.1 for details.
Note that when A is fixed, (P3) is a variant of the Trust Region Subproblem. Since Q(A) contains only O(T) non-zero values, we can use the Moré-Sorensen algorithm (Moré and Sorensen, 1983) which takes O(n2T+TK) time – here K is the number of iterations needed by the algorithm.
Semi-definite program (SDP) relaxation. Since z⊤Q(A)z=⟨Q(A),zz⊤⟩ we can replace zz⊤ with the p.s.d matrix Y, and use the dual of Shor's relaxation (Boyd and Vandenberghe, 1997) to derive the following relaxation of (P2). See Appendix D.2 for details.
A∈A,Y⪰0,z∈[0,1]Tmin⟨Q(A),Y⟩(P4)
s.t. diag(Y)=z,1T⊤z=T−s and [1zz⊤Y]⪰0.
Note that for a fixed A, (P4) is a SDP and can be solved, e.g. using interior point methods, in time polynomial in T to obtain Y, z. For efficiency, we implement an equivalent Burer-Monteiro method (Burer and Monteiro, 2003) running in O(n2T+TK) time. While the iteration count K lacks theoretical bounds, it remains small in practice.
Bi-convex relaxation. Since the filtering in (P1) is on each ∥x~t+1−Ax~t∥22, instead of using ztzt+1, we could introduce a bt such that bt=1 if and only if ztzt+1=1. It can be shown that this can be represented using a set of linear constraints involving bt, zt and zt+1. Using this, and relaxing the binary constraints on (bt)t=1T−1, (zt)t=1T we can derive the following bi-convex optimization problem (see Appendix D.3 for details).
Note that the objective is bi-convex in A, b while the constraints are convex w.r.t A, b and z. In particular, when A is fixed, (P5) is a linear program w.r.t b, z, and hence can be solved efficiently in practice, e.g. using interior point methods, in time polynomial in n, T.
Convexifying Q(A) to estimate z. For any fixed A, define Q~(A):=Q(A)+α(A)IT where α(A) is chosen so that Q~(A) is p.s.d. It can be easily seen that in the setting where z is binary, this does not change the objective. Now we can replace Q(A) with Q~(A) in (P2), and relax the constraints on z to [0,1]T, to obtain (see Appendix D.4 for details)
z∈[0,1]Tminz⊤Q~(A)zs.t.1T⊤z=T−s.(P6)
Note that (P6) is a convex problem. Moreover, unlike the other relaxations described above, (P6) requires an estimate A of A∗ to be available. Similar to the case of (P5), when A is fixed, (P6) can be solved in time polynomial in n, T.
Note that while the formulations (P3)–(P5) are non-convex, they share a common property: if we fix A∈A then the resulting problem is tractable in the remaining variables, and we can solve for z∈{0,1}. On the other hand, if we fix z∈{0,1}, then we can solve the ensuing A-constrained least-squares problem in (P2) to estimate A∗. This motivates the alternating minimization based meta algorithm described in Algorithm 1 to find estimates (A~,(zt)t=1).
Remark 3. The convergence of Algorithm 1 will depend on the initialization A(0). Since the relaxations considered are all non-convex, while a choice of A(0) within a small neighborhood of the ground-truth might lead to convergence, its unclear whether this holds for any random initialization. In practice, a potential choice of A(0) is to solve the A-constrained least squares problem on the contaminated data – our experiments follow this strategy.
Remark 4. Suppose we fix z∈{0,1}T. Then (P3) is essentially just A-constrained weighted least squares which is the same as solving (P2) (with fixed z). For (P5), we can replace bt with ztzt+1 (which is what the envelope constraints would be doing) and therefore, it reduces to solving (P2) with fixed z. For (P4) if we set Y=zz⊤, then ⟨Q(A),Y⟩=z⊤Q(A)z which for fixed z is the same as (P2). Solving (P2) over A takes O(n2T+n3) time for A=Rn×n, and O(n2T+n3K) for A={A∈Rn×n:∥A∥1,1≤∥A∗∥1,1} (with K iterations of the FISTA algorithm (Beck and Teboulle, 2009)).
Rounding procedure. For rounding z~∈RT in Algorithm 1, we use the following procedure.
where zˉ∈{0,1}T is the rounded solution. Note that this can be computed in O(TlogT) time per iteration.
3 ROBUST LEARNING USING GROUP-SPARSE LASSO
Consider the linear dynamical system defined in (1.1) and recall that S⊂[T] is the set of outliers. For each t∈S, the adversary corrupts xt to obtain x~t. Let θt∗=x~t−xt and note that θt∗=0 for all t∈Sc. Furthermore,
Furthermore, we also have U∗=Θˉ∗−A∗Θ∗ where as seen above, ∥U∗∥2,0≤2s.
Note that since we do not have any assumptions on the magnitude of the outliers, they can be potentially unbounded. To handle this, we use a filtering procedure that removes a pair (x~t,x~t+1) if either ∥x~t∥∞ or ∥x~t+1∥∞ is large. Formally, we introduce a diagonal matrix D∈R(T−1)×(T−1) with Dt denoting the t-th diagonal entry of D. Dt represents the weight on the term ∥x~t+1−Ax~t∥22. In this work, we set
Dt=1{∥x~t+1∥∞≤rand∥x~t∥∞≤r}
for some parameter r (which will be specified in the analysis).
Remark 5. In this work, we consider one of the simplest forms of filtering (with D). In the i.i.d. robust regression setting, works such as Sasai and Fujisawa (2025); Pensia et al. (2025) use more sophisticated approaches, including iterative filtering and weight learning. Extending these to the VAR setting is not straightforward as the dependence between data would break the concentration arguments underlying their analyses.
Given this, we can now introduce our two estimators for jointly estimating A∗ and U∗, both based on exploiting the block-sparse 3 nature of U∗.
Least squares with ℓ1/ℓ2 block-sparse penalization. Denoting U=[u1u2…uT−1]∈Rn×(T−1), the first estimator solves the block-sparse penalized least squares problem
Since A is convex, then (P7) is a convex program which can be solved efficiently in practice.
Least squares with block-sparse hard constraints. Since ∥U∗∥2,0≤2s, we can replace the penalty in (P7) with a hard constraint to obtain,
(A,U)∈U:∥U∥2,0≤2sargmin21(Yˉ−AY)D−UF2.(P8)
As will be seen shortly, our main theoretical result (Theorem 1) is for (P7) for sparse A∗ and with
A={A∈Rn×n:∥A∥1,1≤∥A∗∥1,1}.(3.1)
Remark 6. The estimator (P7) is analogous to the penalized lasso that has been well-studied for robust sparse regression with i.i.d inliers (e.g., Dalalyan and Thompson (2019); Sasai and Fujisawa (2020); Chen et al. (2013)).
Remark 7. In the experiments, where we focus on A as in (3.1), we solve (P7) via a combination of block coordinate descent and constrained weighted least squares via alternating minimization in O((n2T+n3K)K) time for K iterations (where K is small in practice). (P8) is solved via alternating minimization. Indeed, when A is fixed then U can be solved for exactly by picking the columns of (Yˉ−AY)D with the largest ℓ2 norms, which can be computed in O(nTlogT) time by computing the norms and sorting. When U is fixed, we revert to A-constrained weighted least squares which can be solved efficiently (as described above) in O(n2T+n3K) time (see Remark 4 for specifics on K).
Theorem 1 relies on the following assumptions.
Assumption 1 (Adversary). The adversary first partitions [T]=S∪Sc where the choice of S is oblivious to the data (xt)t=1T. The data corresponding to time-indices in S are then corrupted in an arbitrary manner, no assumption is made in this regard.
Assumption 2 (Stability of A∗). The quantity J(A∗):=∑i=0∞∥(A∗)i∥2 is finite.
The adversarial model in Assumption 1 is similar to the inlier-outlier model that is well-studied in the robust-regression literature (with the clean observations being i.i.d) (see e.g., Merad and Gaiffas (2023b,a)). The term J(A∗) in Assumption (2) was considered in Jedra and Proutiere (2020) for analyzing the OLS estimator. If ρ(A∗)<1 then it can be shown that J(A∗) is finite, although it can grown with n. If ∥A∗∥2<1, a direct calculation shows J(A∗)≤(1−∥A∗∥2)−1. Furthermore, if there exist constants C>0 and β∈(0,1) such that ∥(A∗)i∥2≤Cβi holds for all integers i≥1, then J(A∗)≤1+1−βCβ. This latter condition is referred to as (C,β)-stability in the literature (cf., (Ziemann and Tu, 2022, Def. 6.2)).
We then obtain the following theorem.
Theorem 1. Under Assumptions 1 and 2, let A∗ be k-sparse and A be as in (3.1). There exist constants c1,c2,c3,c′>1 such that the following is true. Let δ∈(0,1),
which holds when T is suitably large. Since A∗ and U∗ are collectively (k+2ns)-sparse, this rate is likely
3We will use “block” and “sparse” interchangeably.
near optimal (up to log factors) if one is interested in estimating both A∗ and U∗ (this was also noted in (Dalalyan and Thompson, 2019, Section 2) in the i.i.d setting). If only estimating A∗ is of interest then the rate in Theorem 1 is sub-optimal - the s/T factor should be s2/T2 (analogous to the i.i.d setting, cf., Dalalyan and Thompson (2019); Chen et al. (2016); Gao (2020)). A possible approach for proving this would be to adapt the techniques in Dalalyan and Thompson (2019) (based on incoherence and transfer principles) to our setting of dependent inliers. This is quite non-trivial and left as an important direction for future work.
Remark 8. The stated error bound holds for T suitably large. When s≤log(n/δ) then T≳k2log4(n/δ) suffices. If s≥log(n/δ) then T≳k2slognlog2(ns) suffices. This quadratic dependence on k is an artefact of the proof-technique, in particular, with the argument used for showing the restricted lower isometry for the LHS term ∥ΔY′D∥F2 in (B.3).
While the proof of Theorem 1 is available in Appendix B, a sketch is provided below for convenience.
In Lemma 2, using the optimality of A,U and A∗,U∗ we derive the inequality (B.3),
which holds when λ≥2maxt∈{2,…,T}∥ηt∥2. Here ΔA,ΔU,Δ denote the error terms, while Y′ depends on Y (see (B.1)). The set S is the set of time-indices t∈[T−1] for which at least one of t,t+1 lies in S; see (B.2). Thus Sc is contained in the set of inliers Sc.
The choice of λ,r in Theorem 1 is established in Lemma's 3 and 5 respectively, via standard concentration results. In particular, r is obtained by ensuring that w.h.p, ∥xt∥∞≤r for all t∈[T].
In Lemmas 4, and 6 we establish an upper bound for (II). Lemma 4 involves applying Theorem 3 to control supb∈B(r,∣S∣)∣g⊤b∣ for g∼N(0,IT−1). Lemma 6 bounds the tail of an appropriately defined self-normalized martingale using Theorem 4.
To bound (I) we use Lemmas 7 and 8. The proofs of both lemmas involve defining appropriate sets of matrices and applying Theorem 2 (Krahmer et al., 2014, Theorem 3.1).
Combining the bounds for (I) and (II), we obtain after some simplifications the statement of the theorem.
4 EXPERIMENTS
In our experiments, we use the following notation to denote the estimators.
Sphere-AM
Sphere Relaxation.
SDP-AM
Semi-definite program Relaxation.
Biconvex-AM
Bi-convex relaxation.
ConvexQ(A)-AM
Convexifying Q(A) to estimate z.
LS-BSP
LS with block-sparse penalty.
LS-BSHC
LS with block-sparse constraints.
OLS
A-constrained least squares.
Here, LS stands for least squares, and with a slight abuse of notation, we denote A-constrained LS by OLS.
System setup. All experiments were run on a machine with a Intel Core U9-285H (16 cores, 16 threads) and 32GB RAM, running Ubuntu 24.04. The code uses standard Python scientific computing libraries including, numpy, scipy, cvxpy, and pandas. All plots were generated with matplotlib and all random seeds were fixed for reproducibility. Each experiment used 50 parallel worker threads.
Implementation details. For fixed A, Sphere-AM uses the Moré-Sorensen trust-region method (Moré and Sorensen, 1983). SDP-AM is rewritten in an equivalent form with centered variables and solved using Burer-Monteiro method (Burer and Monteiro, 2003). For Biconvex-AM and ConvexQ(A)-AM, the z-update is solved directly with cvxpy. When z is fixed, A is estimated via A-constrained weighted least squares (see Remark 4). For LS-BSP and LS-BSHC, the implementation follows the steps outlined in Remark 7. See Appendix E for more details.
Experimental setup. In all experiments, we consider A∗∈Rn×n with n=50, spectral radius 0.9, and sparsity k=150, and we set A={A∈Rn×n:∥A∥1,1≤∥A∗∥1,1}. For a fixed A∗, we run 20 Monte-Carlo simulations; in each simulation, we generate a sequence (xt)t=0T for a given T by setting x0=0 and using the VAR (1.1). The resulting sequence is then contaminated according to the chosen contamination model. We repeat this process for 20 different matrices A∗ and report the mean recovery error together with its variance. For alternating minimization, initialize A(0) as the minimizer for A-constrained least squares over contaminated data.
(a) ϵ=0
(b) ϵ=0.02
(c) ϵ=0.1
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 1: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for T∈{50,100,200,400,800} with (a) ϵ=0, (b) ϵ=0.02, and (c) ϵ=0.1, under the random heavy-tailed contamination model.
(a) T=100
(b) T=400
(c) T=800
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 2: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for ϵ∈{0,0.01,0.02,0.05,0.1} with (a) T=100, (b) T=400, and (c) T=800, under the random heavy-tailed contamination model.
Let us consider random heavy-tailed contamination, in which outliers drawn from a Cauchy distribution with location and scale both set to 10, are added to indices selected uniformly at random (with probability depending on s). See Appendix E for results for other contamination models.
Frobenius norm error against T. Figure 1 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F, against T∈{50,100,200,400,800}. When ϵ=0, all estimators coincide with OLS and therefore achieve the same error. While Sphere-AM fails to recover A∗ for ϵ>0.02 or T>100, it performs even better than Biconvex-AM when both ϵ and T are small. In the small- ϵ regime, SDP-AM appears to outperform the other estimators with Biconvex-AM approaching the same error as T increases (see Figure 1b). However, when ϵ=0.1, Biconvex-AM outperforms the other estimators, with LS-BSHC achieving comparable performance. The advantage of Biconvex-AM can be attributed to it involving a relatively tighter relaxation of the original problem, which handles filtering both at the level of individual observations and in the interactions between adjacent entries. For all estimators except Sphere-AM and OLS, the error decreases as T increases, although the rate of decrease slows.
Frobenius norm error against ϵ. Figure 2 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F against ϵ∈{0,0.01,0.02,0.05,0.1}. We observe similar behavior across all T∈{100,400,800} with OLS and Sphere-AM showing the highest error. As expected, the error increases with ϵ. While SDP-AM achieves a smaller error in the small- ϵ regime, Biconvex-AM performs best as ϵ increases. Across the range of ϵ considered, LS-BSHC achieves a recovery error comparable to that of Biconvex-AM. Note that while Sphere-AM generally performs comparably to OLS, it outperforms LS-BSHC, LS-BSP and Biconvex-AM when T=100 and ϵ≤0.02, suggesting it may be more suited for small T, ϵ.
AI use statement
We have not used generative AI tools for synthetic-data generation, theoretical or conceptual development, mathematical claims or proofs, hypotheses, research methodology, experiments, dataset cleaning or reformatting, qualitative analysis, or interpretation of results. We did not use generative AI tools for any of the tasks with recommended disclosure, including brainstorming, literature discovery or summarization, drafting or editing text, creating figures, formatting references, or suggesting titles, keywords, or paper structure.
The algorithms and experiments were designed by the authors. Generative AI tools assisted with parts of the implementation, primarily by optimizing and refactoring code. The authors reviewed all AI-assisted code and checked its correctness through testing and by comparing results against expected behavior.
We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.
Acknowledgements
This work was supported by a Nanyang Associate Professorship (NAP) grant from NTU Singapore.
References
Y. Abbasi-yadkori, D. Pál, and C. Szepesvári. Improved algorithms for linear stochastic bandits. In Advances in Neural Information Processing Systems, volume 24, 2011.
A. Bakshi and A. Prasad. Robust linear regression: optimal rates in polynomial time. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2021, page 102–115, 2021.
S. Balakrishnan, S. S. Du, J. Li, and A. Singh. Computationally efficient robust sparse estimation in high dimensions. In Proceedings of the 2017 Conference on Learning Theory, volume 65 of Proceedings of Machine Learning Research, pages 169–212, 2017.
S. Basu and G. Michailidis. Regularized estimation in sparse high-dimensional time series models. The Annals of Statistics, 43(4):1535–1567, 2015.
S. Basu, X. Li, and G. Michailidis. Low rank and structured modeling of high-dimensional vector autoregressions. Trans. Sig. Proc., 67(5):1207–1222, 2019.
A. Beck and M. Teboulle. A fast iterative shrinkage-thresholding algorithm for linear inverse problems.
SIAM Journal on Imaging Sciences, 2(1):183–202, 2009.
K. Bhatia, P. Jain, and P. Kar. Robust regression via hard thresholding. In Proceedings of the 29th International Conference on Neural Information Processing Systems - Volume 1, NIPS'15, page 721–729, 2015.
K. Bhatia, P. Jain, P. Kamalaruban, and P. Kar. Efficient and consistent robust time series analysis. arXiv:1607.00146, 2016.
K. Bhatia, P. Jain, P. Kamalaruban, and P. Kar. Consistent robust regression. In Advances in Neural Information Processing Systems, volume 30, 2017.
N. Boumal, V. Voroninski, and A. S. Bandeira. The non-convex burer–monteiro approach works on smooth semidefinite programs. In Proceedings of the 30th International Conference on Neural Information Processing Systems, page 2765–2773, 2016.
S. Boyd and L. Vandenberghe. Semidefinite Programming Relaxations of Non-Convex Problems in Control and Combinatorial Optimization, pages 279–287. Springer US, 1997.
S. Burer and R. D. Monteiro. A nonlinear programming algorithm for solving semidefinite programs via low-rank factorization. Mathematical Programming, 95(2):329–357, 2003.
M. Chen, C. Gao, and Z. Ren. A general decision theory for Huber's ϵ-contamination model. Electronic Journal of Statistics, 10(2):3752 – 3774, 2016.
Y. Chen, C. Caramanis, and S. Mannor. Robust sparse regression under adversarial corruption. In Proceedings of the 30th International Conference on Machine Learning, volume 28 of Proceedings of Machine Learning Research, pages 774–782, 2013.
Y. Cherapanamjeri, E. Aras, N. Tripuraneni, M. I. Jordan, N. Flammarion, and P. L. Bartlett. Optimal robust linear regression in nearly linear time. arXiv:2007.08137, 2020.
A. Dalalyan and P. Thompson. Outlier-robust estimation of a sparse linear model using \ell1-penalized huber's m-estimator. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
G. Dalle and Y. D. Castro. Minimax estimation of partially-observed vector autoregressions. Electronic Journal of Statistics, 19(1):2364 – 2410, 2025.
I. Diakonikolas, W. Kong, and A. Stewart. Efficient algorithms and lower bounds for robust linear regression. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, page 2745–2754, 2019.
I. Diakonikolas, D. Kane, A. Pensia, and T. Pittas. Near-optimal algorithms for gaussians with huber contamination: Mean estimation and linear regression. Advances in Neural Information Processing Systems, 36:43384–43422, 2023.
I. Diakonikolas, D. M. Kane, S. Karmalkar, A. Pensia, and T. Pittas. Robust sparse estimation for gaussians with optimal error under huber contamination. arXiv:2403.10416, 2024.
D. Dijk and H. Cho. Tail-robust estimation of factor-adjusted vector autoregressive models for high-dimensional time series. arXiv:2509.22235, 2025.
J. Duchi, S. Shalev-Shwartz, Y. Singer, and T. Chandra. Efficient projections onto the 11-ball for learning in high dimensions. In Proceedings of the 25th International Conference on Machine Learning, page 272–279. Association for Computing Machinery, 2008.
S. Farahmand, G. B. Giannakis, and D. Angelosante. Doubly robust smoothing of dynamical processes via outlier sparsity constraints. IEEE Transactions on Signal Processing, 59:4529–4543, 2011.
S. Foucart and H. Rauhut. A Mathematical Introduction to Compressive Sensing. Applied and Numerical Harmonic Analysis. Birkhauser Boston, Secaucus, NJ, 2013.
C. Gao. Robust regression via multivariate regression depth. Bernoulli, 26(2):pp. 1139–1170, 2020.
S. Halder and G. Michailidis. Robust estimation of sparse, high dimensional time series with polynomial tails. arXiv:2211.07558, 2022.
A. Jalali and R. Willett. Sparse transition matrix estimation for sub-gaussian autoregressive processes with missing data. In 2018 Annual American Control Conference (ACC), pages 1881–1886, 2018.
Y. Jedra and A. Proutiere. Finite-time identification of stable linear systems optimality of the least-squares estimator. In 2020 59th IEEE Conference on Decision and Control (CDC), pages 996–1001, 2020.
V. Kanakeri and A. Mitra. Outlier-robust linear system identification under heavy-tailed noise. In Proceedings of the 7th Annual Learning for Dynamics & Control Conference, volume 283 of Proceedings of Machine Learning Research, pages 540–551, 2025.
S. Karmalkar and E. Price. Compressed Sensing with Adversarial Sparse Noise via L1 Regression. In 2nd Symposium on Simplicity in Algorithms (SOSA 2019), volume 69 of Open Access Series in Informatics (OASIcs), pages 19:1–19:19, Dagstuhl, Germany, 2019. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
H. Kim. Essays on Robust Time Series Estimation and Forecasting under Outliers and Fat Tails. PhD thesis, Columbia University, 2026.
J. Kim and J. Lavaei. Huber-based robust system identification with near-optimal guarantees across independent and adversarial regimes. arXiv:2603.27586, 2026a.
J. Kim and J. Lavaei. On the necessity of two-stage estimation for learning dynamical systems under both noise and node-wise attacks. arXiv:2602.07288, 2026b.
A. B. Kock and L. Callot. Oracle inequalities for high dimensional vector autoregressions. Journal of Econometrics, 186(2):325–344, 2015.
F. Krahmer, S. Mendelson, and H. Rauhut. Suprema of chaos processes and the restricted isometry property. Communications on Pure and Applied Mathematics, 67(11):1877–1904, 2014.
B. Laurent and P. Massart. Adaptive estimation of a quadratic functional by model selection. The Annals of Statistics, 28(5):1302 – 1338, 2000.
L. Liu, T. Li, and C. Caramanis. High dimensional robust m-estimation: Arbitrary corruption and heavy tails. arXiv:1901.08237, 2019.
L. Liu, Y. Shen, T. Li, and C. Caramanis. High dimensional robust sparse regression. In Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pages 411–421, 2020.
K. Lounici, M. Pontil, S. van de Geer, and A. B. Tsybakov. Oracle inequalities and optimal inference under group sparsity. The Annals of Statistics, 39(4): 2164–2204, 2011.
Y. Lu, C. Tao, D. Wang, G. S. Uddin, L. Wu, and X. Zhu. Robust estimation for dynamic spatial autoregression models with nearly optimal rates. Journal of Econometrics, 251:106065, 2025.
X. Lv, W. Cui, and Y. Liu. Linear convergence of gradient methods for estimating structured transition matrices in high-dimensional vector autoregressive models. In Advances in Neural Information Processing Systems, volume 34, pages 16751–16763, 2021.
D. Maurya, A. Barik, and J. Honorio. Robust estimation of a sparse linear model: Provable guarantees with non-convexity. In The 29th International Conference on Artificial Intelligence and Statistics, 2026.
I. Melnyk and A. Banerjee. Estimating structured vector autoregressive models. In Proceedings of The 33rd International Conference on Machine Learning, pages 830–839, 2016.
I. Merad and S. Gaiffas. Robust supervised learning with coordinate gradient descent. Statistics and Computing, 33(5), 2023a.
I. Merad and S. Gaiffas. Robust methods for high-dimensional linear learning. J. Mach. Learn. Res., 24(1), 2023b.
S. Minsker, M. Ndaoud, and L. Wang. Robust and tuning-free sparse linear regression via square-root slope. SIAM Journal on Mathematics of Data Science, 6(2):428–453, 2024.
J. J. Moré and D. C. Sorensen. Computing a trust region step. SIAM Journal on Scientific and Statistical Computing, 4(3):553–572, 1983. doi: 10.1137/0904038.
M. Papini, M. Pirotta, and M. Restelli. Smoothing policies and safe policy gradients. Machine Learning, 111(11):4081–4137, 2022.
A. Pensia, V. Jog, and P.-L. Loh. Robust regression with covariate filtering: Heavy tails and adversarial contamination. Journal of the American Statistical Association, 120(550):1002–1013, 2025.
H. Qiu, S. Xu, F. Han, H. Liu, and B. Caffo. Robust estimation of transition matrices in high dimensional heavy-tailed vector autoregressive processes. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1843–1851, 2015.
M. Rao, A. Kipnis, T. Javidi, Y. C. Eldar, and A. Goldsmith. System identification from partial samples: Non-asymptotic analysis. In 2016 IEEE 55th Conference on Decision and Control (CDC), pages 2938–2944, 2016. doi: 10.1109/CDC.2016.7798707.
M. Rao, T. Javidi, Y. C. Eldar, and A. Goldsmith. Fundamental estimation limits in autoregressive processes with compressive measurements. In 2017 IEEE International Symposium on Information Theory (ISIT), pages 2895–2899, 2017a.
M. Rao, T. Javidi, Y. C. Eldar, and A. Goldsmith. Estimation in autoregressive processes with
partial observations. In 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 4212–4216, 2017b. doi:10.1109/ICASSP.2017.7952950.
G. Raskutti, M. J. Wainwright, and B. Yu. Minimax rates of estimation for high-dimensional linear regression over ℓq-balls. IEEE Transactions on Information Theory, 57(10):6976–6994, 2011.
P. J. Rousseeuw. Least median of squares regression. Journal of the American Statistical Association, 79(388):871–880, 1984.
P. J. Rousseeuw and K. Driessen. Computing its regression for large data sets. Data Min. Knowl. Discov., 12(1):29–45, 2006.
T. Sarkar and A. Rakhlin. Near optimal finite time identification of arbitrary linear dynamical systems. In Proceedings of the 36th International Conference on Machine Learning, ICML, volume 97, pages 5610–5618, 2019.
T. Sasai. Robust and sparse estimation of linear regression coefficients with heavy-tailed noises and covariates. arXiv:2206.07594, 2022.
T. Sasai and H. Fujisawa. Robust estimation with lasso when outputs are adversarially contaminated. arXiv:2004.05990, 2020.
T. Sasai and H. Fujisawa. Outlier robust and sparse estimation of linear regression coefficients. Journal of Machine Learning Research, 26(93):1–79, 2025.
M. K. Shirani Faradonbeh, A. Tewari, and G. Michailidis. Finite time identification in unstable linear systems. Automatica, 96:342–353, 2018.
M. Simchowitz, H. Mania, S. Tu, M. I. Jordan, and B. Recht. Learning without mixing: Towards a sharp analysis of linear system identification. In Proceedings of the 31st Conference On Learning Theory, volume 75, pages 439–473, 2018.
M. Simchowitz, R. Boczar, and B. Recht. Learning linear dynamical systems with semi-parametric least squares. In Proceedings of the Thirty-Second Conference on Learning Theory, volume 99, pages 2714–2802, 2019.
S. Song and P. J. Bickel. Large vector auto regressions. arXiv:1106.3915, 2011.
M. Talagrand. The generic chaining. Springer Monographs in Mathematics. Springer, Berlin, Germany, 2005.
M. Talagrand. Upper and lower bounds for stochastic processes, volume 60. Springer, 2014.
H. Tyagi and D. Efimov. Learning linear dynamical systems under convex constraints. arxiv:2303.15121, 2024.
R. Vershynin. High-Dimensional Probability: An Introduction with Applications in Data Science. Number 47 in Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, 2018.
M. J. Wainwright. High-Dimensional Statistics: A Non-Asymptotic Viewpoint. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, 2019.
D. Wang and R. S. Tsay. Rate-optimal robust estimation of high-dimensional vector autoregressive models. The Annals of Statistics, 51(2):846–877, 2023.
Y. Wang, G. Li, Z. Xiao, L. Xu, and W. Zhang. Robust estimation for high-dimensional time series with heavy tails. arXiv:2411.05217, 2024.
K. C. Wong. Lasso Guarantees for Dependent Data. PhD thesis, The University of Michigan, 2017.
K. C. Wong, Z. Li, and A. Tewari. Lasso guarantees for β-mixing heavy-tailed time series. The Annals of Statistics, 48(2):1124 – 1142, 2020.
F. Ye and C.-H. Zhang. Rate minimaxity of the lasso and dantzig selector for the ℓq loss in ℓr balls. Journal of Machine Learning Research, 11(114):3519–3540, 2010.
P. Zhang. Robust Estimation and Inference under Huber's Contamination Model. PhD thesis, University of Pittsburgh, 2023.
I. Ziemann and S. Tu. Learning with little mixing. In Advances in Neural Information Processing Systems, volume 35, pages 4626–4637, 2022.
Table of Contents (Appendix)
A Technical tools 13
B Proof of Theorem 1 15
B.1 Proof of Lemma 2 21
B.2 Proof of Lemma 3 22
B.3 Proof of Lemma 4 22
B.4 Proof of Lemma 5 23
B.5 Proof of Lemma 6 24
B.6 Proof of Lemma 7 25
B.7 Proof of Lemma 8 27
C Detailed overview of related work 29
C.1 Robust regression under adversarial contamination 29
C.2 Robust learning of linear dynamical systems 31
C.2.1 Heavy-tailed covariates or process noise 31
C.3 Sparse process noise 32
C.4 Learning from corrupted states 33
D Robust estimators based on least-trimmed squares 33
D.1 Sphere relaxation 33
D.2 Semi-definite program (SDP) relaxation 34
D.3 Bi-convex relaxation 34
D.4 Convexifying Q(A) to estimate z 35
E Additional experiments 36
E.1 Overview of the implementation 36
E.2 Additional results on synthetic experiments 37
E.2.1 Block burst contamination 37
E.2.2 Sign flip contamination 38
E.2.3 High-leverage contamination 39
A TECHNICAL TOOLS
The proof of Theorem 1 utilizes a number of technical tools which we recall here, starting with the definitions of Talagrand's γα functionals (Talagrand, 2014).
Definition 1 (Talagrand's γα functionals (Talagrand, 2014)). Let (M,d) be a metric space. We define an admissible sequence to be a sequence of subsets of M, (Mr)r≥0, where ∣M0∣=1 and ∣Mr∣≤22r for all r≥1. For any 0<α<∞, the γα function of (M,d) is defined as,
γα(M,d):=infs∈Ssupr=0∑∞2r/αd(s,Mr)
where the inf is over all admissible sequences of M.
It is useful to note that γα satisfies the following properties.
For any two metrics d1 and d2, d1≤c⋅d2⟹γα(M,d1)≤cγα(M,d2) (where c>0).
For M⊆M, γα(S,d)≤cαγα(S,d) where cα>0 is a constant that only depends on α.
If the map f:(M,d1)→(S,d2) is onto, and R-Lipschitz for all x,y∈M, then γα(S,d2)≤cαRγα(M,d1) where cα>0 is a constant that only depends on α.
Property 1 follows from the definition while Properties 2 and 3 were stated in (Talagrand, 2005, Theorem 1.3.6) (with cα=1) for an alternative definition of the γα functional (Talagrand, 2014, Definition 2.2.19) which is equivalent to Definition 1 up to constants depending only on α. See also (Talagrand, 2014, Section 2.3).
For any set P⊂Rn, the Gaussian width of P is defined as (see e.g., Vershynin (2018))
w(P):=E[x∈Psup⟨x,g⟩]forg∼N(0,In).
Recall Talagrand's majorizing measure theorem (Talagrand, 2014, Theorem 2.4.1), which tells us that
γ2(P,∥⋅∥2)≍w(P).(A.1)
Let M be a given set of matrices and denote
d2(M):=M∈Msup∥M∥2,dF(M):=M∈Msup∥M∥F.
Theorem 3.1 of Krahmer et al. (2014) provides a concentration bound for the suprema of second order subgaussian choas process involving positive semidefinite matrices.
Theorem 2 (Theorem 3.1 of Krahmer et al. (2014)). Let M be a set of matrices and η be a vector with independent, zero-mean, R-subgaussian entries with unit variance. Let,
The following theorem taken from (Wainwright, 2019, Chapter 3) is well-known. It shows that Lipschitz and convex functions of independent and bounded random variables concentrate well.
Theorem 3 (Wainwright (2019)). Consider X=(X1,X2,…,Xn) independent random variables with Xi∈[a,b] almost surely. Let f:Rn→R be convex and R-Lipschitz with respect to ∥⋅∥2 norm. Then ∀t≥0
P(∣f(X)−Ef(X)∣≥t)≤2exp(2R2(b−a)2−t2).
The following result taken from (Abbasi-yadkori et al., 2011, Theorem 1) bounds the ℓ2 norm of self-normalized vector-valued martingales.
Theorem 4 ((Abbasi-yadkori et al., 2011, Theorem 1)). Let (Ft)t=1∞ be a filtration. Let (ηt)t=1∞ be a real valued stochastic process such that ηt is Ft measurable, and ηt+1 is R-sub-Gaussian conditioned on Ft. Let (Xt)t=1∞ be a stochastic process where Xt∈Rd is Ft measurable. Let V∈Rn×n be a p.d matrix and for t≥1, denote
Vˉt=V+s=1∑tXsXs⊤andSt=s=1∑tηs+1Xs.
Then for any δ>0, it holds with probability ≥1−δ that for all t≥1,
∥St∥Vˉt−12≤2R2log(δdet(Vˉt)1/2det(V)−1/2)
where ∥St∥Vˉt−1=St⊤(Vˉt−1)St.
We will also use the following tail bound from Laurent and Massart (2000).
Lemma 1 (Lemma 1.1 of Laurent and Massart (2000)). Let X1,X2,…,Xd∼i.i.d.N(0,1) and let μ=(μ1,μ2,…,μd) be a non-negative vector. Define,
will play a crucial role in the analysis for decomposition of the error terms. Note that
∣S∣≤2∣S∣=2sand∣Sc∣=T−1−∣S∣≥T−1−2s.
Moreover Sc⊆Sc, i.e., Sc is contained in the set of inliers, hence x~t=xt for each t∈Sc.
The starting point of the analysis is Lemma 2 below, the proof of which follows from a feasibility-optimality argument and is detailed in Appendix B.1.
In the rest of this section, we will derive upper and lower bounds for the RHS and LHS of (B.3) respectively.
Establishing an upper bound on right-hand side of (B.3). In order to upper bound the RHS of (B.3), we need to control ⟨ΔA,EDY⊤⟩ and λ. We start by showing that maxt∈{2,…,T}∥ηt∥22 is bounded with high probability which we will be used to set λ. For any δ∈(0,1), consider the event
The proof of Lemma 3 follows from applying Lemma 1 on ∥ηt∥2, see Appendix B.2 for details. Setting λ=2λ (where λ=n+(4nlog(δT))1/4+2log(δT)), it follows that on E2, we have that λ≥maxt∈{2,…,T}∥ηt∥2 holds. Given the result on λ, the next step is to bound ⟨ΔA,EDY⊤⟩. Note that,
Now recall the definition of Dt. From the definition, we know that for all t such that Dt=1, ∥x~t∥∞≤r (for some parameter r). Also note that since DSYS⊤ is supported on S (which implies DS has at most S non-zero terms on the diagonal), each column can only have at most S non-zero entries. Therefore, each column of DSYS⊤ is S-sparse with ∥⋅∥∞≤r. Denote
The proof of Lemma 4 follows from observing that EDSYS⊤∞,∞ can be bounded by supb∈B(r,∣S∣)∣g⊤b∣ for g∼N(0,IT−1) using the properties of E and DSYS⊤, followed by establishing an upper bound on supb∈B(r,∣S∣)∣g⊤b∣ using Theorem 3 (Wainwright, 2019, from Chapter 3). See Appendix B.3 for details.
Denote the event
E1b={Dt=1∀t∈Sc}.
We can show that for δ∈(0,1) and r suitably large, E1b holds with probability at least 1−δ.
Lemma 5. There exists a constant c>1 such that for any δ∈(0,1), and r=cJ(A∗)log(δTn), it holds that
P(E1b)≥1−δ.
The proof of Lemma 5 follows from using the structure inherent in the uncontaminated data and using standard concentration bounds. The details are available in Appendix B.4.
Next we establish a high-probability upper bound on EDScYSc⊤∞,∞. To this end, consider the event (for a suitably large constant c1>1)
E1c={EDScYSc⊤∞,∞≤c1rTlog(δn)}.
Lemma 6. For any δ∈(0,1), it holds that
P(E1c)≥1−δ.
The proof of Lemma 6 involves bounding the tails of an appropriately defined self-normalized martingale using Theorem 4, and is provided in Appendix B.5.
Before moving on to the final term ⟨ΔA,EDY⊤⟩ we first observe the following.
Remark 9. Denote K=supp(A∗). Since ∥A∗∥1,1≥∥A∥1,1, we obtain,
Therefore, we can lower bound the ∥ΔY′D∥F2 by lower bounding ∥ΔAYD∥F2 and controlling ⟨ΔAYD,ΔUD⟩. We start off with a lower bound on ∥ΔAYD∥F2. Consider the event
E3={ΔAYDF2≥4TΔAF2}.
Lemma 7. There exists a constant c1>1 such that for any δ∈(0,1), if
T≥4s+c1J4(A∗)log2(δ1)klog(kn2)
then P(E3)≥1−δ.
The proof of Lemma 7 is available in Appendix B.6. It follows from an application of Theorem 2 (Theorem 3.1 of Krahmer et al. (2014)) on an appropriate set of matrices and using the results on the Gaussian width of CK. Next consider ⟨ΔAYD,ΔUD⟩. For δ∈(0,1) and suitably large constants c1,c2>1, consider the event
We refer the reader to the Appendix B.7 for the complete proof of Lemma 8. The proof involves a careful decomposition over S and Sc, and bounding the individual terms using tools recalled in Section A.
We can now establish the final lower bound on ∥ΔY′D∥F2. On E3∩E4,
hold for suitably large constants c1,c2,c3≥1, then T would satisfy (B.5). It is easy to see that if we let, T≥cJ4(A∗)k2log(kn2)⋅max{s,log(δn)}log2(δnT) then (B.5) is ensured. To isolate T, we can let M=cJ2(A∗)klog(kn2)max{s,log(δn)}, so that the aforementioned condition can be rewritten as T≥Mlog(δnT). Using (Papini et al., 2022, Lemma 21), we get that
T≥2Mlog(Mδn)
and taking the square of both sides, we get the sufficient condition
Now consider supb∈B(r,∣S∣)∣g⊤b∣ for g∼N(0,IT−1). We can see that bounding maxi∈[n]supb∈B(r,∣S∣)∣gi⊤b∣ can be achieved by finding an upper bound on supb∈B(r,∣S∣)∣g⊤b∣ and then applying union bound over i∈[n]. To this end, we show that the supremum function in question is Lipschitz and then use concentration bounds for Lipschitz functions of standard i.i.d Gaussian's to achieve the desired bound.
Remark 11. Let f(x)=supb∈B(r,∣S∣)∣x⊤b∣. We can see that f(x) is Lipschitz over R with respect to ∥⋅∥2 norm. This can be seen by observing,
Let μ(B(r,S)):=E(supb∈B(r,∣S∣)∣g⊤b∣) where we recall that μ(B(r,S)) is known as the Gaussian complexity of B(r,S) (Vershynin, 2018, see Section 7.5.3). This can be bounded in terms of the Gaussian width of B(r,S) as follows, see (Vershynin, 2018, Lemma 7.5.11).
μ(B(r,S))≲w(B(r,S))+∥y∥2fory∈B(r,S).
Since 0∈B(r,S), we have,
μ(B(r,S))≲w(B(r,S)).
Therefore, with probability at least 1−2exp(r2∣S∣2−cq2),
b∈B(r,∣S∣)supg⊤b≤c1w(B(r,S))+q
for some constant c1. Letting q=c2rSlog(δn) for an appropriate constant c2, we get,
Note that since η contains i.i.d standard Gaussian entries, xti∼N(0,∥a(t,i)∥22), and therefore, xti=∥a(t,i)∥2Wti where Wti∼N(0,1). As Wti2 is sub-exponential, we have
By setting q=c′log(δTn) for all δ∈(0,c1) for constants c′ and c1<1, we get P(Wti2≥c′log(δTn))≤Tnδ and therefore, P(xti2≤c′J2(A∗)log(δTn))≥1−Tnδ. Taking a union bound over t∈[T] and i∈[n] yields
P(∀t∈[T]:∥xt∥∞≤cJ(A∗)log(δTn))≥1−δ.
Taking r=cJ(A∗)log(δTn), this clearly implies P(E1b)≥1−δ.
□
B.5 Proof of Lemma 6
Proof. Let bt=1{t∈Sc} and let MT=EYSc⊤. We can see that,
MT=t∈Sc∑ηt+1xt⊤=t∈[T−1]∑btηt+1xt⊤.
Note that for any i,j∈[n], we have
MT,ij=ei⊤MTej=t∈[T−1]∑btηt+1,ixt,j⊤.
Let Ft=σ(η1,…,ηt) denote the sigma-algebra at any time t≥1. Then btxt is Ft measurable while ηt+1∣Ft is sub-Gaussian, for all t≥1. We can hence bound ∣MT,ij∣ using the tail bound for self normalized martingales from Theorem 4.
To this end, let us first denote v=v+∑t∈[T−1]btxtj2 (for v>0). Then, there exist constants c1≥1 and c2<1 such that
P(v−1Mij2≤c1log(δv1/2v−1/2))≥1−δ
for δ∈(0,c2). Let E1c′ denote the above event and note that on E1b,
The last equality in (B.7) follows from the fact that (CK,∥⋅∥F)→(CK,vec,∥⋅∥2) is a bijective map. It was shown in (Foucart and Rauhut, 2013, Proposition 9.33) that w(CK,vec)≲klog(kn2) which implies γ2(CK,∥⋅∥2)≲klog(kn2).
C.1 Robust regression under adversarial contamination
Consider the supervised learning problem where there exists a distribution D over X×Y where the given (xi,yi)i=1m∼i.i.dD, the goal is to learn the relationship between Y and X. Specifically, let yi=xi⊤β∗+εi, where εi is the noise and xi∈Rd. Given (xi,yi)i=1m, estimating β∗ is a fundamental problem in machine learning and typically can be solved efficiently using methods such as ordinary least squares when the observations follow from D. However, the problem becomes more challenging when a subset of (xi,yi)i=1m is contaminated by an adversary. Estimating β∗ in when a subset of (xi,yi)i=1m is contaminated is known as robust regression under (adversarial) contamination. Robust regression under adversarial contamination in the i.i.d. setting has been studied under several formal contamination models.
Inlier-Outlier ( I∪S) model: the sample indices are partitioned as I∪S with ∣S∣≤ϵm. The adversary selects the outlier set (of indices) S oblivious to the data. Once S is selected, the adversary can potentially observe the entire dataset (including the data in I) and decide on the corrupted values for the entries in S.
Huber's contamination model: each observation is drawn independently from a mixture distribution, hence with probability 1−ϵ from D, and with probability ϵ from an arbitrary distribution.
Strong contamination model: an adversary observes the entire dataset and then selects up to an ϵ-fraction of samples to corrupt arbitrarily. The adversary may adaptively choose corrupted samples after observing the data thus affecting the distributional properties of the overall dataset.
We cover a representative sample of key results for each contamination model, though this list is not exhaustive.
Inlier-Outlier Model ( I∪S).
• Merad and Gaiffas (2023a) study robust supervised learning with coordinate gradient descent under Lipschitz smooth losses and finite moment assumptions on covariates and labels. They compute robust gradient estimates using Median-of-Means (MOM) and Trimmed Mean estimators, and provide bounds on the generalization error.
• Merad and Gaiffas (2023b) consider high-dimensional linear models with an ϵ fraction of corrupted samples, under sparsity assumptions on β∗. Under finite ℓ4-norm assumptions on covariates and finite ℓ2-norm assumptions on labels, they show that robust gradient estimators enable consistent parameter recovery. For smooth losses, they apply multistage mirror descent; for non-smooth Lipschitz losses satisfying pseudo-linear minorization, they use multistage dual averaging. They further establish that the Trimmed Mean estimator is a robust gradient estimator for sparse regression under ϵ-contamination.
• Dalalyan and Thompson (2019) analyze sparse regression with adversarially corrupted labels and show that under restricted eigenvalue and incoherence conditions on the covariance matrix of the clean data, the ℓ1-penalized Huber M-estimator achieves O~(mk+ϵ) when m points are observed and β∗ is k-sparse.
Huber's Contamination Model
• Diakonikolas et al. (2019) show that for Huber’s contamination model with ϵ-contamination, no algorithm with statistical query access to the ϵ-contaminated distribution, can approximate β∗ to a ϵ error without using needing samples of order O~(d2).
• Diakonikolas et al. (2023) explore linear regression when D=N(0,Id) and give an algorithm with sample complexity O~(d/ϵ2) with ℓ2 error of the order O(ϵ) in almost linear time by reducing the problem to a robust mean estimation problem.
• Zhang (2023) propose M-estimators for robust regression under Huber's contamination model. Assuming Lipschitz conditions and locally quadratic nature on the loss function, and specific assumptions on the covariates and the noise, they show that M-estimators can achieve O~(d/m+ϵ).
• Diakonikolas et al. (2024) extend the ideas from Diakonikolas et al. (2023) to the setting when β∗ is k-sparse and ∥β∗∥2 is bounded and show that with O~(ϵ2k2logd) many samples you can estimate β∗ up to O(ϵ) error in polynomial time.
Strong Contamination Model
• Liu et al. (2019) introduce the Robust Descent Condition (RDC) and shows that gradient estimators satisfying RDC yield statistical guarantees for recovery of β∗ when combined with Iterative Hard Thresholding. For linear regression with a k-sparse parameter, with O~(1/klogd)-fraction of the data contaminated, they show that a version of trimmed gradient estimator recovers β∗ upto O~(k(ϵlog(md)+logd/m) (in ℓ2 error) when m=Ω(klogd).
• Liu et al. (2020) propose a Robust Sparse Gradient Estimator (RGSE), computed using a convex relaxation of robust PCA followed by hard thresholding and filtering. For sparse regression where the covariance matrix is identity they show how to recover β∗ with minimax optimal rate of O~(ϵ). When the covariance matrix is sparse but unknown, they show how to achieve O~(ϵ).
• Sasai (2022) propose a weighted ℓ1-penalized Huber M-estimator under bounded fourth-moment covariates and i.i.d. noise, where weights are computed via convex relaxation of robust PCA followed by truncation. The extension in Sasai and Fujisawa (2025) consider sub-Gaussian covariates satisfying restricted eigenvalue conditions.
• Pensia et al. (2025) consider arbitrary contamination of at most ϵn samples under mean-zero, identity-covariance, (4,2)-hypercontractive covariates and independent mean-zero noise, and analyzes Huber regression, Least Trimmed Squares (LTS), and Least Absolute Deviation (LAD) estimators. Under stability conditions, they show that Huber regression achieves O~(d/m+ϵ). They also establish ℓ2 error guarantees for LTS and LAD under subset strong convexity and subset strong smoothness conditions.
• Bhatia et al. (2015) establish recovery guarantees for Least Trimmed Squares in high-dimensional settings under adversarial corruption. They provide a thresholding based gradient descent algorithm that converges to an error of ≤ϵ in O~(log(ϵm1)) iterations when the corruption is bounded and the normalized covariates satisfy subset strong convexity and subset strong smoothness 4.
• The work of Karmalkar and Price (2019) analyzes Least Absolute Deviation regression under adversarial contamination. They establish ℓ2 error guarantees when β∗ is k-sparse and the covariates come from a Gaussian distribution. They also establish error guarantees for the setting when β∗ is dense as well.
4The follow-up work (Bhatia et al., 2017) extends this to establish consistency guarantees albeit under an oblivious adversary.
• Chen et al. (2013) consider the setting where both covariates and labels may be corrupted, including distributed corruption across entries of individual samples. They propose algorithms based on thresholding, the Dantzig selector, Lasso regression, and thresholding regression, and show that the three methods modified with a trimmed variant of inner product, recover β∗ to small error.
• Sasai and Fujisawa (2020) study robust sparse regression using an ℓ1-penalized formulation under adversarial contamination and uses specific properties of the Huber function to establish recovery guarantees similar to that of Dalalyan and Thompson (2019). They show that weighted- ℓ2 error (weighted with the covariance matrix) is of the order of O~(k/m+ϵ) when the covariance matrix satisfies restricted eigenvalue conditions.
• Cherapanamjeri et al. (2020) develop robust estimators using semidefinite programming to compute gradient estimates under hypercontractive or sub-Gaussian covariates. Under sub-Gaussian assumptions, they achieve sample complexity and error up to logarithmic factors of the mini-max optimal and optimal error and sample complexity optimal up to logarithmic factors, under hypercontractivity assumptions.
• Maurya et al. (2026) propose a bi-convex optimization formulation, proves the existence of an integral KKT point that is locally optimal, and provides an algorithm with provable error guarantees. For k-sparse regression problem, they establish necessary conditions for exact support recovery, and O~(kϵ)ℓ2-error.
• Bakshi and Prasad (2021) study linear regression under (c,k)-hypercontractive (for some parameters c,k) distributions with an ϵ-fraction of adversarial corruption. They encode the problem as a polynomial system and apply a sum-of-squares relaxation to obtain computationally efficient estimators that achieve information-theoretically optimal convergence rates establishing tight upper and lower bounds.
• Minsker et al. (2024) consider high-dimensional linear regression in which an ϵ-fraction of the measurements are adversarially corrupted, with the adversary having full knowledge of the data and the underlying distribution. The covariates are assumed to be sub-Gaussian, while the additive noise is allowed to be dense and heavy-tailed. They establish minimax lower bounds that depend on both the contamination level and the tail behavior of the noise. They propose algorithms based on Square-Root Slope estimator that achieves error that is upto logarithmic factors of the minimax optimal rate for the ϵ.
C.2 Robust learning of linear dynamical systems
While robust regression under adversarial contamination has been extensively studied in the i.i.d. setting, comparatively fewer works address this problem for linear dynamical systems and higher-order VAR models. Existing works primarily focus on the following settings.
C.2.1 Heavy-tailed covariates or process noise
Kanakeri and Mitra (2025) study the problem of learning a linear dynamical system from N independent trajectories in the presence of heavy-tailed noise. In their work, the data is generated through a linear dynamical system xt+1=A∗xt+ηt+1 with ηt+1 coming from a zero-mean i.i.d. heavy-tailed distribution with bounded second and fourth moments. The authors partition trajectories into buckets, estimate the system matrix locally within each bucket, and then aggregate the estimates by taking their median under the Frobenius norm. They show robustness to heavy-tailed noise with non-asymptotic O(1/N) estimation error rate w.r.t the operator norm. This multi-trajectory setting does not require any stability assumption on A∗.
Wong et al. (2020) explores β-mixing with heavy-tailed covariates. They consider a model where the goal is to predict xt using (xt−1,xt−2,…,xt−d), using a linear predictor under the condition that the dynamic process for xt is stationary. The paper assumes the covariates xt follow a sub-Weibull distribution allowing for heavier-tails. They propose a least-squares estimator with ℓ1-penalty and show that when the underlying true predictor matrix is sparse and (xt)t>1 are centered, the estimator can recover the underlying predictor matrix up to an error dependent on the weight given to the penalty and restricted eigenvalue conditions.
Halder and Michailidis (2022) examines the problem of learning a VAR(d), i.e. xt=∑i=1dAixt−i+ηt, where ηt can be heavy-tailed. They assume ηt has conditionally symmetric density (condition on the history of the observations) and xt satisfies either β-mixing or Markov chain conditions (as well as xt is stationary) and show that a variant of Lasso allows for consistency under mixing as well as Markov chain conditions.
Qiu et al. (2015) consider a stationary VAR model xt+1=A∗xt+ηt+1 where covariates and process noise follow a joint elliptical distribution, to capture heavy-tailed behavior. They propose a quantile-based robust variant of the Dantzig estimator and show that the recovery rates for A∗ matches the parametric rates under the entry-wise max norm.
Dijk and Cho (2025) study high-dimensional heavy-tailed time series using a factor-adjusted VAR model. They consider a VAR(d) model, xt=∑i=1dAixt−i+ηt where ηt is zero mean with uncorrelated (potentially heavy-tailed) entries. The learner observes a yt=xt+νt where νt is a factor-adjusted component. The authors apply element-wise truncation and a multi-stage parameter estimation procedure using lasso, under the assumption of finite (2+2ϵ)-th moments for some ϵ∈(0,1).
Lu et al. (2025) analyze dynamic spatial autoregressive models under heavy-tailed distributions, proposing a constrained Yule-Walker estimation framework with statistical recovery guarantees. They consider a spacial autoregressive model where xt=A0Wxt+A1xt−1+A1Wxt−1+ηt, with W a weighting matrix capturing the relationships in the spatial domain. The work proposes a robust estimator for covariance estimation under this heavy-tailed setting.
Wang and Tsay (2023) explores system recovery from a VAR(d) model, xt=∑i=1dAixt−i+ηt where ηt is a serially uncorrelated white noise innovation where the white noise can be heavy-tailed. They propose a constrained Yule-Walker estimator that is robust against heavy-tailed noise with bounded 2+2ϵ-th moments for any ϵ>0. The paper establishes minimax optimal rates by establishing minimax lower bounds matching their recovery guarantees.
Wang et al. (2024) investigate least absolute deviation regression for high-dimensional heavy-tailed time series with finite α-moments for α∈(1,2]. They consider VAR(d) of the form, xt=∑i=1dAixt−i+ηt, where (ηt)t≥1 is i.i.d. and has zero mean and finite α-moments for α∈(1,2]. The paper proposes a truncated estimator for which they show that the population risk for the estimator converges to the optimal population risk, as T increases.
C.3 Sparse process noise
The works of Kim and Lavaei (2026b) and Kim and Lavaei (2026a) consider a linearly parameterized (potentially) non-linear system given by xt+1=A∗ϕ(xt)+ηt where ϕ:Rn→Rm is a non-linear mapping and ηt is analogous to the process noise in (1.1). They consider scenarios where ηt is i.i.d. Gaussian or sub-Gaussian as well as where ηt comes from a sparse adversarial process (sub-Gaussian but not necessarily zero mean or independent). Kim and Lavaei (2026b) propose a two-stage algorithm for recovery of A∗. In the first stage, they solve a Least Absolute Deviation problem independently for each coordinate of the autoregressive vectors to obtain candidate rows of the system matrix A. In the second stage, they apply a filtering step based on the initial estimates and then perform Least Squares on the filtered data, recovering the rows of A up to a small error. The follow-up work by Kim and Lavaei (2026a) extends this analysis and shows that under the same assumptions, Huber estimator recovers the rows of A∗ up-to a small error. In both works, they show that for symmetric process noise, they can recover the rows of A∗ with a rate of O(1/T) when the system is linear.
Kim (2026) explores robust learning of a VAR(d) model, i.e., xt=∑i=1dAixt−i+ηt+vt where ηt is the process noise and vt is an innovative outlier. They show that least squares with ℓ1-penalty on each vt, can be used to recover the matrices (Ai)i=1d (by using an equivalence with Huber estimator and applying iteratively reweighted least squares) under the assumption that ηt+vt is sampled from an i.i.d. distribution with bounded variance (and additional structural assumptions). Their guarantees are in the form of asymptotic normality of [A1A2…Ad].
Farahmand et al. (2011) explores the related problem of doubly robust smoothing of dynamical systems where the goal is to learn the dynamical system and the corruption, given system dynamics and under distributional assumptions. In this setting, a learner observes a yt generated through xt=Atxt−1+η(x)t+o(x)t and yt=Btxt+η(y)t+o(y)t where o(x)t,o(y)t are outliers and η(x)t,η(y)t are noise coming from zero mean distributions with known covariance. The learner is also assumed to know (At,Bt)t=1T and the noise covariance. The goal is to learn (xt,o(x)t,o(y)t)t=1T assuming that the stacked vector of outliers is sparse. They explore a least-squares estimator with ℓ1-penalty and introduces a provably convergent algorithm via coordinate descent.
C.4 Learning from corrupted states
In the work of Kanakeri and Mitra (2025) discussed earlier, the authors further prove (for the strong contamination adversarial model) that if an ϵ-fraction of the N trajectories are corrupted, the estimator still recovers the system matrix up to a small error (w.r.t operator norm). Their theoretical result for this adversarial setting, and even their algorithm does not apply to the single trajectory setting considered in our work.
The work of Wong (2017) considers a VAR(d) model, xt=∑i=1dAixt−i+ηt, where ηt's are independent centered Gaussians. Under the assumption that ρ(Ai)<1 for all i∈[d], and assuming that the learner observes x~t=xt+wt where wt comes from an independent zero-mean Gaussian distribution with known covariance, they establish non-asymptotic recovery guarantees for the lasso estimator with ℓ1 penalty.
Bhatia et al. (2016) consider a 1-dimensional auto-regressive process with degree d, i.e. xt=∑i=1dAixt−i+ηt where (xt−i)i=0d,ηt∈R. They consider an outlier model related to our setting where the learner observes x~t=xt+θt where θ=[θ1θ2…θT] is k-sparse. By transforming the AR(d) into a form of y=X⊤w+η (where y=[x1x2…xn] and X,w,η defined appropriately to recover the AR(d)), under subset strong convexity and subset strong smoothness of the corrupted covariate matrix, and assuming the outliers are independent of noise (which is not stated explicitly but seems to be needed in the proof, e.g., within Appendix B.6) they propose a block-sparse hard thresholding algorithm which is robust against additive outliers and provably consistent.
A line of work has considered the setting where x~t is formed by independently sub-sampling the entries of xt at each time point t (and setting other entries to 0) for (xt)t=1T generated from (1.1). When the system is stationary the works of Rao et al. (2016, 2017b) employ covariance estimation to recover A∗ under different structural assumptions such as sparsity, and low-rankness. The works of Jalali and Willett (2018); Wong (2017) explore lasso-type estimators with an additional term to correct for the bias (which makes the problem potentially non-convex), and provably estimate A∗ under sparsity and stability assumptions. When A∗ is sparse and strictly stable, Dalle and Castro (2025) establish minimax optimal recovery guarantees with respect to the entry-wise max norm, for the Dantzig selector. Rao et al. (2017a) consider the setting where x~t is formed by taking compressive linear measurements of xt (at each t), and study the limits of covariance-based estimation.
D ROBUST ESTIMATORS BASED ON LEAST-TRIMMED SQUARES
In this section, we provide a detailed overview of the estimators introduced in Section 2.
D.1 Sphere relaxation
Consider the optimization problem (P2) and the two constraints z∈{0,1}T and 1T⊤z=T−s. A simple calculation shows that when z∈{0,1}T, 1T⊤z=T−s is equivalent to ∥z∥22=z⊤z=T−s. Therefore, we can see that optimization problem (P2) is equivalent to,
A∈A,z∈{0,1}Tminz⊤Q(A)zs.t.∥z∥22=T−s,1T⊤z=T−s
where the vector z is a binary vector on the surface of a sphere of radius T−s centered at the origin. Given this, removing the constraint z∈{0,1}T+1, i.e. letting z∈RT+1, results in,
A∈A,z∈RTminz⊤Q(A)zs.t.∥z∥22=T−s,1T⊤z=T−s.
Given A, estimating z. Now consider the scenario where we have been given A and we are tasked with finding z. Note that when A is fixed, i.e. when Q(A) is fixed, the optimization problem (P3) translates to solving a trust-region problem which has polynomial time algorithms (Moré and Sorensen, 1983). However, since z∈RT is not necessarily a binary vector, we project it on to {0,1}T via the following rounding method.
Extract the subset of S⊂{1,…,T} corresponding to the T−s entries of {z1,…,zT} with the largest magnitudes (ignoring the sign).
For t∈S set zt=1 and for t∈/S set zt=0.
Given z, estimating A. Given a binary vector z (if z is not binary we can use the rounding discussed above), we use (P2) as stated in step 6 of Algorithm 1 to solve a A-constrained weighted least squares problem to derive an estimate A.
D.2 Semi-definite program (SDP) relaxation
Since z⊤Q(A)z=⟨Q(A),zz⊤⟩ we can replace zz⊤ with the p.s.d matrix Y. Note that when Y=zz⊤, Ytt=zt2 and since zt∈{0,1}, Ytt=zt which gives us diag(Y)=z. We apply the dual of Shor's relaxation (Boyd and Vandenberghe, 1997) to derive the following.
Note that for a fixed A, (P4) is a SDP and can be solved efficiently to obtain Y, z.
Given A, estimating z. Let Y,z be the solution of (P4) when A is fixed. Since z∈[0,1]T is not necessarily a binary vector, we can project it on to {0,1}T as described above.
Given z, estimating A. Given a binary vector z (if z is not binary we can use the rounding discussed above), we use (P2) as stated in step 6 of Algorithm 1 to solve a A-constrained weighted least squares problem to derive an estimate A.
D.3 Bi-convex relaxation
Note that while (P1) captures the problem of filtering the contaminants and learning a linear dynamical process over the uncontaminated observations, the formulation involves a product of ztzt+1 (for t∈{0,1,…,T−1}) in the objective function. In this section, we will introduce a set of new variables to remove the multiplicative dependencies of zt,zt+1.
Let bt=ztzt+1 for each t∈{1,…,T−1}. Then note that the objective of (P1) can be re-written as ∑t=1T−1bt∥x~t+1−Ax~t∥22 by introducing an additional constraint bt=ztzt+1 for t∈{1,…,T−1}. However, while this removes the multiplicative dependencies between zt and zt+1 in the objective, we are still left with the same dependencies in the constraints. We can remove these dependencies using the following key observation.
Remark 12. When zt∈{0,1} for t∈{1,…,T} and bt∈{0,1} for t∈{1,…,T−1}, the constraint bt=ztzt+1 is equivalent to the set of constraints bt≤zt, bt≤zt+1 and bt≥zt+zt+1−1. To see this we can consider the possible values of zt and zt+1.
• Case 1: (zt=zt+1=1) The constraint bt≥zt+zt+1−1=1+1−1=1 implies bt=1=zt⋅zt+1.
• Case 2: (zt=0 or zt+1=0) The two constraints bt≤zt and bt≤zt+1 imply bt≤min{zt,zt+1}=0 which implies bt=0=ztzt+1.
Therefore, we can use this to derive the optimization problem,
which has convex constraints (since A is convex by assumption).
Given A, estimating (zt)t=1T and (bt)t=1T−1. When A is fixed note that the optimization problem (P5) translates to a convex program with a linear objective. Solving this gives us (zt)t=1T and (bt)t=1T−1 such that zt∈[0,1] and bt∈[0,1]. In order to project zt,bt on to {0,1}, we consider the following rounding method.
Extract the subset S⊂{1,…,T} corresponding to the T−s entries of {z1,…,zT} with the largest magnitude.
Set the values at t∈S to 1 and set all other entries (t∈/S) to 0.
For all t∈[T−1], set bt=ztzt+1 where zt,zt+1 come from step 2.
Given z, estimating A. Given a binary vector z (if z is not binary we can use the rounding discussed above), we use (P2) as stated in step 6 of the Algorithm 1 to solve a A-constrained weighted least squares problem to derive an estimate A.
D.4 Convexifying Q(A) to estimate z
Assume A is fixed and the goal is to estimate z. Note that Q(A) is a 1-banded matrix and is not necessarily positive semi-definite (p.s.d). However, since 1T⊤z=T−s, when z∈RT, the objective of the optimization problem (P2) can be written as z⊤(Q(A)+α(A)⋅IT)z (where α(A) is some parameter). To see this, we can simply calculate the addition to the objective z⊤(α(A)⋅IT)z=α⋅z⊤z=α(A)⋅(T−s) which is a fixed amount when α(A) is fixed. Therefore, this shows that by choosing α(A) to be suitably large, we can ensure that Q~(A)=Q(A)+α(A)IT is a p.s.d matrix. Let α(A)=min{0,−λmin(Q(A))} where λmin(Q(A)) is the smallest eigenvalue of Q(A). This gives us the optimization formulation
z∈{0,1}Tminz⊤Q~(A)zs.t.1T⊤z=T−s.
By relaxing {0,1}T to [0,1]T we obtain
z∈[0,1]Tminz⊤Q~(A)zs.t.1T⊤z=T−s
which is a convex program w.r.t z (for a fixed A).
Given A, estimating z. When A is fixed note that Q~(A) is a fixed p.s.d matrix. Therefore, we can use standard solvers (e.g., interior point methods) to find an estimate z. However, since z∈[0,1]T, this does not guarantee a binary vector. In order to project the vector z on to {0,1}T, we consider the following rounding method.
Extract the subset S⊂{1,…,T} corresponding to the T−s entries of {z1,…,zT} with the largest magnitude.
For t∈S set zt=1 and for t∈/S set zt=0.
Given z, estimating A. Given a binary vector z (if z is not binary we can use the rounding discussed in the previous chapter to round it to get a binary vector), we use (P2) as stated in step 6 of the Algorithm 1 to solve an A-constrained weighted least-squares problem to derive an estimate A.
E ADDITIONAL EXPERIMENTS
E.1 Overview of the implementation
The following is a detailed overview of the techniques used to implement each estimator in the experiments. Note that in some cases use approximation methods due to the computational cost of exact solvers.
Sphere relaxation. Note that the sphere relaxation is a variant of the Trust Region Subproblem. To see this, let z=TT−s1T+w where ⟨w,1T⟩=0. This gives
Therefore for fixed A, we obtain a Trust Region Subproblem where the goal is to find a w orthogonal to 1T, which can be solved using the Moré-Sorensen algorithm (Moré and Sorensen, 1983). Our implementation solves a tridiagonal variant of this subproblem using Scipy's solve_banded.
Let h=2z−1T. Then 1T⊤h=T−2s. Define X=[1hh⊤H] so that
[1zz⊤Y]=LXL⊤
where L=[1211T021IT]. Since L is invertible, X⪰0 as well. Moreover, since diag(Y)=z, and since
Ytt=41(1+2ht+Htt)=zt=21(1+ht)
we obtain diag(H)=1T. Furthermore, ⟨Q(A),Y⟩=⟨C,X⟩+const for a matrix C depending on Q(A). Hence, the feasible set is the ellipse intersected with the single linear constraint 1T⊤h=T−2s. The map (z,Y)↔X is a bijection between the feasible sets that preserves the objective up to a constant, so the optimal values agree and optimal solutions correspond one-to-one. Given this, we use the Burer-Monteiro (Burer and Monteiro, 2003; Boumal et al., 2016) to solve for z.
Bi-convex relaxation. For the bi-convex relaxation, when A is fixed, we solve for z using cvxpy.
Convexifying Q(A) to estimate z. Here, we solve the resulting convex problem for z directly using cvxpy.
A-constrained weighted least squares. For Sphere-AM, SDP-AM, Biconvex-AM, and ConvexQ(A)-AM, when z is fixed, we solve for A using FISTA (Beck and Teboulle, 2009) with a projection on to ∥⋅∥1,1 ball (where the projection is computed in O(n2logn) by a sorting-based algorithm (Duchi et al., 2008)).
Least squares with ℓ1/ℓ2 block-sparse penalization. Let ρt(A)=Dt(x~t+1−Ax~t). When A is fixed, the objective separates across columns as ∑t[21∥ρt−ut∥2+λ∥ut∥2], and each term is minimized by block soft-thresholding, ut=(1−∥ρt∥2λ)+ρt. When U is fixed, the penalty is a constant, and the problem reduces to weighted least squares,
A=argA∈Amint:Dt=1∑∥(x~t+1−ut)−Ax~t∥22.
With A set to the ∥⋅∥1,1 ball, we again solve for A using FISTA algorithm (Beck and Teboulle, 2009) with a projection on to ∥⋅∥1,1 ball (where the projection is computed in O(n2logn) by a sorting-based algorithm (Duchi et al., 2008)).
Least squares with block-sparse hard constraints. When A is fixed, solving for U involves selecting the 2s columns of U with the largest ℓ2 norm. With U fixed this translates to A-constrained weighted-least-squares.
E.2 Additional results on synthetic experiments
Contamination models. In this set of experiments we consider four different contamination models.
Random heavy-tailed: outliers drawn from a Cauchy distribution with location and scale both set to 10 are added to indices selected uniformly at random (with probability depending on s).
Block burst: equally spaced blocks of five contiguous entries are contaminated with additive errors drawn from a Cauchy distribution with location and scale both set to 10.
Sign flip: data points are selected uniformly at random (with probability depending on s), and their signs are flipped (i.e., they are multiplied by -1).
High-leverage: the s entries with the largest ℓ2 norm are contaminated by adding Gaussian noise with standard deviation 8.
E.2.1 Block burst contamination
(a) ϵ=0
(b) ϵ=0.02
(c) ϵ=0.1
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 3: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for T∈{50,100,200,400,800} with (a) ϵ=0, (b) ϵ=0.02, and (c) ϵ=0.1, for block burst contamination model.
Frobenius norm error against T. Figure 3 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F, against T∈{50,100,200,400,800}. When ϵ=0, all estimators achieve the same error since they coincide with OLS. While Sphere-AM fails to recover A∗ for ϵ>0.02 or T>100, it performs even better than Biconvex-AM when both ϵ and T are small. In small-ϵ regime, SDP-AM initially outperforms the other estimators, with Biconvex-AM achieving the lowest error as T increases (see Figure 3b). However, when ϵ=0.1, ConvexQ(A)-AM outperforms the other estimators, with Biconvex-AM and SDP-AM achieving comparable performance. For all estimators except Sphere-AM and OLS, the error decreases as T increases, although the rate of decrease slows.
(a) T=100
(b) T=400
(c) T=800
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 4: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for ϵ={0,0.01,0.02,0.05,0.1} with (a) T=100, (b) T=400, and (c) T=800, for block burst contamination model.
Frobenius norm error against ϵ. Figure 4 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F, against ϵ∈{0,0.01,0.02,0.05,0.1}. We observe similar behavior across all T∈{100,400,800} with the OLS and the Sphere-AM showing the highest error. As expected, the error increases with ϵ. While SDP-AM achieves a smaller error in the small- ϵ-regime, Biconvex-AM and ConvexQ(A)-AM perform best as ϵ increases. Note that while Sphere-AM generally performs comparably to OLS, it outperforms all estimators except SDP-AM when T≤100 and ϵ≤0.02, similar to the heavy-tailed contamination example.
E.2.2 Sign flip contamination
(a) ϵ=0
(b) ϵ=0.02
(c) ϵ=0.1
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 5: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for T∈{50,100,200,400,800} with (a) ϵ=0, (b) ϵ=0.02, and (c) ϵ=0.1, under the sign flip contamination model.
Frobenius norm error against T. Figure 5 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F, against T∈{50,100,200,400,800}. When ϵ=0, all estimators achieve the same error as they coincide with OLS. An interesting observation is that, under sign flip contamination, all estimators including OLS perform well. Also note that, LS-BSP coincides with OLS, and Sphere-AM outperforms both. There is almost no gap among the remaining estimators, which all exhibit similar rates. The behavior of LS-BSP can be attributed to the fact that sign flip preserves the magnitude of the entries and with our choice of λ, U=0 becomes optimal, and the estimator collapses to OLS. Notably, OLS exhibits the same error-decay with respect to T as the other estimators under sign flip contamination, so this behavior does not conflict with our guarantees for LS-BSP.
Frobenius norm error against ϵ. Figure 6 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F, against ϵ∈{0,0.01,0.02,0.05,0.1}. We observe similar behavior across all T∈{100,400,800}, with OLS and LS-BSP showing
(a) T=100
(b) T=400
(c) T=800
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 6: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for ϵ={0,0.01,0.02,0.05,0.1} with (a) T=100, (b) T=400, and (c) T=800, under the sign flip contamination model.
the highest error. As expected, the error increases with ϵ. Note that Biconvex-AM, SDP-AM, and LS-BSHC outperform the other estimators across all settings.
E.2.3 High-leverage contamination
(a) ϵ=0
(b) ϵ=0.02
(c) ϵ=0.1
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 7: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for T∈{50,100,200,400,800} with (a) ϵ=0, (b) ϵ=0.02, and (c) ϵ=0.1, under the high-leverage contamination model.
Frobenius norm error against T. Figure 7 shows Frobenius error, ∥A−A∗∥F/∥A∗∥F against T∈{50,100,200,400,800}. When ϵ=0, all estimators achieve the same error as they coincide with OLS. As ϵ increases, the error of every estimator still decays with T, although OLS and LS-BSP decay considerably more slowly than the others. SDP-AM, Biconvex-AM, and LS-BSHC perform well, with Biconvex-AM achieving a recovery error close to that of A-constrained least squares on uncontaminated data. Since this contamination model simply adds zero-mean Gaussian noise, we would expect all estimators to have decaying error (albeit different rates) which aligns with the observations. The behavior of LS-BSP can be attributed to the choice of λ, which we set match the λ in the theoretical guarantees. This λ is chosen to dominate the Gaussian innovations ηt, so the additional zero-mean Gaussian corruption could also be absorbed by λ. As a result, LS-BSP behaves comparably to OLS, which also shows decaying error in this setting.
Frobenius norm error against ϵ. Figure 8 shows the Frobenius error, ∥A−A∗∥F/∥A∗∥F against ϵ∈{0,0.01,0.02,0.05,0.1}. We observe similar behavior across all T∈{100,400,800}, with OLS and LS-BSP showing the highest error. As expected, the error increases with ϵ. Note that Biconvex-AM, SDP-AM, and LS-BSHC still achieve strong recovery.
(a) T=100
(b) T=400
(c) T=800
Biconvex-AM
LS-BSHC
OLS
SDP-AM
ConvexQ(A)-AM
LS-BSP
OLS (clean data)
Sphere-AM
Figure 8: Frobenius norm error, ∥A−A∗∥F/∥A∗∥F, for ϵ={0,0.01,0.02,0.05,0.1} with (a) T=100, (b) T=400, and (c) T=800, under the high-leverage contamination model.