Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.
Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.
Dynamic Selection in Algorithmic Decision-making
titlepage\begin{abstract}
This paper identifies and addresses dynamic selection problems in online learning algorithms with endogenous data. In a contextual multi-armed bandit model, a novel bias (self-fulfilling bias) arises because the endogeneity of the data influences the choices of decisions, affecting the distribution of future data to be collected and analyzed. We propose an instrumental-variable-based algorithm to correct for the bias. It obtains true parameter values and attains low (logarithmic-like) regret levels.
We also prove a central limit theorem for statistical inference. To establish the theoretical properties, we develop a general technique that untangles the interdependence between data and actions.
\noindentKeywords: Self-fulfilling Bias,
Dynamic Selection,
Endogeneity Spillover,
Contextual Bandit,
Instrumental Variable
\noindentJEL Codes: C13, C26, C44
\end{abstract}
\setcounter{page}{0}
\thispagestyle{empty}
Introduction
This paper studies the dynamic selection problem in algorithmic decision-making. The use of algorithms has become increasingly popular among business firms. The algorithms analyze data continuously and allow firms to adjust their decisions in response to new information constantly. This feature, known as online learning, implies that algorithms are both consumers and producers of data. They take data as inputs and analyze them to make decisions. They also produce data by choosing which product---movies, songs, or articles---to recommend.
Because an online algorithm uses prior data analysis to generate data, the data it generates are not random. As a result, the data the algorithm uses for its analysis is also non-random. The non-randomness of the data naturally leads to a data selection problem. Importantly, this selection problem is dynamic due to the online-learning nature of algorithms: past selection problems affect the data the algorithm generates, creating new data selection problems.
To demonstrate and address this dynamic selection problem, we focus on a class of algorithms known as contextual multi-armed bandits (MAB).
Contextual bandit algorithms are commonly used across various domains due to their ability to balance exploration and exploitation while incorporating contextual information; see, for example, applications in product recommendation LiChuLangfordSchapire10, online advertising TangRosalesSinghAgarwal13, and mobile healthcare TewariMurphy17. News outlets such as the New York Times utilize contextual bandit algorithms to learn about their readers' behavior and recommend articles tailored to their interests more effectively Coenen19.
To illustrate how a contextual bandit algorithm works, consider a website that recommends news articles to its users. The website aims to maximize user engagement, measured by the number of articles read or the time users spend reading articles. The website can base its recommendation on the information it has on the users, known as the contextual information, which may include features like user demographics (age, gender, location) and user behavior (browsing history, time of the visit).
When a user visits the website, the contextual bandit algorithm gathers information about the user. Using this context and its current knowledge, it selects a news article to recommend, also known as which arm to pull, by using a model (such as linear regression) to predict user engagement. After the recommendation, the algorithm observes a reward, such as whether the user read the article or the time spent reading. The algorithm then updates its knowledge based on the context, chosen arm, and reward to improve its future recommendations.
A potential issue with the contextual bandit algorithm is that its knowledge-updating process may be impacted by an endogeneity problem. For instance, the news website might estimate the effectiveness of recommending sports articles by regressing their click rates on the reader's age. Click rates depend on both the reader's age and their free time available. But the website only observes the reader's age and not the free time. If the reader's free time is correlated with his age, an omitted-variable problem arises, leading to a biased estimate of the effectiveness of sports articles.
The omitted-variable problem causes a dynamic selection problem when the size of the omitted-variable bias varies among subsamples of data. In this case, the estimated effectiveness of sports articles depends on which subsamples are used for the regression. Because the algorithm recommends the article based on its estimated effectiveness, this implies that different past subsamples can lead to different recommendation rules. The past subsample therefore affects the new data generated, creating the dynamic selection problem.
Because of the dynamic selection problem, the decision rule (i.e., policy) in the long run under the contextual bandit algorithm is a fixed point: the optimal policy derived from analyzing the subsample must coincide with the long-run policy that generates the subsample. For example, suppose that the algorithm recommends the article to readers aged 60 and above. In this case, the regression analysis performed on the subsample of readers aged 60 and above must indicate that the optimal policy involves recommending the article to readers aged 60 and above.
The fixed-point property of the long-run policy leads to two problems. First, the oracle policy---that is, the true optimal policy had the effectiveness of each arm been known in advance---may not be a fixed point. This implies that the long-run policy is suboptimal. Second, and, relatedly, because the past policys affect the choice of future policys, the long-run policy may not be unique, implying that there are multiple fixed points.
Our first result shows that the non-uniqueness problem can be severe. Depending on the distribution of the omitted variable, there can be an arbitrarily large number of fixed points. Furthermore, these fixed points can be arbitrarily away from the optimal policy induced by the true parameter of interest. We refer to the difference between true parameter and its long-run estimate as the self-fulfilling bias. Our first result states that the self-fulling bias can be arbitrarily large and can take arbitrarily many values.
We then propose algorithms that correct for the self-fulfilling bias and generate actions with low levels of regret (loss in payoff compared to optimal actions).
Our method integrates the instrumental variable (IV) approach into a greedy-type online learning algorithm designed for contextual bandit problems.
Our proposed algorithms consist of three phases.
In Phase 1, arms are randomly selected.
At the end of Phase 1, the two-stage least squares (2SLS) method is implemented on the data associated with each arm to compute the arm-specific coefficient estimates. In Phase 2, the arm with the highest expected reward (using the coefficient estimates in Phase 1) is selected in each period. The covariance matrix of the estimates are calculated at the end of Phase 2. In Phase 3, arms are selected in a greedy fashion and the coefficients and covariance matrices are updated using “joint-2SLS” in each period.
Under this algorithm, the coefficients converge to the true value in the long run.
The regret of our algorithm is of order $\mathcal{O}(\log(T))$.
In particular, the two special features of the algorithm---the existence of Phase 2 and joint-2SLS in Phase 3---are critical. Without either of the two, the coefficient estimates can fail to converge to the true value.
Our third contribution is to develop a technique that facilitates the theoretical analysis of online learning algorithms with dynamic selection problems.
As mentioned above, a key feature of online learning algorithms is that data and actions are intertwined. This complicates the analysis because the effects of past actions can be long-lasting.
Mathematically, in our proposed algorithm and in online learning algorithms in general, this complication manifests in a two-way dependence between (i) the estimates of the coefficients and (ii) the estimates of the covariance matrix between the IVs and an augmented vector of the covariates.
On the one hand, in 2SLS, the coefficient estimates depend on the covariance estimates.
On the other hand, each covariance estimate depends on all the past
coefficient estimates because they affect the past actions and the past realization of data. This latter dependence is new and central to the analysis of online learning algorithms with dynamic selection problems. Moreover, the dependence is complicated both because the coefficient estimates are serially correlated and because they affect the estimates of the covariance matrix in a nonlinear manner.
Our technique deals with this two-way dependence by performing an induction in a zig-zag matter.
In each induction step, we first derive the properties of the covariance estimates (zig), and then use this property to establish the induction hypothesis on coefficient estimates (zag). The heart of the induction is the zig-part, which employs a special technique to eliminate the dependence of the covariate estimates on all past coefficient estimates. The theoretical analysis of this dependence also indicates that, for the coefficient estimates to converge to the true value, the covariance estimates at the beginning of Phase 3 must be sufficiently close to the covariance matrix induced by the oracle policy. This motivates Phase 2 in our algorithm, which stabilizes the covariance estimates.
Finally, this technique establishes the rate of convergence of the estimates.
These rates are used to analyze the regret of the algorithm.
They are also used to establish the asymptotic distribution of the parameter estimators at the terminal period of the algorithm and, therefore, allow for the construction of confidence intervals and hypothesis testing.
Our paper contributes to the literature on dynamic learning.
Within this literature, a key emphasis has been the trade-off between exploration and exploitation March91.
The workhorse for analyzing this trade-off is the multi-armed bandit models.
Economists have extensively studied their theoretical and empirical implications (see BergemannValimaki08 for a review).
Recently, there is a growing sub-literature that studies algorithmic decision-making based on multi-armed bandit models
(PerchetRigolletChassangSnowberg16,Caria_etal20,CurrieMacLeod20,KasySautmann21,Kawaguchi21, KawaguchiUetakeWatanabe21)\footnote{While we focus on online learning environments, there is a rich line of work that studies offline learning of optimal policies after the experimental or observational data is collected (KitagawaTetenov18,NaritaYasuiYata19,AtheyWager21,KallusZhou21, ShiWanChernozhukovSong21, ZhanHadadHirshbergAthey21, ChenAndrews23).}.
The closest one to our study is that of LiRaymondBergman20, which examines application of contextual bandit algorithms for making decisions in the hiring process.
We add to this sub-literature by both studying the biases that arise in algorithmic decision-making when there is an endogeneity problem and showing how to correct for it.
Our paper also contributes to the vast literature of casual inference; see, for example, ImbensRubin15 for a review.
Most of this literature does not examine the environment of online learning, where the actions influence and are influenced by data. Two notable exceptions are NambiarSimchiWang19 and LiLuoZhang21_fullversion.
NambiarSimchiWang19 consider a dynamic pricing problem with learning, where the endogeneity problem arises from mis-specification of demand functions.
LiLuoZhang21_fullversion consider a Markov
decision process setup with learning and show that online learning environments may exacerbate the estimation bias.
Different from these papers, our focus is on the dynamic selection problem where current data, through affecting the choice of actions, affects how future data is generated. This dynamic selection problem also differs from selection problems in Heckman79,Heckman90, rubinpropensity, Altonji2005Selection00, and Oster19, which do not feature how past selection problems affect future data selection.
The remainder of the paper is organized in the following manner. Section (ref) introduces the background of the contextual bandit problem. Section (ref) discusses the case where there exists at least one endogenous variable in the contextual bandit problem, which leads to the dynamic selection problem and self-fulfilling bias. Section (ref) presents a set of regularity conditions for IVs and the contextual bandit setup as well as proposes a class of IV-based bandit algorithms. Section (ref) establishes the main results including regret bounds and asymptotic distribution for the proposed algorithms. Section (ref) demonstrates the performance of these algorithms in a series of simulations. Section (ref) presents the conclusions. Technical proofs are included in the Appendix.
Background
Consider an agent who follows an algorithm to make a sequence of decisions over a time horizon of $T$ periods.
At each time $t=1,\ldots,T$, the agent observes a vector of covariates
$\boldsymbol{v}_t\in\mathbb{R}^p$,
takes an action (i.e., pulls an arm) $a_t\in \{1,\ldots,K\}$ with $K\geq 2$,
and receives a random reward $R_t$:
equation[equation omitted — 134 chars of source]
where $\mu_i(\boldsymbol{v})$ is the unknown reward function associated with arm $i$, and $\varepsilon_t$ is the noise.
At each time point $t$, the algorithm specifies a policy that maps $\boldsymbol{v}_t$ to $a_t$, based on the historical data $\mathcal{H}_{t-1}\coloneqq (\boldsymbol{v}_1,a_1,R_1,\ldots,\boldsymbol{v}_{t-1},a_{t-1},R_{t-1})$.
The goal is to maximize the expected cumulative reward $\operatorname{\mathbb{E}}[\sum_{t=1}^T \mu_{a_t}(\boldsymbol{v}_t)]$, where the expectation is taken with respect to the distribution of $\mathcal{H}_T$ induced by the particular algorithm.
This sequential decision-making problem is commonly known as the contextual bandit problem Slivkins19.
Evidently,
if each reward function $\mu_i$ is known in advance,
the agent would employ the oracle policy at each time $t$, pulling the optimal arm associated with $\boldsymbol{v}_t$, that is, $\pi^*(\boldsymbol{v}_t)\coloneqq \operatorname*{argmax}_{ i = 1,\ldots,K}\mu_i(\boldsymbol{v}_t)$.
In practice, however, $\mu_i$ is unknown and must be estimated from data.
Hence, the arm that is actually pulled at each time $t$ is in general not the optimal arm, leading to an
instantaneous regret: $\max_{i=1,\ldots,K} \mu_i(\boldsymbol{v}_t) - \mu_{a_t}(\boldsymbol{v}_t)$.
A standard metric for measuring the performance of an algorithm is expected cumulative regret:
equation[equation omitted — 191 chars of source]
We simply refer to it as “regret” for the remainder of this paper.
The regret quantifies the difference in expected cumulative reward between an algorithm and the oracle policy.
As such, the agent's goal is to approximate the performance of the oracle by progressively learning the reward functions.
For simplicity, we will henceforth assume that for each arm $i$, the reward function $\mu_i$ is linear in the covariate vector (i.e., $\mu_i(\boldsymbol{v}) = \boldsymbol{v}^\intercal \boldsymbol{\alpha}_i$), where $\boldsymbol{\alpha}_i\in\mathbb{R}^p$ is an unknown parameter vector. Consequently,
the problem is reduced to learning these linear coefficients over time.
When the covariates are exogenous, that is, $\mathbb{E}[\varepsilon_t|\boldsymbol{v}_t]=0$, numerous effective algorithms have been proposed to learn the coefficients.
While these algorithms vary in their finite-time and asymptotic properties, they all converge to the true value of the coefficients over time and, therefore, exhibit a sublinear regret: that is, $T^{-1}\mathsf{Regret}(T)\to 0$ as $T\to\infty$.
This indicates that as the horizon increases, the agent is increasingly likely to take the optimal action in most periods.
Self-fulfilling Bias: An Example
We now study an example in which the covariates are endogenous---that is, $\mathbb{E}[\varepsilon_t|\boldsymbol{v}_t]\neq 0$.
We show that the endogeneity of covariates leads to distortion in actions, which generates another type of endogeneity; that is, it creates “endogeneity spillover”. The additional endogeneity generates a dynamic selection problem and leads to a new type of bias, which we refer to as self-fulfilling bias.
Consider the following special case of our setup.
Assume
that there exist two arms, and between the two arms $\mathcal{A}=\{1,2\}$,
one is the safe arm, having a known expected reward that is independent of the covariates,
while the other is the risky arm, whose expected reward has an unknown linear dependence on the covariates.
Further, assume that the covariates are one-dimensional.
In this simple example, the reward functions are
\[
\mu_1(v) \equiv c \qq{and} \mu_2(v) = \alpha v,\quad \forall v\in\mathbb{R}.
\]
It follows that, if $\alpha$ is known and positive, then the oracle policy for the agent is to pull arm 2 if $v> c/\alpha$,
and pull arm 1 otherwise.
However, because $\alpha$ is unknown, the agent needs to estimate its value over time and makes her decisions accordingly.
In contrast to the standard regression analysis in which data is taken as given, in the dynamic environment considered here, the data used for estimating $\alpha$ is only available when arm 2 is pulled
(pulling arm 1 generates noisy observations of $c$, which are irrelevant to $\alpha$).
Now, suppose the agent uses the ordinary least squares (OLS) method to estimate $\alpha$
and the estimates converge to a limit, say $\widehat \alpha$.
Then, in the long run,
equation[equation omitted — 182 chars of source]
Note that given $\widehat \alpha$, the agent's policy in the long run is to pull arm 2 when $v>c/\widehat \alpha$.
Thus, the conditioning event in equation (ref) is identical to $\{v_t > c/\widehat\alpha\}$. Using the fact that $R_t = \alpha v_t + \varepsilon_t$ for arm 2, we have
equation[equation omitted — 174 chars of source]
It is evident from equation (ref) that $\widehat{\alpha}$ is a fixed point as it appears on both sides of the equation.
It also shows that the bias of the estimate, $\widehat\alpha-\alpha$, has an expression that is similar to, but different from, that of the usual OLS bias, which is given by $ \frac{\operatorname{Cov}[v_t, \varepsilon_t]}{\operatorname{Var}[v_t]}$.
We refer to $\widehat \alpha - \alpha$ as the self-fulfilling bias to reflect that the limit policy of the agent is induced by
her limit belief (i.e., the limit estimate $\widehat{\alpha}$),
and the limit belief is confirmed by the data generated from the limit policy.
To unpack the self-fulfilling bias, note that there are two---rather than one---types of endogeneity problems. The first type results from the correlation between the noise and the covariates. This directly creates a bias in the estimate in a manner that is similar to the usual OLS bias. The second type results from sample selection, which arises because the estimated coefficients affect the actions of the agents. This sample selection is dynamic in nature because the policy that determines agent's actions changes over time.
To illustrate the two types of endogeneity formally, we rewrite equation (ref) as
equation[equation omitted — 163 chars of source]
When $\varepsilon_t$ and $v_t$ are correlated, the first type of endogenous variable in this regression is $ v_t \operatorname{\mathbb{I}}(a_t = 2)$ if the arm $a_t$ is selected independent of $v_t$. But because $a_t$ depends on $v_t$---through the relation $\operatorname{\mathbb{I}}(a_t=2) = \operatorname{\mathbb{I}}(v_t > c/\widehat\alpha)$ in the long run---the correlation between $\varepsilon_t$ and $v_t$ leads to a correlation between $\operatorname{\mathbb{I}}(a_t=2)$ and $\varepsilon_t$. In other words, the endogeneity problem in $v_t$ spills over to $\operatorname{\mathbb{I}}(a_t = 2)$, creating another endogenous variable.
The additional endogenous variable complicates the dependence of the value of the limit coefficient estimate $\widehat\alpha$ on the joint distribution of $v_t$ and $\varepsilon_t$. In particular, unless
the term
$\frac{\operatorname{Cov}[v_t, \varepsilon_t|v_t > s]}{\operatorname{Var}[v_t|v_t>s]}$ is the same for all cutoff $s$---this happens only when $\mathbb{E}[\varepsilon_t|v_t]$ is a linear function of $v_t$\footnote{$\mathbb{E}[\varepsilon_t|v_t]$ is a linear function of $v_t$ when $(v_t,\varepsilon_t)$ has a joint normal distribution.}---$\widehat\alpha$ is different from the OLS estimate. In other words, an additional bias arises whenever $\mathbb{E}[\varepsilon_t|v_t]$ is a nonlinear function of $v_t$.
When there is the additional bias, the value of $\widehat{\alpha}$ (and hence the value of the self-fulling bias) may not be unique, which happens when equation (ref) contains multiple solutions. Figure (ref) illustrates one such case and shows that the agents' beliefs converge to two different values in the long run. With multiple self-fulfilling biases, this example shows that agents can adopt different policies in the long run, even if the underlying production environment is the same. This provides one explanation for why seemingly similar enterprises may choose different practices and result in persistent differences in performance, a central question in organizational economics and strategy
(see, e.g., GibbonsHenderson12 for a review).
figure[figure omitted — 1,130 chars of source]
remarkThere are few restrictions on the relationship between the true value $\alpha$ and the agent's long-run belief. For a given $\alpha$, the beliefs regarding $\alpha$ may converge in the long run to any number of arbitrarily chosen values in the long run. In other words, for a group of agents with the same initial beliefs, they can hold many very different beliefs in the long run. We formalize this in the following proposition, and the proof is given in the Appendix.
propositionLet $v_t$ be a uniform random variable on $[0,1]$ and
$\eta_t$ be an independent standard normal random variable.
Then, for any integer $n\geq 1$ and real numbers $\{r_k:k=1,\ldots,n\}$,
there exist real numbers $\{\beta_k:k=0,1,\ldots,n\}$ such that
$\{r_k:k=1,\ldots,n\}$ are the roots of Equation (ref), provided that
$\varepsilon_t = \sum_{k=0}^n \beta_k v_t^k + \eta_t$.
We conclude this section by making two comments. First, we have illustrated the self-fulfilling bias and its severity using a simple example. Despite its simplicity, the example points to a general problem: in any dynamic environment where the agent's actions depend on some covariates, the endogeneity in the covariates can generate additional endogeneity with the actions. Because of the self-fulfilling bias, the policy is suboptimal in the long run. The number of periods a wrong action is taken is proportional to the time horizon $T$. Thus, the regret of the policy with self-fulfilling bias is in the order of $\mathcal{O}(T)$.
Second, the self-fulfilling bias cannot be corrected by the usual exploration of the agent, i.e., randomly choosing actions occasionally. This is because as long as $v_t$ is endogenous, OLS bias remains. Moreover, when the data from the non-random actions is used in the regression, the endogeneity in $v_t$ spills over to $\operatorname{\mathbb{I}}(a_t=2)v_t$, creating additional bias.
The solution for the endogeneity in $v_t$ is not to carry out exploration in the conventional sense.
Instead, the solution is to do causal exploration---that is, to perturb the data generating process, and, through doing so, generating IVs accordingly. Unlike the randomization of actions in the literature (conventional exploration), which we denote as ex-post exploration, the generation of IVs through perturbation of data generating process is ex-ante to decision making, thus we call it ex-ante exploration. We discuss how to correct the self-fulfilling bias with IVs in the next section.
IV-Greedy Algorithm
We now proceed to illustrate how to integrate IVs into bandit algorithms.
The algorithm we propose not only corrects the self-fulfilling bias, thereby providing consistent estimation of the reward functions and progressively improving a policy $\pi(\cdot | v)$ towards the oracle policy over time, but also attains a sublinear regret of order $\mathcal{O}(\log(T))$.
Simultaneously addressing the two concerns---endogeneity and regret---is crucial for online learning environments.
As illustrated in the example above, we can rewrite observed rewards in Equation (ref) as:
align[align omitted — 145 chars of source]
where
equation[equation omitted — 390 chars of source]
Equation (ref) represents a joint linear regression model in that it integrates reward observations across all time periods, as opposed to partitioning them based on the selected arm.
The use of $\widetilde{\boldsymbol{v}}_t$ as the regressors in formulation (ref) underscores the endogeneity spillover issue discussed in Section (ref). Specifically, the action $a_t$ may become endogenous due to its potential dependence on $\boldsymbol{v}_t$ and the endogeneity of $\boldsymbol{v}_t$, hence making $\operatorname{\mathbb{I}}(a_t=i)\boldsymbol{v}_t$ endogenous for each $i$.
As a result, the OLS method leads to a biased estimation of the coefficient vector $\boldsymbol{\alpha}$.
Assuming a set of IVs, as denoted by $z_t$, are available,
we can use the 2SLS method to correct for this bias, as is typically done in a static data analysis environment.
However, our online learning environment introduces substantial challenges due to the intertemporal dependencies among the regressors $\{\widetilde{\boldsymbol{v}}_t : t = 1, \ldots, T\}$, which are a result of the adaptive nature intrinsic to any effective algorithm.
To address the challenges, we propose to employ a joint-2SLS approach, as defined later in Equation (ref), to estimate $\boldsymbol{\alpha}$ using the joint linear regression model (ref),
rather than estimating for each arm separately.
We introduce our algorithm in Section (ref).
The algorithm's two key features---the joint-2SLS and three-phase structure---are discussed in detail in Section (ref) and Section (ref), respectively.
Structure
In this subsection, we propose an IV-based algorithm for linear contextual bandits and name it IV-Greedy.
This algorithm consists of three phases, which are formally demonstrated in Algorithm (ref).
Phase 1: Coefficient Stabilization.
In this phase, we seek a stable estimate of the coefficient vector $\boldsymbol{\alpha}$,
meaning that the estimate should stay close to the true value with a high probability.
For this purpose,
our policy is to select each arm randomly---irrespective of the observed covariates---with equal probability.
At the end of Phase 1, we run arm-specific-2SLS to obtain an estimate of the coefficient vector $\boldsymbol{\alpha}$.
Specifically,
depending on the arm pulled in each period---whether $a_t=1$, $2$, etc.---we divide the periods into $K$ groups and then conduct 2SLS separately on the data (i.e., rewards, covariates, and IVs) in each group.
Note that the estimate is unbiased because the actions are generated randomly, and the IVs are used to correct for the endogeneity in the covariates.
But the absence of bias is achieved
at the cost of a regret that is linear in the number of periods $\mathtt{T}_1$.
To balance the regret and the purpose of coefficient stabilization, we choose the duration of Phase 1 to be $\mathtt{T}_1 = \mathcal{O}(\log(T))$.
Phase 2: Covariance Stabilization.
In this phase, the policy takes the form of a greedy policy---that is, it uses the estimate of $\boldsymbol{\alpha}$ from Phase 1 to evaluate the expected payoff of each arm for a given value of the covariates, and then
selects an arm that maximizes the expected payoff.
During this phase, which lasts from period $\mathtt{T}_1+1$ to $\mathtt{T}_2$, the estimate of $\boldsymbol{\alpha}$ is not updated.
Fixing the coefficient estimate helps initialize Phase 3 of the algorithm with a good estimate of the covariance matrix $\boldsymbol{\Omega}^*$, as defined in Equation (ref).
As discussed in Section (ref),
the presence of Phase 2 is critical for the estimate of $\boldsymbol{\alpha}$ to converge to the true value.
Similar to Phase 1, we set the duration of this phase to be $\mathtt{T}_2-\mathtt{T}_1=\mathcal{O}(\log(T))$ so that sufficient data is generated without causing excessive regret.
Phase 3: Policy Improvement.
In this phase, the policy is again greedy: we select the arm that maximizes the estimated expected reward in each period.
However, in contrast to Phase 2, the criterion for evaluating the expected reward is constantly updated.
In each period, the expected reward for each arm is calculated from the most updated estimate of $\boldsymbol{\alpha}$.
Note that in this phase, the estimator that we propose to use is the joint-2SLS estimator.
Namely, we consider to estimate a 2SLS model jointly for all arms $i=1,\ldots,K$,
This is critical for the algorithm to produce consistent estimator asymptotically. We discuss this point in more detail in Section (ref).
algorithm[algorithm omitted — 1,628 chars of source]
To describe the arm-specific-2SLS method used in Algorithm (ref), we introduce the following notation.
Let $\boldsymbol{V}_{i,\mathtt{T}_1}$ denote the observed covariates in those time periods of Phase 1 when arm $i$ is selected.
Specifically, $\boldsymbol{V}_{i,\mathtt{T}_1}$ is a matrix formed of row vectors $\boldsymbol{v}_t^\intercal$ for all $t$ such that $t \leq \mathtt{T}_1$ and $a_t = i$.
Similarly, we define $\boldsymbol{Z}_{i,\mathtt{T}_1}$ as the matrix composed of row vectors $\boldsymbol{z}_{i,t}^\intercal$, and $\boldsymbol{R}_{i,\mathtt{T}_1}$ as the column vector composed of elements $R_{i,t}$, both corresponding to the same time periods as those utilized in defining $\boldsymbol{V}_{i,\mathtt{T}_1}$.
The number of rows in these three matrices (or in the case of the vector) corresponds to the number of times that arm $i$ is pulled during Phase 1.
Then, the arm-specific-2SLS estimator for the coefficient vector $\boldsymbol{\alpha}_i$ of the reward function associated with arm $i$ is given by
equation[equation omitted — 356 chars of source]
where $\mathcal{P}$ denotes the projection operator, defined as $\mathcal{P}[\boldsymbol{Z}] \coloneqq \boldsymbol{Z}(\boldsymbol{Z}^\intercal \boldsymbol{Z})^{-1} \boldsymbol{Z}^\intercal$ for any matrix $\boldsymbol{Z}$.
The formula provided above is derived from standard calculations associated with the 2SLS method.
To define the joint-2SLS estimator used in Phase 3, for any $t \geq \mathtt{T}_1+1$, we introduce $\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}$ as the matrix composed of row vectors $\widetilde{\boldsymbol{v}}_s^\intercal$ for all $s = \mathtt{T}_1+1, \ldots, t$,
where $\widetilde{\boldsymbol{v}}_{s}$ is the augmented covariate vector as defined in (ref).
This matrix has $(t-\mathtt{T}_1)$ rows because we use all data that starts from the beginning of Phase 2.
Likewise, we can define $\boldsymbol{Z}_{\mathtt{T}_1:t}$ and $\boldsymbol{R}_{\mathtt{T}_1:t}$.
These three represent the data accumulated from the start of Phase 2 through time $t$.
The joint-2SLS estimator for the coefficient vector $\boldsymbol{\alpha}$ is then given by
equation[equation omitted — 360 chars of source]
Lastly, the need for inference calls for a characterization of the limiting covariance matrix linked with the joint-2SLS estimate of $\boldsymbol{\alpha}$.
Intuitively, if the policy induced by the proposed algorithm converges to the oracle policy, the data will, in the long run, be generated under this oracle policy.
Following standard calculations for the 2SLS method, it becomes evident that the covariance matrix should converge to
equation[equation omitted — 182 chars of source]
where
\[\boldsymbol{\Sigma}^*_{vz}\coloneqq \mathbb{E}[\boldsymbol{v}_t^*\boldsymbol{z}_t^\intercal],\quad
\boldsymbol{\Sigma}_{zz}\coloneqq \mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal], \qq{and}
\boldsymbol{v}_t^*\coloneqq
pmatrix[pmatrix omitted — 129 chars of source]
\in\mathbb{R}^{Kp}.\]
remarkThe IV-Greedy algorithm assumes that the time horizon $T$ is known in advance. However, we can adapt the algorithm by applying the standard “doubling trick” from the bandit literature BessonKaufmann18.
This modification allows the algorithm to function without prior knowledge of $T$, while preserving the same order of regret.
Key Features of the Algorithm
The IV-Greedy algorithm has two distinctive features that merit further exploration.
The first feature is the use of the joint-2SLS approach, and the second is the three-phase structure, with a particular emphasis on the role of Phase 2.
The Necessity of the Joint-2SLS
During Phase 3, the main phase of the algorithm, the joint-2SLS approach is utilized. As we will demonstrate, several seemingly obvious alternate design choices for the algorithm are available. However, they fail to achieve consistent estimation with a sublinear regret, which is the dual objective in our online learning environment.
Contrary to the 2SLS estimator (ref),
a simple approach to estimating $\boldsymbol{\alpha}$ in Phase 3 involves using the standard OLS method in an arm-specific way.
Specifically,
equation[equation omitted — 245 chars of source]
where $\boldsymbol{V}_{i,\mathtt{T}_1:t}$ denotes the covariates $\boldsymbol{v}_s$ (instead of the augmented covariates $\widetilde{\boldsymbol{v}}_s$) that are observed in the time periods $s=T_1+1,\ldots, t$ when arm $i$ is selected, and $\boldsymbol{R}_{i,\mathtt{T}_1:t}$ is similarly defined.
This estimator is separately constructed for the parameter $\boldsymbol{\alpha}_{i,t}$ for each arm $i$ based on the data available up to time $t$.
While the use of the OLS method in an arm-specific manner is standard practice in linear contextual bandit problems, the presence of endogeneity clearly results in a biased estimate of each $\boldsymbol{\alpha}_i$.
Moreover, as illustrated in the example in Section (ref), a self-fulfilling bias will emerge, leading to sub-optimal policies in the long run.
A second approach to estimating $\boldsymbol{\alpha}$ in Phase 3 is the arm-specific application of the 2SLS method.
This approach is a natural choice if a set of IVs are available and can be considered as a generalization of (ref):
equation[equation omitted — 357 chars of source]
Here, $\boldsymbol{Z}_{i,\mathtt{T}_1:t}$ is defined in the same way as $\boldsymbol{V}_{i,\mathtt{T}_1:t}$.
However, this estimator still does not yield consistent estimates of $\boldsymbol{\alpha}_i$.
This inconsistency stands in contrast to the traditional use of the 2SLS method in static data analysis settings, where it is employed to correct bias caused by endogeneity issues.
As discussed in Section (ref), this failure is attributed to the endogeneity spillover effect.
In other words, the selected arms, which form part of the data, can also become endogenous, in addition to the endogenous covariates.
The arm-specific 2SLS approach fails to address the part of endogeneity that spills over to the selected arms.
This issue arises from the dynamic sample selection, which is a consequence of the policy's adaptive nature in arm selection.
A straightforward way to circumvent the dynamic sample selection issue is to render the policy non-adaptive.
This leads to a third alternative approach to estimating $\boldsymbol{\alpha}$ in our endogenous online learning environment. Specifically, one could implement the so-called “randomize-then-commit” (RTC) strategy as follows.
Initially, arms are selected uniformly at random for a series of consecutive time periods, say $t=1,\ldots,\mathtt{T}_1$, similar to what is done in Phase 1 of the IV-Greedy algorithm.
Then, the estimate $\widehat\boldsymbol{\alpha}_{\mathtt{T}_1}$ is constructed using the arm-specific 2SLS.
As $\mathtt{T}_1\to\infty$, this becomes a consistent estimator because all arms have been randomly selected, thus avoiding the endogeneity spillover effect.
Finally, one commits to the greedy policy that selects the seemingly optimal arm based on the estimate $\widehat\boldsymbol{\alpha}_{\mathtt{T}_1}$, without updating the estimates in all subsequent periods.
In other words, $a_t = \operatorname*{argmax}_i \{\widehat\boldsymbol{\alpha}_{\mathtt{T}_1}^\intercal \boldsymbol{v}_t \}$ for all $t=\mathtt{T}_1+1,...T$.
While the RTC strategy avoids the endogeneity spillover effect and ensures consistent estimation, it does so at the expense of a linear regret---a drawback not shared by the IV-Greedy algorithm.
The greedy mechanism, or any adaptive mechanism aiming to emulate the decisions of the oracle policy in an online learning environment, is indispensable if the objective is to achieve a sublinear regret.
Consequently, the dynamic selection issue is likely to be generated by such an adaptive mechanism, necessitating an adjustment in the estimation approach accordingly.
The Necessity of the Covariance Stabilization Phase
The second key feature of the IV-Greedy algorithm is the inclusion of Phase 2.
This phase aids in stabilizing the matrix $\mathbb{E}[\widetilde{\boldsymbol{v}}_t \boldsymbol{z}_t^\intercal]$ towards the limit $\mathbb{E}[\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal]$, resulting in an accurate estimate of the covariance matrix $\boldsymbol{\Omega}^*$, as defined in Equation (ref).
An intuitive alternative approach might involve carrying out Phase 1 first, which provides a sufficiently accurate estimate of $\alpha_t$, and then moving directly to the joint-2SLS.
However, due to the online nature of our problem, this approach fails to yield a consistent estimate over the long term.
Poor estimates of either the coefficients or the covariance matrix in the past have lasting effects through their impact on the chosen actions, leading to biased long-term estimates.
Suppose one arm (for the sake of discussion, let's say arm 1) encounters a bad draw, which results in a lower estimate of $\boldsymbol{\alpha}$.
Without the covariance stabilization phase, the magnitude of this downward estimate could be substantially large.
In such a scenario, a direct application of Phase 3 of the algorithm implies that arm 1 may not be chosen again throughout the entire sequence of iterates.
This leads to a permanent underestimate of the reward function of arm 1, hence resulting in a sub-optimal policy.
Technically, a bad draw could imply that the indicator $\operatorname{\mathbb{I}}(a_t = 1)$ approaches zero as $t\rightarrow \infty$.
This leads to the near singularity of the matrix $\mathbb{E}[ \widetilde{\boldsymbol{v}}_t \boldsymbol{z}_t^\intercal]$, causing unstable estimates of $\boldsymbol{\Omega}^*$ and inconsistent estimates of $\boldsymbol{\alpha}$.
We formally demonstrate the necessity of Phase 2 in the proposition below.
proposition[Non-convergence Without Phase 2]
Suppose there are $K=2$ arms. If the Covariance Stabilization Phase takes $t=T_1+1,...,T_2$ with $T_2-T_1 = C>0$ being an absolute constant that does not depend on $T$, then, for any $T$ large enough, there exists $\underline{p}>0$ such that with probability at least $\underline{p}$, one of the two arms does not converge in the IV-Greedy algorithm, leading to a sub-optimal policy and a linear regret.
Theoretical Results
In this section, we analyze the theoretical properties of the IV-Greedy algorithm.
We show that this algorithm produces a regret of order $\mathcal{O}(\log(T))$.
We also show that it delivers consistent and asymptotically normal estimates of $\boldsymbol{\alpha}$.
assumptionLet $\{(\boldsymbol{v}_t,\boldsymbol{z}_t,\varepsilon_t):t=1,\ldots,T\}$ be an i.i.d. sequence, where $\boldsymbol{z}_t\in \mathbb{R}^q$ is a vector of IVs with $q\geq Kp$.
\begin{enumerate}[label=(\roman*)]
• $\varepsilon_t$ is sub-Gaussian with variance proxy $\varsigma^2$,
that is, $\mathbb{E}[e^{\lambda \varepsilon_t}] \leq e^{\lambda^2\varsigma^2/2}$ for all $\lambda\in\mathbb{R}$.
• $\mathbb{E}[\boldsymbol{z}_t\varepsilon_t]=0$ and $\operatorname{Var}(\varepsilon_t)=\sigma^2<\infty$.
• There exist positive constants $\bar{v}$ and $\bar{z}$, such that
$\|\boldsymbol{z}_t\|_\infty\leq \bar{z}$ and $\|\boldsymbol{v}_t\|_\infty \leq \bar{v}$ almost surely, where $\|\cdot\|_\infty$ denotes the $L^\infty$ norm of a vector.
• Let $\boldsymbol{\delta}_{i,j}\coloneqq \boldsymbol{\alpha}_i-\boldsymbol{\alpha}_j$, $\boldsymbol{\Sigma}^*_{vz}:=\mathbb{E}[\boldsymbol{v}_t^*\boldsymbol{z}_t^\intercal]$, and $\boldsymbol{\Sigma}_{zz}:=\mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal]$, where
\[\boldsymbol{v}_t^*\coloneqq
\begin{pmatrix}
\operatorname{\mathbb{I}}(a_t^*=1)\boldsymbol{v}_t \\
\vdots \\
\operatorname{\mathbb{I}}(a_t^*=K)\boldsymbol{v}_t
\end{pmatrix} =
\begin{pmatrix}
\operatorname{\mathbb{I}}(\min_{j\neq 1}\boldsymbol{v}_t^\intercal \boldsymbol{\delta}_{1j} > 0)\boldsymbol{v}_t \\
\vdots\\
\operatorname{\mathbb{I}}(\min_{j\neq K}\boldsymbol{v}_t^\intercal \boldsymbol{\delta}_{Kj} > 0)\boldsymbol{v}_t
\end{pmatrix} \in\mathbb{R}^{Kp}.\]
Then, $\boldsymbol{\Sigma}_{vz}^*$ is a full-rank matrix and $\boldsymbol{\Sigma}_{zz}$ is a positive definite matrix.
• There exists a constant $L>0$, such that
$\Pr(|\boldsymbol{v}_t^\intercal \boldsymbol{\delta}_{i,j}|\leq c)\leq Lc$ for all $c > 0$ and $1\leq i\neq j \leq K$.
\end{enumerate}
Condition (ref) is common in the bandit literature and is key for establishing a $\log(T)$-like regret bound. For example, GoldenshlugerZeevi13 assume normality on $\varepsilon_t$, and ZhongHongLiu21 assume boundedness,
both of which are special cases of Condition (ref).
BastaniBayatiKhosravi21 impose the same sub-Gaussian condition as we do.
If Condition (ref) is replaced with moment restrictions on $\varepsilon_t$,
one might still obtain a sublinear regret, but not a $\log(T)$ regret. Conditions (ref) and (ref) are again common assumptions in the IV and contextual bandit literature, respectively.
Condition (ref)
implies that $\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal \in \mathbb{R}^{(Kp)\times (Kp)} $
is a positive definite matrix.
This is a key condition for parameter identification.
It requires that the oracle policy must be dependent on $\boldsymbol{v}_t$; more specifically, $\operatorname{\mathbb{I}}(a_t^*=1)\boldsymbol{v}_t, \ldots,\operatorname{\mathbb{I}}(a_t^*=K)\boldsymbol{v}_t$ should not be co-linear when projected to the $\boldsymbol{z}_t$ space.
Condition (ref) holds in general if $\boldsymbol{\delta}_{i,j} \neq \boldsymbol{0}$ for all $1\leq i\neq j\leq K$.
Further,
Condition (ref) states that the density of $\boldsymbol{v}_t$ is Lipschitz continuous in the vicinity of the hyperplance $\{\boldsymbol{v}:\boldsymbol{v}^\intercal \boldsymbol{\delta}_{i,j} = 0\}$.
This condition is often referred to as the “margin condition” in statistical learning literature Tsybakov04. It is also a standard condition in the literature on contextual bandits.
Moreover, Conditions (ref)
and (ref) together imply that $ \Pr(\boldsymbol{v}_t^\intercal \boldsymbol{\delta}_{i,j} <0)>0$ and $ \Pr(\boldsymbol{v}_t^\intercal \boldsymbol{\delta}_{i,j}>0)>0$,
which is referred to as the “diversity condition” in GoldenshlugerZeevi13.
remarkThe covariate vector $\boldsymbol{v}_t\in\mathbb{R}^p$ may be decomposed into
two parts: $\boldsymbol{x}_t$ and $\boldsymbol{d}_t$, where
$\boldsymbol{x}_t\in\mathbb{R}^{\ell}$ is exogenous, $\boldsymbol{d}_t\in\mathbb{R}^m$ is potentially endogenous, and $p=\ell+m$.
Then,
there are $((K-1)\ell+Km)$ number of endogenous variables in (ref), with
$m$ of them from the term $\boldsymbol{v}_t^\intercal \boldsymbol{\alpha}_1$ and the other $(K-1)(l+m)$ of them from the term
$\operatorname{\mathbb{I}}(a_t = i)\boldsymbol{v}_t^\intercal(\boldsymbol{\alpha}_i - \boldsymbol{\alpha}_1)$, $i=2,\ldots,K$.
Thus, the minimal number of IVs that we need is $ (K-1)\ell+K m = Kp - \ell$.
However, for the convenience of exposition, we assume
there are a total of $q$ IVs with $q\geq Kp$.
remarkTo construct a sufficient number of IVs,
following the decomposition of $\boldsymbol{v}_t$
in Remark (ref), practitioners may begin with a set of IVs for $\boldsymbol{d}_t$, denoted as $\check{\boldsymbol{z}}_t\in\mathbb{R}^{\check{q}}$ with $\check{q} \geq m$.
The exogenous variables $\boldsymbol{x}_t$ can serve as IVs for themselves.
A natural means
to construct additional IVs for $\operatorname{\mathbb{I}}(a_t=i)\boldsymbol{v}_t$, $i=2,\ldots,K$, in (ref)
is to use such variables as $\operatorname{\mathbb{I}}(\boldsymbol{x}_t\geq \mathring{x})$, $\operatorname{\mathbb{I}}(\check{\boldsymbol{z}}_t\geq \mathring{z})$, and their interaction terms---for example, $ \operatorname{\mathbb{I}}(\boldsymbol{x}_t\geq \mathring{x})\boldsymbol{x}_t$ and $\operatorname{\mathbb{I}}(\check{\boldsymbol{z}}_t\geq \mathring{z})\check{\boldsymbol{z}}_t$ for some threshold values $\mathring{x}$ and $\mathring{z}$. See the simulation example in Section (ref) for an illustration.
Other nonlinear transformations of $\boldsymbol{x}_t$ and $\check{\boldsymbol{z}}_t$ may also work as IVs,
if
\begin{equation} \mathbb{E}[\varepsilon_t|\boldsymbol{x}_t,\check{\boldsymbol{z}}_t]=0.
\end{equation}
This condition and the use of splines as IVs are widely employed in the conditional moment restriction literature ChenPouzo12.
This implies Condition (ref) in Assumption (ref) and, thus, it is slightly stronger.
For optimal selection of IVs under the conditional moment restriction (ref),
we refer to DonaldImbensNewey09 and Belloni12.
Regret Analysis
In this subsection, we describe the long-run regret of the IV-Greedy algorithm. We then discuss a new technique---zig-zag induction---that we develop for analyzing algorithms associated with online learning environments.
theoremLet $\mathtt{T}_1 = C_{\mathtt{T}_1} \log(T)$ and $\mathtt{T}_2 = (C_{\mathtt{T}_1} + C_{\mathtt{T}_2}) \log(T)$ for some sufficiently large constants $ C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$. Then, under Assumption (ref), the regret of the IV-Greedy algorithm is $\mathcal{O}(\log(T))$.
Note that
in the presence of endogeneity, an algorithm that does not produce consistent estimates of the coefficient vector $\boldsymbol{\alpha}$ will generally suffer a linear regret NambiarSimchiWang19.
Therefore, it is necessary to establish consistency of the coefficient estimate.
This requires analyzing the probability of the estimate $\widehat\boldsymbol{\alpha}_t$ falling in the vicinity of $\boldsymbol{\alpha}$
over Phase 3 of the algorithm.
From the 2SLS formula, it can be shown that the coefficient estimate $\widehat{\boldsymbol{\alpha}}_t$ in Phase 3 depends on the covariance estimate $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$. The calculation of $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$, however, is not standard because it depends on the past estimates $\{\widehat{\boldsymbol{\alpha}}_s:\mathtt{T}_1\leq s\leq t-1\}$---that is,
equation[equation omitted — 307 chars of source]
where $a_s$ is selected by the greedy algorithm and depends on $\widehat{\boldsymbol{\alpha}}_s$.
Note that if the optimal arm $a^*_s$ were known and selected in each period, we would simply calculate
equation[equation omitted — 326 chars of source]
which is standard because it involves the average of samples from i.i.d. random variables.
However, because the optimal arms are unknown, the analysis of $\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}$ poses a challenge. First, since $\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}$ depends on the choice of arm $a_s$ for all $s$ from $\mathtt{T}_1+1$ to $t$, any past coefficient estimate $\widehat{\boldsymbol{\alpha}}_s$, through its effect on the selected arm, has an effect on $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$. Second, these coefficient estimates are serially correlated because they are all calculated from the same data source.
Lastly, not only does $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$ depend on $\{\widehat{\boldsymbol{\alpha}}_s:\mathtt{T}_1\leq s\leq t-1\}$, $\widehat{\boldsymbol{\alpha}}_t$ also depends on $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$.
This two-way dependence implies that the coefficient estimates and the covariance estimates are entangled.
The two-way dependence, a common feature of online learning environments, makes it difficult for the coefficient estimates to converge to the true value in the long run. A poor coefficient estimate can lead to a wrong action, which contaminates the generated data (since the data associated with the right arm is no longer observed). The wrong data then worsens the future coefficient estimates and, thus, the future data-generating process. In summary, errors made in the past do not disappear: they make future errors more likely.
To deal with this problem, we untangle the dependence via a “zig-zag” induction. As an overview of its structure, assume that, in period $t-1$ in Phase 3, the coefficient estimate $\widehat{\boldsymbol{\alpha}}_s$ is sufficiently close to the true value for all $s$ from $\mathtt{T}_2+1$ to $t-1$ with a sufficiently high probability.
A induction step is then used to show that this remains true for period $t$. To carry out the induction step, two sub-steps are needed.
The first sub-step shows that the covariance estimate $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$ is sufficiently accurate in period $t$. This is the zig-step. In the second sub-step, we use this result from the zig-step to show that the induction hypothesis holds at time $t$. The difficult part of the induction is the zig-step. As mentioned earlier, the covariance estimate in the zig-step depends on all the coefficient estimates in the past, which are serially correlated.
To deal with the challenge in the zig-step, let
\[\mathscr{A}_t\coloneqq \Biggl\{\|\widehat{\boldsymbol{\alpha}}_t-\boldsymbol{\alpha}\|\leq C_A \sqrt{\frac{\log(T)}{t-\mathtt{T}_1}}\Biggr\}
\qq{and}
\mathscr{B}_t\coloneqq \bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{vz}^*\|\leq \eta\bigr\},
\]
for some constant $C_A>0$,
where $\|\cdot\|$ denotes the Euclidean norm for vectors and the spectral norm for matrices.
Further, let $\mathscr{A}_{\mathtt{T}_2:t}:=\cap_{s=\mathtt{T}_2+1}^{t} \mathscr{A}_{s}$, where we note that the intersection begins at the beginning of Phase 2. This is the event in which all the past coefficient estimates from Phase 2 are sufficiently accurate. With these definitions, the induction shows that there exists a constant $C>0$, such that
equation*[equation* omitted — 115 chars of source]
This is achieved via a two-step induction using $\mathscr{B}_t$ as a bridge---first from $\mathscr{A}_{\mathtt{T}_2:t-1}$ to $\mathscr{B}_t$ and then from $\mathscr{B}_t$ to $\mathscr{A}_t$
(see Figure (ref)).
figure[figure omitted — 152 chars of source]
Note that we perform the induction on $\mathscr{A}_{\mathtt{T}_2:t}$ instead of $\mathscr{A}_t$. This is because the zig-zag induction step requires the analysis of the covariance estimate. As we emphasize above, the covariance estimate depends on the past coefficient estimates. Therefore, showing that the covariance estimate is sufficiently accurate requires event $\mathscr{A}_{\mathtt{T}_2:t}$ to occur---that is, all the past coefficient estimates from Phase 2 on to be sufficiently accurate.
A key observation in our induction step is that, when the assumption holds in period $t-1$ of Phase 3, we can show (with details in the proof) that
there exists a constant $C'>0$, such that
equation[equation omitted — 233 chars of source]
for all $s=\mathtt{T}_2+1,\ldots,t-1$.
Therefore, this relation states that a wrong arm is selected only when the difference in the actual expected reward between this arm and some other arm is small.
(We can also show, with a similar argument, that (ref) holds
all $s=\mathtt{T}_1+1,\ldots,\mathtt{T}_2$, i.e.,
Phase 2 of the algorithm, provided that
the coefficient estimate at the end of Phase 1 is sufficiently accurate.)
The intuition for this observation is that, when the coefficient estimate is sufficiently accurate, the estimated expected reward
of choosing each arm (calculated from the coefficient estimate) is also close to the actual expected reward;
and thus the arm selected by the algorithm is optimal if the actual expected reward from this arm is sufficiently different than that from any other arm.
In other words, when a wrong arm is selected, it must be that the difference in the actual expected reward between this arm and some other arm is small.
A consequence of this observation is that, instead of estimating the probability that a wrong arm is selected, which depends on the past coefficient estimates, it suffices to estimate the probability that the covariate vector $\boldsymbol{v}_s$ falls within a bound.
Specifically, we can show that
align[align omitted — 540 chars of source]
for some constant $\tilde{C}>0$.
Because the covariate vectors $\boldsymbol{v}_s$ are i.i.d. over different periods, so are $\operatorname{\mathbb{I}}\left(|\boldsymbol{v}_s^\intercal \boldsymbol{\alpha}_j - \boldsymbol{v}_s^\intercal \boldsymbol{\alpha}_i|\leq C'\eta \right)$.
In other words, the right-hand-side of the inequality (ref) is a sample average of i.i.d. random variables; and therefore, bounds on its tail probability can be established using standard concentration inequalities. This allows us to show that, with a sufficiently high probability, $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}$ is close to $\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}^*$.
The induction shows that, with a sufficiently high probability, the coefficient estimates remains sufficiently accurate over the entire Phase 3 of the algorithm.
Standard calculation BastaniBayatiKhosravi21 can then be applied to show that the regret in Phase 3 is $\mathcal{O}(\log(T))$.
Since the durations of Phases 1 and 2 are both $\mathcal{O}(\log(T))$, this shows that the total regret is $\mathcal{O}(\log(T))$.
GoldenshlugerZeevi13 prove that
in a standard linear contextual bandit problem---with no endogeneity involved---the best possible lower bound
for any algorithm is $C\log(T)$ for some constant $C$.
Since our setup allows endogeneity in the covariates and includes standard linear contextual bandits as special cases,
$C\log(T)$ is also
a lower bound on regret for our setup.
Hence, Theorem (ref) shows that IV-Greedy achieves the asymptotically minimal regret.
Statistical Inference
The contextual bandit literature mostly focuses on regret analysis, whereas results on statistical inference are relatively scarce.
We provide such results for the coefficient estimates.
theoremLet $\mathtt{T}_1 = C_{\mathtt{T}_1} \log(T)$ and $\mathtt{T}_2 = (C_{\mathtt{T}_1}+ C_{\mathtt{T}_2}) \log(T)$ for some sufficiently large constants $ C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$.
Then, under Assumption (ref), the estimator $\widehat{\boldsymbol{\alpha}}_T$ of Algorithm (ref) satisfies
\begin{gather}
\sqrt{T-\mathtt{T}_1} (\widehat{\boldsymbol{\alpha}}_{T} - \boldsymbol{\alpha} )
\rightsquigarrow \mathcal{N}\Bigl(\boldsymbol{0},\sigma^2\bigl(\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal\bigr)^{-1}\Bigr),
\end{gather}
as $T\to\infty$, where $\boldsymbol{\Sigma}_{vz}^* = \mathbb{E}[\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal]$, $\boldsymbol{\Sigma}_{zz}=\mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal]$, and $\mathcal{N}(\boldsymbol{0}, \boldsymbol{\Sigma})$ denotes the multivariate normal distribution with zero mean vector and covariance matrix $\boldsymbol{\Sigma}$.
To construct a confidence interval for $\boldsymbol{\alpha}$, we need a consistent estimator of the covariance matrix $\sigma^2\bigl(\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal\bigr)^{-1}$ in (ref).
To this end, note that
$\widehat{\sigma}^2_T$, $\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:T}$, and $\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:T}$ are consistent estimators of $\sigma^2$, $\boldsymbol{\Sigma}_{vz}^*$, and $\boldsymbol{\Sigma}_{zz}$, respectively.
Moreover, by the definition of $\widehat{\boldsymbol{\Omega}}_T$ in Algorithm (ref),
\[
(T-\mathtt{T}_1) \widehat{\boldsymbol{\Omega}}_T = \bigl(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:T}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:T}^{-1}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:T})^\intercal\bigr)^{-1}.
\]
Thus, we use $(T-\mathtt{T}_1)\widehat{\sigma}^2_T \widehat{\boldsymbol{\Omega}}_T$ to consistently estimate $\sigma^2\bigl(\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal\bigr)^{-1}$.
Then,
standard calculation leads to the following result,
which facilitates inference on $\boldsymbol{\alpha}$.
corollaryLet $\mathtt{T}_1 = C_{\mathtt{T}_1} \log(T)$ and $\mathtt{T}_2 = (C_{\mathtt{T}_1}+ C_{\mathtt{T}_2}) \log(T)$ for some sufficiently large constants $ C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$.
Then, under Assumption (ref), the estimator $\widehat{\boldsymbol{\alpha}}_T$ of Algorithm (ref) satisfies
\begin{gather*}
(T-\mathtt{T}_1)^\frac{1}{2}\bigl(\widehat{\sigma}_T^2\widehat{\boldsymbol{\Omega}}_T\bigr)^{-\frac{1}{2}}(\widehat\boldsymbol{\alpha}_T-\boldsymbol{\alpha}) \rightsquigarrow \mathcal{N}(0,\boldsymbol{I}_{Kp}), \\
(T-\mathtt{T}_1)(\widehat\boldsymbol{\alpha}_T-\boldsymbol{\alpha})^\intercal \bigl(\widehat{\sigma}_T^2\widehat{\boldsymbol{\Omega}}_T\bigr)^{-1} (\widehat\boldsymbol{\alpha}_T-\boldsymbol{\alpha}) \rightsquigarrow \chi^2_{Kp}.
\end{gather*}
as $T\to\infty$, where
$\widehat{\sigma}_T$ and $\widehat{\boldsymbol{\Omega}}_T$ are defined in Algorithm (ref),
$\boldsymbol{I}_{Kp}$ is the identity matrix of size $(Kp)\times (Kp)$,
and $\chi^2_{Kp}$ denotes the chi-square distribution with $Kp$ degrees of freedom.
Simulation Experiments
In this section, we present a simulation study to demonstrate the performance of IV-Greedy and compare it with the following alternatives.
These alternatives---similar to IV-Greedy---all have a randomization phase of duration $\mathtt{T}_1$, in which each arm is selected uniformly at random.
enumerate[label=(\roman*)]
• Naive-IV-Greedy. In each period $t=\mathtt{T}_1+1,\ldots,T$, this algorithm performs the arm-specific 2SLS method, as detailed in Equation (ref), to obtain an estimate of $\boldsymbol{\alpha}$ and selects an arm following a greedy manner.
• OLS-UCB. In each period $t=\mathtt{T}_1+1,\ldots,T$, this algorithm performs the arm-specific OLS method, as detailed in Equation (ref), to obtain an estimate of $\boldsymbol{\alpha}$ and selects an arm following the upper-confidence-bound (UCB) criterion. This algorithm is the standard benchmark in context bandits literature for linear reward functions; see ZhongHongLiu21 for reference.
• Randomize-then-commit (RTC). After the first $\mathtt{T}_1$ periods, this algorithm performs arm-specific 2SLS to obtain an estimate of $\boldsymbol{\alpha}$ and commit to it. In each period $t=\mathtt{T}_1+1,\ldots,T$, the algorithm continues to use this estimate without updates to select an arm in a greedy manner. The details of this algorithm are discussed in Section (ref).
For all the four algorithms, we set $\mathtt{T}_1=50$ and the total run length $T=20000$.
In addition, we set $\mathtt{T}_2=100$ for IV-Greedy.
We evaluate these algorithms based on regret and the number of wrong arms pulled---both of which are common metrics for online learning algorithms. Additionally, we perform statistical inference on the coefficients in the reward function upon the termination of the algorithms.
To this end, we consider a two-armed linear contextual bandit problem with three-dimensional covariates, i.e., $K=2$.
Let the covariate vector $\boldsymbol{v}_t = (1, x_t, d_t)^\intercal$, where $x_t\in\mathbb{R}$ is an exogenous variable and $d_t\in\mathbb{R}$ is an endogenous variable.
The endogeneity is introduced in the following manner.
Suppose the random reward at time $t$ is
\[
R_t = \sum_{i=1}^2 \mu_i(\boldsymbol{v}_t)\operatorname{\mathbb{I}}(a_t=i) +\varepsilon_t,
\]
where $\mu_i(\boldsymbol{v}_t) = \beta_{i,0} + \beta_{i, 1}x_t + \gamma_{i} d_t$,
for some parameters $\beta_{i,0}$, $\beta_{i,1}$, and $\gamma_i$.
Suppose also
\[d_t = \sqrt{x_t} + \rho_{\check{z}} \check{z}_t + \rho_\eta \eta_t \qq{and} \varepsilon_t = \tilde{\varepsilon}_t + 2\eta_t,\]
where $\rho_{\check{z}}$ and $\rho_\eta$ are some positive constants,
and
$x_t$, $\check{z}_t$, $\eta_t$, and $\tilde{\varepsilon}_t$ are independent random variables with the following distributions:
gather*[gather* omitted — 364 chars of source]
Here, we use $\mathsf{TruncNorm}(\mu, \sigma^2, l, u)$ to denote the truncated normal distribution that is derived from bounding the $\mathcal{N}(\mu,\sigma^2)$ distribution on the interval $(l, u)$.
The parameters are specified as follows:
gather*[gather* omitted — 423 chars of source]
Note that $\varepsilon_t$ and $d_t$ are correlated through $\eta_t$ and, thus, $d_t$ becomes endogenous.
Moreover,
$\check{z}_t$ is correlated with $d_t$ but is uncorrelated with $\varepsilon_t$,
so $\check{z}_t$ serves as an IV for $d_t$.
However, for IV-Greedy to work, the number of IVs must be at least twice as many as the number of endogenous variables in order to account for the endogeneity spillover issue; see Remark (ref).
As discussed in Remark (ref), we create additional IVs using
$\operatorname{\mathbb{I}}(x_t\geq \mathring{x})$, $\operatorname{\mathbb{I}}(\check{z}_t\geq \mathring{z})$, and the interaction terms between them and $x_t$ or $\check{z}_t$, for some threshold values $\mathring{x}$ and $\mathring{z}$.
Specifically, we use the following list of IVs:
\[
\bigl\{1, \; x_t,\; \check{z}_t, \;\operatorname{\mathbb{I}}(x_t\geq 1), \;\operatorname{\mathbb{I}}(x_t\geq 1)\check{z}_t,\; \operatorname{\mathbb{I}}(x_t\geq 1.5),\; \operatorname{\mathbb{I}}(x_t\geq 1.5)\check{z}_t, \;\operatorname{\mathbb{I}}(\check{z}_t\geq 2), \;\operatorname{\mathbb{I}}(\check{z}_t\geq 2)\check{z}_t\bigr\}.
\]
Further, we run the four algorithms (IV-Greedy, Naive-IV-Greedy, OLS-UCB, and RTC) 1000 times each and present the results in Figures (ref) and (ref) as well as Table (ref).
figure[figure omitted — 274 chars of source]
Figure (ref) presents the regret of each algorithm.
First, in contrast to the others, IV-Greedy achieves a regret with a diminishing growth rate after a sufficient number of iterations (e.g., $T=5000$).
The confidence bands further show that the performances of these two algorithms are stable in the learning process.
Second, to verify our theoretical result in Theorem (ref), we conduct a linear regression analysis of the regrets of IV-Greedy on $\log(t)$.
The value of $R^2$ is $0.99$, thereby
providing strong empirical evidence for our theory.
Third, although the theoretical analysis requires that Phases 1 and 2 of IV-Greedy should be “sufficiently long,”
the simulation results indicate that they can be set to be moderate values ($\mathtt{T}_1=50$ and $\mathtt{T}_2=100$) in practice.
figure[figure omitted — 339 chars of source]
Figure (ref) presents the biases of the coefficient estimates.
For the estimates produced by IV-Greedy, the bias vanishes as the number of iterations increases, while the other algorithms are generally biased.
In particular, the fact that Naive-IV-Greedy produces inconsistent estimates of the coefficients demonstrates the existence of endogeneity spillover in this online learning example (the endogeneity in the covariates is addressed by the use of IVs in the arm-specific 2SLS, but the endogeneity that spills over to the actions remains).
Secondly, it is well known in the online learning literature that the use of the UCB criterion encourages the “exploration” (in the conventional sense) of seemingly inferior arms.
Assuming the absence of endogeneity, this would allow OLS-UCB to provide consistent estimates of the coefficients at the cost of a sub-linear regret.
The observation that OLS-UCB does not yield consistent estimates aligns with our discussion at the end of Section (ref).
Namely, to address the endogeneity issue in an online learning environment, one must undertake what is termed “ex-ante exploration”.
This process involves perturbing the data-generating process, and IVs serve this purpose effectively.
Lastly, RTC first performs arm-specific 2SLS to data from randomization and then commits to the coefficient estimates.
This results in a dilemma: on the one hand, if the randomization period is long, then the regret is large, because the randomization produces a linear regret; on the other hand, if the randomization period is short, then the coefficient estimates are inaccurate,\footnote{In general, the 2SLS estimates have a second-order bias if the sample size is small or the IVs are weak AndrewsStockSun19.}
which also leads to a large regret in the long run.
Thus, the regret of RTC is, at best, a fractal polynomial of $T$, which is significantly worse than $\log(T)$.
table[table omitted — 1,986 chars of source]
In Table (ref), we report main statistics for the coefficient estimates after 20000 iterations of the five algorithms.
For all the coefficients, IV-Greedy results in almost zero bias and the corresponding confidence intervals achieve proper coverage of the true values (the coverage is close to 95% for 95% confidence intervals).
Note that Naive-IV-Greedy produces both substantially biased estimates and confidence intervals with zero coverage,
which, again, demonstrates the endogeneity spillover issue.
Note also that the quality of the inference results produced by RTC is fair, but the SD is much larger than IV-Greedy.
Conclusions
We study the dynamic selection problems that arise in algorithmic decision-making when the data has endogeneity problems. In a contextual bandit model, endogeneity in data influences the arms pulled, causing a non-random sampling of data that results in self-fulfilling bias.
We correct for the bias by incorporating IVs to existing online learning algorithms. The new algorithms lead to the true parameter values and meanwhile attain low (logarithmic-like) regret levels.
We also prove a central limit theorem for statistical inference of the parameters of interest.
To establish these properties, we develop a general technique that untangles the interdependence between data and actions.
The use of IVs corrects the bias because they perturb the data-generating process.
Therefore, our approach features “ex-ante exploration”, which contrasts with the “ex-post exploration”---that is, randomizing the choices given to the users once they arrive. The ex-post exploration, typically under the name of exploration, is the focus of most research.
However, in the presence of endogenous data, our analysis highlights the importance of ex-ante exploration. Understanding how best to carry out ex-ante exploration and how these two types of exploration interact offer fruitful venues for future research.
appendix\numberwithin{equation}{section}
\begin{center}
{For Online Publication Only.}
\end{center}
\section{Proof of Proposition (ref)}
By direct calculations and mathematical induction, we can show that for any $k\geq 1$ and $b\in[0,1]$,
\[
\operatorname{Cov}[v_t,v_t^k|v_t>b] = \frac{(1-b)^2}{2(k+1)(k+2)} \sum_{i=0}^{k-1}(k-i)(i+1)b^i.
\]
Consequently,
\begin{equation}
\frac{\operatorname{Cov}[v_t, \varepsilon_t|v_t > b]}{\operatorname{Var}[v_t|v_t > b]} =
\frac{\sum_{k=1}^n \beta_k \operatorname{Cov}[v_t, v_t^k|v_t > b]}{\operatorname{Cov}[v_t, v_t|v_t > b]}
= \sum_{k=1}^n \frac{6 \beta_k}{(k+1)(k+2)}\sum_{i=0}^{k-1}(k-i)(i+1)b^i .
\end{equation}
By setting $b=0$ in equation (ref), we derive the limit of the OLS estimate of $\alpha$ in the following manner:
\[
\widehat{\alpha}_{\mathrm{OLS}} \coloneqq \alpha+ \frac{\operatorname{Cov}[v_t, \varepsilon_t]}{\operatorname{Var}[v_t]} = \alpha + \frac{\operatorname{Cov}[v_t, \varepsilon_t|v_t > 0]}{\operatorname{Var}[v_t|v_t > 0]} = \alpha + \sum_{k=1}^n \frac{6k}{(k+1)(k+2)}\beta_k.
\]
Moreover, applying equation (ref) to equation (ref) with $b=c/\widehat{\alpha}$ yields that
\begin{equation}
\widehat{\alpha}^n - \biggl( \alpha + \sum_{k=1}^n \frac{6 k \beta_k}{(k+1)(k+2)} \biggr)\widehat{\alpha}^{n-1} - \sum_{i=1}^{n-1} \biggl( \sum_{k=i+1}^n \frac{6 (k-i) \beta_k}{(k+1)(k+2)}\biggr) (i+1) c^i \widehat{\alpha}^{n-1-i} =0,
\end{equation}
which is a $n$-th degree polynomial equation in terms of $\widehat{\alpha}$.
Assume that equation (ref) has $n$ real roots: $\{r_k: k=1,\ldots,n\}$.
Then, $\prod_{k=1}^n (\widehat{\alpha}- r_k) = 0$, that is,
\begin{equation}
\widehat{\alpha}^{n} +
\sum_{i=1}^n \biggl( \sum_{j_1,\ldots, j_i} \prod_{k=1}^i r_{j_k} \biggr)(-1)^i \widehat{\alpha}^{n-i}
=0,
\end{equation}
where $\{j_1,\ldots,j_i\}$ are mutually different numbers in $\{1,\ldots,n\}$ for each $i=1,\ldots,n$.
By matching the coefficients of $\widehat{\alpha}^{n-i}$ in equation (ref) and equation (ref) for each $i=1,\ldots,n$, we have
\begin{equation}
\left\{
\begin{aligned}
-\biggl(\frac{6 \beta_n }{(n+1)(n+2)} \biggr)n c^{n-1}
=& (-1)^n \prod_{j=1}^n r_j
\qquad (matching for \widehat{\alpha}^0), \\
- \biggl(\frac{6\beta_{n-1}}{n(n+1)} + \frac{12 \beta_n}{(n+1)(n+2)} \biggr) (n-1) c^{n-2}
=& (-1)^{n-1} \sum_{j_1,\ldots, j_{n-1}} \prod_{k=1}^{n-1} r_{j_k}
\qquad (matching for \widehat{\alpha}^1), \\
& \vdots \\
- \biggl( \sum_{k=2}^n \frac{6 (k-1) \beta_k}{(k+1)(k+2)}\biggr) 2 c
=& (-1)^2 \sum_{j_1\neq j_2} r_{j_1}r_{j_2}
\qquad (matching for \widehat{\alpha}^{n-2}), \\
- \biggl(\alpha + \sum_{k=1}^n \frac{6 k \beta_k}{(k+1)(k+2)}\biggr) =& (-1)\sum_{j=1}^n r_j
\qquad (matching for \widehat{\alpha}^{n-1}).
\end{aligned}
\right.
\end{equation}
This is a system of linear equations in $\{\beta_k:k=1,\ldots,n\}$ and can easily be solved.
In particular, note that the first equation in (ref) involves only $\beta_n$, the second involves only $(\beta_{n-1},\beta_n)$, and so forth.
Thus, we begin with the first equation, calculating the value of $\beta_n$, then plug its value into the second equation to solve for $\beta_{n-1}$, and continue with the other equations in the same fashion to solve for $\beta_{n-2},\ldots,\beta_2, \beta_1$ one at a time.
Further, we may set $\beta_0$ such that $\operatorname{\mathbb{E}}[\varepsilon_t] = \sum_{k=0}^n \beta_k v_t^k = 0$, that is,
\begin{equation}
\beta_0 = - \sum_{k=1}^n \beta_k \operatorname{\mathbb{E}}[v_t^k] = - \sum_{k=1}^n \frac{1}{k+1}\beta_k.
\end{equation}
Therefore,
for any arbitrary sequence $\{r_k: k=1,\ldots,n\}$ such that $c/r_k\in(0,1)$ for each $k$,
there exist a sequence $\{\beta_k:k=0,1,\ldots,n\}$---given by equations (ref) and (ref)---such that $\{r_k: k=1,\ldots,n\}$ are $n$ real fixed points of equation (ref).
Note that our method of constructing multiple self-fulling biases can be generalized. For an arbitrary number of self-fulling biases with arbitrary values, we can again let the covariates be uniformly distributed and construct the noise as a higher-order polynomial of the covariates.
The coefficients of the polynomial can again be solved via linear equations.
\section{Concentration Inequalities}
\begin{definition}
[Singular Values]
Let $\boldsymbol{M}\in\mathbb{R}^{k\times \ell}$ be a real matrix.
If $k\geq \ell$, then
a non-negative real number $\mathsf{s}$ is said to be a singular value of $\boldsymbol{M}$ if $\mathsf{s}^2$ is an eigenvalue of $\boldsymbol{M}^\intercal \boldsymbol{M}\in \mathbb{R}^{\ell\times\ell}$.
If $k<\ell$, then
a non-negative real number $\mathsf{s}$ is said to be a singular value of $\boldsymbol{M}$ if $\mathsf{s}^2$ is an eigenvalue of $\boldsymbol{M} \boldsymbol{M}^\intercal \in\mathbb{R}^{k\times k}$.
Hence, $\boldsymbol{M}\in\mathbb{R}^{k\times \ell}$ has $\min\{k,\ell\}$ singular values in total.
Let $\phi_{\max}(\boldsymbol{M})$ and $\phi_{\min}(\boldsymbol{M})$ denote the largest and smallest singular values of $\boldsymbol{M}$, respectively.
\end{definition}
\begin{definition}
[Matrix Norms]
The spectral norm of a matrix $\boldsymbol{M}\in\mathbb{R}^{k\times \ell}$ is defined as
$
\|\boldsymbol{M}\| \coloneqq
\sup_{\boldsymbol{u}\in\mathbb{R}^\ell: \|\boldsymbol{u}\|=1}\|\boldsymbol{M}\boldsymbol{u}\|
$,
and its \emph{max norm} is defined as
$\|\boldsymbol{M}\|_{\max} \coloneqq \max_{1\leq i\leq k,1\leq j\leq \ell}|M_{ij}|$,
where $M_{ij}$ denotes the $(i,j)$-th entry of $\boldsymbol{M}$.
\end{definition}
\begin{definition}
[Sub-Gaussian Random Variables]
A random variable $X$ is said to be \emph{sub-Gaussian} with variance proxy $\varsigma^2$
if $\operatorname{\mathbb{E}}\bigl[e^{\lambda(X-\mathbb{E}[X])} \bigr] \leq e^{\lambda^2\varsigma^2/2}$
for all $\lambda\in\mathbb{R}$.
\end{definition}
\begin{definition}[Sub-Exponential Random Variables]
A random variable $X$ is said to be
\emph{sub-exponential} if its \emph{sub-exponential norm}, defined as
$
\|X\|_{\psi_1} \coloneqq \inf\left\{w>0: \operatorname{\mathbb{E}}\bigl[e^{|X|/w}\bigr]\leq 2\right\}$, is finite.
\end{definition}
\begin{lemma}
For any matrix $\boldsymbol{M}\in\mathbb{R}^{k\times \ell}$,
\[
\phi_{\max}(\boldsymbol{M}) = \sup_{\boldsymbol{u}\in\mathbb{R}^\ell: \|\boldsymbol{u}\|=1}\|\boldsymbol{M}\boldsymbol{u}\|
\qq{and}
\phi_{\min}(\boldsymbol{M}) = \inf_{\boldsymbol{u}\in\mathbb{R}^\ell: \|\boldsymbol{u}\|=1}\|\boldsymbol{M}\boldsymbol{u}\|,
\]
where $\|\boldsymbol{u}\|$ denotes the Euclidean norm of $\boldsymbol{u}$.
\end{lemma}
\begin{proof}[Proof.]
See page 78 of GolubLoan13.
\end{proof}
\begin{lemma}
For any matrices $\boldsymbol{M}\in\mathbb{R}^{k\times \ell}$ and $\boldsymbol{N}\in\mathbb{R}^{\ell\times m}$, we have
\begin{equation}
\phi_{\max}(\boldsymbol{M}\boldsymbol{N}) \leq \phi_{\max}(\boldsymbol{M}) \phi_{\max}(\boldsymbol{N})\qq{and} \phi_{\min}(\boldsymbol{M}\boldsymbol{N}) \geq \phi_{\min}(\boldsymbol{M}) \phi_{\min}(\boldsymbol{N}).
\end{equation}
If $\boldsymbol{M}$ is an invertible square matrix, then
\begin{equation}
\phi_{\max}(\boldsymbol{M}^{-1}) = (\phi_{\min}(\boldsymbol{M}))^{-1}
\qq{and} \phi_{\min}(\boldsymbol{M}^{-1}) = (\phi_{\max}(\boldsymbol{M}))^{-1}.
\end{equation}
\end{lemma}
\begin{proof}[Proof.]
The inequalities in (ref) follow from Theorem 3 of WangXi97, and
the identities in (ref) follow from the definition of singular values.
\end{proof}
\begin{lemma}
For any matrix $\boldsymbol{M}\in\mathbb{R}^{k\times \ell}$, $\|\boldsymbol{M}\| \leq \sqrt{k\ell} \|\boldsymbol{M}\|_{\max}$.
\end{lemma}
\begin{proof}[Proof.]
See page 72 of GolubLoan13.
\end{proof}
\begin{lemma}
Let $\{\boldsymbol{M}_i\}_{i=1}^N$ be a sequence of zero-mean independent $k$-by-$\ell$ random matrices.
For each $i=1,\ldots,N$,
assume that $\|\boldsymbol{M}_i\| \leq b$ almost surely for some constant $b>0$.
Then, for all $\tau\geq 0$,
\begin{gather*}
\Pr(\biggl\|\frac{1}{N}\sum_{i=1}^N \boldsymbol{M}_i \biggr\| \geq \tau ) \leq 2(k+\ell) \exp(\frac{- N \tau^2 }{2 b^2}),
\end{gather*}
Moreover, if $k=\ell$, then the leading constant $2(k+\ell)$ on the right-hand-side of the above inequalities can be reduced to $2k$.
\end{lemma}
\begin{proof}[Proof.]
See Hoeffding's inequality for bounded random matrices
Wainwright19.
\end{proof}
\begin{corollary}
Let $\{\boldsymbol{M}_i\}_{i=1}^N$ be a sequence of independent $k$-by-$\ell$ random matrices.
For each $i=1,\ldots,N$,
assume that $\|\boldsymbol{M}_i\| \leq b$ almost surely for some constant $b>0$.
Then, for all $\tau\geq 0$,
\begin{gather}
\Pr(\phi_{\max}\biggl(\frac{1}{N}\sum_{i=1}^N \boldsymbol{M}_i \biggr) \geq \phi_{\max}(\mathbb{E}[\boldsymbol{M}_1])+\tau ) \leq 2(k+\ell) \exp(\frac{- N \tau^2 }{8 b^2}), \\
\Pr(\phi_{\min}\biggl(\frac{1}{N}\sum_{i=1}^N \boldsymbol{M}_i\biggr) \leq \phi_{\min}(\mathbb{E}[\boldsymbol{M}_1])-\tau ) \leq 2(k+\ell) \exp(\frac{- N \tau^2 }{8 b^2}).
\end{gather}
Moreover, if $k=\ell$, then the leading constant $2(k+\ell)$ on the right-hand-side of the above inequalities can be reduced to $2k$.
\end{corollary}
\begin{proof}[Proof.]
Let $\widetilde{\boldsymbol{M}}_i = \boldsymbol{M}_i - \mathbb{E}[\boldsymbol{M}_i]$. Then, $\|\widetilde{\boldsymbol{M}}_i\|\leq \|{\boldsymbol{M}}_i\|+\|\mathbb{E}[\boldsymbol{M}_i] \|\leq 2b$.
By Lemmas (ref) and (ref),
\begin{equation}
\phi_{\max}\biggl(\frac{1}{N}\sum_{i=1}^N \widetilde{\boldsymbol{M}}_i\biggr) = \biggl\| \frac{1}{N}\sum_{i=1}^N \widetilde{\boldsymbol{M}}_i \biggr\| \leq \tau
\end{equation}
holds with probability at least $1- 2(k+\ell)\exp(-\frac{N\tau^2}{8b^2})$.
Given the event (ref) holds, it follows from Lemma (ref) that
\begin{align*}
\phi_{\max}\biggl(\frac{1}{N}\sum_{i=1}^N \boldsymbol{M}_i\biggr) =& \sup_{\boldsymbol{u}\in\mathbb{R}^\ell:\|\boldsymbol{u}\|=1}\biggl\|\frac{1}{N}\sum_{i=1}^N {\boldsymbol{M}}_i \boldsymbol{u} \biggr\| \\
\leq& \sup_{\boldsymbol{u}\in\mathbb{R}^\ell:\|\boldsymbol{u}\|=1} \|\mathbb{E}[\boldsymbol{M}_1]\boldsymbol{u}\| + \sup_{\boldsymbol{u}\in\mathbb{R}^\ell:\|\boldsymbol{u}\|=1} \biggl\|\frac{1}{N}\sum_{i=1}^N \widetilde{\boldsymbol{M}}_i \boldsymbol{u} \biggr\| \\
\leq & \phi_{\max}(\mathbb{E}[\boldsymbol{M}_1])+\tau
\end{align*}
holds with probability at least $1- 2(k+\ell)\exp(-\frac{N\tau^2}{8b^2})$, proving (ref).
Likewise, given the event (ref) holds,
\begin{align*}
\phi_{\min}\biggl(\frac{1}{N}\sum_{i=1}^N \boldsymbol{M}_i\biggr) =& \inf_{\boldsymbol{u}\in\mathbb{R}^\ell:\|\boldsymbol{u}\|=1}\biggl\|\frac{1}{N}\sum_{i=1}^N {\boldsymbol{M}}_i \boldsymbol{u} \biggr\| \\
\geq& \inf_{\boldsymbol{u}\in\mathbb{R}^\ell:\|\boldsymbol{u}\|=1} \|\mathbb{E}[\boldsymbol{M}_1]\boldsymbol{u}\| + \sup_{\boldsymbol{u}\in\mathbb{R}^\ell:\|\boldsymbol{u}\|=1} \biggl\|\frac{1}{N}\sum_{i=1}^N \widetilde{\boldsymbol{M}}_i \boldsymbol{u} \biggr\| \\
\geq & \phi_{\min}(\mathbb{E}[\boldsymbol{M}_1]) - \tau,
\end{align*}
which proves (ref).
\end{proof}
\begin{lemma}
Let $\{X_i\}_{i=1}^N$ be a sequence of i.i.d. zero-mean sub-Gaussian random variables with variance proxy $\varsigma^2$. Then, for all $\tau\geq 0$,
\[
\Pr(\biggl| \frac{1}{N}\sum_{i=1}^N X_i \biggr| \geq \tau ) \leq 2\exp(-\frac{N\tau^2 }{2\varsigma^2}).
\]
\end{lemma}
\begin{proof}[Proof.]
See Hoeffding's inequality for sub-Gaussian random variables Wainwright19.
\end{proof}
\begin{corollary}
Let $\boldsymbol{g}\in\mathbb{R}^k$ be a vector of zero-mean sub-Gaussian random variables with variance proxy $\varsigma^2$. Let $\{\boldsymbol{g}_i\}_{i=1}^N$ be a sequence of i.i.d. random vectors having the same distribution as $\boldsymbol{g}$.
Then, for all $\tau\geq 0$,
\[
\Pr(\biggl\| \frac{1}{N}\sum_{i=1}^N \boldsymbol{g}_i \biggr\| \geq \tau) \leq 2k\exp(-\frac{N\tau^2}{2 k^2\varsigma^2}).
\]
\end{corollary}
\begin{proof}[Proof.]
Let $g_{ij}$ denote the $j$-th entry of $\boldsymbol{g}_i$, for all $i=1,\ldots,N$ and $j=1,\ldots,k$.
Then, for each $j$, $\{g_{ij}\}_{i=1}^N$ is a sequence of i.i.d. zero-mean sub-Gaussian random variables with variance proxy $\varsigma^2$.
Note that if $|\frac{1}{N}\sum_{i=1}^N g_{ij} | \leq \frac{\tau}{k}$ for all $j=1,\ldots,k$, then
$\| \frac{1}{N}\sum_{i=1}^N \boldsymbol{g}_i \| \leq \tau $.
Hence,
\begin{align*}
\Pr(\biggl\| \frac{1}{N}\sum_{i=1}^N \boldsymbol{g}_i \biggr\| \geq \tau) \leq&
\Pr(\biggl|\frac{1}{N}\sum_{i=1}^N g_{ij} \biggr| \geq \frac{\tau}{k}\mbox{ for some }j=1,\ldots,k) \\
\leq& \sum_{j=1}^k \Pr(\biggl|\frac{1}{N}\sum_{i=1}^N g_{ij} \biggr| \geq \frac{\tau}{k})
\leq 2k\exp(-\frac{N\tau^2}{2 k^2\varsigma^2}),
\end{align*}
where the last inequality follows from Lemma (ref).
\end{proof}
\begin{lemma}
Let $\{X_i\}_{i=1}^N$ be a sequence of i.i.d. zero-mean sub-exponential random variables. Then, there exists a constant $\mathsf{C_{Bern}}>0$ such that for all $\tau\geq 0$,
\[
\Pr\biggl(\biggl| \frac{1}{N}\sum_{i=1}^N X_i\biggr| \geq \tau \biggr) \leq 2\exp(- N \mathsf{C_{Bern}} \cdot \min\biggl\{\frac{ \tau^2 }{\|X_1\|_{\psi_1}^2},\frac{\tau}{\|X_1\|_{\psi_1}}\biggr\} ).
\]
\end{lemma}
\begin{proof}[Proof.]
See Bernstein's inequality for sub-exponential random variables Vershynin18.
\end{proof}
\section{Coefficient Stabilization Phase: $t=1,\ldots, \mathtt{T}_1$}
Throughout the rest of the Supplemental Material,
we let $\mathtt{T}_1= C_{\mathtt{T}_1}\log(T)$ and $\mathtt{T}_2 = (C_{\mathtt{T}_1}+C_{\mathtt{T}_2})\log(T)$ for some constant $C_{\mathtt{T}_2}$ for some constants $C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$;
we also suppose that Assumption (ref) holds and the data are generated by Algorithm (ref).
We first define a set of notation before the analysis.
For any $t$, let
\begin{gather*}
\widetilde{\boldsymbol{v}}_{t}\coloneqq
\begin{pmatrix}
\operatorname{\mathbb{I}}(a_t=1)\boldsymbol{v}_t \\
\vdots\\
\operatorname{\mathbb{I}}(a_t=K)\boldsymbol{v}_t
\end{pmatrix}\in\mathbb{R}^{Kp},
\quad
\widetilde{\boldsymbol{z}}_{t}\coloneqq
\begin{pmatrix}
\operatorname{\mathbb{I}}(a_t=1)\boldsymbol{z}_t \\
\vdots \\
\operatorname{\mathbb{I}}(a_t=K)\boldsymbol{z}_t
\end{pmatrix}\in\mathbb{R}^{Kq}, \\
\widetilde{\boldsymbol{V}}_{t}\coloneqq \begin{pmatrix}
\widetilde{\boldsymbol{v}}_{1}^\intercal \\
\vdots\\
\widetilde{\boldsymbol{v}}_{t}^\intercal
\end{pmatrix}\in\mathbb{R}^{t\times (Kp)},
\quad
\widetilde{\boldsymbol{Z}}_{t}\coloneqq \begin{pmatrix}
\widetilde{\boldsymbol{z}}_{1}^\intercal \\
\vdots\\
\widetilde{\boldsymbol{z}}_{t}^\intercal
\end{pmatrix}\in\mathbb{R}^{t\times (Kq)},
\quad
\boldsymbol{\varepsilon}_{t}\coloneqq \begin{pmatrix}
\varepsilon_{1} \\
\vdots\\
\varepsilon_{t}
\end{pmatrix}\in\mathbb{R}^{t}, \\
\widetilde{\boldsymbol{\Sigma}}_{vz,t} \coloneqq \frac{1}{t}\sum_{s=1}^t \widetilde{\boldsymbol{v}}_s \widetilde{\boldsymbol{z}}_s^\intercal = \frac{1}{t}\widetilde{\boldsymbol{V}}_{t}^\intercal\widetilde{\boldsymbol{Z}}_{t} \in \mathbb{R}^{(Kp)\times (Kq)},\\
\widetilde{\boldsymbol{\Sigma}}_{zz,t}\coloneqq \frac{1}{t}\sum_{s=1}^t \widetilde{\boldsymbol{z}}_s \widetilde{\boldsymbol{z}}_s^\intercal =
\frac{1}{t}\widetilde{\boldsymbol{Z}}_{t}^\intercal \widetilde{\boldsymbol{Z}}_{t}\in \mathbb{R}^{(Kq)\times (Kq)}, \\
\widetilde{\boldsymbol{G}}_{t}\coloneqq \frac{1}{t}\sum_{s=1}^t \widetilde{\boldsymbol{z}}_s \varepsilon_s = \frac{1}{t}\widetilde{\boldsymbol{Z}}_{t}^\intercal \boldsymbol{\varepsilon}_{t}\in\mathbb{R}^{2q}, \\
\boldsymbol{\Sigma}_{vz}\coloneqq \mathbb{E}[\boldsymbol{v}_t \boldsymbol{z}_t^\intercal] \in\mathbb{R}^{p\times q},
\quad
\boldsymbol{\Sigma}_{zz}\coloneqq \mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal]\in\mathbb{R}^{q\times q}, \\
\breve{\boldsymbol{\Sigma}}_{vz}\coloneqq \mathbb{E}[\widetilde{\boldsymbol{v}}_t \widetilde{\boldsymbol{z}}_t^\intercal] \in\mathbb{R}^{(Kp)\times (Kq)},
\quad
\breve{\boldsymbol{\Sigma}}_{zz}\coloneqq \mathbb{E}[\widetilde{\boldsymbol{z}}_t \widetilde{\boldsymbol{z}}_t^\intercal]\in\mathbb{R}^{(Kq)\times (Kq)}.
\end{gather*}
\begin{lemma}
Both $\breve{\boldsymbol{\Sigma}}_{zz}$ and $\breve{\boldsymbol{\Sigma}}_{vz}$ have full rank.
\end{lemma}
\begin{proof}[Proof.]
By
condition (iii) of Assumption (ref), $\boldsymbol{\Sigma}_{vz}^*=\mathbb{E}[\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal]$ is full rank and $\boldsymbol{\Sigma}_{zz}=\mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal]$ is positive definite. By definition, for $t=1,2,\ldots,\mathtt{T}_1$, $a_t$ is randomly selected
such that $\Pr(a_t=i) = \frac{1}{K}$ for all $i=1,\ldots,K$.
Thus,
\begin{equation*}
\breve{\boldsymbol{\Sigma}}_{vz}=\frac{1}{K}\begin{pmatrix}
\boldsymbol{\Sigma}_{zz} & \cdots & \boldsymbol{0} \\
\vdots & \ddots & \vdots \\
\boldsymbol{0} & \cdots& \boldsymbol{\Sigma}_{zz}
\end{pmatrix},
\end{equation*}
and thus $\breve{\boldsymbol{\Sigma}}_{vz}$ is full rank and positive definite.
Because $\sum_{i=1}^K\operatorname{\mathbb{I}}(a_t^*=i)=1$ and $\boldsymbol{\Sigma}_{vz}^*$ is a full-rank matrix of size $(Kp)\times q$,
$\boldsymbol{\Sigma}_{vz}=\begin{pmatrix}
\boldsymbol{I}_p & \cdots & \boldsymbol{I}_p
\end{pmatrix} \boldsymbol{\Sigma}_{vz}^*$
is a full-rank matrix of size $p\times q$, where $\boldsymbol{I}_p$ is the identity matrix of size $p\times p$.
As a result,
\begin{align*}
\breve{\boldsymbol{\Sigma}}_{vz} &= \mathbb{E}[\widetilde{\boldsymbol{v}}_t \widetilde{\boldsymbol{z}}_t^\intercal]
= \begin{pmatrix}
\mathbb{E}[\operatorname{\mathbb{I}}(a_t=1)\boldsymbol{v}_t \boldsymbol{z}_t^\intercal] & \cdots & \boldsymbol{0} \\
\vdots & \ddots & \vdots \\
\boldsymbol{0} & \cdots & \mathbb{E}[\operatorname{\mathbb{I}}(a_t=2)\boldsymbol{v}_t \boldsymbol{z}_t^\intercal]
\end{pmatrix}
= \frac{1}{K}\begin{pmatrix}
\boldsymbol{\Sigma}_{vz} & \cdots & \boldsymbol{0} \\
\vdots & \ddots & \vdots \\
\boldsymbol{0} & \cdots & \boldsymbol{\Sigma}_{vz}
\end{pmatrix}.
\end{align*}
Thus, $\breve{\boldsymbol{\Sigma}}_{vz}$ is a full-rank matrix of size $(Kp)\times (Kq)$.
\end{proof}
\begin{lemma}
Define
\begin{equation}
\breve{\kappa}\coloneqq \frac{2\phi_{\max}(\breve{\boldsymbol{\Sigma}}_{vz})\phi_{\max}(\breve{\boldsymbol{\Sigma}}_{zz})}{ (\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz}))^2\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz}) }
\end{equation}
and
\begin{equation}
\mathscr{A}_{\mathtt{T}_1}\coloneqq \Bigl\{\bigl\|\widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} - \boldsymbol{\alpha} \bigr\| \leq 2 K q\bar{z}\varsigma \breve{\kappa} C_{\mathtt{T}_1}^{-\frac{1}{2}} \Bigr\}.
\end{equation}
Suppose
\begin{equation}
C_{\mathtt{T}_1} \geq \left(\frac{40K \max\{\sqrt{pq}\bar{v}\bar{z},\; q\bar{z}^2\}}{\min\{\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz}),\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})\}}\right)^2.
\end{equation}
Then, $\Pr(\mathscr{A}_{\mathtt{T}_1})\geq 1- 2K (2p + 5 q) T^{-2} $ for all $T\geq \mathtt{T}_1$.
\end{lemma}
\begin{proof}[Proof.]
It follows from Lemma (ref) that
$0<\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})\leq \phi_{\max}(\breve{\boldsymbol{\Sigma}}_{zz})<\infty$ and $0<\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz})\leq \phi_{\max}(\breve{\boldsymbol{\Sigma}}_{vz})<\infty$.
Hence, $\breve{\kappa}$ is a positive finite constant.
Because in the coefficient stabilization phase
$a_t$ is randomly selected for all $t=1,\ldots,\mathtt{T}_1$,
we may rewrite the arm-specific 2SLS for the $K$ arms together equivalently as the joint-2SLS using the notation $\widetilde{\boldsymbol{V}}_{\mathtt{T}_1}$ and $\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}$.
Hence,
\begin{align*}
\widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} - \boldsymbol{\alpha} = & \left(\widetilde{\boldsymbol{V}}_{\mathtt{T}_1}^\intercal \mathcal{P}[\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}] \widetilde{\boldsymbol{V}}_{\mathtt{T}_1}\right)^{-1}\widetilde{\boldsymbol{V}}_{\mathtt{T}_1}^\intercal \mathcal{P}[\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}]\boldsymbol{\varepsilon}_{\mathtt{T}_1} \nonumber \\
=& \Bigl(\widetilde{\boldsymbol{V}}_{\mathtt{T}_1}^\intercal \widetilde{\boldsymbol{Z}}_{\mathtt{T}_1} (\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}^\intercal \widetilde{\boldsymbol{Z}}_{\mathtt{T}_1})^{-1}
\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}^\intercal \widetilde{\boldsymbol{V}}_{\mathtt{T}_1}\Bigr)^{-1}
\widetilde{\boldsymbol{V}}_{\mathtt{T}_1}^\intercal \widetilde{\boldsymbol{Z}}_{\mathtt{T}_1} (\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}^\intercal \widetilde{\boldsymbol{Z}}_{\mathtt{T}_1})^{-1}\widetilde{\boldsymbol{Z}}_{\mathtt{T}_1}^\intercal\boldsymbol{\varepsilon}_{\mathtt{T}_1} \nonumber
\\
=& \left(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}^\intercal\right)^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1} \widetilde{\boldsymbol{G}}_{\mathtt{T}_1},
\end{align*}
where the projection operator $\mathcal{P}$ maps a matrix $\boldsymbol{Z}$ to $\boldsymbol{Z}(\boldsymbol{Z}^\intercal \boldsymbol{Z})^{-1} \boldsymbol{Z}^\intercal$.
Therefore,
\begin{equation}
\|\widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} - \boldsymbol{\alpha}\| \leq \Bigl\| \left(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}^\intercal\right)^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\Bigr\| \cdot \bigl\| \widetilde{\boldsymbol{G}}_{\mathtt{T}_1} \bigr\|
\end{equation}
In what follows, we analyze the two norms on the right-hand-side of (ref) separately.
Because the samples are i.i.d.,
\begin{gather*}
\mathbb{E}[\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}]=\mathbb{E}[\widetilde\boldsymbol{v}_s \widetilde{\boldsymbol{z}}_s^\intercal]= \breve{\boldsymbol{\Sigma}}_{vz} \qq{and}
\mathbb{E}[\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}] = \mathbb{E}[\widetilde{\boldsymbol{z}}_s \widetilde{\boldsymbol{z}}_s^\intercal ] = \breve{\boldsymbol{\Sigma}}_{zz}.
\end{gather*}
Moreover, because $\widetilde{\boldsymbol{v}}_s \widetilde{\boldsymbol{z}}_s^\intercal $ is of size $(Kp)$-by-$(Kq)$, we know by Lemma (ref) that
\begin{align*}
\|\widetilde{\boldsymbol{v}}_s \widetilde{\boldsymbol{z}}_s^\intercal \| \leq \sqrt{(Kp)\times (Kq)} \|\widetilde{\boldsymbol{v}}_s \widetilde{\boldsymbol{z}}_s^\intercal\|_{\max} \leq
K\sqrt{pq} \bar{v}\bar{z}.
\end{align*}
Likewise, $\|\widetilde{\boldsymbol{z}}_s \widetilde{\boldsymbol{z}}_s^\intercal\| \leq Kq \bar{z}^2$.
Hence, if we define the following events:
\begin{align*}
\mathscr{S}_{vz, \min} \coloneqq& \Bigl\{\phi_{\min}(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1})\leq \phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz})-\tau\Bigr\}, \\
\mathscr{S}_{vz, \max} \coloneqq&
\Bigl\{\phi_{\max}(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1})\geq \phi_{\max}(\breve{\boldsymbol{\Sigma}}_{vz})+\tau\Bigr\}, \\
\mathscr{S}_{zz, \min} \coloneqq&
\Bigl\{\phi_{\min}(\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1})\leq \phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})-\tau\Bigr\}, \\
\mathscr{S}_{zz, \max} \coloneqq&
\Bigl\{\phi_{\max}(\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1})\geq \phi_{\max}(\breve{\boldsymbol{\Sigma}}_{zz})+\tau\Bigr\},
\end{align*}
then we can apply Corollary (ref) to conclude that for all $\tau\geq 0$,
\begin{gather*}
\Pr(\mathscr{S}_{vz, \min}) \leq 2K(p+q)\exp(-\frac{ \tau^2 \mathtt{T}_1}{ 8K^2 pq\bar{v}^2 \bar{z}^2 }),\\
\Pr(\mathscr{S}_{vz, \max}) \leq 2K(p+q)\exp(-\frac{ \tau^2 \mathtt{T}_1}{ 8K^2 pq\bar{v}^2 \bar{z}^2}),\\
\Pr(\mathscr{S}_{zz, \min}) \leq 2K q\exp(-\frac{ \tau^2 \mathtt{T}_1}{ 8K^2 q^2\bar{z}^4 }),\\
\Pr(\mathscr{S}_{zz, \max}) \leq 2K q\exp(-\frac{ \tau^2 \mathtt{T}_1}{ 8K^2 q^2\bar{z}^4}).
\end{gather*}
Setting $\tau = \zeta_1\coloneqq 4K \max\{\sqrt{pq}\bar{v}\bar{z},\; q\bar{z}^2\}C_{\mathtt{T}_1}^{-\frac{1}{2} } $ leads to
\begin{gather*}
\exp(-\frac{ \zeta_1^2 \mathtt{T}_1}{8K^2 pq\bar{v}^2\bar{z}^2})\leq T^{-2} \qq{and}
\exp(-\frac{ \zeta_1^2 \mathtt{T}_1}{8K^2 q^2\bar{z}^4})\leq T^{-2}.
\end{gather*}
Moreover, by the condition (ref), we have
\begin{equation}
\zeta_1 = 4K \max\{\sqrt{pq}\bar{v}\bar{z}, q\bar{z}^2\}C_{\mathtt{T}_1}^{-\frac{1}{2} } \leq \frac{1}{10}\min\left\{\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz}),\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})\right\}.
\end{equation}
Therefore, upon defining the joint event
$\mathscr{S}_{\phi,\mathtt{T}_1}\coloneqq \mathscr{S}_{vz, \min}^{\mathsf{c}}\cap \mathscr{S}_{vz, \max}^{\mathsf{c}} \cap \mathscr{S}_{zz, \min}^{\mathsf{c}} \cap \mathscr{S}_{zz, \max}^{\mathsf{c}}$,
it follows from the Bonferroni inequality that
\begin{align}
\Pr(\mathscr{S}_{\phi,\mathtt{T}_1}) \geq&
1 - \bigl[\Pr(\mathscr{S}_{vz, \min}) + \Pr(\mathscr{S}_{vz, \max}) +
\Pr(\mathscr{S}_{zz, \min}) + \Pr(\mathscr{S}_{zz, \max})\bigr] \nonumber \\
\geq &
1-4K(p+2q) T^{-2}.
\end{align}
Note that conditional on the event $\mathscr{S}_{\phi,\mathtt{T}_1}$ with $\tau=\zeta_1$, we have
\begin{equation}
\begin{gathered}
\phi_{\min}(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1})> \phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz})-\zeta_1>0, \quad
\phi_{\max}(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}) < \phi_{\max}(\breve{\boldsymbol{\Sigma}}_{vz})+\zeta_1, \\
\phi_{\min}(\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}) > \phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})-\zeta_1>0, \quad
\phi_{\max}(\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1})< \phi_{\max}(\breve{\boldsymbol{\Sigma}}_{zz})+\zeta_1.
\end{gathered}
\end{equation}
This implies that
\begin{align}
& \Bigl\|\Bigl(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}^\intercal\Bigr)^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1} \Bigr\| \nonumber \\
=&
\phi_{\max}\Bigl(\left(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}^\intercal\right)^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\Bigr) \nonumber \\
\leq& \frac{\phi_{\max}(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1})\phi_{\max}(\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1})}{(\phi_{\min}(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}))^2\phi_{\min}(\widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1})} \\
\leq& \frac{(\phi_{\max}(\breve{\boldsymbol{\Sigma}}_{vz})+\zeta_1)(\phi_{\max}(\breve{\boldsymbol{\Sigma}}_{zz})+\zeta_1)}{(\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz})-\zeta_1)^2(\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})-\zeta_1)} \\
\leq & \left(\frac{11}{10}\right)^2 \left(\frac{10}{9}\right)^3 \frac{\phi_{\max}(\breve{\boldsymbol{\Sigma}}_{vz})\phi_{\max}(\breve{\boldsymbol{\Sigma}}_{zz})}{(\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz}))^2\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz}) } \\
\leq& \breve{\kappa},
\end{align}
where (ref) follows from Lemma (ref),
(ref) from (ref), (ref) from (ref),
and (ref) from (ref).
Therefore,
\begin{equation}
\mathscr{S}_{\phi,\mathtt{T}_1} \subseteq
\Bigl\{\Bigl\| \left(\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1}^\intercal\right)^{-1}\widetilde{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1} \widetilde{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1}^{-1}\Bigr\| \leq \breve{\kappa}\Bigr\}.
\end{equation}
Note that $\mathbb{E}[\widetilde{\boldsymbol{G}}_{\mathtt{T}_1}]=\mathbb{E}[\widetilde{\boldsymbol{z}}_{s}\varepsilon_s]=\boldsymbol{0}$.
Moreover, note that $\widetilde{\boldsymbol{z}}_s \varepsilon_s \in\mathbb{R}^{Kq}$ is a vector of zero-mean sub-Gaussian random variables with variance proxy $\bar{z}^2\varsigma^2$.
Hence,
applying Corollary (ref) to $\widetilde{\boldsymbol{G}}_{\mathtt{T}_1}$ yields that for all $\tau\geq 0$,
\begin{gather*}
\Pr(\bigl\|\widetilde{\boldsymbol{G}}_{\mathtt{T}_1}\bigr\|\geq \tau)
\leq 2K q\exp(-\frac{\tau^2 \mathtt{T}_1}{2K^2 q^2\bar{z}^2 \varsigma^2}).
\end{gather*}
Thus,
setting $\tau=\zeta_2\coloneqq 2K q\bar{z} \varsigma C_{\mathtt{T}_1}^{-\frac{1}{2}}$ yields
\begin{gather}
\Pr(\bigl\|\widetilde{\boldsymbol{G}}_{\mathtt{T}_1}\bigr\|>\zeta_2)\leq
2K q\exp(- 2 \mathtt{T}_1 C_{\mathtt{T}_1}^{-1})
= 2K q \exp(-2 \log(T))
= 2K q T^{-2}.
\end{gather}
It follows from (ref) and (ref) that
\[
\mathscr{S}_{\phi,\mathtt{T}_1}\cap \bigl\{\bigl\|\widetilde{\boldsymbol{G}}_{\mathtt{T}_1} \bigr\|\leq \zeta_2\bigr\} \subseteq
\bigl\{
\|\widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} - \boldsymbol{\alpha} \| \leq \zeta_2\breve{\kappa}
\bigr\} = \mathscr{A}_{\mathtt{T}_1}.
\]
Hence,
\begin{align*}
\Pr(\mathscr{A}_{\mathtt{T}_1})
\geq& \Pr(\mathscr{S}_{\phi,\mathtt{T}_1}\cap \bigl\{\|\widetilde{\boldsymbol{G}}_{\mathtt{T}_1}\|\leq \zeta_2\bigr\}) \geq
1- 2K(2p + 5 q) T^{-2},
\end{align*}
where the second inequality follows from (ref) and (ref).
\end{proof}
\section{Covariance Stabilization Phase and Beyond: $t>\mathtt{T}_1$}
For any $t$, let
\begin{gather*}
\widetilde{\boldsymbol{v}}_{t}\coloneqq
\begin{pmatrix}
\operatorname{\mathbb{I}}(a_t=1)\boldsymbol{v}_t \\
\vdots \\
\operatorname{\mathbb{I}}(a_t=K)\boldsymbol{v}_t
\end{pmatrix}\in\mathbb{R}^{Kp},
\quad
\boldsymbol{v}_{t}^*\coloneqq
\begin{pmatrix}
\operatorname{\mathbb{I}}(a_t^*=1)\boldsymbol{v}_t \\
\vdots \\
\operatorname{\mathbb{I}}(a_t^*=K)\boldsymbol{v}_t
\end{pmatrix}\in\mathbb{R}^{Kp}.
\end{gather*}
For any $t_1<t_2$, let
\begin{gather*}
\widetilde{\boldsymbol{V}}_{t_1:t_2}\coloneqq \begin{pmatrix}
\widetilde{\boldsymbol{v}}_{t_1+1}^\intercal \\
\vdots\\
\widetilde{\boldsymbol{v}}_{t_2}^\intercal
\end{pmatrix}\in\mathbb{R}^{(t_2-t_1)\times (Kp)},
\quad
\widetilde{\boldsymbol{V}}_{t_1:t_2}^*\coloneqq \begin{pmatrix}
(\boldsymbol{v}^*_{t_1+1})^\intercal \\
\vdots\\
(\boldsymbol{v}^*_{t_2})^\intercal
\end{pmatrix}\in\mathbb{R}^{(t_2-t_1)\times (Kp)},
\\
\boldsymbol{Z}_{t_1:t_2}\coloneqq \begin{pmatrix}
\boldsymbol{z}_{t_1+1}^\intercal \\
\vdots\\
\boldsymbol{z}_{t_2}^\intercal
\end{pmatrix}\in\mathbb{R}^{(t_2-t_1)\times q},\quad \boldsymbol{R}_{t_1:t_2}\coloneqq \begin{pmatrix}
R_{t_1+1} \\
\vdots\\
R_{t_2}
\end{pmatrix}\in\mathbb{R}^{t_2-t_1},
\quad
\boldsymbol{\varepsilon}_{t_1:t_2}\coloneqq \begin{pmatrix}
\varepsilon_{t_1+1} \\
\vdots\\
\varepsilon_{t_2}
\end{pmatrix}\in\mathbb{R}^{t_2-t_1},\\
\widehat{\boldsymbol{\Sigma}}_{vz,t_1:t_2} \coloneqq \frac{1}{t_2-t_1}\sum_{s=t_1+1}^{t_2} \widetilde\boldsymbol{v}_s \boldsymbol{z}_s^\intercal
= \frac{1}{t_2-t_1} \widetilde{\boldsymbol{V}}_{t_1:t_2}^\intercal \boldsymbol{Z}_{t_1:t_2}
\in\mathbb{R}^{(Kp)\times q}, \\
\widehat{\boldsymbol{\Sigma}}_{vz,t_1:t_2}^*:=\frac{1}{t_2-t_1}\sum_{s=t_1+1}^{t_2} \boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal = \frac{1}{t_2-t_2}(\boldsymbol{V}_{t_1:t_2}^*)^\intercal \boldsymbol{Z}_{t_1:t_2} \in \mathbb{R}^{(Kp)\times q},
\\
\widehat{\boldsymbol{\Sigma}}_{zz,t_1:t_2} \coloneqq \frac{1}{t_2-t_1} \sum_{s=t_1+1}^{t_2} \boldsymbol{z}_s \boldsymbol{z}_s^\intercal
=\frac{1}{t_2-t_1} \boldsymbol{Z}_{t_1:t_2}^\intercal \boldsymbol{Z}_{t_1:t_2} \in\mathbb{R}^{q\times q} ,\\
\widehat{\boldsymbol{G}}_{t_1:t_2}\coloneqq \frac{1}{t_2-t_1}\sum_{s=t_1+1}^{t_2} \boldsymbol{z}_s \varepsilon_s
= \frac{1}{t_2-t_1} \boldsymbol{Z}_{t_1:t_2}^\intercal \boldsymbol{\varepsilon}_{t_1:t_2}
\in\mathbb{R}^{q}, \\
\boldsymbol{\Sigma}_{vz}^*\coloneqq \mathbb{E}[\boldsymbol{v}^*_t \boldsymbol{z}_t^\intercal] \in\mathbb{R}^{(Kp)\times q},
\quad
\boldsymbol{\Sigma}_{zz}\coloneqq \mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal]\in\mathbb{R}^{q \times q}.
\end{gather*}
Note that for $t>\mathtt{T}_1$, the 2SLS estimator $\widehat{\boldsymbol{\alpha}}_t$ in Algorithm (ref) satisfies
\begin{align}
\widehat{\boldsymbol{\alpha}}_{t} - \boldsymbol{\alpha}=& \bigl(\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}^\intercal \mathcal{P}[\boldsymbol{Z}_{\mathtt{T}_1:t}] \widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\bigr)^{-1} \widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}^\intercal\mathcal{P}[\boldsymbol{Z}_{\mathtt{T}_1:t}] \boldsymbol{\varepsilon}_{\mathtt{T}_1:t} \nonumber\\
=& \Bigl(\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}^\intercal\Bigr)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}.
\end{align}
Moreover, recall that in Algorithm (ref) we use the following estimator for the variance of noise terms:
\begin{equation}
\widehat{\sigma}_t \coloneqq (t-\mathtt{T}_1)^{-\frac{1}{2}} \bigl\|\boldsymbol{R}_{\mathtt{T}_1: t} - \widetilde{\boldsymbol{V}}_{\mathtt{T}_1: t}
\widehat{\boldsymbol{\alpha}}_t
\bigr\|\in\mathbb{R}_+.
\end{equation}
In order to establish an probabilistic bound on $\|\widehat{\boldsymbol{\alpha}}_t-\boldsymbol{\alpha}\|$, we establish below bounds on a set of events that characterize how accurate the estimators such as $\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}$, $\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}$, and $\widehat\sigma_t^2$ are relative to their corresponding true values.
Specifically, we fix arbitrary constants $C_{\mathscr{A}}, \eta, \Delta>0$,
and define for any $t>\mathtt{T}_1$ the following events:
\begin{gather*}
\mathscr{A}_t\coloneqq \Biggl\{\|\widehat{\boldsymbol{\alpha}}_t - \boldsymbol{\alpha} \|\leq C_{\mathscr{A}}\sqrt{\frac{\log(T)}{t-\mathtt{T}_1}}\Biggr\}, \quad
\mathscr{B}_t\coloneqq \bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{vz}^*\|\leq \eta\bigr\}, \\
\mathscr{C}_t\coloneqq \bigl\{\|\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{zz}\|\leq \eta\bigr\}, \quad
\mathscr{D}_t\coloneqq \bigl\{|\widehat\sigma_t^2 -\sigma^2|\leq \Delta\bigr\}.
\end{gather*}
In Lemmas (ref)--(ref) below, we will establish probabilistic bounds of these events and their various intersections.
\begin{lemma}
Define
\begin{equation}
\bar{\kappa} \coloneqq \frac{2\phi_{\max}(\boldsymbol{\Sigma}_{vz}^*)\phi_{\max}(\boldsymbol{\Sigma}_{zz})}{(\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*))^2 \phi_{\min}(\boldsymbol{\Sigma}_{zz})}.
\end{equation}
Suppose that the constants $C_{\mathscr{A}}$ and $\eta$ in the definitions of $\mathscr{A}_t$, $\mathscr{B}_t$ and
$\mathscr{C}_t$ satisfy
\begin{gather}
C_{\mathscr{A}} \geq 2q \bar{z}\varsigma \bar{\kappa}, \\
\eta\leq \frac{1}{10}\min\Bigl\{\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*),\; \phi_{\min}(\boldsymbol{\Sigma}_{zz})\Bigr\}.
\end{gather}
Then, for all $t=\mathtt{T}_1+1,\ldots,T$,
\begin{equation*}
\Pr( \mathscr{A}_t^\mathsf{c} \cap \mathscr{B}_t\cap \mathscr{C}_t)\leq 2q T^{-2}.
\end{equation*}
\end{lemma}
\begin{proof}[Proof.]
It follows from Assumption (ref) that
$0<\phi_{\min}(\boldsymbol{\Sigma}_{zz})\leq \phi_{\max}(\boldsymbol{\Sigma}_{zz})<\infty$ and $0<\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*)\leq \phi_{\max}(\boldsymbol{\Sigma}_{vz}^*)<\infty$.
Hence, $\bar{\kappa}$ is a positive finite constant.
We apply an analysis that is similar to that used in the proof of Lemma (ref).
Specifically, it follows from (ref) that for all $t>\mathtt{T}_1$,
\begin{equation}
\|\widehat{\boldsymbol{\alpha}}_{t} - \boldsymbol{\alpha}\| \leq \Bigl\|
\Bigl(\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}^\intercal\Bigr)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \Bigr\| \cdot \bigl\| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}} \bigr\|.
\end{equation}
We analyze below the two norms on the right-hand-side of (ref) separately.
Note that conditional on the event $\mathscr{B}_t\cap\mathscr{C}_t$ with $\eta <
\min\{\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*), \phi_{\min}(\boldsymbol{\Sigma}_{zz})\} $, which is implied by condition (ref),
we have
\begin{equation}
\begin{gathered}
\phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t})> \phi_{\min}(\boldsymbol{\Sigma}_{vz}^*)-\eta>0, \quad
\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}) < \phi_{\max}(\boldsymbol{\Sigma}_{vz}^*)+\eta, \\
\phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}) > \phi_{\min}(\boldsymbol{\Sigma}_{zz})-\eta>0, \quad
\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t})< \phi_{\max}(\boldsymbol{\Sigma}_{zz})+\eta.
\end{gathered}
\end{equation}
This implies that
\begin{align}
& \left\| \left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\right\| \nonumber \\
=& \phi_{\max}\left(\left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\right) \nonumber \\
\leq & \frac{\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t})\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t})}{(\phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}))^2 \phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t})} \\
\leq& \frac{(\phi_{\max}({\boldsymbol{\Sigma}}_{vz}^*)+\eta)(\phi_{\max}({\boldsymbol{\Sigma}}_{zz})+\eta)}{(\phi_{\min}({\boldsymbol{\Sigma}}_{vz}^*)-\eta)^2 (\phi_{\min}({\boldsymbol{\Sigma}}_{zz})-\eta)} \\
\leq& \biggl(\frac{11}{10}\biggr)^2\biggl(\frac{10}{9}\biggr)^3 \frac{\phi_{\max}(\boldsymbol{\Sigma}_{vz}^*)\phi_{\max}(\boldsymbol{\Sigma}_{zz})}{(\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*))^2 \phi_{\min}(\boldsymbol{\Sigma}_{zz})} \\
\leq& \bar{\kappa},
\end{align}
where (ref) follows from Lemma (ref),
(ref) from (ref), (ref) from (ref),
and (ref) from (ref).
Therefore,
\begin{equation}
\mathscr{B}_t\cap \mathscr{C}_t \subseteq
\Bigl\{\Bigl\| \left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\Bigr\| \leq \bar{\kappa}\Bigr\}.
\end{equation}
Next, note that $\mathbb{E}[\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}]=\mathbb{E}[\boldsymbol{z}_{s}\varepsilon_s]=\boldsymbol{0}$.
Moreover, it is straightforward to see that $\boldsymbol{z}_s \varepsilon_s \in\mathbb{R}^{q}$ is a vector of zero-mean sub-Gaussian random variables with variance proxy $\bar{z}^2\varsigma^2$.
Hence,
applying Corollary (ref) to $\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}$ yields that for all $\tau\geq 0$,
\begin{equation}
\Pr(\bigl\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\bigr\|\geq\tau)
\leq 2q\exp(-\frac{\tau^2 (t-\mathtt{T}_1)}{2 q^2\bar{z}^2 \varsigma^2}).
\end{equation}
Thus, setting $\tau= \zeta_3 \coloneqq 2q \bar{z}\varsigma \sqrt{\frac{\log(T)}{t-\mathtt{T}_1}}$ yields
\begin{equation}
\Pr(\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\|> \zeta_3)\leq 2q\exp(-2\log(T)) = 2q T^{-2}.
\end{equation}
It follows from (ref) and (ref) that
\[
\bigl\{\bigl\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t} \bigr\|\leq \zeta_3\bigr\} \cap \mathscr{B}_t\cap \mathscr{C}_t \subseteq
\bigl\{
\|\widehat{\boldsymbol{\alpha}}_t - \boldsymbol{\alpha} \| \leq \zeta_3 \bar{\kappa}
\bigr\}
\subseteq \biggl\{\|\widehat{\boldsymbol{\alpha}}_t - \boldsymbol{\alpha} \|\leq C_{\mathscr{A}}\sqrt{\frac{\log(T)}{t-\mathtt{T}_1}}\biggr\}
= \mathscr{A}_t,
\]
where the second step follows from
the assumption on $C_{\mathscr{A}}$ in (ref) as well as the definitions of $\zeta_3$ and $\bar{\kappa}$.
Hence,
\[
\bigl\{\bigl\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t} \bigr\|\leq \zeta_3\bigr\} \cap \mathscr{B}_t\cap \mathscr{C}_t \subseteq
\mathscr{A}_t \cap \mathscr{B}_t\cap \mathscr{C}_t,
\]
and thus
\[
\bigl\{\bigl\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t} \bigr\|> \zeta_3\bigr\} \cap \mathscr{B}_t\cap \mathscr{C}_t \supseteq
\mathscr{A}_t^\mathsf{c} \cap \mathscr{B}_t\cap \mathscr{C}_t.
\]
It follows that
\begin{align*}
\Pr(\mathscr{A}_t^\mathsf{c} \cap \mathscr{B}_t\cap \mathscr{C}_t)
\leq \Pr(\bigl\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\bigr\|>\zeta_3)\leq 2qT^{-2},
\end{align*}
where the second inequality follows from (ref).
\end{proof}
We now define for any $t>\mathtt{T}_2$ the following joint events:
\begin{gather*}
\mathscr{A}_{\mathtt{T}_2:t}=\bigcap_{s=\mathtt{T}_2+1}^t \mathscr{A}_s,\quad
\mathscr{B}_{\mathtt{T}_2:t}=\bigcap_{s=\mathtt{T}_2+1}^t \mathscr{B}_s,\quad
\mathscr{C}_{\mathtt{T}_2:t}=\bigcap_{s=\mathtt{T}_2+1}^t \mathscr{C}_s, \quad
\mathscr{D}_{\mathtt{T}_2:t}\coloneqq \bigcap_{s=\mathtt{T}_2+1}^t \mathscr{D}_s.
\end{gather*}
\begin{lemma}
Suppose $C_{\mathtt{T}_2}\geq 6 q^2\bar{z}^4 \eta^{-2}$.
Then, for all $t=\mathtt{T}_2+1,\ldots,T$,
\begin{equation*}
\Pr(\mathscr{C}_t)\geq 1-2q T^{-3} \qq{and} \Pr(\mathscr{C}_{\mathtt{T}_2:t})\geq 1-2q (t-\mathtt{T}_2)T^{-3}.
\end{equation*}
\end{lemma}
\begin{proof}[Proof.]
Note that by the definition of $\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}$,
\[
\mathbb{E}[\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}] = \frac{1}{\mathtt{T}_1-t}\sum_{s=\mathtt{T}_1+1}^t\mathbb{E}[\boldsymbol{z}_s \boldsymbol{z}_s^\intercal] = \boldsymbol{\Sigma}_{zz}.
\]
In addition, $\|\boldsymbol{z}_s \boldsymbol{z}_s^\intercal \| \leq q \bar{z}^2$.
Hence, it follows from Lemma (ref) that for all $t \geq \mathtt{T}_2$,
\begin{align*}
\Pr(\mathscr{C}_t^{\mathsf{c}}) = \Pr(\|\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{zz}\| > \eta)
\leq& 2q\exp(-\frac{\eta^2 (t-\mathtt{T}_1)}{2q^2\bar{z}^4}) \\
\leq& 2q \exp(-\frac{\eta^2 (\mathtt{T}_2-\mathtt{T}_1)}{2q^2\bar{z}^4})
= 2q\exp(-\frac{\eta^2 C_{\mathtt{T}_2} \log(T)}{2q^2\bar{z}^4}) \\
\leq& 2q\exp(-3\log(T))=2q T^{-3},
\end{align*}
where the last inequality holds because $C_{\mathtt{T}_2}\geq 6q^2\bar{z}^4 \eta^{-2}$.
Therefore,
$\Pr(\mathscr{C}_t)\geq 1-2q T^{-3}$; further, by the Bonferroni inequality,
\[
\Pr(\mathscr{C}_{\mathtt{T}_2:t}) \geq 1 - \sum_{s=\mathtt{T}_2+1}^t \Pr(\mathscr{C}_s^\mathsf{c}) \geq 1-2q (t-\mathtt{T}_2)T^{-3}. \qquad \Box
\]
\end{proof}
\begin{lemma}
Suppose
\begin{gather}
C_{\mathtt{T}_1} \geq 1024K^4 p^2q^3 \bar{v}^4\bar{z}^4 \varsigma^2 \breve{\kappa}^2 L^2 \eta^{-2}, \\
C_{\mathtt{T}_2}\geq \eta^{-2}\max\bigl\{128(K-1)^2 pq\bar{v}^2\bar{z}^2, \; 256 K^2 L^2 p^2q \bar{v}^4\bar{z}^2 C_{\mathscr{A}}^2\bigr\}.
\end{gather}
Suppose that the constant $\eta$ in the definitions of $\mathscr{B}_t$ and
$\mathscr{C}_t$ satisfies (ref).
Then, for all $t=\mathtt{T}_2+1,\ldots,T$,
\begin{equation*}
\Pr(\mathscr{B}_t^{\mathsf{c}} \cap \mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{\mathtt{T}_2:t-1} )\leq 2(Kp+q+1)T^{-2}.
\end{equation*}
\end{lemma}
\begin{proof}[Proof.]
A subtlety in analyzing the event $\mathscr{B}_t^c = \{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{vz}^*\| > \eta \}$ for $t>\mathtt{T}_1$ is that $\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}$ is not an unbiased estimator of $\boldsymbol{\Sigma}_{vz}^*$---that is,
$\mathbb{E}[\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}] \neq \boldsymbol{\Sigma}_{vz}^*$.
This is because $\boldsymbol{\Sigma}_{vz}^*$ is defined with respect to the (unknown) oracle policy (i.e., the optimal arm $a^*_s$ is taken for all $s=\mathtt{T}_1+1,\ldots,t$);
whereas $\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}$ is defined with respect to the actual policy that is used to generate the data.
To address the issue, we define
\begin{equation*}
\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^*\coloneqq \frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal \in\mathbb{R}^{(Kp)\times q},
\end{equation*}
and analyze separately the two components of the following decomposition:
\begin{equation}
\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{vz}^*\| \leq
\underbrace{
\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t} - \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* \|}_{I_1} +
\underbrace{
\| \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* -\boldsymbol{\Sigma}_{vz}^*\|}_{I_2}.
\end{equation}
For $I_2$, note that $\mathbb{E}[\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal] = \boldsymbol{\Sigma}_{vz}^*$
and that, by Lemma (ref),
\[
\|\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal - \boldsymbol{\Sigma}_{vz}^*\|
\leq \|\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal\| + \|\boldsymbol{\Sigma}_{vz}^*\|
\leq 2\sqrt{K pq}\bar{v}\bar{z}.
\]
It then follows from Lemma (ref) that for all $t\geq \mathtt{T}_2$,
\begin{align}
\Pr(\| \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* - \boldsymbol{\Sigma}_{vz}^*\| > \frac{\eta}{2})
\leq& 2(Kp+q)\exp(-\frac{(t-\mathtt{T}_1)\eta^2/4}{2(2\sqrt{Kpq}\bar{v}\bar{z})^2}) \nonumber \\
\leq & 2(Kp+q) \exp(-\frac{\eta^2 C_{\mathtt{T}_2} \log(T)}{32K pq\bar{v}^2\bar{z}^2}) \nonumber \\
\leq& 2(Kp+q)\exp(-2\log(T)) = 2(Kp+q) T^{-2},
\end{align}
where the second inequality holds because $t-\mathtt{T}_1 \geq \mathtt{T}_2-\mathtt{T}_1 = C_{\mathtt{T}_2}\log(T)$,
and the third holds because of the condition (ref).
We now consider $I_1$. Note that
\begin{align}
& \bigl\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\widehat{\boldsymbol{\Sigma}}^*_{vz,\mathtt{T}_1:t}\bigr\|
= \left\|\frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \begin{pmatrix}
(\operatorname{\mathbb{I}}(a_s = 1)-\operatorname{\mathbb{I}}(a_s^*=1)) \boldsymbol{v}_s \nonumber \\
\vdots \\
(\operatorname{\mathbb{I}}(a_s = K)-\operatorname{\mathbb{I}}(a_s^*= K)) \boldsymbol{v}_s
\end{pmatrix}\boldsymbol{z}_s^\intercal \right\| \nonumber \\
\leq & \frac{2}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t\operatorname{\mathbb{I}}(a_s\neq a_s^*) \| \boldsymbol{v}_s \boldsymbol{z}_s^\intercal \|
\leq \frac{2 \sqrt{pq}\bar{v}\bar{z}}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t\operatorname{\mathbb{I}}(a_s\neq a_s^*),
\end{align}
where the first inequality holds because there are at most non-zero entries in the vector $(\operatorname{\mathbb{I}}(a_s = 1)-\operatorname{\mathbb{I}}(a_s^*=1),\ldots, \operatorname{\mathbb{I}}(a_s = K)-\operatorname{\mathbb{I}}(a_s^*=K))^\intercal$;
the last inequality follows from Lemma (ref).
We show next that conditional on some other events,
\begin{equation*}
\{a_s = j\} \subseteq \biggl\{|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s}|\leq \frac{\eta}{8K L\sqrt{pq}\bar{v}\bar{z}} \biggr\},\quad \forall s\geq \mathtt{T}_1+1,\; \forall j\neq a^*_s,
\end{equation*}
where $\boldsymbol{\delta}_{i,j} = \boldsymbol{\alpha}_i - \boldsymbol{\alpha}_j$ and $L$ is the constant defined in the margin condition of Assumption (ref).
We consider two cases: (i) $s = \mathtt{T}_1 + 1,\ldots, \mathtt{T}_2$ and (ii) $s=\mathtt{T}_2+1,\ldots,T$.
Let $\widehat{\boldsymbol{\delta}}_{i,j,s} \coloneqq \widehat{\boldsymbol{\alpha}}_{i,s} - \widehat{\boldsymbol{\alpha}}_{j,s}$ for each $s$.
\textbf{Case (i): $s = \mathtt{T}_1 + 1,\ldots, \mathtt{T}_2$.}
Recall that for $s=\mathtt{T}_1+1, \ldots, \mathtt{T}_2$, the arm selected at time $s$ is
\[a_s = \operatorname*{argmax}_{i=1,\ldots,K} \bigl\{\boldsymbol{v}_s^\intercal \widehat{\boldsymbol{\alpha}}_{i,\mathtt{T}_1}\bigr\}.\]
Hence,
for any $j\neq a^*_s$,
if $a_s = j$, then $\boldsymbol{v}_s^\intercal \widehat{\boldsymbol{\delta}}_{j,a^*_s,\mathtt{T}_1} = \boldsymbol{v}_s^\intercal \widehat{\boldsymbol{\alpha}}_{j,\mathtt{T}_1} - \boldsymbol{v}_s^\intercal \widehat{\boldsymbol{\alpha}}_{a^*_s,\mathtt{T}_1} > 0$.
Thus,
\begin{align}
0\geq \boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s}
> \boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s} - \boldsymbol{v}_s^\intercal \widehat{\boldsymbol{\delta}}_{j,a^*_s,\mathtt{T}_1}
=& \boldsymbol{v}_s^\intercal [(\boldsymbol{\alpha}_j - \widehat{\boldsymbol{\alpha}}_{j,\mathtt{T}_1}) - (\boldsymbol{\alpha}_{a^*_s} - \widehat{\boldsymbol{\alpha}}_{a^*_s,\mathtt{T}_1})] \nonumber \\
\geq& - 2 \| \boldsymbol{v}_s\| \|\boldsymbol{\alpha} - \widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} \|
\geq -2\sqrt{p}\bar{v} \|\boldsymbol{\alpha} - \widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} \| .
\end{align}
Further, conditional on $\mathscr{A}_{\mathtt{T}_1} = \bigl\{\|\widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} - \boldsymbol{\alpha} \| \leq 2K q\bar{z}\varsigma \breve{\kappa} C_{\mathtt{T}_1}^{-\frac{1}{2}} \bigr\}$ defined in (ref), we have
\[
|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s} | \leq 2 \sqrt{p}\bar{v} \|\boldsymbol{\alpha} - \widehat{\boldsymbol{\alpha}}_{\mathtt{T}_1} \| \leq
4K \sqrt{p} q \bar{v} \bar{z}\varsigma \breve{\kappa} C_{\mathtt{T}_1}^{-\frac{1}{2}}
\leq \frac{\eta}{8K L\sqrt{pq} \bar{v}\bar{z}},
\]
where the last inequality follows from the condition (ref).
Hence,
\begin{equation}
\mathscr{A}_{\mathtt{T}_1}\cap \{a_s = j\} \subseteq \biggl\{|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s} |\leq \frac{\eta}{8K L\sqrt{pq}\bar{v}\bar{z}} \biggr\},\quad \forall s= \mathtt{T}_1+1,\ldots,\mathtt{T}_2,\; \forall j\neq a_s^*.
\end{equation}
\textbf{Case (ii): $s= \mathtt{T}_2+1,\ldots,T$.}
Recall that for $s\geq \mathtt{T}_2+1$, the arm selected at time $s$ is
\[
a_s=\operatorname*{argmax}_{i=1,\ldots,K} \left\{\boldsymbol{v}_s^\intercal\widehat{\boldsymbol{\alpha}}_{i,s-1} \right\}.
\]
It follows from the same argument as (ref) that for any $j\neq a^*_s$, if $a_s = j$, then
\begin{align}
| \boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a_s^*} | \leq& 2 \sqrt{p}\bar{v} \|\boldsymbol{\alpha} - \widehat{\boldsymbol{\alpha}}_{s-1} \| \\
\leq& 2\sqrt{p} \bar{v} C_{\mathscr{A}} \sqrt{\frac{\log(T)}{s-1-\mathtt{T}_1}}
\leq 2\sqrt{p} \bar{v}C_{\mathscr{A}}C_{\mathtt{T}_2}^{-\frac{1}{2}} \nonumber \\
\leq&
\frac{\eta}{8KL\sqrt{pq}\bar{v}\bar{z}}, \nonumber
\end{align}
conditional on $\mathscr{A}_{s-1} = \Bigl\{ \|\widehat{\boldsymbol{\alpha}}_{s-1} - \boldsymbol{\alpha} \|\leq C_{\mathscr{A}} \sqrt{\frac{\log(T)}{s-1-\mathtt{T}_1}} \Bigr\}$,
where the last inequality holds because of the condition (ref).
Therefore,
\begin{equation}
\begin{aligned}
\mathscr{A}_{s-1}\cap \{a_s = j\} \subseteq& \biggl\{|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}|\leq \frac{\eta}{8K L\sqrt{pq}\bar{v}\bar{z}} \biggr\},
\quad \forall s= \mathtt{T}_2+1,\ldots,T,\; \forall j\neq a^*_s.
\end{aligned}
\end{equation}
Consequently, combining (ref) and (ref) yields that
\begin{align*}
& \mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{s-1} \cap \{a_s = j\} \\
\subseteq& \biggl\{|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}|\leq \frac{\eta}{8K L\sqrt{pq}\bar{v}\bar{z}} \biggr\},
\quad \forall s= \mathtt{T}_1+1,\ldots,T, \; \forall j\neq a^*_s.
\end{align*}
Now, let us return the task of bounding $I_1$, which is defined in (ref).
By (ref), conditional on $\mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{\mathtt{T}_2:t-1} $, we have
\begin{align*}
\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\widehat{\boldsymbol{\Sigma}}^*_{vz,\mathtt{T}_1:t}\|
\leq \frac{2 \sqrt{pq}\bar{v}\bar{z}}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t\operatorname{\mathbb{I}}(a_s\neq a_s^*)
\leq \frac{2 \sqrt{pq}\bar{v}\bar{z}}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \sum_{j\neq a^*_s}\xi_{j,s},
\end{align*}
for all $t=\mathtt{T}_2+1,\ldots,T$,
where $ \xi_{j,s}\coloneqq \operatorname{\mathbb{I}}\bigl( |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s}|\leq \frac{\eta}{8K L\sqrt{pq}\bar{v}\bar{z}} \bigr)$.
Hence,
\begin{align}
& \Pr(\Bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\widehat{\boldsymbol{\Sigma}}^*_{vz,\mathtt{T}_1:t}\| \geq \frac{\eta}{2}\Bigr\} \cap \mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{\mathtt{T}_2:t-1} ) \nonumber \\
\leq& \Pr\biggl(\frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \sum_{j\neq a^*_s}\xi_{j,s} \geq \frac{\eta}{4 \sqrt{pq}\bar{v}\bar{z}}\biggr) \nonumber \\
\leq& \Pr\biggl(\biggl|\frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \sum_{j\neq a^*_s}(\xi_{j,s}-\mathbb{E}[\xi_{j,s}]) \biggr|\geq \frac{\eta}{4 \sqrt{pq}\bar{v}\bar{z}}-\sum_{j\neq a^*_s}\mathbb{E}[\xi_{j,s}]\biggr) \nonumber \\
\leq& \Pr\biggl(\biggl|\frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \sum_{j\neq a^*_s} (\xi_{j,s}-\mathbb{E}[\xi_{j,s}]) \biggr|\geq \frac{\eta}{8 \sqrt{pq}\bar{v}\bar{z}}\biggr)
\end{align}
where the last step holds because
\begin{equation*}
\sum_{j\neq a^*_s}\mathbb{E}[\xi_{j,s}] = \sum_{j\neq a^*_s} \Pr(|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a_s^*}| \leq \frac{\eta}{8K L\sqrt{pq} \bar{v}\bar{z}})\leq \sum_{j\neq a^*_s} \frac{\eta}{8K \sqrt{pq}\bar{v}\bar{z}}\leq \frac{\eta}{8\sqrt{pq}\bar{v}\bar{z}},
\end{equation*}
by the margin condition in Assumption (ref).
Note that $\{\sum_{j\neq a^*_s}\xi_{j,s}:s = \mathtt{T}_1+1,\ldots,T\}$ are i.i.d. bounded random variables taking values on $[0,K-1]$.
Thus, they are sub-Gaussian with variance proxy $\frac{K-1}{4}$; see, e.g., Wainwright19.
Then, setting $\zeta_6 \coloneqq \frac{\eta}{8\sqrt{pq} \bar{v}\bar{z}}$ and
applying Lemma (ref) leads to
\begin{align}
\Pr\biggl(\biggl|\frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^{t}(\xi_s-\mathbb{E}[\xi_s])\biggl|\geq \zeta_6\biggr)
\leq& 2\exp(\frac{-2\zeta_6^2 (t-\mathtt{T}_1)}{(K-1)^2}) \nonumber \\
\leq& 2\exp(\frac{-\eta^2 C_{\mathtt{T}_2}\log(T) }{32(K-1)^2 pq\bar{v}^2\bar{z}^2})
\leq 2T^{-4},
\end{align}
for all $t = \mathtt{T}_2+1,\ldots,T$, where the last inequality follows from the condition (ref).
It then follows from (ref) that
\begin{align}
& \Pr(\Bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\widehat{\boldsymbol{\Sigma}}^*_{vz,\mathtt{T}_1:t}\| \geq \frac{\eta}{2}\Bigr\} \cap \mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{\mathtt{T}_2:t-1}) \nonumber \\
\leq& 2T^{-4},\quad \forall t = \mathtt{T}_2+1,\ldots,T.
\end{align}
Combining (ref), (ref), and (ref) results in
\begin{align*}
& \Pr(\Bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}^*_{vz}\| \geq \eta\Bigr\} \cap \mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{\mathtt{T}_2:t-1} ) \\
\leq&
\Pr(\Bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\widehat{\boldsymbol{\Sigma}}^*_{vz,\mathtt{T}_1:t}\| \geq \frac{\eta}{2}\Bigr\} \cap \mathscr{A}_{\mathtt{T}_1} \cap \mathscr{A}_{\mathtt{T}_2:t-1} ) \\
& + \Pr(\| \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* - \boldsymbol{\Sigma}_{vz}^*\| > \frac{\eta}{2}) \\
\leq& 2(Kp+q) T^{-2} + 2T^{-4} \leq 2(Kp+q+1) T^{-2},
\end{align*}
for all $t = \mathtt{T}_2+1,\ldots,T$, which concludes the proof.
\end{proof}
We now summarize the conditions of Lemmas (ref)--(ref) as follows.
\begin{assumption}
The constants $C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$ satisfy
\begin{align*}
C_{\mathtt{T}_1} \geq&
\max\Biggl\{\left(\frac{40K\max\{\sqrt{pq}\bar{v}\bar{z},\; q\bar{z}^2\}}{\textstyle \min\{\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{vz}),\phi_{\min}(\breve{\boldsymbol{\Sigma}}_{zz})\}}\right)^2,\; 1024K^4 p^2q^3 \bar{v}^4\bar{z}^4 \varsigma^2 \breve{\kappa}^2 L^2 \eta^{-2}\Biggr\}, \\
C_{\mathtt{T}_2}\geq& \max\big\{
6 q^2\bar{z}^4 \eta^{-2},
128(K-1)^2 pq\bar{v}^2\bar{z}^2\eta^{-2}, \; 256 K^2 L^2 p^2 q \bar{v}^4\bar{z}^2 C_{\mathscr{A}}^2\eta^{-2} \big\},
\end{align*}
where $C_{\mathscr{A}} \geq 2q \bar{z}\varsigma \bar{\kappa}$,
$\eta\leq \frac{1}{10}\min\bigl\{\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*), \; \phi_{\min}(\boldsymbol{\Sigma}_{zz})\bigr\}$,
and $\breve{\kappa}$ and
$\bar{\kappa}$ are defined in (ref) and (ref), respectively.
\end{assumption}
\begin{lemma}
Suppose $C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$ satisfy Assumption (ref).
Then, for all $t=\mathtt{T}_2+1,\ldots,T$,
\begin{gather*}
\Pr(\mathscr{A}_{\mathtt{T}_2:t})\geq 1- [6Kp+(10K+8)q+1]T^{-1},\\
\Pr(\mathscr{B}_{\mathtt{T}_2:t})\geq 1- [6Kp+(10K+8)q+1] T^{-1}.
\end{gather*}
\end{lemma}
\begin{proof}[Proof.]
We first summarize the results from Lemmas (ref)--(ref):
for all $t=\mathtt{T}_2+1,\ldots,T$,
\begin{align}
&\Pr(\mathscr{A}_{\mathtt{T}_1})\geq 1-2K(2p+5q) T^{-2}, \\
&\Pr({A}_t^{\mathsf{c}}\cap \mathscr{B}_t\cap \mathscr{C}_t) \leq 2q T^{-2},\\
&\Pr(\mathscr{C}_t)\geq 1-2q T^{-3},\\
&\Pr(\mathscr{C}_{\mathtt{T}_2:t})\geq 1-2q(t-\mathtt{T}_2)T^{-3} \geq 1- 2q T^{-2}\\
&\Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_1}\cap \mathscr{A}_{\mathtt{T}_2:t-1})\leq 2(Kp+q+1) T^{-2}.
\end{align}
By (ref) and (ref), we have
\begin{align}
\Pr(\mathscr{A}_t^{\mathsf{c}}\cap \mathscr{B}_t)
=& \Pr(\mathscr{A}_t^{\mathsf{c}}\cap \mathscr{B}_t \cap \mathscr{C}_t) + \Pr(\mathscr{A}_t^{\mathsf{c}}\cap \mathscr{B}_t\cap \mathscr{C}_t^\mathsf{c}) \nonumber \\
\leq& \Pr(\mathscr{A}_t^{\mathsf{c}}\cap \mathscr{B}_t \cap \mathscr{C}_t) + \Pr(\mathscr{C}_t^\mathsf{c}) \leq 2q(T^{-2}+T^{-3})\leq 4q T^{-2}.
\end{align}
By (ref) and (ref), we have
\begin{align}
\Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_2:t-1})
\leq&
\Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_1}\cap \mathscr{A}_{\mathtt{T}_2:t-1})
+ \Pr(\mathscr{A}_{\mathtt{T}_1}^\mathsf{c}) \nonumber \\
\leq& 2(Kp+q+1)T^{-2} + 2K(2p+5q) T^{-2} \nonumber \\
=& [6Kp + (10K+2)q+1]T^{-2}.
\end{align}
Define $\mathscr{G}_t\coloneqq \mathscr{A}_{\mathtt{T}_2:t}\cap \mathscr{B}_{\mathtt{T}_2:t}$ for all $t=T_{\mathtt{T}_2}+1,\ldots,T$. Let $\Pr(\mathscr{G}_{\mathtt{T}_2})=1$ for convenience.
Moreover, note that
\begin{align}
\Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{G}_{t-1})
=& \Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_2:t-1}\cap \mathscr{B}_{\mathtt{T}_2:t-1})\nonumber \\
=& \Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_2:t-1}\cap \mathscr{B}_{\mathtt{T}_2:t-1}\cap \mathscr{C}_{\mathtt{T}_2:t-1}) + \Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_2:t-1}\cap \mathscr{B}_{\mathtt{T}_2:t-1}\cap \mathscr{C}_{\mathtt{T}_2:t-1}^\mathsf{c})\nonumber\\
\leq& \Pr(\mathscr{B}_t^{\mathsf{c}}\cap \mathscr{A}_{\mathtt{T}_2:t-1} )
+ \Pr(\mathscr{C}_{\mathtt{T}_2:t-1}^\mathsf{c})\nonumber\\
\leq& [6Kp+(10K+4)q + 1]T^{-2},
\end{align}
where the second inequality follows from (ref) and (ref).
Therefore,
\begin{align}
\Pr(\mathscr{G}_t) =& \Pr(\mathscr{G}_{t-1}\cap \mathscr{A}_t \cap \mathscr{B}_t )
= \Pr(\mathscr{G}_{t-1}) - \Pr(\mathscr{G}_{t-1}\cap (\mathscr{A}_t ^{\mathsf{c}}\cup \mathscr{B}_t ^{\mathsf{c}}))\nonumber\\
=& \Pr(\mathscr{G}_{t-1}) -\Pr(\mathscr{G}_{t-1}\cap \mathscr{A}_t ^{\mathsf{c}}\cap \mathscr{B}_t) - \Pr(\mathscr{G}_{t-1}\cap \mathscr{B}_t ^{\mathsf{c}}) \nonumber\\
\geq& \Pr(\mathscr{G}_{t-1}) - \Pr(\mathscr{A}_t^{\mathsf{c}}\cap \mathscr{B}_t)- \Pr(\mathscr{G}_{t-1}\cap \mathscr{B}_t ^{\mathsf{c}}) \nonumber\\ \geq& \Pr(\mathscr{G}_{t-1}) - [6Kp+(10K+8)q+1]T^{-2},
\end{align}
where the last inequality follows from (ref) and (ref).
Note that $\Pr(\mathscr{G}_{\mathtt{T}_2})=1$, applying (ref) iteratively, we have that for all $t>\mathtt{T}_2$,
\begin{equation*}
\Pr(\mathscr{G}_t)\geq 1 - (t-\mathtt{T}_2)[6Kp+(10K+8)q+1]T^{-2} \geq 1- [6Kp+(10K+8)q+1]T^{-1}.
\end{equation*}
The proof is concluded by noting that
$\Pr(\mathscr{A}_{\mathtt{T}_2:t})\geq \Pr(\mathscr{G}_t)$ and $\Pr(\mathscr{B}_{\mathtt{T}_2:t})\geq \Pr(\mathscr{G}_t)$.
\end{proof}
\section{Proof of Theorem (ref)}
Let $\mathtt{T}_1= C_{\mathtt{T}_1}\log(T)$ and $\mathtt{T}_2= (C_{\mathtt{T}_1}+C_{\mathtt{T}_2})\log(T)$ for some constants $C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$ that satisfy Assumption (ref).
Let $\bar{\delta} \coloneqq \max_{1\leq i \neq j\leq K} \|\boldsymbol{\delta}_{i,j}\| $,
where $\boldsymbol{\delta}_{i,j} \coloneqq \boldsymbol{\alpha}_i - \boldsymbol{\alpha}_j$.
We show in the following that for all $T>\mathtt{T}_2$,
\begin{align*}
\mathsf{Regret}(T)
\leq &
[\sqrt{p}\bar{v}\bar{\delta}(C_{\mathtt{T}_1} + C_{\mathtt{T}_2}) + 16 (K-1) L p q^3 \bar{v}^2 \bar{z}^2\varsigma^2 \bar{\kappa}^2] \log(T) \\
& + \sqrt{p}\bar{v} \bar{\delta} (K-1) [12Kp + (20K+20)q+3].
\end{align*}
Note that for all $s\geq 1$,
\begin{align}
R_s^{\pi^*} - R_s^\pi =& \boldsymbol{v}_s^\intercal \boldsymbol{\alpha}_{a^*_s} - \boldsymbol{v}_s^\intercal \boldsymbol{\alpha}_{a_s}
= \sum_{j\neq a^*_s} \operatorname{\mathbb{I}}(a_s = j) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}|.
\end{align}
We first focus on the case that $s=\mathtt{T}_2+2,\ldots,T$.
It follows from (ref) that for any $j\neq a^*_s$,
conditional on the event $\{a_s = j\}$,
\begin{align}
|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j,a^*_s} |
\leq 2\sqrt{p}\bar{v} \|\widehat{\boldsymbol{\alpha}}_{s-1} - \boldsymbol{\alpha}\|.
\end{align}
Further, recall from (ref) that
\[
\widehat{\boldsymbol{\alpha}}_{s-1} - \boldsymbol{\alpha}=
\Bigl(\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:s-1}}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:s-1}}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:s-1}}^\intercal\Bigr)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:s-1}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:s-1}}^{-1} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}},
\]
and from (ref) in the Appendix that
\[
\mathscr{B}_{s-1}\cap \mathscr{C}_{s-1} \subseteq
\Bigl\{\Bigl\| \left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:s-1}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:s-1}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:s-1}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:s-1}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:s-1}^{-1}\Bigr\| \leq \bar{\kappa}\Bigr\}.
\]
It then follows from (ref) that for any $j\neq a^*_s$,
\begin{align}
\{a_s = j\} \cap \mathscr{B}_{s-1}\cap \mathscr{C}_{s-1} \subseteq
\Bigl\{ |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s} | \leq
2\sqrt{p}\bar{v}\bar{\kappa} \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr\}.
\end{align}
Hence, for any $j\neq a^*_s$,
\begin{align*}
& \mathbb{E}[\operatorname{\mathbb{I}}(a_s = j) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}| ] \nonumber \\
=& \mathbb{E}[(\operatorname{\mathbb{I}}(\{a_s =j \}\cap \mathscr{B}_{s-1}\cap \mathscr{C}_{s-1} ) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}|]
+ \mathbb{E}[\operatorname{\mathbb{I}}(\{a_s =j \}\cap (\mathscr{B}_{s-1}\cap \mathscr{C}_{s-1})^\mathsf{c}) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}| ] \nonumber \\
\leq& \mathbb{E}[(\operatorname{\mathbb{I}}(\{a_s = j\}\cap \mathscr{B}_{s-1}\cap \mathscr{C}_{s-1} ) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}|]
+ \mathbb{E}[\operatorname{\mathbb{I}}( (\mathscr{B}_{s-1}\cap \mathscr{C}_{s-1})^\mathsf{c}) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}| ] \nonumber\\
\leq&
\mathbb{E}\Bigl[\operatorname{\mathbb{I}}\Bigl(|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s} | \leq
2\sqrt{p}\bar{v}\bar{\kappa} \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}| \Bigr]
+ 2\sqrt{p}\bar{v} \| \boldsymbol{\delta}_{j, a^*_s}\| \Pr( \mathscr{B}_{s-1}^\mathsf{c}\cup \mathscr{C}_{s-1}^\mathsf{c} ) \nonumber \\
\leq & 2\sqrt{p}\bar{v}\bar{\kappa}
\underbrace{\mathbb{E}\Bigl[\operatorname{\mathbb{I}}\Bigl(|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s} | \leq
2\sqrt{p}\bar{v}\bar{\kappa} \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr) \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr] }_{U_{1,j}}
+ 2\sqrt{p}\bar{v} \bar{\delta} \underbrace{\Pr( \mathscr{B}_{s-1}^\mathsf{c}\cup \mathscr{C}_{s-1}^\mathsf{c} )}_{U_2},
\end{align*}
where
the second inequality follows from (ref), and that $|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}| \leq \|\boldsymbol{v}_s\| \| \boldsymbol{\delta}_{j, a^*_s}\| \leq 2\sqrt{p}\bar{v} \bar{\delta} $.
By applying (ref), we have
\begin{align}
\mathbb{E}[R_s^{\pi^*}-R_s^\pi] = \sum_{j\neq a^*_s }\mathbb{E}[\operatorname{\mathbb{I}}(a_s = j) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s}| ]
\leq \sum_{j\neq a^*_s } (U_{1,j} + U_2).
\end{align}
For $U_2$, we may apply Lemmas (ref) and (ref) to conclude that
\begin{align}
U_2 \leq& \Pr(\mathscr{B}_{s-1}^c) +\Pr(\mathscr{C}_{s-1}^\mathsf{c})
\leq \Pr(\mathscr{B}_{\mathtt{T}_2:{s-1}}^\mathsf{c})+\Pr(\mathscr{C}_{s-1}^\mathsf{c}) \nonumber \\
\leq& [6Kp+(10K+8)q+1]T^{-1} + 2q T^{-3} \leq [6K p+(10K+10) q+1]T^{-1}.
\end{align}
For $U_{1,j}$, we have
\begin{align}
U_{1,j} = & \mathbb{E}\biggl[\operatorname{\mathbb{E}}\Bigl[\operatorname{\mathbb{I}}\Bigl(|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s} | \leq
2\sqrt{p}\bar{v}\bar{\kappa} \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr) \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr] \,\Big|\, \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \biggr]
\nonumber \\
\leq & \mathbb{E}\biggl[ \Pr\Bigl(|\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{j, a^*_s} | \leq
2\sqrt{p}\bar{v}\bar{\kappa} \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \,\Big|\, \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \Bigr) \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\| \biggr]
\nonumber \\
\leq& \mathbb{E}\Bigl[ 2L \sqrt{p}\bar{v}\bar{\kappa} \| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:s-1}}\|^2 \Bigr],
\end{align}
where the second inequality follows from the
margin condition of Assumption (ref),
Let $\mathsf{p}(w)$ denote the probability density function of $\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:s-1}\|$.
Then,
\begin{align}
\mathbb{E}\Bigl[\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:s-1}\|^2\Bigr] =& \int_{0}^\infty w^2 \mathsf{p}(w)\dd{w}
= \int_{0}^\infty \mathsf{p}(w) \int_{0}^{w} 2 \tau \dd{\tau} \dd{w} \nonumber \\
=&\int_{0}^\infty 2\tau \int_{\tau}^\infty \mathsf{p}(w) \dd{w} \dd{\tau}
= \int_{0}^\infty 2\tau \Pr(\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:s-1}\|\geq \tau) \dd{\tau},
\end{align}
where the third equality follows from Fubini's theorem.
We then apply (ref):
\begin{gather}
\int_{0}^\infty 2\tau \Pr(\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:s-1}\|\geq \tau) \dd{\tau }
\leq \int_{0}^\infty 4q\tau \exp(-\frac{\tau^2 (s-\mathtt{T}_2-1)}{2 q^2\bar{z}^2 \varsigma^2}) \dd{\tau}
=\frac{4q^3\bar{z}^2\varsigma^2 }{s-\mathtt{T}_2-1}.
\end{gather}
Combining (ref), (ref), and (ref), we have that for any $j\neq a^*_s$,
\begin{equation}
U_{1,j} \leq \frac{8L \sqrt{p} q^3 \bar{v} \bar{z}^2\varsigma^2 \bar{\kappa}}{s-\mathtt{T}_2-1}.
\end{equation}
Plugging in (ref) and (ref) into (ref), we have
\begin{equation}
\mathbb{E}[R_s^{\pi^*}-R_s^\pi]
\leq (K-1)\biggl[\frac{16 L p q^3 \bar{v}^2 \bar{z}^2\varsigma^2 \bar{\kappa}^2}{s-\mathtt{T}_2-1} + 2\sqrt{p}\bar{v} \bar{\delta} [6Kp+(10K+10)q+1]T^{-1}\biggr].
\end{equation}
Note that
$
\sum_{s=\mathtt{T}_2+2}^T \frac{1}{s-\mathtt{T}_2-1} \leq \int_1^T \frac{\dd{u}}{u} = \log(T)
$.
Then,
summing (ref) over $s=\mathtt{T}_2+2,\ldots,T$ yields
\begin{align}
& \sum_{s=\mathtt{T}_2+2}^T \mathbb{E}[R_s^{\pi^*}-R_s^\pi] \nonumber \\
\leq& (K-1) \bigl[16 L p q^3 \bar{v}^2 \bar{z}^2\varsigma^2 \bar{\kappa}^2 \log(T) + 2\sqrt{p}\bar{v} \bar{\delta} [6Kp+(10K+10)q+1] \bigr].
\end{align}
Moreover, for the first $\mathtt{T}_2+1$ periods,
we can simply take advantage of the fact that each reward is bounded and $\mathtt{T}_2$ is of order $\mathcal{O}(\log(T))$.
Specifically, by (ref),
\begin{align}
\sum_{s=1}^{\mathtt{T}_2+1} \mathbb{E}[R_s^{\pi^*} - R_s^\pi] =& \sum_{s=1}^{\mathtt{T}_2+1} \mathbb{E}[\operatorname{\mathbb{I}}(a_s\neq a_s^*) |\boldsymbol{v}_s^\intercal \boldsymbol{\delta}_{a_s,a^*_s}|]
\leq \sum_{s=1}^{\mathtt{T}_2+1} \mathbb{E}[\|\boldsymbol{v}_s\|\|\boldsymbol{\delta}_{a_s,a^*_s}\| ] \nonumber \\
\leq& \sqrt{p}\bar{v}\bar{\delta} (\mathtt{T}_2 +1)
=\sqrt{p}\bar{v} \bar{\delta}\bigl[(C_{\mathtt{T}_1} + C_{\mathtt{T}_2}) \log(T) + 1\bigr].
\end{align}
Combining (ref) and (ref) completes the proof.
$\Box$
\section{Proof of Theorem (ref)}
Let $\mathtt{T}_1= C_{\mathtt{T}_1}\log(T)$ and $\mathtt{T}_2= (C_{\mathtt{T}_1}+C_{\mathtt{T}_2})\log(T)$ for some constants $C_{\mathtt{T}_1}$ and $C_{\mathtt{T}_2}$ that satisfy Assumption (ref).
We show in the following that
\begin{gather}
\sqrt{T-\mathtt{T}_1} (\widehat{\boldsymbol{\alpha}}_{T} - \boldsymbol{\alpha} )
\rightsquigarrow \mathcal{N}\Bigl(\boldsymbol{0},\sigma^2\bigl(\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal\bigr)^{-1}\Bigr),
\end{gather}
as $T\to\infty$, where $\boldsymbol{\Sigma}_{vz}^* = \mathbb{E}[\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal]$ and $\boldsymbol{\Sigma}_{zz}=\mathbb{E}[\boldsymbol{z}_t \boldsymbol{z}_t^\intercal]$.
By (ref), for all $T>\mathtt{T}_1$,
\begin{align*}
\widehat{\boldsymbol{\alpha}}_{T} - \boldsymbol{\alpha} = \Bigl(\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:T}}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:T}}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:T}}^\intercal\Bigr)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:T}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:T}}^{-1} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:T}}.
\end{align*}
It follows from the definition of $\widehat{\boldsymbol{G}}_{\mathtt{T}_1:T}$ and
the central limit theorem that as $T\to\infty$,
\begin{gather*}
\sqrt{T-\mathtt{T}_1}\widehat{\boldsymbol{G}}_{{\mathtt{T}_1:T}}
= \frac{1}{\sqrt{T-\mathtt{T}_1}}\sum_{s=\mathtt{T}_1+1}^{T} \boldsymbol{z}_s \varepsilon_s
\rightsquigarrow \mathcal{N}(\boldsymbol{0},\sigma^2
\boldsymbol{\Sigma}_{zz}).
\end{gather*}
By Lemmas (ref) and (ref),
for arbitrarily small $\tau>0$, for $T$ large enough (dependent on $\tau$), we have that:
\begin{align*}
&\Pr(\|\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T}-\boldsymbol{\Sigma}_{vz}^*\|\leq \tau)\geq 1-[6Kp+(10K+8)q+1]T^{-1},\\
&\Pr(\|\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:T}-\boldsymbol{\Sigma}_{zz}\| \leq \tau)\geq 1-2q T^{-3}.
\end{align*}
Therefore, as $T\rightarrow \infty$,
\begin{gather*}
\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T} - \boldsymbol{\Sigma}_{vz}^*\rightarrow_p \boldsymbol{0} \qq{and}
\widehat\boldsymbol{\Sigma}_{zz,\mathtt{T}_1:T}-\boldsymbol{\Sigma}_{zz}\rightarrow_p \boldsymbol{0}.
\end{gather*}
It then follows from the continuous mapping theorem that, as $T\to\infty$,
\begin{align*}
\sqrt{T-\mathtt{T}_1}
(\widehat\boldsymbol{\alpha}_{T} - \boldsymbol{\alpha})
\rightsquigarrow & \bigl(\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal\bigr)^{-1}\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}\cdot \mathcal{N}(\boldsymbol{0},\sigma^2 \boldsymbol{\Sigma}_{zz}) \\
\stackrel{d}{=} & \mathcal{N}\Bigl(\boldsymbol{0},\sigma^2\bigl(\boldsymbol{\Sigma}_{vz}^*\boldsymbol{\Sigma}_{zz}^{-1}(\boldsymbol{\Sigma}_{vz}^*)^\intercal\bigr)^{-1}\Bigr).
\end{align*}
\section{Proof of Corollary (ref)}
\begin{lemma}
Suppose
\begin{equation}
C_{\mathtt{T}_2}\geq \max\Biggl\{\frac{3}{\textstyle \mathsf{C_{Bern}} \min\Bigl\{ \frac{\Delta^2}{4K_\varepsilon^2}, \frac{\Delta}{2K_\varepsilon}\Bigr\}}, \;
\frac{6K pq^2 \bar{v}^2 \bar{z}^2\varsigma^2 \bar{\kappa}^2 }{\textstyle \min \Bigl\{\frac{\Delta^2}{128\sigma^2}, \frac{\Delta}{64} \Bigr\}}\Biggr\},
\end{equation}
where $\mathsf{C_{Bern}}$ is the constant in Lemma (ref) and
$K_\varepsilon = \| \varepsilon_1^2 - \sigma^2\|_{\psi_1} < \infty$.
Suppose that the constant $\eta$ in the definitions of $\mathscr{B}_t$ and
$\mathscr{C}_t$ satisfies
\begin{equation}
\eta\leq \frac{1}{10}\min\Bigl\{\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*),\; \phi_{\min}(\boldsymbol{\Sigma}_{zz})\Bigr\}.
\end{equation}
Then, for all $t=\mathtt{T}_2+1,\ldots,T$,
\begin{equation*}
\Pr(\mathscr{B}_t \cap \mathscr{C}_t \cap \mathscr{D}_t^{\mathsf{c}})\leq (2q+2) T^{-3}.
\end{equation*}
\end{lemma}
\begin{proof}[Proof.]
Denote the estimated residual by $\widehat{\varepsilon}_t \coloneqq R_t - \widetilde{\boldsymbol{v}}_t^\intercal \widehat{\boldsymbol{\alpha}}_t$, and
define for all $t>\mathtt{T}_1$,
\begin{align}
\widehat{\boldsymbol{\varepsilon}}_{\mathtt{T}_1:t}\coloneqq&
\begin{pmatrix}
\widehat{\varepsilon}_{\mathtt{T}_1} \\
\vdots \\
\widehat{\varepsilon}_t
\end{pmatrix}
= \boldsymbol{R}_{\mathtt{T}_1: t} - \widetilde{\boldsymbol{V}}_{\mathtt{T}_1: t}
\widehat{\boldsymbol{\alpha}}_t
= \boldsymbol{\varepsilon}_{\mathtt{T}_1:t} + \widetilde{\boldsymbol{V}}_{\mathtt{T}_1: t}
\boldsymbol{\alpha} - \widetilde{\boldsymbol{V}}_{\mathtt{T}_1: t}
\widehat{\boldsymbol{\alpha}}_t \nonumber \\
=& \boldsymbol{\varepsilon}_{\mathtt{T}_1: t} - \widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}},
\end{align}
where $\boldsymbol{M}_{\mathtt{T}_1:t} \coloneqq \Bigl(\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}^\intercal\Bigr)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1}$,
and the last equality follows from (ref).
Then, it follows from (ref) that
\begin{align}
\widehat{\sigma}_t^2 =& \frac{1}{t-\mathtt{T}_1} \| \widehat{\boldsymbol{\varepsilon}}_{\mathtt{T}_1:t}\|^2
= \frac{1}{t-\mathtt{T}_1} \|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t} - \widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}} \|^2 \nonumber \\
=& \frac{1}{t-\mathtt{T}_1} \Bigl( \|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t}\|^2 - 2 \boldsymbol{\varepsilon}_{\mathtt{T}_1: t}^\intercal \widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}} + \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2 \Bigr) \nonumber \\
\leq& \frac{1}{t-\mathtt{T}_1} \Bigl( \|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t}\|^2 + 2 \|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t}\| \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\| + \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2 \Bigr).
\end{align}
Therefore, to examine the event $\mathscr{D}_t^\mathsf{c} = \{|\widehat{\sigma}_t^2 - \sigma^2| \leq \Delta \}$, it suffices to analyze the following two events separately: (i) $\frac{1}{t-\mathtt{T}_1}\|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t}\|^2$ is in the proximity of $\sigma^2$, and (ii) $\frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2$ is small.
We first analyze the former. Define
$
\mathscr{E}_t\coloneqq \left\{ \left| \frac{1}{t-\mathtt{T}_1}\|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t}\|^2 - \sigma^2 \right| \leq \frac{\Delta}{2}\right\}
$.
Note that
\[
\frac{1}{t-\mathtt{T}_1}\|\boldsymbol{\varepsilon}_{\mathtt{T}_1: t}\|^2 - \sigma^2 = \frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t (\varepsilon_s^2-\sigma^2),
\]
and $\mathbb{E}[\varepsilon_s^2] = \sigma^2$.
Moreover, since $\varepsilon_s$ is sub-Gaussian, it follows from
Lemma 2.7.6 of Vershynin18 that
$\varepsilon_s^2 - \sigma^2$ is sub-exponential.
Hence, by Lemma (ref),
\begin{align}
\Pr( \mathscr{E}_t^\mathsf{c} )
\leq& 2\exp(-(t-\mathtt{T}_1) \mathsf{C_{Bern}} \min\Bigl\{ \frac{\Delta^2}{4K_\varepsilon^2}, \frac{\Delta}{2K_\varepsilon} \Bigr\}) \nonumber \\
\leq& 2\exp(-C_{\mathtt{T}_2} \log(T) \mathsf{C_{Bern}} \min\Bigl\{ \frac{\Delta^2}{4K_\varepsilon^2}, \frac{\Delta}{2K_\varepsilon} \Bigr\}) \nonumber \\
\leq& 2 \exp(-3\log(T)) = 2T^{-3},
\end{align}
where the last inequality holds because of the condition (ref).
Now, we analyze the term $\frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2$.
Note that by Lemma (ref),
\begin{equation}
\frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\|^2 \leq \frac{1}{t-\mathtt{T}_1} \bigl(\sqrt{Kp(t-\mathtt{T}_1)}\|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\|_{\max}\bigr) ^2
\leq K p \bar{v}^2.
\end{equation}
It follows from (ref) that conditional on the event $\mathscr{B}_t\cap\mathscr{C}_t$ with $\eta$ satisfying (ref),
\begin{equation}
\| \boldsymbol{M}_{\mathtt{T}_1:t} \|^2
= \left\| \left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\right\|^2
\leq \bar{\kappa}^2.
\end{equation}
Note that
\begin{align*}
\frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2
\leq \frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\|^2 \| \boldsymbol{M}_{\mathtt{T}_1:t} \|^2 \|\widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2.
\end{align*}
It follows from (ref) and (ref) that
conditional on the event $\mathscr{B}_t\cap\mathscr{C}_t \cap \{ \|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| \leq \zeta_4 \} $ with $\zeta_4 \coloneqq \sqrt{6} q \bar{z}\varsigma \sqrt{\frac{\log(T)}{t-\mathtt{T}_1}}$,
we have
\begin{align}
\frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2
\leq& K p\bar{v}^2 \zeta_4^2 \bar{\kappa}^2
= 6K pq^2 \bar{v}^2 \bar{z}^2\varsigma^2 \bar{\kappa}^2\frac{\log(T)}{t-\mathtt{T}_1} \nonumber \\
\leq& \frac{6K pq^2 \bar{v}^2\bar{z}^2\varsigma^2 \bar{\kappa}^2 }{C_{\mathtt{T}_2}}
\leq \zeta_5
\end{align}
where $\zeta_5 \coloneqq \min \bigl\{\frac{\Delta^2}{128\sigma^2}, \frac{\Delta}{64} \bigr\}$. Note that the second inequality holds because $t-\mathtt{T}_1 \geq \mathtt{T}_2- \mathtt{T}_1 \geq C_{\mathtt{T}_2}\log(T)$, and the last inequality because of the condition (ref).
Consequently,
\begin{equation}
\bigl\{ \|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| \leq \zeta_4 \bigr\} \cap \mathscr{B}_t\cap\mathscr{C}_t
\subseteq \biggl\{ \frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2 \leq \zeta_5 \biggr\} \coloneqq \mathscr{F}_t.
\end{equation}
Note that conditional on the event $\mathscr{E}_t \cap \mathscr{F}_t$, we have
\begin{align}
|\widehat\sigma_t^2-\sigma^2|
\leq& \biggl|\frac{1}{t-\mathtt{T}_1}\|\boldsymbol{\varepsilon}_{\mathtt{T}_1:t}\|^2-\sigma^2\biggr| + \biggl| \widehat{\sigma}^2_t-\frac{1}{t-\mathtt{T}_1}\|\boldsymbol{\varepsilon}_{\mathtt{T}_1:t} \|^2 \biggr| \nonumber \\
\leq& \biggl|\frac{1}{t-\mathtt{T}_1}\|\boldsymbol{\varepsilon}_{\mathtt{T}_1:t}\|^2-\sigma^2\biggr| + 2 \biggl(\frac{1}{t-\mathtt{T}_1} \|\boldsymbol{\varepsilon}_{\mathtt{T}_1:t}\|^2\cdot \frac{1}{t-\mathtt{T}_1}\|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2\biggr)^{1/2} \nonumber \\
& + \frac{1}{t-\mathtt{T}_1} \|\widetilde{\boldsymbol{V}}_{\mathtt{T}_1:t}\boldsymbol{M}_{\mathtt{T}_1:t} \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}}\|^2 \nonumber
\\
\leq& \frac{\Delta}{2} + 2\sqrt{\Bigl(\sigma^2+\frac{\Delta}{2}\Bigr)\zeta_5}+\zeta_5,
\end{align}
where the second inequality follows from (ref).
Further, by the definition of $\zeta_5$, we have
\begin{align*}
\Bigl(\sigma^2+\frac{\Delta}{2}\Bigr)\zeta_5
\leq \sigma^2 \cdot \frac{\Delta^2}{128\sigma^2} + \frac{\Delta}{2}\cdot \frac{\Delta}{64} = \frac{\Delta^2}{64}.
\end{align*}
It then follows from (ref) that $|\widehat\sigma_t^2-\sigma^2| \leq \frac{\Delta}{2} + \frac{\Delta}{4} + \frac{\Delta}{64} < \Delta $.
Hence, $\mathscr{E}_t \cap \mathscr{F}_t \subseteq \mathscr{D}_t$, which in conjunction with (ref) implies that
\[
\mathscr{E}_t \cap \bigl\{ \|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| \leq \zeta_4 \bigr\} \cap \mathscr{B}_t\cap\mathscr{C}_t
\subseteq
\mathscr{E}_t \cap \mathscr{F}_t \subseteq
\mathscr{D}_t,
\]
and thus $\mathscr{E}_t \cap \bigl\{ \|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| \leq \zeta_4 \bigr\} \cap \mathscr{B}_t\cap\mathscr{C}_t \subseteq \mathscr{B}_t\cap\mathscr{C}_t \cap \mathscr{D}_t
$.
Hence,
\begin{align}
\mathscr{B}_t\cap\mathscr{C}_t \cap \mathscr{D}_t^{\mathsf{c}}
\subseteq&
\Bigl( \mathscr{E}_t \cap \bigl\{ \|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| \leq \zeta_4 \bigr\} \Bigr)^\mathsf{c} \cap \mathscr{B}_t\cap\mathscr{C}_t
\subseteq \mathscr{E}_t^\mathsf{c} \cup \bigl\{ \|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| > \zeta_4 \bigr\}.
\end{align}
Note that by (ref), we have
\begin{equation}
\Pr(\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| > \zeta_4) \leq 2q\exp(-\frac{\zeta_4^2(t-\mathtt{T}_1)}{2q^2\bar{z}^2\varsigma^2}) \leq 2q T^{-3}.
\end{equation}
Combining (ref), (ref), and (ref) yields
\[
\Pr(\mathscr{B}_t\cap\mathscr{C}_t \cap \mathscr{D}_t^{\mathsf{c}}) \leq
\Pr(\mathscr{E}_t^\mathsf{c}) +
\Pr(\|\widehat{\boldsymbol{G}}_{\mathtt{T}_1:t}\| > \zeta_4)
\leq (2q+2)T^{-3}.
\]
\end{proof}
\begin{proof}[Proof of Corollary (ref).]
By Lemmas (ref) and (ref),
for arbitrarily small $\tau>0$, for $T$ large enough (dependent on $\tau$), we have that:
\begin{align*}
&\Pr(\|\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T}-\boldsymbol{\Sigma}_{vz}^*\|\leq \tau)\geq 1-[6Kp+(10K+8)q+1]T^{-1},\\
&\Pr(\|\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:T}-\boldsymbol{\Sigma}_{zz}\| \leq \tau)\geq 1-2q T^{-3}.
\end{align*}
Therefore, as $T\rightarrow \infty$,
\begin{gather*}
\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T} - \boldsymbol{\Sigma}_{vz}^*\rightarrow_p \boldsymbol{0} \qq{and}
\widehat\boldsymbol{\Sigma}_{zz,\mathtt{T}_1:T}-\boldsymbol{\Sigma}_{zz}\rightarrow_p \boldsymbol{0}.
\end{gather*}
It implies that
\begin{equation*}
\widehat{\boldsymbol{\Omega}}_T =\Bigl(\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T}\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T}^{-1}(\widehat\boldsymbol{\Sigma}_{vz,\mathtt{T}_1:T})^\intercal \Bigr)^{-1}\rightarrow_p \boldsymbol{\Omega}^*.
\end{equation*}
Similarly, by Lemma (ref), for arbitrarily small $\eta$ and large enough $T$ (dependent on $\eta$), we have
\begin{equation*}
\Pr(\mathscr{B}_T\cap \mathscr{C}_T \cap \mathscr{D}_T^\mathsf{c})\leq (2q+2)T^{-3}.
\end{equation*}
By Lemma (ref) and Lemma (ref), we know that for $T$ large enough,
\begin{align*}
\Pr(\mathscr{B}_T\cap \mathscr{C}_T)\geq& 1 - \Pr(\mathscr{B}_T^\mathsf{c}) - \Pr(\mathscr{C}_T^\mathsf{c})\\
\geq& 1- [6Kp+(10K+8)q+1]T^{-1}-2qT^{-3}.
\end{align*}
Therefore,
\begin{align*}
\Pr(\mathscr{D}_T^\mathsf{c} )=& \Pr(\mathscr{B}_T\cap \mathscr{C}_T \cap \mathscr{D}_T^\mathsf{c}) + \Pr((\mathscr{B}_T\cap \mathscr{C}_T)^\mathsf{c} \cap \mathscr{D}_T^\mathsf{c}) \\
\leq & (2q+2)T^{-3} + [6Kp+(10K+8)q+1]T^{-1}-2qT^{-3}.
\end{align*}
Hence, $\Pr(\mathscr{D}_t )\rightarrow 1$ as $T\rightarrow \infty$.
Since $\eta$ can be arbitrarily small, it implies that $\widehat\sigma^2_T\rightarrow_p \sigma^2$.
Combining all the above, we have that
\begin{equation*}
\widehat\sigma^2_T \widehat{\boldsymbol{\Omega}}_T\rightarrow_p \sigma^2 \boldsymbol{\Omega}^*.
\end{equation*}
By Theorem (ref), we have that
$\sqrt{T-T_1}(\widehat{\boldsymbol{\alpha}}_T-\boldsymbol{\alpha})\rightsquigarrow \mathcal{N}(0,\sigma^2 \boldsymbol{\Omega}^*)$ as $T\rightarrow \infty$. Since $\widehat\sigma^2_T \widehat{\boldsymbol{\Omega}}_T$ is a consistent estimator of $\sigma^2 \boldsymbol{\Omega}^*$, the statements in Corollary (ref) hold.
\end{proof}
\section{Proof of Proposition (ref)}
\begin{proof}[Proof of Proposition (ref)]
WLOG., we can assume that $\boldsymbol{v}_t \geq 0$ for all $\boldsymbol{v}_t\in \mathcal{V}$. Otherwise we can always apply a constant shift to $\boldsymbol{v}_t$ to make such condition to hold.
Given that $R_i(\boldsymbol{v}_t) = \boldsymbol{\alpha}_i^\intercal \boldsymbol{v}_t + \epsilon_t$. WLOG., suppose $a_t=1$ for $t=T_1+1$, i.e., suppose arm 1 is pulled at time $T_1+1$. Consider the event that:
\begin{equation*}
\mathcal{A} := \{\epsilon_{T_1+1}<\bar{\epsilon}\}\cap \{\epsilon_{t}\in [-\bar{\epsilon}_1,\bar{\epsilon}_1],t=T_1+2,...,T_2\}\cap \{v_{T_1+1} > \bar{v}\},
\end{equation*}
with some $\bar{\epsilon}<0$, $\bar{\epsilon}_1>0$ and $\bar{v}>0$.
It can be shown that for arbitrarily fixed $\bar{\epsilon}$ and $\bar{\epsilon}_1$, and fixed finite number of $T_2-T_1=C$, we have that $$\Pr(\mathcal{A})>2\underline{p}$$ for some fixed positive constant $\underline{p}>0$.
For $\bar{\epsilon}$ negative enough and $\bar{\epsilon}_1$ close enough to $0$, we can conclude that $\hat\boldsymbol{\alpha}_{1,t}<\boldsymbol{\alpha}_{1} - \bar{\alpha}$ with $\bar{\alpha}>0$ being an arbitrarily large positive vector, while $|\hat\boldsymbol{\alpha}_{2,t}-\boldsymbol{\alpha}_2|< C \bar{\epsilon}_1$ is arbitrarily close to $0$.
Therefore, if $\bar{\epsilon}$ is negative enough, then, we can have that for all $v\in \mathcal{V}$, where $\mathcal{V}$ is a bounded compact set, $\hat\boldsymbol{\alpha}_1^\intercal v < \hat\boldsymbol{\alpha}_2^\intercal v$ for $t=T_2+1$. Therefore, the arm 2 will be pulled for sure under event $\mathcal{A}$ at $t=T_2+1$.
Then, we show that there exists a non-trivial probability such that arm 2 will be pulled at all time $t=T_2+2,...,T$. It suffices to show that $\hat{\boldsymbol{\alpha}}_{2,t}\rightarrow {\boldsymbol{\alpha}}_{2}$ uniformly as $t\rightarrow \infty$.
By definition, we have that:
\begin{equation}
\|\widehat{\boldsymbol{\alpha}}_{t} - \boldsymbol{\alpha}\| \leq \Bigl\|
\Bigl(\widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,{\mathtt{T}_1:t}}^\intercal\Bigr)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,{\mathtt{T}_1:t}}^{-1} \Bigr\| \cdot \bigl\| \widehat{\boldsymbol{G}}_{{\mathtt{T}_1:t}} \bigr\|.
\end{equation}
For some arbitrarily small positive constant $C_A>0$, define the events that:
\begin{gather*}
\mathscr{A}_t\coloneqq \Biggl\{\|\widehat{\boldsymbol{\alpha}}_t - \boldsymbol{\alpha} \|\leq C_A \Biggr\}, \quad
\mathscr{B}_t\coloneqq \bigl\{\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{vz}^*\|\leq \eta\bigr\}, \\
\mathscr{C}_t\coloneqq \bigl\{\|\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{zz}\|\leq \eta\bigr\},
\end{gather*}
First, similar to Lemma (ref), given $\mathcal{B}_t$ and $\mathcal{C}_t$ hold, we have that:
\begin{equation}
\begin{gathered}
\phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t})> \phi_{\min}(\boldsymbol{\Sigma}_{vz}^*)-\eta>0, \quad
\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}) < \phi_{\max}(\boldsymbol{\Sigma}_{vz}^*)+\eta, \\
\phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}) > \phi_{\min}(\boldsymbol{\Sigma}_{zz})-\eta>0, \quad
\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t})< \phi_{\max}(\boldsymbol{\Sigma}_{zz})+\eta.
\end{gathered}
\end{equation}
This implies that
\begin{align*}
& \left\| \left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\right\| \nonumber \\
=& \phi_{\max}\left(\left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\right) \nonumber \\
\leq & \frac{\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t})\phi_{\max}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t})}{(\phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}))^2 \phi_{\min}(\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t})} \\
\leq& \frac{(\phi_{\max}({\boldsymbol{\Sigma}}_{vz}^*)+\eta)(\phi_{\max}({\boldsymbol{\Sigma}}_{zz})+\eta)}{(\phi_{\min}({\boldsymbol{\Sigma}}_{vz}^*)-\eta)^2 (\phi_{\min}({\boldsymbol{\Sigma}}_{zz})-\eta)} \\
\leq& \biggl(\frac{11}{10}\biggr)^2\biggl(\frac{10}{9}\biggr)^3 \frac{\phi_{\max}(\boldsymbol{\Sigma}_{vz}^*)\phi_{\max}(\boldsymbol{\Sigma}_{zz})}{(\phi_{\min}(\boldsymbol{\Sigma}_{vz}^*))^2 \phi_{\min}(\boldsymbol{\Sigma}_{zz})} \\
\leq& \bar{\kappa}.
\end{align*}
Therefore,
\begin{equation}
\mathscr{B}_t\cap \mathscr{C}_t \subseteq
\Bigl\{\Bigl\| \left(\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1} \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^\intercal\right)^{-1}\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}^{-1}\Bigr\| \leq \bar{\kappa}\Bigr\}.
\end{equation}
By Corollary (ref), we have that for all $\tau\geq 0$ and $t>\mathtt{T}_2$,
\begin{equation*}
\Pr(\bigl\|\widehat{\boldsymbol{G}}_{\mathtt{T}_2:t}\bigr\|\geq\tau)
\leq 2q\exp(-\frac{\tau^2 (t-\mathtt{T}_2)}{2 q^2\bar{z}^2 \varsigma^2}).
\end{equation*}
Note that
$ \widehat{\boldsymbol{G}}_{\mathtt{T}_1:t} = \frac{t-\mathtt{T}_2}{t-\mathtt{T}_1}\widehat{\boldsymbol{G}}_{\mathtt{T}_2:t} + \frac{\mathtt{T}_2-\mathtt{T}_1}{t-\mathtt{T}_1}\widehat{\boldsymbol{G}}_{\mathtt{T}_1:\mathtt{T}_2}$, and by construction $\|\frac{\mathtt{T}_2-\mathtt{T}_1}{t-\mathtt{T}_1}\widehat{\boldsymbol{G}}_{\mathtt{T}_1:\mathtt{T}_2}\|\leq C\bar{\epsilon}_1$ can be arbitrarily small when $\epsilon_1$ is small enough, we have that:
\begin{equation*}
\Pr(\{\|\widehat{G}_{T_1:t}\|\geq \tau\}\cap \mathcal{A})\leq 2q\underline{p}\exp\left(-\frac{(\tau - C\bar{\epsilon}_1)^2(t-\mathtt{T}_1)}{2q^2\bar{z}\varsigma^2}\right).
\end{equation*}
Let $ 2C\bar{\epsilon}_1 = \tau$, we have that:
\begin{equation*}
\Pr(\{\|\widehat{G}_{T_1:t}\|\geq \tau\}\cap \mathcal{A})\leq 2q\underline{p}\exp\left(-\frac{\tau ^2(C+t-\mathtt{T}_2)}{8q^2\bar{z}\varsigma^2}\right).
\end{equation*}
Let $C_A \geq 4q \bar{z}\varepsilon C\bar{\epsilon}_1$, We have that
\begin{equation}
\Pr(\mathscr{A}_t^c \cap \mathscr{B}_t\cap \mathscr{C}_t \cap \mathcal{A}) \leq 2q\bar{p}\exp(-(C+t-T_2)).
\end{equation}
Similar to Lemma (ref), we have that
it follows from Lemma (ref) that for all $t \geq \mathtt{T}_2$,
\begin{align*}
\Pr(\mathscr{C}_t^{\mathsf{c}}) = \Pr(\|\widehat{\boldsymbol{\Sigma}}_{zz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{zz}\| > \eta)
\leq& 2q\exp(-\frac{\eta^2 (t-\mathtt{T}_1)}{2q^2\bar{z}^4}) \\
\leq & 2q\exp(-\frac{\eta^2 (C+t-\mathtt{T}_2)}{2q^2\bar{z}^4}).
\end{align*}
By Bonferroni inequality, we have that:
\begin{equation*}
\Pr(\mathscr{C}_{T_2,t}) \geq 1-\sum_{s=\mathtt{T}_2+1}^t \Pr(\mathscr{C}_{s}^c) \geq 1-2q^3\bar{z}^4/\eta^2 \exp(-\frac{\eta^2 C}{2q^2\bar{z}^4}),
\end{equation*}
for all $t> \mathtt{T}_2$. Next, similar to Lemma (ref), for all $t\geq \mathtt{T}_2$, we define
\begin{equation*}
\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^*\coloneqq \frac{1}{t-\mathtt{T}_1}\sum_{s=\mathtt{T}_1+1}^t \boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal \in\mathbb{R}^{(Kp)\times q},
\end{equation*}
and analyze separately the two components of the following decomposition:
\begin{equation}
\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}-\boldsymbol{\Sigma}_{vz}^*\| \leq
\underbrace{
\|\widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t} - \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* \|}_{I_1} +
\underbrace{
\| \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* -\boldsymbol{\Sigma}_{vz}^*\|}_{I_2}.
\end{equation}
For $I_2$, note that $\mathbb{E}[\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal] = \boldsymbol{\Sigma}_{vz}^*$
and that, by Lemma (ref),
\[
\|\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal - \boldsymbol{\Sigma}_{vz}^*\|
\leq \|\boldsymbol{v}_t^* \boldsymbol{z}_t^\intercal\| + \|\boldsymbol{\Sigma}_{vz}^*\|
\leq 2\sqrt{K pq}\bar{v}\bar{z}.
\]
It then follows from Lemma (ref) that for all $t\geq \mathtt{T}_2$,
\begin{align}
\Pr(\| \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* - \boldsymbol{\Sigma}_{vz}^*\| > \frac{\eta}{2})
\leq& 2(Kp+q)\exp(-\frac{(t-\mathtt{T}_1)\eta^2/4}{2(2\sqrt{Kpq}\bar{v}\bar{z})^2}) \nonumber \\
\leq & 2(Kp+q) \exp(-\frac{\eta^2 (C+t-\mathtt{T}_2)}{32K pq\bar{v}^2\bar{z}^2}) \nonumber.
\end{align}
And
\begin{align}
\Pr(\| \widehat{\boldsymbol{\Sigma}}_{vz,\mathtt{T}_1:t}^* - \boldsymbol{\Sigma}_{vz}^*\| > \frac{\eta}{2} \cap \mathcal{A}\cap \mathscr{A}_{\mathtt{T}_2:t-1})
\leq& 2\underline{p}\exp\left(-\frac{\eta^2 (t-\mathtt{T}_1)}{32 pq\var{v}^2\bar{z}^2 (K-1)^2} \right) \nonumber\\
\leq & 2\underline{p}\exp\left(-\frac{\eta^2 (C+t-\mathtt{T}_2)}{32 pq\var{v}^2\bar{z}^2 (K-1)^2} \right).
\end{align}
Therefore, we have that:
\begin{equation*}
\Pr(\mathscr{B}_t^c \cap \mathcal{A}\cap \mathscr{A}_{\mathtt{T}_2:t-1}) \leq 2\underline{p}(\exp\left(-\frac{\eta^2 (C+t-\mathtt{T}_2)}{32 pq\var{v}^2\bar{z}^2 (K-1)^2} \right) + (Kp+q) \exp(-\frac{\eta^2 (C+t-\mathtt{T}_2)}{32K pq\bar{v}^2\bar{z}^2}) ).
\end{equation*}
Similar to the proof of Lemma (ref), we can show that by induction, we have:
\begin{equation}
\Pr(A\cap A_{\mathtt{T}_2:T}^c)\leq \bar{C}T^{-1}
\end{equation}
for some fixed constant $\bar{C}>0$, and hence, $\Pr(A\cap A_{\mathtt{T}_2:T})\geq \Pr(A) - \Pr(A\cap A_{\mathtt{T}_2:T}^c) \geq 2\underline{p} - \bar{C} T^{-1}\geq \underline{p}$ for $T$ large enough. It implies that there exists probability of $\underline{p}>0$ such that arm 2 is pulled forever in Phase 3, and the reward of arm 1 is always underestimated, leading to linear regret of the algorithm. Therefore, without Phase 2, the algorithm could be non-converging with a non-trivial positive probability $\geq \underline{p}$.
\end{proof}