Introduction
Federated Learning (FL) provides a framework in which multiple clients collaboratively train a shared model while keeping their data decentralized McMahan et al. [28 ] ; Kairouz et al. [16 ] . Much of the classical FL literature considers clients with locally stored datasets that remain available throughout training. In this setting, clients perform several optimization steps on their local data before communicating model updates to a central server, allowing communication costs to be reduced through periodic aggregation Konečný et al. [18 ] ; Stich [45 ] ; Woodworth et al. [49 ] . This approach is well suited to applications in which data can be retained and repeatedly accessed, but it is less appropriate for devices that continuously acquire new observations under limited memory and computational resources. Such constraints arise in environmental monitoring through Internet-of-Things sensors Hill and Minsker [14 ] , wearable health-monitoring systems Greco et al. [10 ] , and on-device language modeling Hard et al. [13 ] . In these applications, clients may need to update their models as observations arrive, rather than relying on repeated access to previously collected data. Streaming Federated Learning (SFL) addresses this setting by combining collaborative model training with the sequential acquisition and processing of local data Marfoq et al. [25 ] ; Liu et al. [23 ] .
A central difficulty in streaming applications is that observations arriving over time are rarely independent. Measurements produced by physical systems, biological processes, and human activity often exhibit persistent temporal dependencies, which can be modeled using stochastic processes with finite memory Van Kampen [47 ] ; Paulin [32 ] . The distinction is important because a collection of temporally correlated observations generally contains less independent statistical information than an equally sized i.i.d. sample. In SFL, these dependencies interact with the evolution of the learned model: each client updates its parameters using a local data stream, while successive communication rounds propagate information from earlier observations through the aggregated model. Consequently, the generalization behavior of the final model depends not only on the amount of data collected but also on how quickly the underlying processes mix, how frequently clients communicate, and how information is accumulated across rounds. Although these factors are closely related to the optimization and communication tradeoffs studied in distributed learning Karimireddy et al. [17 ] ; Li et al. [21 ] ; Reddi et al. [35 ] , their combined influence on the generalization gap of SFL with Markovian data is not yet well understood.
This question is particularly relevant for next-token prediction, where the observations within a sequence are dependent and each prediction is formed from a finite history. Increasing the prediction context allows the model to exploit more temporal information, but it also increases the number of loss terms affected by an individual observation. The resulting dependence is therefore shaped both by the memory of the data-generating process and by the context used by the predictor. While the expressive capabilities and structural properties of self-attention have been extensively investigated Vaswani et al. [48 ] ; Edelman et al. [8 ] ; Malach [24 ] , understanding how these two sources of dependence interact with collaborative learning remains a distinct statistical problem. In particular, it is unclear how the number of clients, communication frequency, context length, and mixing properties of the local data streams jointly determine the generalization gap of an aggregated next-token predictor. A further question is whether the dependence on context length can be sharpened by exploiting the mixing behavior of the underlying history-state process.
In this paper, we address this problem through an information-theoretic and rate-distortion analysis of SFL with Markovian data. We first establish general bounds on the expected generalization gap of the aggregated model under cross-entropy loss, explicitly accounting for the temporal dependence of the data collected by each client. Our analysis accommodates heterogeneous Markovian dynamics across clients and separates the information acquired by local learning algorithms from the statistical effect of temporal dependence. We also derive a refined concentration-based bound by analyzing the Markovian evolution of the history-state process rather than individual observations. This refinement provides an alternative characterization of temporal dependence and can reduce the explicit context-length penalty under suitable mixing conditions. We then develop a rate-distortion formulation that controls generalization through approximate representations of the learned models, extending the applicability of the bounds to settings in which ordinary mutual-information quantities may be uninformative Sefidgaran et al. (2022b,a); Arora et al. (2018). Finally, we specialize the general framework to Linear Next-Token Prediction (LNTP-SFL) and Self-Attention Next-Token Prediction (SANTP-SFL) architectures, obtaining explicit bounds in terms of the number of clients, communication rounds, data size and dimension, Markovian mixing time, and prediction context length.
For the special case of homogeneous mixing dynamics across clients, with mixing time τ min \tau_{\min} τ m i n , K K K clients each collecting N N N trajectories of length T T T , R R R communication rounds, dictionary dimension d d d , and context length ρ \rho ρ , the resulting bounds for LNTP-SFL and SANTP-SFL take the form
O ( 1 K R ∑ k = 1 K ∑ r = 1 R C s s ˉ θ 2 τ k , min R L r log ( ρ d N T ) K 2 N T ) (1) \mathcal{O}\left(\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{C^{s}\bar{s}}{\theta^{2}}\sqrt{\frac{\tau_{k,\min}RL_{r}\log(\rho dNT)}{K^{2}NT}}\right) \tag*{(1)} O ( K R 1 k = 1 ∑ K r = 1 ∑ R θ 2 C s s ˉ K 2 N T τ k , m i n R L r log ( ρ d N T ) ) (1)
where ( s , s ˉ ) = ( 2 , 3 ) (s,\bar{s})=(2,3) ( s , s ˉ ) = ( 2 , 3 ) for LNTP-SFL and ( s , s ˉ ) = ( 4 , 2 ) (s,\bar{s})=(4,2) ( s , s ˉ ) = ( 4 , 2 ) for SANTP-SFL, and L r L_{r} L r captures the contraction of local updates across subsequent communication rounds.
These bounds make explicit the interaction between distributed learning, temporal dependence, and model complexity. Our main findings are summarized as follows:
The communication-generalization tradeoff: Our bounds exhibit an explicit dependence on the number of communication rounds, with a factor of order O ( R / N ) \mathcal{O}(\sqrt{R/N}) O ( R / N ) when the remaining quantities are fixed. Thus, although more frequent communication may improve optimization, it can weaken the resulting generalization guarantees. This identifies a tradeoff between the optimization benefits of frequent aggregation and the statistical dependence accumulated through repeated communication.
The distributed advantage: The bounds reveal a favorable dependence on the number of participating clients, including a factor of order O ( log K / K ) \mathcal{O}(\sqrt{\log K/K}) O ( log K / K ) under the corresponding specialization. This highlights a potential statistical benefit of collaborative learning and provides a basis for comparing federated and centralized streaming schemes under their respective data-budget assumptions.
Local updates as a buffer: The analysis identifies the number of local updates between successive communication rounds as an important parameter governing generalization. Allowing clients to process more observations before communicating can reduce the communication-dependent contribution to the bound, suggesting that less frequent aggregation may help limit the statistical cost associated with repeatedly exchanging models learned from dependent data.
Quantifying the impact of memory and context: Temporal dependence enters the bounds through the square root of the Markovian mixing time, τ min \sqrt{\tau_{\min}} τ m i n , reflecting the reduction in effective statistical information caused by slowly mixing data. The
prediction context introduces an additional complexity penalty through the sensitivity of the loss to changes in neighboring observations. By considering the history-state process, we further establish refined bounds that can reduce this explicit context-length dependence when the corresponding mixing properties are sufficiently favorable. Together, these results clarify how the memory of the underlying process and the context length of the prediction model jointly affect generalization.
Experiments: We complement the theoretical results with experiments involving GPT-style decoder pretraining on the TinyStories corpus Eldan and Li (2023), as well as real-world multi-site air-quality and long-term electricity-forecasting benchmarks. These experiments examine the effects of collaborative learning, communication frequency, and temporal dependence on the generalization gap. We also report the corresponding training and test errors, recognizing that a smaller generalization gap does not necessarily imply a lower test error.
Related Prior Art
Federated learning has been extensively studied as a means of training shared models from decentralized datasets while limiting the need to transmit raw observations. Early work introduced communication-efficient model averaging as a practical alternative to centralized training McMahan et al. (2017b), while subsequent research examined the effects of local computation, data heterogeneity, and communication constraints on the convergence of distributed optimization algorithms Konečný et al. (2016); Stich (2019); Li et al. (2020a); Karimireddy et al. (2020); Woodworth et al. (2020). These studies established that the number of local optimization steps and the frequency of communication can substantially influence optimization performance, particularly when clients have heterogeneous data distributions. Related developments include adaptive federated optimization and convergence analyses for FedAvg under non-i.i.d. sampling Reddi et al. (2021); Li et al. (2020b). For a broader account of the foundations and challenges of federated learning, we refer to Kairouz et al. (2021). Although this literature provides important insights into communication-efficient training, its primary emphasis is on convergence and optimization error rather than the generalization gap induced by temporally dependent streaming observations.
Streaming FL differs from the conventional setting in that clients receive new data over time and may be unable to retain or revisit their earlier observations. This makes the learning process closely related to online and continual learning, where models must adapt to sequential information under computational or memory constraints. Online learning has traditionally been analyzed through regret and sequential decision-making guarantees Shalev-Shwartz (2012); Ordover and Zaruba (2021), whereas continual-learning methods address the preservation and adaptation of previously acquired knowledge as new tasks or observations arrive Schwarz et al. (2018). In distributed environments, these challenges are compounded by communication constraints and possible differences between local data streams Marfoq et al. (2023); Liu et al. (2023). Nevertheless, the objectives considered in these lines of research do not directly characterize the statistical difference between the empirical and population losses of the final aggregated model.
A further complication arises when observations within each client follow a Markov process. Optimization under Markovian sampling has received considerable attention, including analyses of stochastic approximation with dependent observations Duchi et al. [7 ] ; Sun et al. [46 ] and more recent studies of distributed and streaming optimization Huynh et al. [15 ] . In particular, the latter investigates minibatch and local SGD under Markovian sampling and establishes convergence guarantees that reflect the effect of temporal dependence. These results complement the broader literature on stochastic optimization with Markovian noise, surveyed in Beznosikov et al. [3 ] . Their main concern, however, is how dependence affects convergence toward an optimizer. Our interest is different: we study how the dependence of the learned model on the observed trajectories determines its expected generalization gap, even when the local learning algorithms are not specified through a particular gradient-update rule.
The statistical analysis of dependent observations has a long history. Classical work on concentration and empirical processes developed tools for handling weakly dependent and mixing sequences Yu [51 ] ; Marton [26 ] ; Samson [37 ] . Subsequent results established concentration inequalities for Markov chains and dependent random variables, making it possible to account explicitly for the strength and persistence of temporal correlations Kontorovich and Ramanan [19 ] ; Paulin [32 ] . Generalization bounds beyond independent sampling have also been developed using blocking arguments, mixing coefficients, and complexity-based techniques Mohri and Rostamizadeh [29 ] ; Ralaivola et al. [34 ] ; Kuznetsov and Mohri [20 ] . These methods show that temporal dependence can substantially affect the concentration of empirical averages, and that the effective number of observations may be considerably smaller than the nominal sample size. In our setting, the difficulty is further compounded by next-token prediction, where overlapping contexts introduce additional sensitivity of the loss to individual tokens. Our analysis accounts for this effect through bounded-difference arguments combined with concentration inequalities for Markovian trajectories.
A complementary perspective comes from information-theoretic generalization. The foundational works of Russo and Zou [36 ] ; Xu and Raginsky [50 ] relate the expected generalization gap to the information that the learned model retains about its training data. Refinements based on individual-sample information, conditional information, and data-dependent quantities have subsequently provided more detailed descriptions of algorithmic dependence Bu et al. [4 ] ; Negrea et al. [30 ] ; Steinke and Zakynthinou [44 ] . Unlike uniform complexity measures, these approaches characterize generalization through properties of the learning algorithm and the resulting joint distribution of the training data and the learned parameters. They are therefore particularly attractive for distributed learning, where the sequence of local updates and server aggregations creates a structured flow of information across clients and communication rounds.
Information-theoretic approaches are also closely related to model compression and rate-distortion theory. Rather than measuring the information required to specify the learned model exactly, a lossy representation can be used when its effect on the generalization gap is controlled Sefidgaran et al. [40 ] ; Arora et al. [1 ] . This distinction is important for deterministic learning algorithms with continuous model spaces, for which ordinary mutual information may become infinite and yield vacuous guarantees. Rate-distortion formulations instead quantify the information needed to preserve the aspects of the model that matter for generalization. In the federated setting considered here, this viewpoint allows us to study approximate local updates while retaining the dependence of the final aggregated model on earlier communication rounds.
The work of Sefidgaran et al. [41 ] is particularly relevant, as it studies the generalization gap of streaming federated learning through an information-theoretic framework under i.i.d. data streams. Its analysis exploits independence across observations to relate generalization to the information conveyed by local models and successive communication rounds. Such an argument cannot be transferred directly to Markovian streams because observations within each trajectory remain statistically dependent, and replacing one sample may affect the distribution of subsequent observations. The distinction is especially pronounced in next-token prediction, where neighboring loss terms also share parts of their input contexts. Consequently, extending the i.i.d. analysis requires concentration tools that account for temporal dependence rather than treating every observed token as an independent sample.
Finally, next-token prediction and self-attention have generated a substantial body of theoretical work. The Transformer architecture introduced attention-based sequence modeling as a flexible alternative to recurrent processing Vaswani et al. [48 ] , while subsequent studies investigated the inductive biases and representational properties of self-attention Edelman et al. [8 ] . Other analyses have considered the learning capabilities and statistical behavior of autoregressive prediction Malach [24 ] ; Yüksel and Flammarion [52 ] . These contributions provide important foundations for understanding sequence models, but they do not directly address the combined effects of decentralized training, communication rounds, and Markovian dependence on the generalization gap.
Our work connects these complementary research directions. We extend information-theoretic and rate-distortion generalization analysis to streaming federated learning with Markovian trajectories, allowing the mixing behavior to vary across clients. By specializing the results to linear and self-attention next-token predictors, we further identify how communication frequency, client count, temporal memory, and prediction context jointly enter the generalization guarantees. The resulting framework thus addresses a statistical aspect of distributed sequence learning that is distinct from the optimization guarantees developed for Markovian SGD and from the generalization results established under independent data streams.
Notation and Problem Setup
Notation
Upper-case letters denote random variables, e.g., X X X , while lower-case letters denote their realizations, e.g., x x x . Calligraphic letters denote sets or spaces, e.g., X \mathcal{X} X and W \mathcal{W} W . The probability distribution of a random variable X X X is denoted by P X P_X P X , and P X ∣ Y P_{X\mid Y} P X ∣ Y denotes the corresponding conditional distribution. Expectations with respect to a distribution P P P are written as E P [ ⋅ ] \mathbb{E}_P[\cdot] E P [ ⋅ ] , with the subscript omitted when the underlying distribution is clear from the context.
For two probability measures P P P and Q Q Q defined on a common measurable space, with P ≪ Q P \ll Q P ≪ Q , their Kullback–Leibler (KL) divergence is defined as
D ( P ∥ Q ) : = E P [ log ( d P d Q ) ] , (2) D(P\mathbin{\|}Q) := \mathbb{E}_P\left[\log\left(\frac{\mathrm{d}P}{\mathrm{d}Q}\right)\right], \tag*{(2)} D ( P ∥ Q ) := E P [ log ( d Q d P ) ] , (2)
and D ( P ∥ Q ) = ∞ D(P\|Q)=\infty D ( P ∥ Q ) = ∞ whenever P P P is not absolutely continuous with respect to Q Q Q . The mutual information between random variables X X X and Y Y Y is
I ( X ; Y ) : = D ( P X , Y ∥ P X P Y ) . I(X;Y) := D(P_{X,Y}\|P_XP_Y). I ( X ; Y ) := D ( P X , Y ∥ P X P Y ) .
For n ∈ N n \in\mathbb{N} n ∈ N , we use [ n ] : = { 1 , … , n } [n] := \{1,\ldots,n\} [ n ] := { 1 , … , n } , and 1 { ⋅ } \mathbf{1}_{\{\cdot\}} 1 { ⋅ } denotes the indicator function. The Euclidean inner product is denoted by ⟨ ⋅ , ⋅ ⟩ \langle\cdot,\cdot\rangle ⟨ ⋅ , ⋅ ⟩ . For vectors, ∥ ⋅ ∥ ∞ \|\cdot\|_{\infty} ∥ ⋅ ∥ ∞ denotes the maximum norm, while for matrices ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ denotes the Frobenius norm unless stated otherwise.
Finally, for a mapping g : A → B g:\mathcal{A}\to\mathcal{B} g : A → B and a positive integer m m m , we denote its element-wise extension by g ⊗ m g^{\otimes m} g ⊗ m , defined as g ⊗ m ( a 1 , … , a m ) : = ( g ( a 1 ) , … , g ( a m ) ) g^{\otimes m}(a_1,\ldots,a_m):=(g(a_1),\ldots,g(a_m)) g ⊗ m ( a 1 , … , a m ) := ( g ( a 1 ) , … , g ( a m )) , for every ( a 1 , … , a m ) ∈ A m (a_1,\ldots,a_m)\in\mathcal{A}^m ( a 1 , … , a m ) ∈ A m .
Data Generation Process
Consider a finite dictionary of tokens D : = { ∅ , t 1 , … , t d } \mathcal{D}:=\{\varnothing,t_1,\ldots,t_d\} D := { ∅ , t 1 , … , t d } , where d ∈ N ∗ d\in\mathbb{N}^{*} d ∈ N ∗ . We represent the tokens in R d \mathbb{R}^{d} R d using the one-hot encoding map E \mathcal{E} E , defined as
E : { D → R d , ∅ ↦ 0 , t i ↦ e i , where { e i } i = 1 d is the canonical basis of R d . (3) \mathcal{E}:\begin{cases}
\mathcal{D}\to\mathbb{R}^{d},\\
\varnothing\mapsto0,\\
t_i\mapsto e_i,
\end{cases}
\qquad\text{where }\{e_i\}_{i=1}^{d}\text{ is the canonical basis of }\mathbb{R}^{d}. \tag*{(3)} E : ⎩ ⎨ ⎧ D → R d , ∅ ↦ 0 , t i ↦ e i , where { e i } i = 1 d is the canonical basis of R d . (3)
We consider a streaming federated learning (SFL) setting in which clients continuously collect data and learn from independent trajectories generated by non-stationary stochastic Markov processes with finite memory. More precisely, for a trajectory length T ∈ N ∗ T\in\mathbb{N}^{*} T ∈ N ∗ and a context length ρ \rho ρ , let Z = ( Z 1 , … , Z T ) ∈ D T \mathbf{Z}=(Z_1,\ldots,Z_T)\in\mathcal{D}^{T} Z = ( Z 1 , … , Z T ) ∈ D T denote a trajectory drawn according to a distribution μ \mu μ . The observations within each trajectory evolve according to
Z t ∼ μ ( Z t ∣ Z t − 1 , … , Z t − ρ ) , t = 2 , … , T . (4) Z_t\sim\mu(Z_t\mid Z_{t-1},\ldots,Z_{t-\rho}),\qquad t=2,\ldots,T. \tag*{(4)} Z t ∼ μ ( Z t ∣ Z t − 1 , … , Z t − ρ ) , t = 2 , … , T . (4)
Our objective is to study collaboratively learned next-token predictors that operate on the embeddings of the preceding ρ \rho ρ tokens and produce a vector of prediction logits. To this end, for a parameter w ∈ W w\in\mathcal{W} w ∈ W , we consider the class of mappings
G W : = { g w : R ρ d → R d ∣ w ∈ W } . (5) \mathcal{G}_{\mathcal{W}}:=\left\{g_w:\mathbb{R}^{\rho d}\to\mathbb{R}^{d}\mid w\in\mathcal{W}\right\}. \tag*{(5)} G W := { g w : R ρ d → R d ∣ w ∈ W } . (5)
Given a context z ⃗ ∈ D ρ \vec{z}\in\mathcal{D}^{\rho} z ∈ D ρ , a model w ∈ W w\in\mathcal{W} w ∈ W assigns a probability to the next token z ∈ D z\in\mathcal{D} z ∈ D through
p w ( z ∣ z ⃗ ) = ⟨ σ ( g w ( E ⊗ ρ ( z ⃗ ) ) ) , E ( z ) ⟩ , (6) p_w(z\mid\vec{z})=\left\langle\sigma\left(g_w\left(\mathcal{E}^{\otimes\rho}(\vec{z})\right)\right),\mathcal{E}(z)\right\rangle, \tag*{(6)} p w ( z ∣ z ) = ⟨ σ ( g w ( E ⊗ ρ ( z ) ) ) , E ( z ) ⟩ , (6)
where σ ( ν ) = ( σ ( ν ) 1 , … , σ ( ν ) d ) \sigma(\nu)=(\sigma(\nu)_1,\ldots,\sigma(\nu)_d) σ ( ν ) = ( σ ( ν ) 1 , … , σ ( ν ) d ) denotes the softmax mapping, given by
σ ( ν ) i = exp ( ν i ) ∑ j ∈ [ d ] exp ( ν j ) , i ∈ [ d ] . (7) \sigma(\nu)_i=\frac{\exp(\nu_i)}{\sum_{j\in[d]}\exp(\nu_j)},\qquad i\in[d]. \tag*{(7)} σ ( ν ) i = ∑ j ∈ [ d ] exp ( ν j ) exp ( ν i ) , i ∈ [ d ] . (7)
Throughout the analysis, we impose the following boundedness condition on the outputs of the prediction models.
Assumption 1 (Boundedness of the Model Output). There exists a constant B > 1 B>1 B > 1 such that, for every w ∈ W w\in\mathcal{W} w ∈ W and ν ∈ D ρ \nu\in\mathcal{D}^{\rho} ν ∈ D ρ , ∥ ( g w ∘ E ⊗ ρ ) ( ν ) ∥ ∞ ≤ B \|(g_w\circ\mathcal{E}^{\otimes\rho})(\nu)\|_{\infty}\le B ∥ ( g w ∘ E ⊗ ρ ) ( ν ) ∥ ∞ ≤ B .
Assumption 2 (Boundedness of the Model Parameters). The random parameter W W W is assumed to be almost surely bounded. That is, there exists a constant C > 1 C>1 C > 1 such that P ( ∥ W ∥ ≤ C ) = 1 \mathbb{P}(\|W\|\le C)=1 P ( ∥ W ∥ ≤ C ) = 1 .
Streaming FL
In conventional federated learning, clients train on pre-collected datasets that remain available throughout the learning process. Consequently, each client can repeatedly access its local observations across communication rounds. Streaming federated learning (SFL), by contrast, considers settings in which clients continuously acquire new data and may have limited capacity to store previously observed samples. The data available for local training therefore changes from one communication round to the next.
We consider an SFL system comprising K K K clients that communicate with a common server over R R R rounds. During each round r ∈ [ R ] r \in[R] r ∈ [ R ] , client k k k collects N R N_R N R independent trajectories, each containing T T T observations generated by an underlying non-stationary Markov process with finite memory. We denote the n n n -th trajectory collected by client k k k in round r r r by
S k , r ( n ) = { X k , r ( n ) [ 1 ] , … , X k , r ( n ) [ T ] } , n ∈ [ N R ] . (8) S_{k,r}^{(n)} = \left\{X_{k,r}^{(n)}[1], \ldots, X_{k,r}^{(n)}[T]\right\}, \qquad n \in[N_R]. \tag*{(8)} S k , r ( n ) = { X k , r ( n ) [ 1 ] , … , X k , r ( n ) [ T ] } , n ∈ [ N R ] . (8)
The collection of trajectories available to client k k k during round r r r is denoted by S k , r S_{k,r} S k , r , while S k S_k S k represents all trajectories collected by that client throughout the learning process. Thus,
S k , r = { S k , r ( 1 ) , … , S k , r ( N R ) } , S k = ⋃ r ∈ [ R ] S k , r . (9) S_{k,r} = \left\{S_{k,r}^{(1)}, \ldots, S_{k,r}^{(N_R)}\right\}, \qquad S_k = \bigcup_{r \in[R]} S_{k,r}. \tag*{(9)} S k , r = { S k , r ( 1 ) , … , S k , r ( N R ) } , S k = r ∈ [ R ] ⋃ S k , r . (9)
Training proceeds through successive rounds of local learning and server aggregation. At the beginning of round r r r , each client receives the aggregated model W ‾ ( r − 1 ) \overline{W}^{(r-1)} W ( r − 1 ) from the server and uses it together with its newly collected data to update its local model. Let A k \mathcal{A}_k A k denote the possibly stochastic learning algorithm employed by client k k k . The resulting local model is
W k ( r ) = A k ( S k , r , W ‾ ( r − 1 ) ) . (10) W_k^{(r)} = \mathcal{A}_k\left(S_{k,r}, \overline{W}^{(r-1)}\right). \tag*{(10)} W k ( r ) = A k ( S k , r , W ( r − 1 ) ) . (10)
After receiving the local models from all participating clients, the server computes their arithmetic average according to the Federated Averaging (FedAvg) rule,
W ‾ ( r ) = 1 K ∑ k = 1 K W k ( r ) , (11) \overline{W}^{(r)} = \frac{1}{K} \sum_{k=1}^{K} W_k^{(r)}, \tag*{(11)} W ( r ) = K 1 k = 1 ∑ K W k ( r ) , (11)
and broadcasts the updated global model to the clients for the next round. This procedure is repeated until all R R R communication rounds have been completed.
Generalization Gap
Our analysis focuses on the generalization gap of the final aggregated model W ‾ ( R ) \overline{W}^{(R)} W ( R ) . We denote the complete collection of training trajectories and the sequence of local and aggregated models generated during learning by
S = ⋃ k ∈ [ K ] ⋃ r ∈ [ R ] S k , r , W = { W k ( r ) , W ‾ ( r ) } k ∈ [ K ] , r ∈ [ R ] . (12) \begin{aligned}
\mathbf{S} &= \bigcup_{k \in[K]} \bigcup_{r \in[R]} S_{k,r},\\
\mathbf{W} &= \left\{W_k^{(r)}, \overline{W}^{(r)}\right\}_{k \in[K],\,r \in[R]}. \tag*{(12)}
\end{aligned} S W = k ∈ [ K ] ⋃ r ∈ [ R ] ⋃ S k , r , = { W k ( r ) , W ( r ) } k ∈ [ K ] , r ∈ [ R ] . (12)
Since the local learning algorithms may be stochastic, the model produced by client k k k in round r r r is characterized by the conditional distribution P W k ( r ) ∣ S k , r , W ‾ ( r − 1 ) P_{W_k^{(r)}\mid S_{k,r},\overline{W}^{(r-1)}} P W k ( r ) ∣ S k , r , W ( r − 1 ) . Together with the server aggregation rule, these conditional distributions determine the law of the entire sequence of learned models given the training data. In particular, the conditional distribution factorizes as
P W ∣ S = ∏ r ∈ [ R ] ( P W ( r ) ∣ W [ K ] ( r ) ∏ k ∈ [ K ] P W k ( r ) ∣ S k , r , W ‾ ( r − 1 ) ) . (13) P_{W\mid S}=\prod_{r\in[R]}\left(P_{W^{(r)}\mid W_{[K]}^{(r)}}\prod_{k\in[K]}P_{W_k^{(r)}\mid S_{k,r},\overline{W}^{(r-1)}}\right). \tag*{(13)} P W ∣ S = r ∈ [ R ] ∏ P W ( r ) ∣ W [ K ] ( r ) k ∈ [ K ] ∏ P W k ( r ) ∣ S k , r , W ( r − 1 ) . (13)
where W [ K ] ( r ) W_{[K]}^{(r)} W [ K ] ( r ) denotes the collection of local models generated by all clients during round r r r . Under the assumed independence of the data collected across clients and communication rounds, the joint distribution of the training data and learned models admits the corresponding factorization
P S , W = ∏ r ∈ [ R ] ( P W ( r ) ∣ W [ K ] ( r ) ∏ k ∈ [ K ] P S k , r ⊗ P W k ( r ) ∣ S k , r , W ‾ ( r − 1 ) ) . (14) P_{S,W}=\prod_{r\in[R]}\left(P_{W^{(r)}\mid W_{[K]}^{(r)}}\prod_{k\in[K]}P_{S_{k,r}}\otimes P_{W_k^{(r)}\mid S_{k,r},\overline{W}^{(r-1)}}\right). \tag*{(14)} P S , W = r ∈ [ R ] ∏ P W ( r ) ∣ W [ K ] ( r ) k ∈ [ K ] ∏ P S k , r ⊗ P W k ( r ) ∣ S k , r , W ( r − 1 ) . (14)
The clients are trained for next-token prediction using the standard cross-entropy loss. For an aggregated model w ‾ ( R ) ∈ W \overline{w}^{(R)}\in\mathcal{W} w ( R ) ∈ W , we define the loss evaluated along a trajectory s k , r ( n ) s_{k,r}^{(n)} s k , r ( n ) as
ℓ ( s k , r ( n ) , w ‾ ( R ) ) = − 1 T ∑ t ∈ [ T ] log p w ‾ ( R ) ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) , (15) \ell\left(s_{k,r}^{(n)},\overline{w}^{(R)}\right)=-\frac{1}{T}\sum_{t\in[T]}\log p_{\overline{w}^{(R)}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{(n)}\right), \tag*{(15)} ℓ ( s k , r ( n ) , w ( R ) ) = − T 1 t ∈ [ T ] ∑ log p w ( R ) ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) , (15)
where the conditional probability p w ‾ ( R ) p_{\overline{w}^{(R)}} p w ( R ) is defined in (6) . Thus, the loss measures the average negative log-likelihood assigned by the final aggregated model to the observed tokens along a trajectory.
Averaging the trajectory-level loss over all clients and communication rounds gives the empirical risk
L ^ ( S , w ‾ ( R ) ) = 1 K N ∑ k ∈ [ K ] ∑ r ∈ [ R ] ∑ n ∈ [ N R ] ℓ ( s k , r ( n ) , w ‾ ( R ) ) , (16) \widehat{\mathcal{L}}\left(S,\overline{w}^{(R)}\right)=\frac{1}{KN}\sum_{k\in[K]}\sum_{r\in[R]}\sum_{n\in[N_R]}\ell\left(s_{k,r}^{(n)},\overline{w}^{(R)}\right), \tag*{(16)} L ( S , w ( R ) ) = K N 1 k ∈ [ K ] ∑ r ∈ [ R ] ∑ n ∈ [ N R ] ∑ ℓ ( s k , r ( n ) , w ( R ) ) , (16)
where N = R N R N=RN_R N = R N R denotes the total number of trajectories collected by each client over the R R R rounds. The corresponding population risk is defined by averaging the expected loss over the client-specific data-generating distributions:
L ( w ‾ ( R ) ) = 1 K ∑ k ∈ [ K ] E S k ( n ) ∼ μ k [ ℓ ( S k ( n ) , w ‾ ( R ) ) ] . (17) \mathcal{L}\left(\overline{w}^{(R)}\right)=\frac{1}{K}\sum_{k\in[K]}\mathbb{E}_{S_k^{(n)}\sim\mu_k}\left[\ell\left(S_k^{(n)},\overline{w}^{(R)}\right)\right]. \tag*{(17)} L ( w ( R ) ) = K 1 k ∈ [ K ] ∑ E S k ( n ) ∼ μ k [ ℓ ( S k ( n ) , w ( R ) ) ] . (17)
Here, μ k \mu_k μ k denotes the distribution of a fresh trajectory generated by the underlying Markov process at client k k k . The generalization gap of the final aggregated model is then given by the difference between its population and empirical risks:
gen ( S , w ‾ ( R ) ) = L ( w ‾ ( R ) ) − L ^ ( S , w ‾ ( R ) ) . (18) \operatorname{gen}\left(S,\overline{w}^{(R)}\right)=\mathcal{L}\left(\overline{w}^{(R)}\right)-\widehat{\mathcal{L}}\left(S,\overline{w}^{(R)}\right). \tag*{(18)} gen ( S , w ( R ) ) = L ( w ( R ) ) − L ( S , w ( R ) ) . (18)
Bounds on the Generalization Gap
As discussed in the related work, extending generalization arguments developed for i.i.d. data, such as those in Sefidgaran et al. [41 ] , to streaming federated learning with Markovian observations introduces an additional source of statistical dependence. In the i.i.d. setting, dependence arises primarily through the evolution of the learned models, whereas in the Markovian setting, observations within each local trajectory are themselves temporally dependent. These two forms of dependence must therefore be accounted for simultaneously. In particular, replacing an individual training observation with an independent sample, as in standard ghost-sample or stability arguments, does not generally preserve the dependence structure of the surrounding trajectory. To address this difficulty, our analysis relies on concentration inequalities for dependent sequences, which quantify the loss of effective statistical information caused by temporal correlations through the mixing properties of the underlying Markov processes.
Definition 1 (Mixing time). Let X = ( X 1 , … , X T ) \mathbf{X}=(X_1,\ldots,X_T) X = ( X 1 , … , X T ) be a Markov chain taking values in the product of Polish spaces X 1 × ⋯ × X T \mathcal{X}_1 \times\cdots\times\mathcal{X}_T X 1 × ⋯ × X T , with X i ∈ X i X_i \in\mathcal{X}_i X i ∈ X i for each i ∈ [ T ] i \in[T] i ∈ [ T ] . For any ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , the mixing time τ ( ϵ ) \tau(\epsilon) τ ( ϵ ) is the smallest number of steps required for the conditional distributions of the chain, starting from any two admissible states, to be within ϵ \epsilon ϵ in total variation distance, uniformly over all valid starting times. More precisely, let
d ‾ ( t ) : = max 1 ≤ i ≤ T − t sup x , y ∈ X d T V ( P ( X i + t ∣ X i = x ) , P ( X i + t ∣ X i = y ) ) . (19) \overline{d}(t) := \max_{1 \le i \le T-t}\sup_{x,y\in\mathcal{X}} d_{\mathrm{TV}}\left(\mathbb{P}(X_{i+t}\mid X_i=x),\mathbb{P}(X_{i+t}\mid X_i=y)\right). \tag*{(19)} d ( t ) := 1 ≤ i ≤ T − t max x , y ∈ X sup d TV ( P ( X i + t ∣ X i = x ) , P ( X i + t ∣ X i = y ) ) . (19) The mixing time and its associated mixing-time parameter are then defined by
τ ( ϵ ) : = min { t ∈ N : d ‾ ( t ) ≤ ϵ } , \tau(\epsilon) := \min\left\{t \in\mathbb{N} : \overline{d}(t) \le\epsilon\right\}, τ ( ϵ ) := min { t ∈ N : d ( t ) ≤ ϵ } , τ min : = inf 0 ≤ δ < 1 τ ( δ ) ( 2 − δ 1 − δ ) 2 . (20) \tau_{\min} := \inf_{0 \le\delta< 1} \tau(\delta)\left(\frac{2-\delta}{1-\delta}\right)^2. \tag*{(20)} τ m i n := 0 ≤ δ < 1 inf τ ( δ ) ( 1 − δ 2 − δ ) 2 . (20)
Loss-less generalization bound
Theorem 1. Under Assumptions 1 and 2, the expected generalization gap of the model obtained by SFL after R ≥ 1 R \ge1 R ≥ 1 communication rounds under cross-entropy loss satisfies
E [ gen ( S , W ( R ) ) ] ≤ 2 B ( 1 + 2 ρ ) + log d K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] τ k , min R I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) 2 N T . (21) \mathbb{E}\left[\operatorname{gen}(\mathcal{S},W^{(R)})\right] \le\frac{2B(1+2\rho)+\log d}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{\tau_{k,\min}R I(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)})}{2NT}}. \tag*{(21)} E [ gen ( S , W ( R ) ) ] ≤ K R 2 B ( 1 + 2 ρ ) + log d k ∈ [ K ] ∑ r ∈ [ R ] ∑ 2 N T τ k , m i n R I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) . (21)
A complete and detailed proof is provided in Appendix § 11 . Here, we present a proof sketch highlighting the main ideas.
Proof sketch. Fix λ k , r > 0 \lambda_{k,r}>0 λ k , r > 0 for each client k k k and communication round r r r , and let S k , r ′ S'_{k,r} S k , r ′ be an independent copy of S k , r S_{k,r} S k , r . We first decompose the expected generalization gap across clients and rounds. Applying the Donsker–Varadhan variational inequality to each local dataset, and using the conditional independence structure of the federated learning process, yields
Ψ k , r ( λ ) : = ∑ n = 1 N R E W ‾ ( R ) [ log E [ exp ( λ N R Δ k , r ( n ) ) ] ] . (22) \Psi_{k,r}(\lambda) := \sum_{n=1}^{N_R}\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}\left[\exp\left(\frac{\lambda}{N_R}\Delta_{k,r}^{(n)}\right)\right]\right]. \tag*{(22)} Ψ k , r ( λ ) := n = 1 ∑ N R E W ( R ) [ log E [ exp ( N R λ Δ k , r ( n ) ) ] ] . (22)
where
Δ k , r ( n ) ≔ E S k , r ′ ( n ) [ ℓ ( S k , r ′ ( n ) , W ‾ ( R ) ) ] − ℓ ( S k , r ( n ) , W ‾ ( R ) ) . (23) \Delta_{k,r}^{(n)} \coloneqq\mathbb{E}_{S_{k,r}^{\prime(n)}}\left[\ell\left(S_{k,r}^{\prime(n)},\overline{W}^{(R)}\right)\right]-\ell\left(S_{k,r}^{(n)},\overline{W}^{(R)}\right). \tag*{(23)} Δ k , r ( n ) : = E S k , r ′ ( n ) [ ℓ ( S k , r ′ ( n ) , W ( R ) ) ] − ℓ ( S k , r ( n ) , W ( R ) ) . (23)
Then, the Donsker–Varadhan inequality yields
E [ gen ( S , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + Ψ k , r ( λ k , r ) λ k , r . (24) \mathbb{E}[\operatorname{gen}(S,\overline{W}^{(R)})]\leq\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{I(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)})+\Psi_{k,r}(\lambda_{k,r})}{\lambda_{k,r}}. \tag*{(24)} E [ gen ( S , W ( R ) )] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + Ψ k , r ( λ k , r ) . (24)
where the decomposition across n n n follows from the independence of the trajectories collected by each client during each round. In particular, the mutual-information term follows from the Markov structure of the learning process and the independence of S k , r S_{k,r} S k , r from W ‾ ( r − 1 ) \overline{W}^{(r-1)} W ( r − 1 ) .
It remains to control the moment-generating function of the loss along each Markov trajectory. For a fixed aggregated model w ‾ \overline{w} w , we compare the losses associated with two trajectories by successively replacing their tokens. Since the prediction at time t t t depends only on the preceding ρ \rho ρ tokens, changing one token affects its own prediction term and at most ρ \rho ρ subsequent context windows. The resulting telescoping argument gives
ℓ ( s k , r ( n ) , w ‾ ) − ℓ ( s k , r ′ ( n ) , w ‾ ) ≤ C 1 + ρ C 2 T ∑ t = 1 T 1 { x k , r , t ( n ) ≠ x k , r , t ′ ( n ) } . \ell(s_{k,r}^{(n)},\overline{w})-\ell(s_{k,r}^{\prime(n)},\overline{w})\leq\frac{C_1+\rho C_2}{T}\sum_{t=1}^{T}\mathbf{1}\{x_{k,r,t}^{(n)}\ne x_{k,r,t}^{\prime(n)}\}. ℓ ( s k , r ( n ) , w ) − ℓ ( s k , r ′ ( n ) , w ) ≤ T C 1 + ρ C 2 t = 1 ∑ T 1 { x k , r , t ( n ) = x k , r , t ′ ( n ) } .
where C 1 C_1 C 1 controls the change in the predicted token for a fixed context, while C 2 C_2 C 2 controls the effect of changing one token in the context. The bounded-output assumption yields
C 1 ≤ 2 B + log d , C 2 ≤ 4 B , C_1\leq2B+\log d,\qquad C_2\leq4B, C 1 ≤ 2 B + log d , C 2 ≤ 4 B ,
and hence the bounded-difference coefficients can be chosen as
c t ≤ 2 B ( 1 + 2 ρ ) + log d T , t ∈ [ T ] . c_t\leq\frac{2B(1+2\rho)+\log d}{T},\qquad t\in[T]. c t ≤ T 2 B ( 1 + 2 ρ ) + log d , t ∈ [ T ] .
Applying the McDiarmid-type concentration inequality for Markov chains separately to each client’s trajectories bounds the corresponding logarithmic moment-generating functions in terms of τ k , min \tau_{k,\min} τ k , m i n . Substituting these bounds into the preceding information-theoretic inequality gives
E [ gen ( S , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R [ I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) λ k , r + λ k , r τ k , min ( 2 B ( 1 + 2 ρ ) + log d ) 2 8 N R T ] . (25) \mathbb{E}[\operatorname{gen}(S,\overline{W}^{(R)})]\leq\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\left[\frac{I(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)})}{\lambda_{k,r}}+\frac{\lambda_{k,r}\tau_{k,\min}\left(2B(1+2\rho)+\log d\right)^2}{8N_RT}\right]. \tag*{(25)} E [ gen ( S , W ( R ) )] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R [ λ k , r I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + 8 N R T λ k , r τ k , m i n ( 2 B ( 1 + 2 ρ ) + log d ) 2 ] . (25)
Optimizing over λ k , r > 0 \lambda_{k,r}>0 λ k , r > 0 and using N R = N / R N_R=N/R N R = N / R yields the desired bound. The bound offers several insights. (i) It reveals a tradeoff between optimization and generalization: more frequent communication can increase the information retained from local data streams, potentially weakening the generalization guarantee. (ii) The effect of temporal dependence is captured by the mixing times across clients, rather than being determined solely by the slowest-mixing process. (iii) Slowly mixing data lead to weaker generalization guarantees, with a penalty that scales with the square root of the mixing time, reflecting the reduced effective sample size. (iv) Increasing the per-client data budget N N N improves the bound, although this benefit remains limited by temporal dependence and communication frequency.
Remark 1 (i.i.d. specialization). When the observations are i.i.d. across clients, rounds, and time (i.e., ρ = 0 \rho= 0 ρ = 0 ), the cross-entropy loss is bounded by ( 2 B + log d ) (2B + \log d) ( 2 B + log d ) and is therefore ( 2 B + log d ) / 2 (2B + \log d)/2 ( 2 B + log d ) /2 -sub-Gaussian by Hoeffding’s lemma. The corresponding generalization bound becomes
E [ gen ( S , W ‾ ( R ) ) ] ≤ 2 B + log d K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) 2 N R T . \mathbb{E}[\operatorname{gen}(\mathrm{S},\overline{\mathrm{W}}^{(R)})] \le\frac{2B+\log d}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{I(S_{k,r};\mathrm{W}_{k}^{(r)}\mid\overline{\mathrm{W}}^{(r-1)})}{2N_{R}T}}. E [ gen ( S , W ( R ) )] ≤ K R 2 B + log d k ∈ [ K ] ∑ r ∈ [ R ] ∑ 2 N R T I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) .
This bound has a structure similar to that of Theorem 3.1 in Sefidgaran et al. [41 ] , although the latter considers a different loss setting and provides PAC-Bayesian guarantees.
Lemma 1. Under Assumptions 1-2, let Z k , r , t : = ( X k , r , t , X k , r , t − 1 , … , X k , r , t − ρ + 1 ) Z_{k,r,t}:=(X_{k,r,t},X_{k,r,t-1},\ldots,X_{k,r,t-\rho+1}) Z k , r , t := ( X k , r , t , X k , r , t − 1 , … , X k , r , t − ρ + 1 ) , and let τ ~ min \widetilde{\tau}_{\min} τ m i n be the mixing-time quantity associated with the history-state process { Z k , r , t } k ∈ [ K ] , r ∈ [ R ] , t ∈ [ T ] \{Z_{k,r,t}\}_{k\in[K],r\in[R],t\in[T]} { Z k , r , t } k ∈ [ K ] , r ∈ [ R ] , t ∈ [ T ] . Then, the expected generalization gap of the model learned in SL under the cross-entropy loss satisfies
E [ gen ( S , W ‾ ( R ) ) ] ≤ 2 B + log d K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] τ ~ k , min I ( S ; W k ( r ) ∣ W ‾ ( r − 1 ) ) 2 N T , \mathbb{E}\left[\operatorname{gen}(\mathrm{S},\overline{\mathrm{W}}^{(R)})\right]\le\frac{2B+\log d}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{\widetilde{\tau}_{k,\min}I(\mathrm{S};\mathrm{W}_{k}^{(r)}\mid\overline{\mathrm{W}}^{(r-1)})}{2NT}}, E [ gen ( S , W ( R ) ) ] ≤ K R 2 B + log d k ∈ [ K ] ∑ r ∈ [ R ] ∑ 2 N T τ k , m i n I ( S ; W k ( r ) ∣ W ( r − 1 ) ) , where
τ ~ k , min : = inf 0 < δ < 1 τ ~ ( δ ) ( 2 − δ 1 − δ ) 2 . (26) \widetilde{\tau}_{k,\min}:=\inf_{0<\delta<1}\widetilde{\tau}(\delta)\left(\frac{2-\delta}{1-\delta}\right)^2. \tag*{(26)} τ k , m i n := 0 < δ < 1 inf τ ( δ ) ( 1 − δ 2 − δ ) 2 . (26) In particular, the resulting bound is tighter than that of Theorem 1 whenever
τ ~ k , min < ( 2 B ( 1 + 2 ρ ) + log d 2 B + log d ) 2 τ k , min , \widetilde{\tau}_{k,\min}<\left(\frac{2B(1+2\rho)+\log d}{2B+\log d}\right)^2\tau_{k,\min}, τ k , m i n < ( 2 B + log d 2 B ( 1 + 2 ρ ) + log d ) 2 τ k , m i n , where τ min \tau_{\min} τ m i n is defined in (57) . The proof is provided in Appendix § 15 .
Lossy Generalization Bound
We now develop a lossy refinement of Theorem 1, following the rate-distortion approach of Sefidgaran et al. [40 ] . Rather than requiring an exact representation of the learned model updates, this approach allows controlled approximation errors and measures the information needed to preserve their generalization behavior. This is particularly useful for deterministic learning algorithms over continuous hypothesis spaces, where the mutual-information terms in the lossless bound may be infinite. Fix ϵ > 0 \epsilon> 0 ϵ > 0 . For each client k k k and communication round r r r , define the rate-distortion function
R D ( k , r , ϵ k ) : = inf I ( S k , r ; W ^ k ( B , r ) ∣ W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) , (27) R_{\mathcal{D}}(k,r,\epsilon_k):=\inf I\left(S_{k,r};\widehat{\mathrm{W}}_{k}^{(B,r)}\mid\overline{\mathrm{W}}^{(r-1)},\mathrm{W}_{[K]\setminus k}^{(r)},U\right), \tag*{(27)} R D ( k , r , ϵ k ) := inf I ( S k , r ; W k ( B , r ) ∣ W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) , (27)
where the infimum is taken over all conditional Markov kernels satisfying the distortion constraint
E [ gen ( S k , r , W ‾ ( R ) ) − gen ( S k , r , W ‾ ^ k ( R , r ) ) ] ≤ ϵ k , r , (28) \mathbb{E}\left[\operatorname{gen}(S_{k,r},\overline{W}^{(R)})-\operatorname{gen}(S_{k,r},\widehat{\overline{W}}_{k}^{(R,r)})\right]\leq\epsilon_{k,r}, \tag*{(28)} E [ gen ( S k , r , W ( R ) ) − gen ( S k , r , W k ( R , r ) ) ] ≤ ϵ k , r , (28)
for a fixed collection of non-negative distortion tolerances { ϵ k , r } k , r \{\epsilon_{k,r}\}_{k,r} { ϵ k , r } k , r satisfying
1 K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] ϵ k , r ≤ ϵ . (29) \frac{1}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\epsilon_{k,r}\leq\epsilon. \tag*{(29)} K R 1 k ∈ [ K ] ∑ r ∈ [ R ] ∑ ϵ k , r ≤ ϵ . (29)
The mutual information is evaluated under the distribution induced by
P U P S k , r P W ‾ ( r − 1 ) P W ^ k ( r ) ∣ S k , r , W ‾ ( r − 1 ) , U , P_U P_{S_{k,r}}P_{\overline{W}^{(r-1)}}P_{\widehat{W}_{k}^{(r)}\mid S_{k,r},\overline{W}^{(r-1)},U}, P U P S k , r P W ( r − 1 ) P W k ( r ) ∣ S k , r , W ( r − 1 ) , U ,
while the expectation in (27) is taken with respect to the corresponding joint distribution, including
P W ‾ ^ k ( R , r ) ∣ W [ K ] ∖ k , W ^ k ( r ) , U . P_{\widehat{\overline{W}}_{k}^{(R,r)}\mid W_{[K]\setminus k},\widehat{W}_{k}^{(r)},U}. P W k ( R , r ) ∣ W [ K ] ∖ k , W k ( r ) , U .
Theorem 2. Under Assumptions 1 and 2, the expected generalization gap of the model obtained by SFL after R ≥ 1 R\geq1 R ≥ 1 communication rounds under cross-entropy loss satisfies
E [ gen ( S , W ‾ ( R ) ) ] ≤ ( 2 B ( 1 + 2 ρ ) + log d ) K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] τ k , min R 2 N T R D ( k , r , ϵ k ) + ϵ , (30) \mathbb{E}\left[\operatorname{gen}(S,\overline{W}^{(R)})\right]\leq\frac{(2B(1+2\rho)+\log d)}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{\tau_{k,\min}^{R}}{2NT}R_D(k,r,\epsilon_k)}+\epsilon, \tag*{(30)} E [ gen ( S , W ( R ) ) ] ≤ K R ( 2 B ( 1 + 2 ρ ) + log d ) k ∈ [ K ] ∑ r ∈ [ R ] ∑ 2 N T τ k , m i n R R D ( k , r , ϵ k ) + ϵ , (30) where R D ( k , r , ϵ k ) R_D(k,r,\epsilon_k) R D ( k , r , ϵ k ) is defined in (26).
The proof is provided in Appendix D. The benefit of this refinement is that the additional distortion term ϵ \epsilon ϵ can be offset by a sufficiently large reduction in the information rate appearing under the square root. As shown in the next section, this tradeoff is particularly useful for LNTP-SFL and SANTP-SFL models, where suitable approximations of the learned parameters yield explicit generalization bounds in terms of the system parameters that are not directly available from the lossless result.
Generalization bound on Next token prediction problem
Margin-Based Generalization Gap
Next-token prediction is based on the cross-entropy loss, which, by selecting the token that is most likely given the past ρ \rho ρ tokens, essentially seeks to maximize the likelihood gap between the most likely and second most likely tokens. As such, it bears some similarity to classification problems: under supervised fine-tuning, each context is paired with a single target token, and greedy decoding selects the arg-max over the vocabulary. Minimizing the loss to within a margin is known to enable better rates, especially in classification problems Bartlett et al. [2 ] ; Grønlund et al. (2020a), where it also leads to more efficient algorithms. The corresponding distinction is that, under the cross-entropy loss, the algorithm continues to push the likelihoods further apart across the iterates, whereas, under the margin loss, it stops doing so once the margin is met. It is precisely for this reason that a lower sample complexity is required for the margin loss to achieve a desired accuracy. In this section, we consider a margin-based loss obtained by incorporating a margin parameter θ > 0 \theta> 0 θ > 0 .
For an aggregated model w ˉ ( R ) \bar{w}^{(R)} w ˉ ( R ) and data sequence s k ( n ) s_k^{(n)} s k ( n ) , let
η ( w ˉ ( R ) , t , x ⃗ k ( n ) ) : = log C 1 ( w ˉ ( R ) , t , x ⃗ k ( n ) ) C 2 ( w ˉ ( R ) , t , x ⃗ k ( n ) ) , ℓ θ , k ( s k ( n ) , w ˉ ( R ) ) : = 1 T ∑ t ∈ [ T ] 1 { η ( w ˉ ( R ) , t , x ⃗ k ( n ) ) < θ } , \eta(\bar{w}^{(R)},t,\vec{x}_k^{(n)}) := \log\frac{C_1(\bar{w}^{(R)},t,\vec{x}_k^{(n)})}{C_2(\bar{w}^{(R)},t,\vec{x}_k^{(n)})}, \qquad\ell_{\theta,k}(s_k^{(n)},\bar{w}^{(R)}) := \frac{1}{T}\sum_{t\in[T]} \mathbb{1}\{\eta(\bar{w}^{(R)},t,\vec{x}_k^{(n)}) < \theta\}, η ( w ˉ ( R ) , t , x k ( n ) ) := log C 2 ( w ˉ ( R ) , t , x k ( n ) ) C 1 ( w ˉ ( R ) , t , x k ( n ) ) , ℓ θ , k ( s k ( n ) , w ˉ ( R ) ) := T 1 t ∈ [ T ] ∑ 1 { η ( w ˉ ( R ) , t , x k ( n ) ) < θ } ,
where
C 1 ( w ˉ ( R ) , t , x ⃗ k ( n ) ) = p w ˉ ( R ) ( x k , t ( n ) ∣ x k , t − 1 ( n ) , … , x k , t − ρ ( n ) ) . (31) C_1(\bar{w}^{(R)},t,\vec{x}_k^{(n)}) = p_{\bar{w}^{(R)}}(x_{k,t}^{(n)}|x_{k,t-1}^{(n)},\ldots,x_{k,t-\rho}^{(n)}). \tag*{(31)} C 1 ( w ˉ ( R ) , t , x k ( n ) ) = p w ˉ ( R ) ( x k , t ( n ) ∣ x k , t − 1 ( n ) , … , x k , t − ρ ( n ) ) . (31)
C 2 ( w ˉ ( R ) , t , x ⃗ k ( n ) ) = max x k , t ′ ( n ) ≠ x k , t ( n ) p w ˉ ( R ) ( x k , t ′ ( n ) ∣ x k , t − 1 ( n ) , … , x k , t − ρ ( n ) ) . (32) C_2(\bar{w}^{(R)},t,\vec{x}_k^{(n)}) = \max_{x_{k,t}^{\prime(n)}\ne x_{k,t}^{(n)}} p_{\bar{w}^{(R)}}(x_{k,t}^{\prime(n)}|x_{k,t-1}^{(n)},\ldots,x_{k,t-\rho}^{(n)}). \tag*{(32)} C 2 ( w ˉ ( R ) , t , x k ( n ) ) = x k , t ′ ( n ) = x k , t ( n ) max p w ˉ ( R ) ( x k , t ′ ( n ) ∣ x k , t − 1 ( n ) , … , x k , t − ρ ( n ) ) . (32)
The population and empirical risks are evaluated respectively as
L θ ( w ˉ ( R ) ) : = 1 K T ∑ k ∈ [ K ] ∑ t ∈ [ T ] E [ 1 { η ( w ˉ ( R ) , t , X ^ k ) < θ } ] , (33) \mathcal{L}_{\theta}(\bar{w}^{(R)}) := \frac{1}{KT}\sum_{k\in[K]}\sum_{t\in[T]} \mathbb{E}\left[\mathbb{1}\{\eta(\bar{w}^{(R)},t,\hat{X}_k) < \theta\}\right], \tag*{(33)} L θ ( w ˉ ( R ) ) := K T 1 k ∈ [ K ] ∑ t ∈ [ T ] ∑ E [ 1 { η ( w ˉ ( R ) , t , X ^ k ) < θ } ] , (33)
and
L ^ θ ( s , w ˉ ( R ) ) : = 1 N T K ∑ k ∈ [ K ] ∑ n ∈ [ N ] [ ∑ t ∈ [ T ] 1 { η ( w ˉ ( R ) , t , x ⃗ k ( n ) ) < θ } ] . (34) \widehat{\mathcal{L}}_{\theta}(s,\bar{w}^{(R)}) := \frac{1}{NTK}\sum_{k\in[K]}\sum_{n\in[N]}\left[\sum_{t\in[T]}\mathbb{1}\{\eta(\bar{w}^{(R)},t,\vec{x}_k^{(n)}) < \theta\}\right]. \tag*{(34)} L θ ( s , w ˉ ( R ) ) := N T K 1 k ∈ [ K ] ∑ n ∈ [ N ] ∑ t ∈ [ T ] ∑ 1 { η ( w ˉ ( R ) , t , x k ( n ) ) < θ } . (34)
The margin generalization gap induced by aggregated model w ˉ ( R ) \bar{w}^{(R)} w ˉ ( R ) obtained after R R R rounds of SFL is
gen θ ( s , w ˉ ( R ) ) = L − θ / 2 ( w ˉ ( R ) ) − L ^ θ / 2 ( s , w ˉ ( R ) ) . (35) \operatorname{gen}_{\theta}(s,\bar{w}^{(R)}) = \mathcal{L}_{-\theta/2}(\bar{w}^{(R)}) - \widehat{\mathcal{L}}_{\theta/2}(s,\bar{w}^{(R)}). \tag*{(35)} gen θ ( s , w ˉ ( R ) ) = L − θ /2 ( w ˉ ( R ) ) − L θ /2 ( s , w ˉ ( R ) ) . (35)
Theorem 3. For any θ ∈ R \theta\in\mathbb{R} θ ∈ R , the margin loss defined in (34) satisfies the bounded-difference condition in (53). In particular, for any two sequences s k , r = { x k , r , 1 , … , x k , r , T } s_{k,r} = \{x_{k,r,1},\ldots,x_{k,r,T}\} s k , r = { x k , r , 1 , … , x k , r , T } and s k , r ′ = { x k , r , 1 ′ , … , x k , r , T ′ } s'_{k,r} = \{x'_{k,r,1},\ldots,x'_{k,r,T}\} s k , r ′ = { x k , r , 1 ′ , … , x k , r , T ′ } ,
ℓ θ ( s k , r , w ) − ℓ θ ( s k , r ′ , w ) ≤ ρ + 1 T ∑ t = 1 T 1 { x k , r , t ≠ x k , r , t ′ } , \ell_{\theta}(s_{k,r},w)-\ell_{\theta}(s'_{k,r},w)\le\frac{\rho+1}{T}\sum_{t=1}^{T}\mathbb{1}\{x_{k,r,t}\ne x'_{k,r,t}\}, ℓ θ ( s k , r , w ) − ℓ θ ( s k , r ′ , w ) ≤ T ρ + 1 t = 1 ∑ T 1 { x k , r , t = x k , r , t ′ } , ℓ θ ( s k , r , w ) − ℓ θ ( s k , r ′ , w ) ≤ 1 T ∑ t = 1 T 1 { η ( w , t , x k , r , t ) ≠ η ( w , t , x k , r , t ′ ) } . \ell_{\theta}(s_{k,r},w)-\ell_{\theta}(s'_{k,r},w)\le\frac{1}{T}\sum_{t=1}^{T}\mathbb{1}\{\eta(w,t,x_{k,r,t})\ne\eta(w,t,x'_{k,r,t})\}. ℓ θ ( s k , r , w ) − ℓ θ ( s k , r ′ , w ) ≤ T 1 t = 1 ∑ T 1 { η ( w , t , x k , r , t ) = η ( w , t , x k , r , t ′ )} .
Consequently, Theorem 1 yields the following expected generalization bound under the margin loss:
E [ gen θ ( S [ K ] , W ‾ ( R ) ) ] ≤ ρ + 1 K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] τ k , min R I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) 2 N T . (36) \mathbb{E}\left[\operatorname{gen}_{\theta}(S_{[K]},\overline{W}^{(R)})\right]\le\frac{\rho+1}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{\tau_{k,\min}RI(S_{k,r};W_k^{(r)}|\overline{W}^{(r-1)})}{2NT}}. \tag*{(36)} E [ gen θ ( S [ K ] , W ( R ) ) ] ≤ K R ρ + 1 k ∈ [ K ] ∑ r ∈ [ R ] ∑ 2 N T τ k , m i n R I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) . (36)
In addition, Lemma 1 yields the refined bound
E [ gen θ ( S , W ) ] ≤ 1 K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] τ k , min R I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) 2 N T . (37) \mathbb{E}[\operatorname{gen}_{\theta}(S,W)]\le\frac{1}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{\tau_{k,\min}RI(S_{k,r};W_k^{(r)}|\overline{W}^{(r-1)})}{2NT}}. \tag*{(37)} E [ gen θ ( S , W )] ≤ K R 1 k ∈ [ K ] ∑ r ∈ [ R ] ∑ 2 N T τ k , m i n R I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) . (37)
where τ ~ min \widetilde{\tau}_{\min} τ m i n is defined in (26) .
The refined bound removes the explicit factor ( ρ + 1 ) (\rho+1) ( ρ + 1 ) and is strictly tighter than (36) whenever
τ ~ min < ( ρ + 1 ) 2 τ min . \widetilde{\tau}_{\min}<(\rho+1)^2\tau_{\min}. τ m i n < ( ρ + 1 ) 2 τ m i n .
The proof follows directly from the arguments used in the proof of Theorem 1 and is therefore omitted.
Distributed Linear Next-Token Prediction
We consider a distributed extension of the centralized linear next-token prediction (LNTP) model studied in Yüksel and Flammarion [52 ] , closely related to the linear autoregressive models of Malach [24 ] . For each client k ∈ [ K ] k \in[K] k ∈ [ K ] and C > 0 C>0 C > 0 , let M C , k d 1 × d 2 : = { M k ∈ R d 1 × d 2 : ∥ M k ∥ ≤ C } \mathcal{M}_{C,k}^{d_1\times d_2}:=\{M_k\in\mathbb{R}^{d_1\times d_2}:\lVert M_k\rVert\le C\} M C , k d 1 × d 2 := { M k ∈ R d 1 × d 2 : ∥ M k ∥ ≤ C } denote the class of matrices with Frobenius norm bounded by C C C . The parameter space of client k k k is then defined as
W k : = { M k = ( M k , 1 , … , M k , ρ ) ∈ M C , k d × ρ d } . (38) \mathcal{W}_k:=\left\{\mathbf{M}_k=(M_{k,1},\ldots,M_{k,\rho})\in\mathcal{M}_{C,k}^{d\times\rho d}\right\}. \tag*{(38)} W k := { M k = ( M k , 1 , … , M k , ρ ) ∈ M C , k d × ρ d } . (38)
The corresponding class of logit mappings is G W k : = { g M k : M k ∈ W k } \mathcal{G}_{\mathcal{W}_k}:=\{g_{\mathbf{M}_k}:\mathbf{M}_k\in\mathcal{W}_k\} G W k := { g M k : M k ∈ W k } , where, for an input context x ⃗ k = ( x k , t − 1 , … , x k , t − ρ ) ∈ R ρ d \vec{x}_k=(x_{k,t-1},\ldots,x_{k,t-\rho})\in\mathbb{R}^{\rho d} x k = ( x k , t − 1 , … , x k , t − ρ ) ∈ R ρ d , the mapping is given by
g M k ( x ⃗ k ) : = ∑ i = 1 ρ M k , i x k , t − i . g_{\mathbf{M}_k}(\vec{x}_k):=\sum_{i=1}^{\rho}M_{k,i}x_{k,t-i}. g M k ( x k ) := i = 1 ∑ ρ M k , i x k , t − i .
To state the generalization bound, we introduce an auxiliary quantity that captures the effect of the contraction factor across communication rounds. For each r ∈ [ R ] r\in[R] r ∈ [ R ] , define
L r : = inf t ≥ q e , b ( R − r ) { t 2 log max ( K θ C t , 2 ) } ≤ q e , b 2 ( R − r ) log max ( K θ C q e , b ( R − r ) , 2 ) . (39) L_r:=\inf_{t\ge q_{e,b}^{(R-r)}}\left\{t^2\log\max\left(\frac{K\theta}{Ct},2\right)\right\}\le q_{e,b}^{2(R-r)}\log\max\left(\frac{K\theta}{Cq_{e,b}^{(R-r)}},2\right). \tag*{(39)} L r := t ≥ q e , b ( R − r ) inf { t 2 log max ( C t K θ , 2 ) } ≤ q e , b 2 ( R − r ) log max ( C q e , b ( R − r ) K θ , 2 ) . (39)
Theorem 4. Under Assumptions 3–5, the expected margin generalization gap of LNTP-SFL is upper-bounded by
O ( 1 K R ∑ k = 1 K ∑ r = 1 R ( C ρ 3 / 2 θ ) 2 τ k , min R L r log ( d N T ) K 2 N T ) , \mathcal{O}\left(\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\left(\frac{C\rho^{3/2}}{\theta}\right)^2\sqrt{\frac{\tau_{k,\min}RL_r\log(dNT)}{K^2NT}}\right), O ( K R 1 k = 1 ∑ K r = 1 ∑ R ( θ C ρ 3/2 ) 2 K 2 N T τ k , m i n R L r log ( d N T ) ) , where L r L_r L r is defined in (39) .
The proof follows from a lossy extension of Theorem 3 . In particular, we use a Johnson–Lindenstrauss transformation to construct an auxiliary lossy algorithm with reduced complexity while controlling the distortion in the generalization gap. The complete proof is provided in Appendix § 13 , Here, we briefly present a proof sketch.
Proof sketch. We proceed by constructing a lossy approximation of the final global model for each client–round pair ( k , r ) (k,r) ( k , r ) and applying the lossy margin-generalization bound. The main distinction from the centralized setting is that the contribution of client k k k at round r r r propagates through the subsequent communication rounds. Using the first-order expansion of the local SGD updates, we express this contribution through the product of the corresponding Jacobians, whose norm is controlled by q e , b R − r q_{e,b}^{R-r} q e , b R − r .
We then exploit the linear structure of the predictor, which allows the log-margin to be written as a difference of inner products between token-specific parameter vectors and input contexts. To compress these vectors, we use a Gaussian projection A ∈ R m × ρ d A \in\mathbb{R}^{m \times\rho d} A ∈ R m × ρ d , retain those exceeding a prescribed norm threshold, and perturb their projections with independent uniform noise before reconstruction. The resulting approximation W ^ k ( R , r ) \widehat{W}_k^{(R,r)} W k ( R , r ) is designed to preserve the margin up to the prescribed distortion. In particular, the margin perturbation is controlled by
D i , k , r , t ≤ 2 max ℓ ∈ [ d ] ∣ ⟨ V ( W ( R ) − W ^ k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ . D_{i,k,r,t} \le2 \max_{\ell\in[d]} \left| \left\langle V\left(W^{(R)}-\widehat{W}_k^{(R,r)},\ell\right), V\left(X_{i,k,r,t-1:t-\rho}\right) \right\rangle\right|. D i , k , r , t ≤ 2 ℓ ∈ [ d ] max ⟨ V ( W ( R ) − W k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ .
The distortion analysis separates the error of the first-order approximation from those introduced by Gaussian projection and additive noise. Concentration bounds ensure that their combined contribution satisfies the required distortion constraint.
Finally, the information carried by the compressed representation is bounded using data processing, the number of retained parameter vectors, and the entropy of the added uniform noise. Substituting this rate estimate into the lossy generalization bound and optimizing over the admissible projection parameters yields the factor L r L_r L r and completes the proof.
Distributed Self-Attention Next-Token Prediction
We next consider a distributed next-token prediction model based on a self-attention architecture. For each client k ∈ [ K ] k \in[K] k ∈ [ K ] , let M k , 1 \mathcal{M}_{k,1} M k , 1 , M k , 2 \mathcal{M}_{k,2} M k , 2 , and M k , 3 \mathcal{M}_{k,3} M k , 3 denote sets of d × d d \times d d × d matrices with bounded Frobenius norms, representing the query, key, and value transformations, respectively. Given an input context x ⃗ k = ( x k , t − 1 , … , x k , t − ρ ) ∈ R ρ d \vec{x}_k = (x_{k,t-1}, \ldots, x_{k,t-\rho}) \in\mathbb{R}^{\rho d} x k = ( x k , t − 1 , … , x k , t − ρ ) ∈ R ρ d , we define the attention-weight mapping g M k , [ 2 ] : R ρ d → R ρ g_{\mathcal{M}_{k,[2]}} : \mathbb{R}^{\rho d} \to\mathbb{R}^{\rho} g M k , [ 2 ] : R ρ d → R ρ and the prediction mapping f M k , [ 3 ] : R ρ d → R d f_{\mathcal{M}_{k,[3]}} : \mathbb{R}^{\rho d} \to\mathbb{R}^{d} f M k , [ 3 ] : R ρ d → R d as
g M k , [ 2 ] ( x ⃗ k ) : = σ ( 1 ρ ( ⟨ M k , 1 E ( x k , t − 1 ) , M k , 2 E ( x k , t − j ) ⟩ ) j = 1 ρ ) , g_{\mathcal{M}_{k,[2]}}(\vec{x}_k) := \sigma\left(\frac{1}{\sqrt{\rho}}\left(\left\langle\mathcal{M}_{k,1}\mathcal{E}(x_{k,t-1}),\mathcal{M}_{k,2}\mathcal{E}(x_{k,t-j})\right\rangle\right)_{j=1}^{\rho}\right), g M k , [ 2 ] ( x k ) := σ ( ρ 1 ( ⟨ M k , 1 E ( x k , t − 1 ) , M k , 2 E ( x k , t − j ) ⟩ ) j = 1 ρ ) ,
f M k , [ 3 ] ( x ⃗ k ) : = M k , 3 ( ∑ j = 1 ρ ( g M k , [ 2 ] ( x ⃗ k ) ) j E ( x k , t − j ) ) . f_{\mathcal{M}_{k,[3]}}(\vec{x}_k) := \mathcal{M}_{k,3}\left(\sum_{j=1}^{\rho}\left(g_{\mathcal{M}_{k,[2]}}(\vec{x}_k)\right)_j \mathcal{E}(x_{k,t-j})\right). f M k , [ 3 ] ( x k ) := M k , 3 ( j = 1 ∑ ρ ( g M k , [ 2 ] ( x k ) ) j E ( x k , t − j ) ) .
At communication round r r r , client k k k selects its model from the constrained parameter space
W k ( r ) : = { M k , [ 3 ] ( r ) = ( M k , 1 ( r ) , M k , 2 ( r ) , M k , 3 ( r ) ) | M k , i ( r ) ∈ M k , i d × d , ∥ M k , i ( r ) ∥ ≤ C , i ∈ [ 2 ] , ∥ M k , 3 ( r ) ∥ ≤ C } . \mathcal{W}_{k}^{(r)} := \left\{ M_{k,[3]}^{(r)} = \left(M_{k,1}^{(r)},M_{k,2}^{(r)},M_{k,3}^{(r)}\right) \,\middle|\, M_{k,i}^{(r)} \in\mathcal{M}_{k,i}^{d \times d},\ \lVert M_{k,i}^{(r)} \rVert\le\sqrt{C},\ i \in[2],\ \lVert M_{k,3}^{(r)} \rVert\le C \right\}. W k ( r ) := { M k , [ 3 ] ( r ) = ( M k , 1 ( r ) , M k , 2 ( r ) , M k , 3 ( r ) ) M k , i ( r ) ∈ M k , i d × d , ∥ M k , i ( r ) ∥ ≤ C , i ∈ [ 2 ] , ∥ M k , 3 ( r ) ∥ ≤ C } .
The corresponding hypothesis class is defined by
F k , r : = { f M k , [ 3 ] ( r ) : M k , [ 3 ] ( r ) ∈ W k ( r ) } . \mathcal{F}_{k,r} := \left\{ f_{M_{k,[3]}^{(r)}} : M_{k,[3]}^{(r)} \in\mathcal{W}_{k}^{(r)} \right\}. F k , r := { f M k , [ 3 ] ( r ) : M k , [ 3 ] ( r ) ∈ W k ( r ) } .
The following theorem characterizes the expected generalization gap of distributed self-attention next-token prediction under streaming federated learning.
Theorem 5. Under Assumptions 3–5, the expected generalization gap of SANTP-SFL is upper-bounded by
O ( 1 K R ∑ k = 1 K ∑ r = 1 R ( C 2 ρ θ ) 2 τ k , min R L r log ( ρ d N K T ) K 2 N T ) , \mathcal{O}\left(\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\left(\frac{C^{2}\rho}{\theta}\right)^{2}\sqrt{\frac{\tau_{k,\min}RL_{r}\log(\rho d NKT)}{K^{2}NT}}\right), O ( K R 1 k = 1 ∑ K r = 1 ∑ R ( θ C 2 ρ ) 2 K 2 N T τ k , m i n R L r log ( ρ d N K T ) ) , where L r L_r L r is defined in (39) .
The proof is provided in Appendix F. We outline its main ideas below.
Proof sketch. We follow the lossy approach developed for LNTP-SFL, with an additional step to account for the nonlinear attention mechanism. We first reparameterize the self-attention model by introducing M k , 4 = M k , 2 T M k , 1 M_{k,4}=M_{k,2}^{\mathsf{T}}M_{k,1} M k , 4 = M k , 2 T M k , 1 , so that its prediction rule is determined by the pair ( M k , 3 , M k , 4 ) (M_{k,3},M_{k,4}) ( M k , 3 , M k , 4 ) . For each client–round pair ( k , r ) (k,r) ( k , r ) , we then construct a lossy approximation of the final global model by propagating the local updates through the subsequent communication rounds. As in the linear case, the first-order expansion and contraction properties of SGD control the resulting approximation error.
The two matrices are compressed separately using independent Gaussian projections A 3 A_3 A 3 and A 4 A_4 A 4 , with dimensions m 3 m_3 m 3 and m 4 m_4 m 4 , respectively. The construction retains parameter vectors above a prescribed norm threshold and adds independent uniform noise to their projections before reconstruction. To verify the distortion constraint, we introduce an intermediate predictor in which only the attention matrix is approximated. This separates the change in the prediction margin into the error induced by the attention weights and that arising from the value transformation. The Lipschitz continuity of softmax, together with Gaussian concentration and the bounds on the SGD remainder, controls both contributions.
Finally, we bound the conditional mutual information of the compressed model through data processing. Conditioning on the support indicators of the retained vectors, we bound the information carried by each compressed matrix using the entropy of its noisy representation and the volume of the corresponding noise ball. Combining these estimates with the support-entropy bounds and substituting the resulting rate into the lossy margin-generalization inequality yields the claimed bound after optimization over t ≥ q e , b R − r t \ge q_{e,b}^{R-r} t ≥ q e , b R − r .
Remark 3. The generalization bounds for LNTP-SFL and SANTP-SFL can be expressed in a unified form by choosing ( s , s ˉ ) = ( 4 , 2 ) (s,\bar{s})=(4,2) ( s , s ˉ ) = ( 4 , 2 ) for SANTP and ( s , s ˉ ) = ( 2 , 3 ) (s,\bar{s})=(2,3) ( s , s ˉ ) = ( 2 , 3 ) for LNTP. In particular, the corresponding order-wise bounds take the form
O ( 1 K R ∑ k = 1 K ∑ r = 1 R C s ρ s ˉ θ 2 τ k , min R L r log ( ρ d N T ) K 2 N T ) (40) \mathcal{O}\left(\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{C^{s}\rho^{\bar{s}}}{\theta^{2}}\sqrt{\frac{\tau_{k,\min}RL_r\log(\rho dNT)}{K^{2}NT}}\right) \tag*{(40)} O ( K R 1 k = 1 ∑ K r = 1 ∑ R θ 2 C s ρ s ˉ K 2 N T τ k , m i n R L r log ( ρ d N T ) ) (40)
Remark 4. The bounds established in Theorems 4 and 5 can be further refined using the mixing-time parameter τ ~ k , min \widetilde{\tau}_{k,\min} τ k , m i n , yielding
O ( 1 K R ∑ k = 1 K ∑ r = 1 R C s ρ s ˉ θ 2 τ ~ k , min R L r log ( ρ d N T ) K 2 N T ) (41) \mathcal{O}\left(\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{C^{s}\rho^{\bar{s}}}{\theta^{2}}\sqrt{\frac{\widetilde{\tau}_{k,\min}RL_{r}\log(\rho dNT)}{K^{2}NT}}\right) \tag*{(41)} O ( K R 1 k = 1 ∑ K r = 1 ∑ R θ 2 C s ρ s ˉ K 2 N T τ k , m i n R L r log ( ρ d N T ) ) (41)
where ( s , s ˉ ) = ( 4 , 1 ) (s,\bar{s})=(4,1) ( s , s ˉ ) = ( 4 , 1 ) for SANTP and ( s , s ˉ ) = ( 2 , 2 ) (s,\bar{s})=(2,2) ( s , s ˉ ) = ( 2 , 2 ) for LNTP, and τ ~ min \widetilde{\tau}_{\min} τ m i n is defined in (26) . These refined bounds are strictly tighter than their scalar-mixing counterparts whenever
τ ~ k , min < ( ρ + 1 ) 2 τ k , min , \widetilde{\tau}_{k,\min}<(\rho+1)^{2}\tau_{k,\min}, τ k , m i n < ( ρ + 1 ) 2 τ k , m i n ,
for any k ∈ [ K ] k\in[K] k ∈ [ K ] .
Application
Advantage of distributed processing
Substituting K : = 1 K:=1 K := 1 and N : = N K N:=NK N := N K in Theorem 4, one readily obtains the following bound on the generalizations gap of centralized LNTP-SFL operating on N K NK N K data trajectories of T T T samples each,
ρ K R ∑ k ∈ [ K ] ∑ r ∈ [ R ] C 4 ρ 6 τ k , min R L r log ( d N K T ) θ 4 K N T ≤ O ( log ( N K ) N K ) . (42) \frac{\rho}{KR}\sum_{k\in[K]}\sum_{r\in[R]}\sqrt{\frac{C^{4}\rho^{6}\tau_{k,\min}RL_{r}\log(dNKT)}{\theta^{4}KNT}}\leq\mathcal{O}\left(\sqrt{\frac{\log(NK)}{NK}}\right). \tag*{(42)} K R ρ k ∈ [ K ] ∑ r ∈ [ R ] ∑ θ 4 K N T C 4 ρ 6 τ k , m i n R L r log ( d N K T ) ≤ O ( N K log ( N K ) ) . (42)
Similarly, one readily obtains a similar bound on the generalizations gap of centralized SANTP-SFL by substituting K : = 1 K:=1 K := 1 and N : = N K N:=NK N := N K in Theorem 5 . In both cases, comparison of these bounds with their distributed versions reveal an advantage of O ( log K / K ) \mathcal{O}(\sqrt{\log K/K}) O ( log K / K ) of the distributed streaming over centralized streaming under the condition of identical total data budgets.
The above has important implications. For instance, there is an increasing shift toward substituting centralized training on massive datasets with collaborative training on distributed, smaller data streams, for it offers several advantages, including reduced memory and storage requirements, improved data privacy and ability to adapt models in real-time to non-stationary, site-specific environments. However, this paradigm shift necessitates rigorous safeguards to ensure that the "distributed advantage" does not come at the cost of severe performance degradation. Our theoretical results demonstrate that, from a generalization gap perspective, this can be done safely: collaborative streaming is even more efficient than centralized streaming under the same total data budget from a generalization-gap viewpoint. However, we hasten to mention that caution should be exercised in the interpretation of this result. In particular, advantage in terms of generalization gap does not necessarily translate into one in terms of population or test risk (see the reported gap, train and test errors in the Experiments section).
Effect of communication
Investigating the results of Theorem 4 and Theorem 5 it can be seen that the (bounds on the) generalization gap increases with the number of communication rounds (R R R ), scaling at O ( R / N ) \mathcal{O}(\sqrt{R/N}) O ( R / N ) . This reveals that while frequent communication may accelerate optimization, it may deteriorate the aggregated model’s power to generalize. While a similar observation was already reported in Chor et al. [6 ] for SFL on i.i.d. data, extending this behavior to data with memory validates that the "communication-generalization" tradeoff is an intrinsic property of SFL, rather than an artifact of independent sampling. Also, its proof necessitates in our case a more rigorous analytical framework that accounts for the coupling between model updates and temporally dependent error events, thereby showing that even with the "noise" of Markovian dependencies, frequent server interactions act as a complexity multiplier that can lead to overfitting.
Discussion: A natural baseline is to assume that each round operates on a fixed number of data samples. Under such a setting, increasing the number of rounds R R R leads to a proportional increase in the total amount of processed data samples. However, this formulation does not allow for a meaningful comparison across different values of R R R , as the total data budget is not controlled. To enable a fair and principled comparison, we instead consider a fixed total data budget. Consequently, the number of samples processed at each round becomes a function of R R R . This setting ensures that the final model is learned from the same total amount of data, regardless of the number of rounds.
Figure 1. Evolution of the bound of Theorem 4 versus R R R , for N = 100 N = 100 N = 100 , T = 10 T = 10 T = 10 , ρ = 4 \rho= 4 ρ = 4 , τ k , min = 2 \tau_{k,\min} = 2 τ k , m i n = 2 , q e , b = 1 q_{e,b} = 1 q e , b = 1 , C = 1 C = 1 C = 1 , d = 8 d = 8 d = 8 , θ = 5 \theta= 5 θ = 5 .
Effect of memory (mixing-time)
An interesting question in SFL is how the nature of the data stream – i.i.d. versus Markovian – impacts the generalization performance for a fixed data budget. Our analysis demonstrates that Markovian dependencies impose a "memory penalty" that is absent in the i.i.d. setting. Specifically, while i.i.d. samples provide maximal independent information per time step, Markovian samples are statistically coupled, effectively reducing the information rate of the stream. This cost is mathematically quantified in our bounds by the square root of the mixing time (τ min \sqrt{\tau_{\min}} τ m i n ), which acts as an inflation factor on the generalization gap. Consequently, to achieve a generalization power equivalent to that of an i.i.d. system, a Markovian SFL framework must collect a larger volume of data to compensate for the redundancy inherent in its temporal dependencies. This is consistent with prior results on hidden Markov models, where it has been shown that prediction performance converges more slowly under weak mixing conditions, as long-range dependencies obscure the latent structure of the process.
Effect of data heterogeneity across clients
The bounds established in Theorems 4 and 5 reveal a nuanced dependency on the heterogeneous temporal dynamics of the Markov processes seen by the clients, as the generalization gap scales with the summation of local mixing times, 1 K ∑ k = 1 K τ k , min \frac{1}{K}\sum_{k=1}^{K}\sqrt{\tau_{k,\min}} K 1 ∑ k = 1 K τ k , m i n . In particular, this means that the aggregated model’s generalization performance is determined by the aggregate "memory" across all clients rather than being strictly bottlenecked by the slowest-mixing Markov process. Consequently, replacing individual mixing times with a global maximum ( max k τ k , min ) (\max_{k}\tau_{k,\min}) ( max k τ k , m i n ) yields a pessimistic upper bound that fails to capture the mitigation effect provided by faster-mixing clients. This demonstrates that in practical SFL deployments, the presence of clients with rapidly decorrelating data streams can partially offset the "noise" introduced by slower, high-memory processes, leading to a more favorable generalization gap than a worst-case analysis would suggest.
Experiments
Language Model Pretraining
To probe the SANTP regime predicted by Theorem 5 , we pretrain a GPT-style decoder on the TinyStories (Eldan and Li [9 ] ) corpus. The training set is sharded contiguously across K ∈ { 2 , 4 , 8 } K \in\{2,4,8\} K ∈ { 2 , 4 , 8 } clients, so that each client observes its own dependent token stream, a faithful instance of the Markovian SFL setup of § 3.3 . We follow the FedAvg protocol and, to isolate the effect of communication from that of total compute, hold the per-client gradient-step budget fixed while sweeping R R R and allocating the budget evenly across rounds. Every configuration thus consumes the same amount of data and compute; only the communication frequency varies.
Figure 2 depicts the evolution of the final train loss, test loss, and generalization gap as functions of R R R . As R R R grows, both the training and the test losses decrease. Yet the gap between the two widens with R R R , in close agreement with Theorem 5 and (39-40): more frequent aggregation inflated the generalization gap. The effect is consistent across all values of K K K , and is not attributable to overfitting from extra compute, since the total step count is held fixed by construction. This confirms, in a realistic transformer pretraining setting, the communication–generalization tradeoff.
Figure 2. Communication–generalization tradeoff in TinyStories pretraining. Train loss (left), test loss (middle), and generalization gap (right) versus rounds R R R for K ∈ { 2 , 4 , 8 } K \in\{2,4,8\} K ∈ { 2 , 4 , 8 } clients. Per-client gradient-step budget is fixed across settings and evenly allocated across rounds: only communication frequency varies. Curves show seed averages, with shaded bands denoting standard deviation across three seeds.
Time Series Forecasting
To test whether the communication–generalization tradeoff extends beyond text, we replicate the protocol of § 7.1 on the ETTh2 electricity transformer dataset (Zhou et al. [55 ] ). The univariate target series is uniformly binned into a vocabulary of B B B symbols, yielding a discrete next-token-prediction problem on temporally dependent data, in line with the Markovian SFL setting of § 3.3 . Train and test windows are drawn from the same marginal via a block-level random split with a τ \tau τ -step buffer at each boundary to prevent receptive-field leakage; the training stream is then sharded contiguously across K ∈ { 2 , 4 , 8 } K \in\{2,4,8\} K ∈ { 2 , 4 , 8 } clients. We replace the transformer with a GRU-based next-token predictor.
Figure 3 reports the same three quantities as a function of R R R . The qualitative picture mirrors that of the language modeling experiment: train and test losses decrease with R R R , while the generalization gap widens. The effect persists across all values of K K K . This confirms that the communication–generalization tradeoff is not a peculiarity of text pretraining but a robust feature of SFL on dependent data, including the time series regime that motivates much of FL applications in practice (e.g., sensors, energy systems, healthcare monitoring). More details and additional experiments on other time series (ETTh1 Zhou et al. [55 ] and Beijing Multi-Site Air-Quality dataset Chen [5 ] ) can be found in Appendix § 19 .
Figure 3. Communication–generalization tradeoff in ETTh2 forecasting. Train loss (left), test loss (middle), and generalization gap (right) as functions of rounds count R R R , for K ∈ { 2 , 4 , 8 } K \in\{2,4,8\} K ∈ { 2 , 4 , 8 } clients. As in Figure 2 . Curves show the mean across seeds and shaded bands indicate standard deviation across three seeds.
Appendices
The appendices are organized as follows:
We present the assumptions needed for the established generalization bound for Federated Next Token Prediction in Appendix A.
In Appendix B, we review some of the main properties of the Markovian random variables
In Appendices C-I, we present all the proofs of the results of the papers, in the order of their appearance, that is:
Proof of Theorem 1 presented in Appendix C,
Proof of Theorem 2 presented in Appendix D,
Proof of Theorem 4 presented in Appendix E,
Proof of Theorem 5 presented in Appendix F,
Proof of Lemma 1 Presented in Appendix G
Proof of Lemma 3 presented in Appendix H,
Proof of Lemma 4 presented in Appendix I,
Finally, Appendices J and K provide experimental details for language model pretraining and time series forecasting, respectively, along with additional experiments.
Assumptions for Federated Next-Token Prediction
Let m : = e N R / b m := eN_R/b m := e N R / b denote the number of local SGD iterations performed by each client during a communication round, where e e e is the number of local epochs, N R N_R N R is the number of local training samples, and b b b is the mini-batch size.
Assumption 3. Consider a ( K , R , n , e , b ) (K,R,n,e,b) ( K , R , n , e , b ) -FL-SGD model. For every r ∈ [ 2 : R ] r \in[2:R] r ∈ [ 2 : R ] , every pair of initializations ( w ‾ ( r − 1 ) , w ‾ ′ ( r − 1 ) ) (\overline{w}^{(r-1)},\overline{w}'^{(r-1)}) ( w ( r − 1 ) , w ′ ( r − 1 ) ) , and every client k ∈ [ K ] k \in[K] k ∈ [ K ] , suppose that the corresponding local models w k ( r ) w_k^{(r)} w k ( r ) and w k ′ ( r ) w_k'^{(r)} w k ′ ( r ) are obtained from the same dataset s k ( r ) s_k^{(r)} s k ( r ) using identical mini-batches B k , r , t ⊆ s k ( r ) B_{k,r,t} \subseteq s_k^{(r)} B k , r , t ⊆ s k ( r ) , t ∈ [ m ] t \in[m] t ∈ [ m ] . We assume that there exists q e , b ∈ R + 1 q_{e,b} \in\mathbb{R}^{+1} q e , b ∈ R + 1 such that, for every such pair of local models,
∥ w k ( r ) − w k ′ ( r ) ∥ ≤ q e , b ∥ w ‾ ( r − 1 ) − w ‾ ′ ( r − 1 ) ∥ . (43) \left\|w_k^{(r)} - w_k'^{(r)}\right\| \leq q_{e,b}\left\|\overline{w}^{(r-1)} - \overline{w}'^{(r-1)}\right\|. \tag*{(43)} w k ( r ) − w k ′ ( r ) ≤ q e , b w ( r − 1 ) − w ′ ( r − 1 ) . (43)
When q e , b < 1 q_{e,b} < 1 q e , b < 1 , we say that SGD is contractive . This property has been established under suitable regularity conditions, including settings in which the surrogate loss ℓ ~ \widetilde{\ell} ℓ is smooth and strongly convex. In general, the contraction factor may depend on the communication round r r r and the learning rates η r , t \eta_{r,t} η r , t . Here, as specified in the learning setup, we take the learning rates to be identical across clients and rounds for simplicity. This restriction is not essential, and the result can be extended to round-dependent contraction factors.1
The generalization result applies to any value of q e , b q_{e,b} q e , b , although the case q e , b ≤ 1 q_{e,b} \le1 q e , b ≤ 1 is particularly relevant. For convex, Lipschitz, and smooth surrogate losses, the local SGD updates can be non-expansive, yielding q e , b ≤ 1 q_{e,b} \le1 q e , b ≤ 1 under the corresponding step-size conditions. Strict contractivity, q e , b < 1 q_{e,b} < 1 q e , b < 1 , can further be established for strongly convex losses under suitable assumptions. In federated support vector machines (FSVM), for example, the hinge loss is convex and becomes strongly convex upon adding an L 2 L_2 L 2 regularizer. Even without regularization, where strong convexity is absent and the theoretical guarantee only yields q e , b ≤ 1 q_{e,b} \le1 q e , b ≤ 1 , numerical results suggest that the contraction factor can be strictly smaller than one.
Assumption 4. Consider the ( K , R , n , e , b ) (K,R,n,e,b) ( K , R , n , e , b ) -FL-SGD model with W = B d ( C ) \mathcal{W} = \mathbb{B}_d(\mathcal{C}) W = B d ( C ) . Fix a client k ∈ [ K ] k \in[K] k ∈ [ K ] , a round r ∈ [ 2 : R ] r \in[2:R] r ∈ [ 2 : R ] , an initial model w ‾ ( r − 1 ) \overline{w}^{(r-1)} w ( r − 1 ) , and a local dataset s k ( r ) s_k^{(r)} s k ( r ) together with its mini-batches { B k , r , t } t ∈ [ m ] ⊆ s k ( r ) \{\mathcal{B}_{k,r,t}\}_{t \in[m]} \subseteq s_k^{(r)} { B k , r , t } t ∈ [ m ] ⊆ s k ( r ) . We assume that there exists a constant α ∈ R + \alpha\in\mathbb{R}^{+} α ∈ R + such that, for every w ε ∈ R d w_{\varepsilon} \in\mathbb{R}^{d} w ε ∈ R d satisfying w ‾ ( r − 1 ) + w ε / K ∈ W \overline{w}^{(r-1)} + w_{\varepsilon}/K \in\mathcal{W} w ( r − 1 ) + w ε / K ∈ W ,
∥ w k ′ ( r ) − ( w k ( r ) + 1 K D ( w ‾ ( r − 1 ) , { B k , r , t } t ) w ε ) ∥ ≤ α K 2 ∥ w ε ∥ 2 . (44) \left\|w_k^{\prime(r)}-\left(w_k^{(r)}+\frac{1}{K}\mathrm{D}_{(\overline{w}^{(r-1)},\{\mathcal{B}_{k,r,t}\}_{t})}w_{\varepsilon}\right)\right\| \leq\frac{\alpha}{K^2}\left\|w_{\varepsilon}\right\|^2. \tag*{(44)} w k ′ ( r ) − ( w k ( r ) + K 1 D ( w ( r − 1 ) , { B k , r , t } t ) w ε ) ≤ K 2 α ∥ w ε ∥ 2 . (44)
Here, w k ( r ) w_k^{(r)} w k ( r ) and w k ′ ( r ) w_k^{\prime(r)} w k ′ ( r ) are the local models obtained using the same mini-batches { B k , r , t } t \{\mathcal{B}_{k,r,t}\}_{t} { B k , r , t } t , but initialized at w ‾ ( r − 1 ) \overline{w}^{(r-1)} w ( r − 1 ) and w ‾ ( r − 1 ) + w ε / K \overline{w}^{(r-1)} + w_{\varepsilon}/K w ( r − 1 ) + w ε / K , respectively. The matrix D ( w ‾ ( r − 1 ) , { B k , r , t } t ) ∈ R d × d \mathrm{D}_{(\overline{w}^{(r-1)},\{\mathcal{B}_{k,r,t}\}_{t})} \in\mathbb{R}^{d \times d} D ( w ( r − 1 ) , { B k , r , t } t ) ∈ R d × d represents the overall derivative of the local SGD procedure with respect to its initialization, for the prescribed mini-batches. We further assume that its spectral norm is bounded by q e , b q_{e,b} q e , b .
The expansion in (43) describes the response of the local SGD procedure to a perturbation of its initialization. Its remainder is of second order in the perturbation magnitude and can be controlled under suitable smoothness assumptions, such as bounded higher-order derivatives. Since the initial perturbation is scaled by 1 / K 1/K 1/ K , the approximation is particularly relevant when the number of clients is moderate or large.
More precisely, the derivative matrix can be expressed as
D ( w ‾ ( r − 1 ) , { B k , r , t } t ) = ∏ t ∈ [ m ] ( I d − H ( w ‾ ( r − 1 ) , { B k , r , t ′ } t ′ ∈ [ t ] t ) ) . (45) \mathrm{D}_{(\overline{w}^{(r-1)},\{\mathcal{B}_{k,r,t}\}_{t})}
=
\prod_{t \in[m]}
\left(
\mathrm{I}_d-\mathrm{H}^{t}_{(\overline{w}^{(r-1)},\{\mathcal{B}_{k,r,t'}\}_{t' \in[t]}})
\right). \tag*{(45)} D ( w ( r − 1 ) , { B k , r , t } t ) = t ∈ [ m ] ∏ ( I d − H ( w ( r − 1 ) , { B k , r , t ′ } t ′ ∈ [ t ] t ) ) . (45)
where I d \mathrm{I}_d I d is the d × d d \times d d × d identity matrix, and
H ( w ‾ ( r − 1 ) , { B k , r , t ′ } t ′ ∈ [ t ] ) t : = Hess g B k , r , t ( W k , t ( r ) ) . \mathrm{H}^{t}_{(\overline{w}^{(r-1)},\{\mathcal{B}_{k,r,t'}\}_{t' \in[t]})}
:=
\operatorname{Hess}_{g_{\mathcal{B}_{k,r,t}}}\left(W_{k,t}^{(r)}\right). H ( w ( r − 1 ) , { B k , r , t ′ } t ′ ∈ [ t ] ) t := Hess g B k , r , t ( W k , t ( r ) ) .
Here, W k , t ( r ) W_{k,t}^{(r)} W k , t ( r ) denotes the model obtained after t t t local SGD iterations, starting from w ‾ ( r − 1 ) \overline{w}^{(r-1)} w ( r − 1 ) and using the mini-batches { B k , r , t ′ } t ′ ∈ [ t ] \{\mathcal{B}_{k,r,t'}\}_{t' \in[t]} { B k , r , t ′ } t ′ ∈ [ t ] . The notation Hess g ( ⋅ ) \operatorname{Hess}_{g}(\cdot) Hess g ( ⋅ ) denotes the Hessian of g g g , with
g B ( w ) : = m b ∑ z ∈ B ℓ ~ ( z , w ) . g_{\mathcal{B}}(w) := \frac{m}{b}\sum_{z \in\mathcal{B}} \widetilde{\ell}(z,w). g B ( w ) := b m z ∈ B ∑ ℓ ( z , w ) .
Lastly, we state an assumption on K K K being sufficiently large.
Assumption 5. Suppose Assumptions 3 and 4 hold for some constants q e , b q_{e,b} q e , b and α \alpha α . Then, for R ≥ 2 , R \ge2, R ≥ 2 , 2 the number of clients K K K satisfies at least one of the following conditions.
K 2 > min β ∈ ( 0 , 1 ] max { max r ∈ [ R − 1 ] α 2 C 2 ( ( 1 + β ) q e , b 2 ) r − 1 q e , b 2 ( 1 + β − 1 ) 2 , max r ∈ [ R − 1 ] 48 α ρ C 3 ( q e , b r − ( ( 1 + β ) q e , b 2 ) r ) θ ( q e , b − ( 1 + β ) q e , b 2 ) } . (46) K^2 > \min_{\beta\in(0,1]} \max\left\{ \max_{r\in[\mathcal{R}-1]} \frac{\alpha^2 C^2\left((1+\beta)q_{e,b}^2\right)^{r-1}}{q_{e,b}^2\left(\sqrt{1+\beta}-1\right)^2},\ \max_{r\in[\mathcal{R}-1]} \frac{48\alpha\sqrt{\rho}C^3\left(q_{e,b}^r-\left((1+\beta)q_{e,b}^2\right)^r\right)}{\theta\left(q_{e,b}-(1+\beta)q_{e,b}^2\right)} \right\}. \tag*{(46)} K 2 > β ∈ ( 0 , 1 ] min max ⎩ ⎨ ⎧ r ∈ [ R − 1 ] max q e , b 2 ( 1 + β − 1 ) 2 α 2 C 2 ( ( 1 + β ) q e , b 2 ) r − 1 , r ∈ [ R − 1 ] max θ ( q e , b − ( 1 + β ) q e , b 2 ) 48 α ρ C 3 ( q e , b r − ( ( 1 + β ) q e , b 2 ) r ) ⎭ ⎬ ⎫ . (46)
Condition 2: Suppose q e , b < 1 q_{e,b}<1 q e , b < 1 . There exists some ν ∈ [ 0 , ( 1 − q e , b 2 ) / α ) \nu\in[0,(1-q_{e,b}^2)/\alpha) ν ∈ [ 0 , ( 1 − q e , b 2 ) / α ) such that
K 2 > max { α 2 C 2 ( 1 − α ν − q e , b ) 2 , max r ∈ [ R − 1 ] 48 α ρ C 3 ( q e , b r − ( 1 − α ν ) r ) θ ( q e , b − ( 1 − α ν ) ) } . (47) K^2 > \max\left\{ \frac{\alpha^2 C^2}{\left(\sqrt{1-\alpha\nu}-q_{e,b}\right)^2},\ \max_{r\in[\mathcal{R}-1]} \frac{48\alpha\sqrt{\rho}C^3\left(q_{e,b}^r-(1-\alpha\nu)^r\right)}{\theta\left(q_{e,b}-(1-\alpha\nu)\right)} \right\}. \tag*{(47)} K 2 > max ⎩ ⎨ ⎧ ( 1 − α ν − q e , b ) 2 α 2 C 2 , r ∈ [ R − 1 ] max θ ( q e , b − ( 1 − α ν ) ) 48 α ρ C 3 ( q e , b r − ( 1 − α ν ) r ) ⎭ ⎬ ⎫ . (47)
Any removable singularities in (45) and (46) are understood by continuity.
The purpose of Assumption 5 is purely technical. It is used to control the recursive propagation of the perturbation introduced at round r r r through the subsequent communication rounds. More precisely, the two conditions provide alternative sufficient guarantees under which the accumulated approximation error satisfies
∥ Δ ^ ∥ 2 < ϵ 1 6 ρ . \lVert\widehat{\Delta}\rVert_2 < \frac{\epsilon_1}{6\sqrt{\rho}}. ∥ Δ ∥ 2 < 6 ρ ϵ 1 .
These conditions are introduced only to keep the recursive argument explicit and tractable, and we expect the result to remain valid for more moderate values of K K K as well.
Condition 1 controls the recursion through the factor ( 1 + β ) q e , b 2 (1+\beta)q_{e,b}^2 ( 1 + β ) q e , b 2 , whereas Condition 2 uses the alternative factor 1 − α ν 1-\alpha\nu 1 − α ν . In both cases, the second term in the corresponding condition accounts for the cumulative propagation of the second-order approximation errors over the remaining communication rounds.
It is useful to record a simpler sufficient condition for Condition 1. Suppose that q e , b < 1 q_{e,b}<1 q e , b < 1 and choose
β ∈ ( 0 , min { 1 , 1 q e , b 2 − 1 } ) . \beta\in\left(0,\min\left\{1,\frac{1}{q_{e,b}^2}-1\right\}\right). β ∈ ( 0 , min { 1 , q e , b 2 1 − 1 } ) .
Then ( 1 + β ) q e , b 2 < 1 (1+\beta)q_{e,b}^2<1 ( 1 + β ) q e , b 2 < 1 , so that
max r ∈ [ R − 1 ] ( ( 1 + β ) q e , b 2 ) r − 1 = 1. \max_{r\in[\mathcal{R}-1]}\left((1+\beta)q_{e,b}^2\right)^{r-1}=1. r ∈ [ R − 1 ] max ( ( 1 + β ) q e , b 2 ) r − 1 = 1.
Moreover, for any x , y ≥ 0 x,y\ge0 x , y ≥ 0 ,
x r − y r x − y = ∑ j = 0 r − 1 x r − 1 − j y j ≤ r max { x , y } r − 1 . \frac{x^r-y^r}{x-y}=\sum_{j=0}^{r-1}x^{r-1-j}y^j\le r\max\{x,y\}^{r-1}. x − y x r − y r = j = 0 ∑ r − 1 x r − 1 − j y j ≤ r max { x , y } r − 1 .
Consequently, a sufficient condition for (45) is
K 2 > inf β ∈ ( 0 , min { 1 , 1 q e , b 2 − 1 } ) max { α 2 C 2 q e , b 2 ( 1 + β − 1 ) 2 , max r ∈ [ R − 1 ] 24 α ρ C 3 r max { q e , b , ( 1 + β ) q e , b 2 } r − 1 ϵ 1 } . K^2 >
\inf_{\beta\in\left(0,\min\left\{1,\frac{1}{q_{e,b}^2}-1\right\}\right)}
\max\left\{
\frac{\alpha^2C^2}{q_{e,b}^2\left(\sqrt{1+\beta}-1\right)^2},
\ \max_{r\in[\mathcal{R}-1]}\frac{24\alpha\sqrt{\rho}C^3r\max\left\{q_{e,b},(1+\beta)q_{e,b}^2\right\}^{r-1}}{\epsilon_1}
\right\}. K 2 > β ∈ ( 0 , m i n { 1 , q e , b 2 1 − 1 } ) inf max ⎩ ⎨ ⎧ q e , b 2 ( 1 + β − 1 ) 2 α 2 C 2 , r ∈ [ R − 1 ] max ϵ 1 24 α ρ C 3 r max { q e , b , ( 1 + β ) q e , b 2 } r − 1 ⎭ ⎬ ⎫ .
Since both q e , b q_{e,b} q e , b and ( 1 + β ) q e , b 2 (1+\beta)q_{e,b}^{2} ( 1 + β ) q e , b 2 are strictly smaller than one over the above range of β \beta β , the second term inside the maximum decays to zero as r → ∞ r \to\infty r → ∞ . Finally, using
r max { q e , b , ( 1 + β ) q e , b 2 } r − 1 ≤ R , r ∈ [ R − 1 ] , r\max\left\{q_{e,b},(1+\beta)q_{e,b}^{2}\right\}^{r-1}\le R,\qquad r\in[R-1], r max { q e , b , ( 1 + β ) q e , b 2 } r − 1 ≤ R , r ∈ [ R − 1 ] ,
the above condition can be further relaxed to
K 2 > inf β ∈ ( 0 , min { 1 , 1 q e , b 2 − 1 } ) max { α 2 C 2 q e , b 2 ( 1 + β − 1 ) 2 , 24 α ρ C 3 R ϵ 1 } . K^{2}>\inf_{\beta\in\left(0,\min\left\{1,\frac{1}{q_{e,b}^{2}}-1\right\}\right)}\max\left\{\frac{\alpha^{2}C^{2}}{q_{e,b}^{2}\left(\sqrt{1+\beta}-1\right)^{2}},\frac{24\alpha\sqrt{\rho}\,C^{3}R}{\epsilon_{1}}\right\}. K 2 > β ∈ ( 0 , m i n { 1 , q e , b 2 1 − 1 } ) inf max { q e , b 2 ( 1 + β − 1 ) 2 α 2 C 2 , ϵ 1 24 α ρ C 3 R } .
On the Markovian random variables
Definition 2 (Mixing time of a Markov chain). Let ( X 1 , … , X T ) (X_{1},\ldots,X_{T}) ( X 1 , … , X T ) be a Markov chain taking values in the Polish state space X 1 × ⋯ × X T \mathcal{X}_{1}\times\cdots\times\mathcal{X}_{T} X 1 × ⋯ × X T , where X i ∈ X i X_{i}\in\mathcal{X}_{i} X i ∈ X i for all i i i . For i ≥ 1 i\ge1 i ≥ 1 and t ≥ 0 t\ge0 t ≥ 0 , let P ( X i + t ∣ X i = x ) \mathbb{P}(X_{i+t}\mid X_{i}=x) P ( X i + t ∣ X i = x ) denote the conditional distribution of X i + t X_{i+t} X i + t given X i = x X_{i}=x X i = x . For any 0 < ϵ < 1 0<\epsilon<1 0 < ϵ < 1 , the mixing time τ ( ϵ ) \tau(\epsilon) τ ( ϵ ) is defined as the smallest integer t t t such that, uniformly over all admissible time indices, the conditional distributions of X i + t X_{i+t} X i + t initialized from any two states are within ϵ \epsilon ϵ in total variation distance. Formally, define
d ˉ ( t ) : = max 1 ≤ i ≤ T − t sup ( x , y ) ∈ X × X d T V ( P ( X i + t ∣ X i = x ) , P ( X i + t ∣ X i = y ) ) , (48) \bar{d}(t):=\max_{1\le i\le T-t}\sup_{(x,y)\in\mathcal{X}\times\mathcal{X}}d_{\mathrm{TV}}\left(\mathbb{P}(X_{i+t}\mid X_i=x),\mathbb{P}(X_{i+t}\mid X_i=y)\right), \tag*{(48)} d ˉ ( t ) := 1 ≤ i ≤ T − t max ( x , y ) ∈ X × X sup d TV ( P ( X i + t ∣ X i = x ) , P ( X i + t ∣ X i = y ) ) , (48)
τ ( ϵ ) : = min { t ∈ N : d ˉ ( t ) ≤ ϵ } . (49) \tau(\epsilon):=\min\left\{t\in\mathbb{N}:\bar{d}(t)\le\epsilon\right\}. \tag*{(49)} τ ( ϵ ) := min { t ∈ N : d ˉ ( t ) ≤ ϵ } . (49)
Definition 3 (Marton coupling). Let X : = ( X 1 , … , X T ) X:=(X_{1},\ldots,X_{T}) X := ( X 1 , … , X T ) be a random vector taking values in X 1 × ⋯ × X T \mathcal{X}_{1}\times\cdots\times\mathcal{X}_{T} X 1 × ⋯ × X T . A Marton coupling for X X X is defined as a family of coupled random vectors
( X ( x 1 , … , x i , x i ′ ) , X ′ ( x 1 , … , x i , x i ′ ) ) ∈ X × X , (50) \left(X^{(x_{1},\ldots,x_{i},x_{i}')},X'^{(x_{1},\ldots,x_{i},x_{i}')}\right)\in\mathcal{X}\times\mathcal{X}, \tag*{(50)} ( X ( x 1 , … , x i , x i ′ ) , X ′ ( x 1 , … , x i , x i ′ ) ) ∈ X × X , (50)
constructed for every i ∈ [ T ] i\in[T] i ∈ [ T ] and every choice of x 1 ∈ Ω 1 , … , x i ∈ Ω i , x i ′ ∈ Ω i x_{1}\in\Omega_{1},\ldots,x_{i}\in\Omega_{i},x_{i}'\in\Omega_{i} x 1 ∈ Ω 1 , … , x i ∈ Ω i , x i ′ ∈ Ω i , and satisfying the following conditions:
X 1 ( x 1 , … , x i , x i ′ ) = x 1 , … , X i ( x 1 , … , x i , x i ′ ) = x i X_{1}^{(x_{1},\ldots,x_{i},x_{i}')}=x_{1},\ldots,X_{i}^{(x_{1},\ldots,x_{i},x_{i}')}=x_{i} X 1 ( x 1 , … , x i , x i ′ ) = x 1 , … , X i ( x 1 , … , x i , x i ′ ) = x i ;
X 1 ′ ( x 1 , … , x i , x i ′ ) = x 1 , … , X i − 1 ′ ( x 1 , … , x i , x i ′ ) = x i − 1 , X i ′ ( x 1 , … , x i , x i ′ ) = x i ′ X_{1}'^{(x_{1},\ldots,x_{i},x_{i}')}=x_{1},\ldots,X_{i-1}'^{(x_{1},\ldots,x_{i},x_{i}')}=x_{i-1},X_{i}'^{(x_{1},\ldots,x_{i},x_{i}')}=x_{i}' X 1 ′ ( x 1 , … , x i , x i ′ ) = x 1 , … , X i − 1 ′ ( x 1 , … , x i , x i ′ ) = x i − 1 , X i ′ ( x 1 , … , x i , x i ′ ) = x i ′ ;
( X i + 1 ( x 1 , … , x i , x i ′ ) , … , X T ( x 1 , … , x i , x i ′ ) ) ∼ P ( X i + 1 , … , X T ∣ X 1 = x 1 , … , X i = x i ) \left(X_{i+1}^{(x_{1},\ldots,x_{i},x_{i}')},\ldots,X_{T}^{(x_{1},\ldots,x_{i},x_{i}')}\right)\sim\mathbb{P}\left(X_{i+1},\ldots,X_{T}\mid X_{1}=x_{1},\ldots,X_{i}=x_{i}\right) ( X i + 1 ( x 1 , … , x i , x i ′ ) , … , X T ( x 1 , … , x i , x i ′ ) ) ∼ P ( X i + 1 , … , X T ∣ X 1 = x 1 , … , X i = x i ) ;
( X i + 1 ′ ( x 1 , … , x i , x i ′ ) , … , X T ′ ( x 1 , … , x i , x i ′ ) ) ∼ P ( X i + 1 , … , X T ∣ X 1 = x 1 , … , X i − 1 = x i − 1 , X i = x i ′ ) \left(X_{i+1}'^{(x_{1},\ldots,x_{i},x_{i}')},\ldots,X_{T}'^{(x_{1},\ldots,x_{i},x_{i}')}\right)\sim\mathbb{P}\left(X_{i+1},\ldots,X_{T}\mid X_{1}=x_{1},\ldots,X_{i-1}=x_{i-1},X_{i}=x_{i}'\right) ( X i + 1 ′ ( x 1 , … , x i , x i ′ ) , … , X T ′ ( x 1 , … , x i , x i ′ ) ) ∼ P ( X i + 1 , … , X T ∣ X 1 = x 1 , … , X i − 1 = x i − 1 , X i = x i ′ ) ;
If x i = x i ′ x_{i}=x_{i}' x i = x i ′ , then X ( x 1 , … , x i , x i ′ ) = X ′ ( x 1 , … , x i , x i ′ ) X^{(x_{1},\ldots,x_{i},x_{i}')}=X'^{(x_{1},\ldots,x_{i},x_{i}')} X ( x 1 , … , x i , x i ′ ) = X ′ ( x 1 , … , x i , x i ′ ) .
Associated with a Marton coupling, the mixing matrix Γ : = ( Γ i , j ) i , j ≤ T \Gamma:=(\Gamma_{i,j})_{i,j\le T} Γ := ( Γ i , j ) i , j ≤ T is defined as an upper triangular matrix with diagonal entries Γ i , i : = 1 \Gamma_{i,i}:=1 Γ i , i := 1 for all i ≤ T i\le T i ≤ T , and off-diagonal entries given by
Γ j , i : = 0 , 1 ≤ j < i ≤ T , (51) \Gamma_{j,i}:=0,\qquad1\le j<i\le T, \tag*{(51)} Γ j , i := 0 , 1 ≤ j < i ≤ T , (51)
Γ i , j : = sup x 1 , … , x i , x i ′ P [ X j ( x 1 , … , x i , x i ′ ) ≠ X j ′ ( x 1 , … , x i , x i ′ ) ] , 1 ≤ i < j ≤ T . (52) \Gamma_{i,j}:=\sup_{x_{1},\ldots,x_{i},x_{i}'}\mathbb{P}\left[X_{j}^{(x_{1},\ldots,x_{i},x_{i}')}\ne X_{j}'^{(x_{1},\ldots,x_{i},x_{i}')}\right],\qquad1\le i<j\le T. \tag*{(52)} Γ i , j := x 1 , … , x i , x i ′ sup P [ X j ( x 1 , … , x i , x i ′ ) = X j ′ ( x 1 , … , x i , x i ′ ) ] , 1 ≤ i < j ≤ T . (52)
Definition 4 (Partition). A partition of a set S S S is a collection of disjoint, non-empty subsets whose union equals S S S . Analogously, let X : = ( X 1 , … , X T ) X := (X_1,\ldots,X_T) X := ( X 1 , … , X T ) be a vector of random variables. We say that X ^ : = ( X ^ 1 , … , X ^ T ^ ) \hat{X} := (\hat{X}_1,\ldots,\hat{X}_{\hat{T}}) X ^ := ( X ^ 1 , … , X ^ T ^ ) is a partition of X X X if { X ^ i } i = 1 T ^ \{\hat{X}_i\}_{i=1}^{\hat{T}} { X ^ i } i = 1 T ^ forms a partition of the set { X 1 , … , X T } \{X_1,\ldots,X_T\} { X 1 , … , X T } .
For a given partition X ^ \hat{X} X ^ of X X X , we denote by s ( X ^ i ) s(\hat{X}_i) s ( X ^ i ) the number of elements in X ^ i \hat{X}_i X ^ i (i.e., the size of X ^ i \hat{X}_i X ^ i ), and define the size of the partition as
s ( X ^ ) : = max 1 ≤ i ≤ T ^ s ( X ^ i ) . s(\hat{X}) := \max_{1 \leq i \leq\hat{T}} s(\hat{X}_i). s ( X ^ ) := 1 ≤ i ≤ T ^ max s ( X ^ i ) . Moreover, we denote by I ( X ^ i ) \mathcal{I}(\hat{X}_i) I ( X ^ i ) the set of indices corresponding to the elements of X ^ i \hat{X}_i X ^ i , that is,
X j ∈ X ^ i if and only if j ∈ I ( X ^ i ) . X_j \in\hat{X}_i \quad\text{if and only if} \quad j \in\mathcal{I}(\hat{X}_i). X j ∈ X ^ i if and only if j ∈ I ( X ^ i ) . For any index set S ⊆ [ T ] S \subseteq[T] S ⊆ [ T ] , we write
X S : = { X j : j ∈ S } . X_S := \{X_j : j \in S\}. X S := { X j : j ∈ S } . In particular, X ^ i = X I ( X ^ i ) \hat{X}_i = X_{\mathcal{I}(\hat{X}_i)} X ^ i = X I ( X ^ i ) .
Finally, if X X X takes values in the product space X : = X 1 × ⋯ × X T \mathcal{X} := \mathcal{X}_1 \times\cdots\times\mathcal{X}_T X := X 1 × ⋯ × X T , then the partitioned random vector X ^ \hat{X} X ^ takes values in
X ^ : = X ^ 1 × ⋯ × X ^ T ^ , \hat{\mathcal{X}} := \hat{\mathcal{X}}_1 \times\cdots\times\hat{\mathcal{X}}_{\hat{T}}, X ^ := X ^ 1 × ⋯ × X ^ T ^ , where each X ^ i \hat{\mathcal{X}}_i X ^ i corresponds to the product space indexed by I ( X ^ i ) \mathcal{I}(\hat{X}_i) I ( X ^ i ) .
Lemma 2 (McDiarmid-type inequality for dependent random variables). Let X : = ( X 1 , … , X T ) X := (X_1,\ldots,X_T) X := ( X 1 , … , X T ) be a sequence of random variables taking values in X \mathcal{X} X , with distribution P P P . Let X ^ : = ( X ^ 1 , … , X ^ T ^ ) \hat{X} := (\hat{X}_1,\ldots,\hat{X}_{\hat{T}}) X ^ := ( X ^ 1 , … , X ^ T ^ ) be a partition of X X X , taking values in X ^ \hat{\mathcal{X}} X ^ with distribution P ^ \hat{P} P ^ . Suppose that a Marton coupling exists for X ^ \hat{X} X ^ with associated mixing matrix Γ \Gamma Γ . Let c ∈ R + T c \in\mathbb{R}_{+}^{T} c ∈ R + T and define C ( c ) ∈ R + T ^ C(c) \in\mathbb{R}_{+}^{\hat{T}} C ( c ) ∈ R + T ^ by
C i ( c ) : = ∑ j ∈ I ( X ^ i ) c j , i ≤ T ^ . (53) C_i(c) := \sum_{j \in\mathcal{I}(\hat{X}_i)} c_j,\quad i \leq\hat{T}. \tag*{(53)} C i ( c ) := j ∈ I ( X ^ i ) ∑ c j , i ≤ T ^ . (53) Assume that the function f : X → R f : \mathcal{X} \to\mathbb{R} f : X → R satisfies
f ( x ) − f ( y ) ≤ ∑ i = 1 T c i 1 { x i ≠ y i } , (54) f(x) - f(y) \leq\sum_{i=1}^{T} c_i 1\{x_i \ne y_i\}, \tag*{(54)} f ( x ) − f ( y ) ≤ i = 1 ∑ T c i 1 { x i = y i } , (54) for all x , y ∈ X x,y \in\mathcal{X} x , y ∈ X . Then, for any λ ∈ R \lambda\in\mathbb{R} λ ∈ R ,
log E [ e λ ( f ( X ) − E f ( X ) ) ] ≤ λ 2 ∥ Γ C ( c ) ∥ 2 8 . (55) \log\mathbb{E}\left[e^{\lambda(f(X)-\mathbb{E}f(X))}\right] \leq\frac{\lambda^2\|\Gamma C(c)\|^2}{8}. \tag*{(55)} log E [ e λ ( f ( X ) − E f ( X )) ] ≤ 8 λ 2 ∥Γ C ( c ) ∥ 2 . (55) Consequently, for any t ≥ 0 t \geq0 t ≥ 0 ,
P ( ∣ f ( X ) − E f ( X ) ∣ > t ) ≤ 2 exp ( − 2 t 2 ∥ Γ C ( c ) ∥ 2 ) . (56) \mathbb{P}(|f(X)-\mathbb{E}f(X)| > t) \leq2\exp\left(-\frac{2t^2}{\|\Gamma C(c)\|^2}\right). \tag*{(56)} P ( ∣ f ( X ) − E f ( X ) ∣ > t ) ≤ 2 exp ( − ∥Γ C ( c ) ∥ 2 2 t 2 ) . (56)
Corollary 1 (McDiarmid’s inequality for Markov chains). Let X : = ( X 1 , … , X T ) X := (X_1,\ldots,X_T) X := ( X 1 , … , X T ) be a Markov chain taking values in X 1 × ⋯ × X T \mathcal{X}_1 \times\cdots\times\mathcal{X}_T X 1 × ⋯ × X T , with mixing time τ ( δ ) \tau(\delta) τ ( δ ) for 0 ≤ δ < 1 0 \le\delta< 1 0 ≤ δ < 1 . Define
τ min : = inf 0 ≤ δ < 1 τ ( δ ) ( 2 − δ 1 − δ ) 2 . (57) \tau_{\min} := \inf_{0 \le\delta< 1} \tau(\delta)\left(\frac{2-\delta}{1-\delta}\right)^2 . \tag*{(57)} τ m i n := 0 ≤ δ < 1 inf τ ( δ ) ( 1 − δ 2 − δ ) 2 . (57)
Suppose that the function f : X T → R f : \mathcal{X}^T \to\mathbb{R} f : X T → R satisfies (53) for some c ∈ R + T c \in\mathbb{R}_+^T c ∈ R + T . Then, for any t ≥ 0 t \ge0 t ≥ 0 ,
P ( ∣ f ( X ) − E f ( X ) ∣ ≥ t ) ≤ 2 exp ( − 2 t 2 ∥ c ∥ 2 τ min ) . (58) \mathbb{P}(|f(X)-\mathbb{E}f(X)| \ge t) \le2\exp\left(-\frac{2t^2}{\|c\|^2\tau_{\min}}\right). \tag*{(58)} P ( ∣ f ( X ) − E f ( X ) ∣ ≥ t ) ≤ 2 exp ( − ∥ c ∥ 2 τ m i n 2 t 2 ) . (58)
Equivalently, for any λ ∈ R \lambda\in\mathbb{R} λ ∈ R ,
log E [ e λ ( f ( X ) − E f ( X ) ) ] ≤ λ 2 ∥ c ∥ 2 τ min 8 . (59) \log\mathbb{E}\left[e^{\lambda(f(X)-\mathbb{E}f(X))}\right] \le\frac{\lambda^2\|c\|^2\tau_{\min}}{8}. \tag*{(59)} log E [ e λ ( f ( X ) − E f ( X )) ] ≤ 8 λ 2 ∥ c ∥ 2 τ m i n . (59)
Lemma 3. Let { X t } t ∈ [ T ] \{X_t\}_{t\in[T]} { X t } t ∈ [ T ] be a Markov process of order ρ \rho ρ , and let Z t : = ( X t , X t − 1 , … , X t − ρ + 1 ) Z_t := (X_t,X_{t-1},\ldots,X_{t-\rho+1}) Z t := ( X t , X t − 1 , … , X t − ρ + 1 ) . For a fixed w ∈ W w \in\mathcal{W} w ∈ W , define
Y t : = 1 T log 1 p w ( X t ∣ X t − 1 , … , X t − ρ ) . Y_t := \frac{1}{T}\log\frac{1}{p_w(X_t\mid X_{t-1},\ldots,X_{t-\rho})}. Y t := T 1 log p w ( X t ∣ X t − 1 , … , X t − ρ ) 1 .
Let τ ~ ( δ ) \widetilde{\tau}(\delta) τ ( δ ) denote the mixing time of the history-state process { Z t } t ∈ [ T ] \{Z_t\}_{t\in[T]} { Z t } t ∈ [ T ] , defined by
τ ~ ( δ ) : = min { m ≥ 1 : max i sup z ′ , z ′ ′ d T V ( P ( Z i + m ∈ ⋅ ∣ Z i = z ′ ) , P ( Z i + m ∈ ⋅ ∣ Z i = z ′ ′ ) ) ≤ δ } . \widetilde{\tau}(\delta) := \min\left\{m \ge1 : \max_{i}\sup_{z',z''} d_{\mathrm{TV}}\left(\mathbb{P}(Z_{i+m}\in\cdot\mid Z_i=z'),\mathbb{P}(Z_{i+m}\in\cdot\mid Z_i=z'')\right) \le\delta\right\}. τ ( δ ) := min { m ≥ 1 : i max z ′ , z ′′ sup d TV ( P ( Z i + m ∈ ⋅ ∣ Z i = z ′ ) , P ( Z i + m ∈ ⋅ ∣ Z i = z ′′ ) ) ≤ δ } .
Then, for any function f : R T → R f : \mathbb{R}^T \to\mathbb{R} f : R T → R satisfying the bounded-difference condition in (53) with coefficients c = ( c 1 , … , c T ) ∈ R + T c=(c_1,\ldots,c_T)\in\mathbb{R}_+^T c = ( c 1 , … , c T ) ∈ R + T , and for every λ ∈ R \lambda\in\mathbb{R} λ ∈ R ,
log E [ e λ ( f ( Y ) − E f ( Y ) ) ] ≤ λ 2 τ ~ min ∥ c ∥ 2 2 8 , (60) \log\mathbb{E}\left[e^{\lambda(f(Y)-\mathbb{E}f(Y))}\right]\leq\frac{\lambda^2\widetilde{\tau}_{\min}\|c\|_2^2}{8}, \tag*{(60)} log E [ e λ ( f ( Y ) − E f ( Y )) ] ≤ 8 λ 2 τ m i n ∥ c ∥ 2 2 , (60)
where
τ ~ min : = inf 0 < δ < 1 τ ~ ( δ ) ( 2 − δ 1 − δ ) 2 . (61) \widetilde{\tau}_{\min}:=\inf_{0<\delta<1}\widetilde{\tau}(\delta)\left(\frac{2-\delta}{1-\delta}\right)^2. \tag*{(61)} τ m i n := 0 < δ < 1 inf τ ( δ ) ( 1 − δ 2 − δ ) 2 . (61)
Proof of Theorem 1
Starting from the definition of the generalization gap in (17), we decompose the expected gap into its client- and round-specific contributions. For each ( k , r ) (k,r) ( k , r ) , let S k , r ′ S'_{k,r} S k , r ′ be an independent copy of S k , r S_{k,r} S k , r , and fix λ k , r > 0 \lambda_{k,r}>0 λ k , r > 0 . Expressing the population risk through this independent copy and applying the Donsker–Varadhan variational inequality gives
E S [ K ] , [ R ] , W ‾ ( R ) [ gen ( S [ K ] , [ R ] , W ‾ ( R ) ) ] (62) \mathbb{E}_{S_{[K],[R]},\overline{W}^{(R)}}\left[\operatorname{gen}\left(S_{[K],[R]},\overline{W}^{(R)}\right)\right] \tag*{(62)} E S [ K ] , [ R ] , W ( R ) [ gen ( S [ K ] , [ R ] , W ( R ) ) ] (62)
= 1 K R ∑ r = 1 R ∑ k = 1 K E [ gen ( S k , r , W ‾ ( R ) ) ] (63) = \frac{1}{KR}\sum_{r=1}^{R}\sum_{k=1}^{K}\mathbb{E}\left[\operatorname{gen}\left(S_{k,r},\overline{W}^{(R)}\right)\right] \tag*{(63)} = K R 1 r = 1 ∑ R k = 1 ∑ K E [ gen ( S k , r , W ( R ) ) ] (63)
= 1 K R ∑ r = 1 R ∑ k = 1 K E [ L ( W ‾ ( R ) ) − L ^ ( S k , r , W ‾ ( R ) ) ] (64) = \frac{1}{KR}\sum_{r=1}^{R}\sum_{k=1}^{K}\mathbb{E}\left[\mathcal{L}\left(\overline{W}^{(R)}\right)-\widehat{\mathcal{L}}\left(S_{k,r},\overline{W}^{(R)}\right)\right] \tag*{(64)} = K R 1 r = 1 ∑ R k = 1 ∑ K E [ L ( W ( R ) ) − L ( S k , r , W ( R ) ) ] (64)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r E [ − λ k , r T ∑ t = 1 T E S k , r [ log p W ‾ ( R ) ( X k , t ′ ∣ X k , t − 1 ′ , … , X t − ρ ′ ) ] (65) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\mathbb{E}[-\frac{\lambda_{k,r}}{T}\sum_{t=1}^{T}\mathbb{E}_{S_{k,r}}[\log p_{\overline{W}^{(R)}}(X'_{k,t}\mid X'_{k,t-1},\ldots,X'_{t-\rho})] \tag*{(65)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 E [ − T λ k , r t = 1 ∑ T E S k , r [ log p W ( R ) ( X k , t ′ ∣ X k , t − 1 ′ , … , X t − ρ ′ )] (65)
+ λ k , r N R T ∑ n = 1 N R ∑ t = 1 T E [ log p W ‾ ( R ) ( X k , r , t ( n ) ∣ X k , r , t − 1 ( n ) , … , X k , r , t − ρ ( n ) ) ] ] (66) \qquad+\frac{\lambda_{k,r}}{N_RT}\sum_{n=1}^{N_R}\sum_{t=1}^{T}\mathbb{E}[\log p_{\overline{W}^{(R)}}(X_{k,r,t}^{(n)}\mid X_{k,r,t-1}^{(n)},\ldots,X_{k,r,t-\rho}^{(n)})]] \tag*{(66)} + N R T λ k , r n = 1 ∑ N R t = 1 ∑ T E [ log p W ( R ) ( X k , r , t ( n ) ∣ X k , r , t − 1 ( n ) , … , X k , r , t − ρ ( n ) )]] (66)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r E [ E [ − λ k , r N R T ∑ t = 1 T ∑ n = 1 N R E S k , r ′ [ log p W ‾ ( R ) ( X k , r , t ′ ( n ) ∣ X k , r , t − 1 ′ ( n ) , … , X k , r , t − ρ ′ ( n ) ) ] (67) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\mathbb{E}[\mathbb{E}[-\frac{\lambda_{k,r}}{N_RT}\sum_{t=1}^{T}\sum_{n=1}^{N_R}\mathbb{E}_{S'_{k,r}}[\log p_{\overline{W}^{(R)}}(X_{k,r,t}^{\prime(n)}\mid X_{k,r,t-1}^{\prime(n)},\ldots,X_{k,r,t-\rho}^{\prime(n)})] \tag*{(67)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 E [ E [ − N R T λ k , r t = 1 ∑ T n = 1 ∑ N R E S k , r ′ [ log p W ( R ) ( X k , r , t ′ ( n ) ∣ X k , r , t − 1 ′ ( n ) , … , X k , r , t − ρ ′ ( n ) )] (67)
+ λ k , r N R T ∑ t = 1 T ∑ n = 1 N R log p W ‾ ( R ) ( X k , r , t ( n ) ∣ X k , r , t − 1 ( n ) , … , X k , r , t − ρ ( n ) ) ] ] (68) \qquad\left.\left.+\frac{\lambda_{k,r}}{N_RT}\sum_{t=1}^{T}\sum_{n=1}^{N_R}\log p_{\overline{W}^{(R)}}\left(X_{k,r,t}^{(n)}\mid X_{k,r,t-1}^{(n)},\ldots,X_{k,r,t-\rho}^{(n)}\right)\right]\right] \tag*{(68)} + N R T λ k , r t = 1 ∑ T n = 1 ∑ N R log p W ( R ) ( X k , r , t ( n ) ∣ X k , r , t − 1 ( n ) , … , X k , r , t − ρ ( n ) ) ] ] (68)
≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r E [ D ( P S k , r ∣ W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) ∥ P S k , r ) + log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] (69) \leq\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\mathbb{E}\left[D\left(P_{S_{k,r}\mid\overline{W}^{(R)},W_k^{(r)},\overline{W}^{(r-1)}}\middle\|P_{S_{k,r}}\right)+\log\mathbb{E}_{S_{k,r}}\left[e^{\phi(S_{k,r},S'_{k,r},\overline{W}^{(R)})}\right]\right] \tag*{(69)} ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 E [ D ( P S k , r ∣ W ( R ) , W k ( r ) , W ( r − 1 ) P S k , r ) + log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] (69)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) ) + E W ‾ ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] ] (70) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};\overline{W}^{(R)},W_k^{(r)},\overline{W}^{(r-1)}\right)+\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}_{S_{k,r}}\left[e^{\phi(S_{k,r},S'_{k,r},\overline{W}^{(R)})}\right]\right]\right] \tag*{(70)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W ( R ) , W k ( r ) , W ( r − 1 ) ) + E W ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] ] (70)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) , W ‾ ( r − 1 ) ) + E W ‾ ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] ] (71) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)},\overline{W}^{(r-1)}\right)+\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}_{S_{k,r}}\left[e^{\phi(S_{k,r},S'_{k,r},\overline{W}^{(R)})}\right]\right]\right] \tag*{(71)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) , W ( r − 1 ) ) + E W ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] ] (71)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + E W ‾ ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] ] (72) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)}\right)+\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}_{S_{k,r}}\left[e^{\phi(S_{k,r},S'_{k,r},\overline{W}^{(R)})}\right]\right]\right] \tag*{(72)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + E W ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] ] (72)
Here, the expectations in (62)–(63) are taken over ( S k , r , W ‾ ( r − 1 ) , W k ( r ) , W ‾ ( R ) ) (S_{k,r},\overline{W}^{(r-1)},W_k^{(r)},\overline{W}^{(R)}) ( S k , r , W ( r − 1 ) , W k ( r ) , W ( R ) ) . In (64)–(67), we condition on the learned models when evaluating the local loss, and then average over their joint distribution. To obtain (68), we apply the Donsker–Varadhan inequality with
ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) = λ k , r N R ∑ n = 1 N R ( E S k , r ′ [ ℓ ( S k , r ( n ) , W ‾ ( R ) ) ] − ℓ ( S k , r ( n ) , W ‾ ( R ) ) ) , (73) \phi\left(S_{k,r},S'_{k,r},\overline{W}^{(R)}\right)=\frac{\lambda_{k,r}}{N_R}\sum_{n=1}^{N_R}\left(\mathbb{E}_{S'_{k,r}}\left[\ell\left(S_{k,r}^{(n)},\overline{W}^{(R)}\right)\right]-\ell\left(S_{k,r}^{(n)},\overline{W}^{(R)}\right)\right), \tag*{(73)} ϕ ( S k , r , S k , r ′ , W ( R ) ) = N R λ k , r n = 1 ∑ N R ( E S k , r ′ [ ℓ ( S k , r ( n ) , W ( R ) ) ] − ℓ ( S k , r ( n ) , W ( R ) ) ) , (73)
and choose P = P S k , r ∣ W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) P=P_{S_{k,r}\mid\overline{W}^{(R)},W_k^{(r)},\overline{W}^{(r-1)}} P = P S k , r ∣ W ( R ) , W k ( r ) , W ( r − 1 ) and Q = P S k , r Q=P_{S_{k,r}} Q = P S k , r in
E P [ ϕ ] ≤ D ( P ∥ Q ) + log E Q [ e ϕ ] . (74) \mathbb{E}_{P}[\phi]\leq D(P\|Q)+\log\mathbb{E}_{Q}\left[e^{\phi}\right]. \tag*{(74)} E P [ ϕ ] ≤ D ( P ∥ Q ) + log E Q [ e ϕ ] . (74)
The Kullback–Leibler divergence in (68) becomes the mutual-information term in (69) after averaging over ( W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) ) (\overline{W}^{(R)}, W_k^{(r)}, \overline{W}^{(r-1)}) ( W ( R ) , W k ( r ) , W ( r − 1 ) ) , since
I ( S k , r ; W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) ) = E [ D ( P S k , r ∣ W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) ∥ P S k , r ) ] (75) I\left(S_{k,r};\overline{W}^{(R)},W_k^{(r)},\overline{W}^{(r-1)}\right)
= \mathbb{E}\left[D\left(P_{S_{k,r}\mid\overline{W}^{(R)},W_k^{(r)},\overline{W}^{(r-1)}}\middle\|P_{S_{k,r}}\right)\right] \tag*{(75)} I ( S k , r ; W ( R ) , W k ( r ) , W ( r − 1 ) ) = E [ D ( P S k , r ∣ W ( R ) , W k ( r ) , W ( r − 1 ) P S k , r ) ] (75)
We next use the conditional independence induced by the learning protocol. Because the data collected in different rounds and by different clients are independent, and subsequent model updates depend on S k , r S_{k,r} S k , r only through the local update W k ( r ) W_k^{(r)} W k ( r ) and the preceding global model W ‾ ( r − 1 ) \overline{W}^{(r-1)} W ( r − 1 ) , we have the Markov chain
S k , r − ( W k ( r ) , W ‾ ( r − 1 ) ) − W ‾ ( R ) (76) S_{k,r} - \left(W_k^{(r)},\overline{W}^{(r-1)}\right) - \overline{W}^{(R)} \tag*{(76)} S k , r − ( W k ( r ) , W ( r − 1 ) ) − W ( R ) (76)
Consequently, the chain rule for mutual information eliminates the dependence on the final aggregated model, yielding
I ( S k , r ; W ‾ ( R ) , W k ( r ) , W ‾ ( r − 1 ) ) = I ( S k , r ; W k ( r ) , W ‾ ( r − 1 ) ) + I ( S k , r ; W ‾ ( R ) ∣ W k ( r ) , W ‾ ( r − 1 ) ) ⏟ = 0 (77) I\left(S_{k,r};\overline{W}^{(R)},W_k^{(r)},\overline{W}^{(r-1)}\right)
= I\left(S_{k,r};W_k^{(r)},\overline{W}^{(r-1)}\right)
+ \underbrace{I\left(S_{k,r};\overline{W}^{(R)}\mid W_k^{(r)},\overline{W}^{(r-1)}\right)}_{=0} \tag*{(77)} I ( S k , r ; W ( R ) , W k ( r ) , W ( r − 1 ) ) = I ( S k , r ; W k ( r ) , W ( r − 1 ) ) + = 0 I ( S k , r ; W ( R ) ∣ W k ( r ) , W ( r − 1 ) ) (77)
Moreover, S k , r S_{k,r} S k , r is independent of W ‾ ( r − 1 ) \overline{W}^{(r-1)} W ( r − 1 ) , which is determined by earlier rounds. A second application of the chain rule therefore gives
I ( S k , r ; W k ( r ) , W ‾ ( r − 1 ) ) = I ( S k , r ; W ‾ ( r − 1 ) ) ⏟ = 0 + I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) (78) I\left(S_{k,r};W_k^{(r)},\overline{W}^{(r-1)}\right)
= \underbrace{I\left(S_{k,r};\overline{W}^{(r-1)}\right)}_{=0}
+ I\left(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)}\right) \tag*{(78)} I ( S k , r ; W k ( r ) , W ( r − 1 ) ) = = 0 I ( S k , r ; W ( r − 1 ) ) + I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) (78)
Substituting these identities into (61) leaves a conditional mutual-information term and a logarithmic moment-generating function:
E S [ K ] , [ R ] , W ‾ ( R ) [ gen ( S [ K ] , [ R ] , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + E W ‾ ( R ) log E S k , r exp ( ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ) ] = 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + E W ‾ ( R ) log E S k , r exp ( ∑ n = 1 N R λ k , r N R Δ k , r ( n ) ) ] = 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + E W ‾ ( R ) log ∏ n = 1 N R E S k , r ( n ) exp ( λ k , r N R Δ k , r ( n ) ) (79) \begin{aligned}
\mathbb{E}_{S_{[K],[R]},\overline{W}^{(R)}}\left[\operatorname{gen}\left(S_{[K],[R]},\overline{W}^{(R)}\right)\right]
&\le\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)}\right)\right.\\
&\qquad\left.+\mathbb{E}_{\overline{W}^{(R)}}\log\mathbb{E}_{S_{k,r}}\exp\left(\phi\left(S_{k,r},S'_{k,r},\overline{W}^{(R)}\right)\right)\right]\\
&= \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)}\right)\right.\\
&\qquad\left.+\mathbb{E}_{\overline{W}^{(R)}}\log\mathbb{E}_{S_{k,r}}\exp\left(\sum_{n=1}^{N_R}\frac{\lambda_{k,r}}{N_R}\Delta_{k,r}^{(n)}\right)\right]\\
&= \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)}\right)\right.\\
&\qquad\left.+\mathbb{E}_{\overline{W}^{(R)}}\log\prod_{n=1}^{N_R}\mathbb{E}_{S_{k,r}^{(n)}}\exp\left(\frac{\lambda_{k,r}}{N_R}\Delta_{k,r}^{(n)}\right)\right. \tag*{(79)}
\end{aligned} E S [ K ] , [ R ] , W ( R ) [ gen ( S [ K ] , [ R ] , W ( R ) ) ] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + E W ( R ) log E S k , r exp ( ϕ ( S k , r , S k , r ′ , W ( R ) ) ) ] = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + E W ( R ) log E S k , r exp ( n = 1 ∑ N R N R λ k , r Δ k , r ( n ) ) ] = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + E W ( R ) log n = 1 ∏ N R E S k , r ( n ) exp ( N R λ k , r Δ k , r ( n ) ) (79)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( s k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + ∑ n = 1 N R E W ‾ ( R ) log E S k , r ( n ) exp ( λ k , r N R Δ k , r ( n ) ) ] . (80) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(s_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)}\right)+\sum_{n=1}^{N_R}\mathbb{E}_{\overline{W}^{(R)}}\log\mathbb{E}_{S_{k,r}^{(n)}}\exp\left(\frac{\lambda_{k,r}}{N_R}\Delta_{k,r}^{(n)}\right)\right]. \tag*{(80)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( s k , r ; W k ( r ) ∣ W ( r − 1 ) ) + n = 1 ∑ N R E W ( R ) log E S k , r ( n ) exp ( N R λ k , r Δ k , r ( n ) ) ] . (80)
The last step follows by factoring the exponential moment over the N R N_R N R independent trajectories in S k , r S_{k,r} S k , r , with the aggregated model held fixed. It remains to control this moment-generating function under temporal dependence within each trajectory. For a fixed w ‾ \overline{w} w and n ∈ [ N R ] n\in[N_R] n ∈ [ N R ] , consider the trajectory-level cross-entropy loss
ℓ ( s k , r ( n ) , w ‾ ) = − 1 T ∑ t ∈ [ T ] log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) ∀ n ∈ [ α ] , (81) \ell\left(s_{k,r}^{(n)},\overline{w}\right)=-\frac{1}{T}\sum_{t\in[T]}\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{(n)}\right)\qquad\forall n\in[\alpha], \tag*{(81)} ℓ ( s k , r ( n ) , w ) = − T 1 t ∈ [ T ] ∑ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) ∀ n ∈ [ α ] , (81)
To verify the bounded-difference condition in (53), take two trajectories s k , r ( n ) s_{k,r}^{(n)} s k , r ( n ) and s k , r ′ ( n ) s_{k,r}^{\prime(n)} s k , r ′ ( n ) . We compare their losses by replacing the predicted token and the tokens in its context one at a time. This gives the following telescoping decomposition:
ℓ ( s k , r ′ ( n ) , w ‾ ) − ℓ ( s k , r ( n ) , w ‾ ) (82) \ell\left(s_{k,r}^{\prime(n)},\overline{w}\right)-\ell\left(s_{k,r}^{(n)},\overline{w}\right) \tag*{(82)} ℓ ( s k , r ′ ( n ) , w ) − ℓ ( s k , r ( n ) , w ) (82)
= 1 T ∑ t ∈ [ T ] [ log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) − log p w ‾ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (83) =\frac{1}{T}\sum_{t\in[T]}\left[\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{(n)}\right)-\log p_{\overline{w}}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right] \tag*{(83)} = T 1 t ∈ [ T ] ∑ [ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) − log p w ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (83)
= 1 T ∑ t ∈ [ T ] [ log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) − log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ + 1 ( n ) , x k , r , t − ρ ′ ( n ) ) ] (84) =\frac{1}{T}\sum_{t\in[T]}\left[\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{(n)}\right)-\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho+1}^{(n)},x_{k,r,t-\rho}^{\prime(n)}\right)\right] \tag*{(84)} = T 1 t ∈ [ T ] ∑ [ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) − log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ + 1 ( n ) , x k , r , t − ρ ′ ( n ) ) ] (84)
+ 1 T ∑ t ∈ [ T ] [ log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ + 1 ′ ( n ) , x k , r , t − ρ ′ ( n ) ) ] (85) +\frac{1}{T}\sum_{t\in[T]}\left[\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho+1}^{\prime(n)},x_{k,r,t-\rho}^{\prime(n)}\right)\right] \tag*{(85)} + T 1 t ∈ [ T ] ∑ [ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ + 1 ′ ( n ) , x k , r , t − ρ ′ ( n ) ) ] (85)
⋮ (86) \vdots \tag*{(86)} ⋮ (86)
+ 1 T ∑ t ∈ [ T ] [ log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ‾ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (87) +\frac{1}{T}\sum_{t\in[T]}\left[\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\overline{w}}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right] \tag*{(87)} + T 1 t ∈ [ T ] ∑ [ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (87)
= 1 T ∑ t ∈ [ T ] [ log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ‾ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (88) =\frac{1}{T}\sum_{t\in[T]}\left[\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\overline{w}}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right] \tag*{(88)} = T 1 t ∈ [ T ] ∑ [ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (88)
+ ∑ i ∈ [ 2 : T − 1 ] [ log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ‾ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] . (89) +\sum_{i\in[2:T-1]}\left[\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)
-\log p_{\overline{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right]. \tag*{(89)} + i ∈ [ 2 : T − 1 ] ∑ [ log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] . (89)
Equation not extracted
(90)
The key observation is that the next-token distribution depends only on the preceding ρ \rho ρ tokens. Therefore, every term involving a replacement outside this context vanishes, and the telescoping expansion reduces to
∑ t ∈ [ T ] [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] + ∑ i ∈ [ 2 : T − 1 ] [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ] (91) \begin{aligned}
&\sum_{t\in[T]}\left[\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right]\\
&\quad+\sum_{i\in[2:T-1]}\left[\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right.\\
&\qquad\qquad\left.-\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right] \tag*{(91)}
\end{aligned} t ∈ [ T ] ∑ [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] + i ∈ [ 2 : T − 1 ] ∑ [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ] (91)
= ∑ t = 1 T [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] + ∑ t = 1 T ∑ i = 2 T − 1 ( log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ) 1 { 1 ≤ i ≤ ρ } (92) \begin{aligned}
=\sum_{t=1}^{T}\left[\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right]\\
+\sum_{t=1}^{T}\sum_{i=2}^{T-1}\left(\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right.\\
\left.-\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right)\mathbf{1}_{\{1\le i\le\rho\}} \tag*{(92)}
\end{aligned} = t = 1 ∑ T [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] + t = 1 ∑ T i = 2 ∑ T − 1 ( log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ) 1 { 1 ≤ i ≤ ρ } (92)
= ∑ t = 1 T [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] + ∑ t = 1 T ∑ i = 2 T − 1 ( log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ) 1 { x k , r , t ( n ) ≠ x k , r , t ′ ( n ) } + ∑ t = 1 T ∑ i = 2 ρ ( log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ) 1 { x k , r , i ( n ) ≠ x k , r , i ′ ( n ) } (93) \begin{aligned}
=\sum_{t=1}^{T}\left[\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right]\\
+\sum_{t=1}^{T}\sum_{i=2}^{T-1}\left(\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right.\\
\left.-\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right)\mathbf{1}_{\{x_{k,r,t}^{(n)}\ne x_{k,r,t}^{\prime(n)}\}}\\
+\sum_{t=1}^{T}\sum_{i=2}^{\rho}\left(\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right.\\
\left.-\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots x_{k,r,t-\rho}^{\prime(n)}\right)\right)\mathbf{1}_{\{x_{k,r,i}^{(n)}\ne x_{k,r,i}^{\prime(n)}\}} \tag*{(93)}
\end{aligned} = t = 1 ∑ T [ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] + t = 1 ∑ T i = 2 ∑ T − 1 ( log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ) 1 { x k , r , t ( n ) = x k , r , t ′ ( n ) } + t = 1 ∑ T i = 2 ∑ ρ ( log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … x k , r , t − ρ ′ ( n ) ) ) 1 { x k , r , i ( n ) = x k , r , i ′ ( n ) } (93)
1 { 1 ≤ i ≤ ρ } (94) \mathbf{1}_{\{1\le i\le\rho\}} \tag*{(94)} 1 { 1 ≤ i ≤ ρ } (94)
1 { x k , r , i ( n ) ≠ x k , r , i ′ ( n ) } (95) \mathbf{1}_{\{x_{k,r,i}^{(n)}\ne x_{k,r,i}^{\prime(n)}\}} \tag*{(95)} 1 { x k , r , i ( n ) = x k , r , i ′ ( n ) } (95)
In particular, the restriction 1 ≤ i ≤ ρ 1\le i\le\rho 1 ≤ i ≤ ρ in (94) –(95) follows directly from the finite context length. We now bound separately the change in the predicted token and the change in an individual context token. Taking the maximum over the two trajectories gives
log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ≤ max ∣ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ∣ = ∣ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ∣ (96) \begin{aligned}
\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right) \\
&\le\max\left|\log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right| \\
&=\left|\log\frac{p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)}{p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)}\right| \tag*{(96)}
\end{aligned} log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ≤ max log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) = log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (96)
≔ C k , r (97) \coloneqq C_{k,r} \tag*{(97)} : = C k , r (97)
For a change in the context, the corresponding maximal difference is bounded in the same way. For each t ∈ [ T ] t\in[T] t ∈ [ T ] and i ∈ [ 2 : ρ ] i\in[2:\rho] i ∈ [ 2 : ρ ] , we obtain
log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (98) \log p_{\bar w}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right) \tag*{(98)} log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (98)
-\log p_{\bar w}(x_{k,r,t}^{(n)}\middle|x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)})
\leq\max| \log p_{\bar w}(x_{k,r,t}^{(n)}\middle|x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}) \tag*{(99)}
− log p w ˉ ( x k , r , t ( n ) | x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (100) -\log p_{\bar w}\left(x_{k,r,t}^{(n)}\middle|x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right) \tag*{(100)} − log p w ˉ ( x k , r , t ( n ) x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (100)
: = C ~ k , r :=\widetilde C_{k,r} := C k , r
Here the maximum is over the same pairs of trajectories, uniformly in the admissible values of t t t and i i i . Combining these two estimates in (95) yields
( 94 ) ≤ [ max ∣ log p w ˉ ( x k , r , t ( n ) | x k , r , t − 1 ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) | x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ∣ ] ∑ t = 1 T 1 { x k , r , t ( n ) ≠ x k , r , t ′ ( n ) } (101) \begin{aligned}
(94) &\leq\left[\max\left|\log p_{\bar w}\left(x_{k,r,t}^{(n)}\middle|x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)-\log p_{\bar w}\left(x_{k,r,t}^{\prime(n)}\middle|x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right|\right]\sum_{t=1}^{T}\mathbf{1}_{\{x_{k,r,t}^{(n)}\ne x_{k,r,t}^{\prime(n)}\}} \tag*{(101)}
\end{aligned} ( 94 ) ≤ [ max log p w ˉ ( x k , r , t ( n ) x k , r , t − 1 ( n ) , … , x k , r , t − ρ ′ ( n ) ) − log p w ˉ ( x k , r , t ′ ( n ) x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] t = 1 ∑ T 1 { x k , r , t ( n ) = x k , r , t ′ ( n ) } (101)
\begin{aligned}
&+\left[\max\left|\log p_{\bar w}\left(x_{k,r,t}^{(n)}\middle|x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right.\\
&\left.\qquad-\log p_{\bar w}\left(x_{k,r,t}^{(n)}\middle|x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)\right|\right]\sum_{t=1}^{T}\sum_{i=1}^{\rho}\mathbf{1}_{\{x_{k,r,t-i}^{(n)}\ne x_{k,r,t-i}^{\prime(n)}\}} \tag*{(102)}
\end{aligned}
≤ ( C k , r + ρ C ~ k , r ) × ∑ t = 1 T 1 { x k , r , t ( n ) ≠ x k , r , t ′ ( n ) } , (103) \leq\left(C_{k,r}+\rho\widetilde C_{k,r}\right)\times\sum_{t=1}^{T}\mathbf{1}_{\{x_{k,r,t}^{(n)}\ne x_{k,r,t}^{\prime(n)}\}}, \tag*{(103)} ≤ ( C k , r + ρ C k , r ) × t = 1 ∑ T 1 { x k , r , t ( n ) = x k , r , t ′ ( n ) } , (103)
The last inequality follows from the fact that a discrepancy at a given token can appear in at most ρ \rho ρ subsequent prediction contexts. More precisely,
∑ t = 1 T ∑ i = 1 ρ 1 { x k , r , t − i ( n ) ≠ x k , r , t − i ′ ( n ) } ≤ ρ ∑ t = 1 T 1 { x k , r , t ( n ) ≠ x k , r , t ′ ( n ) } , (104) \sum_{t=1}^{T}\sum_{i=1}^{\rho}\mathbf{1}_{\{x_{k,r,t-i}^{(n)}\ne x_{k,r,t-i}^{\prime(n)}\}}\leq\rho\sum_{t=1}^{T}\mathbf{1}_{\{x_{k,r,t}^{(n)}\ne x_{k,r,t}^{\prime(n)}\}}, \tag*{(104)} t = 1 ∑ T i = 1 ∑ ρ 1 { x k , r , t − i ( n ) = x k , r , t − i ′ ( n ) } ≤ ρ t = 1 ∑ T 1 { x k , r , t ( n ) = x k , r , t ′ ( n ) } , (104)
Thus, changing one observation affects its own prediction term and at most ρ \rho ρ context terms. Returning to the difference of trajectory losses, we obtain
ℓ ( s k , r ( n ) , w ˉ ) − ℓ ( s k , r ′ ( n ) , w ˉ ) ≤ C k , r + ρ C ~ k , r T × ∑ t = 1 T 1 { x k , r , t ( n ) ≠ x k , r , t ′ ( n ) } , (105) \ell\left(s_{k,r}^{(n)},\bar w\right)-\ell\left(s_{k,r}^{\prime(n)},\bar w\right)\leq\frac{C_{k,r}+\rho\widetilde C_{k,r}}{T}\times\sum_{t=1}^{T}\mathbf{1}_{\{x_{k,r,t}^{(n)}\ne x_{k,r,t}^{\prime(n)}\}}, \tag*{(105)} ℓ ( s k , r ( n ) , w ˉ ) − ℓ ( s k , r ′ ( n ) , w ˉ ) ≤ T C k , r + ρ C k , r × t = 1 ∑ T 1 { x k , r , t ( n ) = x k , r , t ′ ( n ) } , (105)
This is the bounded-difference property required by (53), with a coefficient c k , r , t c_{k,r,t} c k , r , t bounded by
C k , r + ρ C ~ k , r T , (106) \frac{C_{k,r}+\rho\widetilde C_{k,r}}{T}, \tag*{(106)} T C k , r + ρ C k , r , (106)
for every client k ∈ [ K ] k\in[K] k ∈ [ K ] , communication round r ∈ [ R ] r\in[R] r ∈ [ R ] , and time index t ∈ [ T ] t\in[T] t ∈ [ T ] . We next control the constants appearing in this coefficient. The following elementary bound on the cross-entropy loss will be useful.
Lemma 4. For any w ∈ W w \in\mathcal{W} w ∈ W , we have
log 1 p w ( x k , t ∣ x k , t − 1 , … , x k , t − τ ) ≤ 2 B + log d . (107) \log\frac{1}{p_w(x_{k,t}\mid x_{k,t-1},\ldots,x_{k,t-\tau})} \le2B+\log d. \tag*{(107)} log p w ( x k , t ∣ x k , t − 1 , … , x k , t − τ ) 1 ≤ 2 B + log d . (107)
The proof is given in Appendix I. Applying this lemma to the change in the predicted token gives
( 96 ) = max ∣ log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) ∣ (108) (96)=\max\left|\log\frac{p_{\bar{w}}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)}{p_{\bar{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-\rho}^{(n)}\right)}\right| \tag*{(108)} ( 96 ) = max log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − ρ ( n ) ) p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (108)
≤ max [ log 1 p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] (109) \le\max\left[\log\frac{1}{p_{\bar{w}}\left(x_{k,r,t}^{\prime(n)}\mid x_{k,r,t-1}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)}\right] \tag*{(109)} ≤ max log p w ˉ ( x k , r , t ′ ( n ) ∣ x k , r , t − 1 ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) 1 (109)
≤ 2 B + log d , (110) \le2B+\log d, \tag*{(110)} ≤ 2 B + log d , (110)
where the maximum is taken over the same admissible token and context pairs as in (96) . We now turn to the change caused by replacing a token in the context. Writing the ratio of the corresponding conditional probabilities, we obtain
( 99 ) = max ∣ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (111) (99)=\max|\log p_{\bar{w}}(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}) \tag*{(111)} ( 99 ) = max ∣ log p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (111)
− log p w ˉ ( x k , t ( n ) ∣ x k , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ∣ (112) -\log p_{\bar{w}}(x_{k,t}^{(n)}\mid x_{k,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)})| \tag*{(112)} − log p w ˉ ( x k , t ( n ) ∣ x k , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ∣ (112)
= max ∣ log [ p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) p w ˉ ( x k , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) ] ∣ (113) =\max\left|\log\left[\frac{p_{\bar{w}}\left(x_{k,r,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)}{p_{\bar{w}}\left(x_{k,t}^{(n)}\mid x_{k,r,t-1}^{(n)},\ldots,x_{k,r,t-i+1}^{\prime(n)},x_{k,r,t-i}^{\prime(n)},\ldots,x_{k,r,t-\rho}^{\prime(n)}\right)}\right]\right| \tag*{(113)} = max log p w ˉ ( x k , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ′ ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) p w ˉ ( x k , r , t ( n ) ∣ x k , r , t − 1 ( n ) , … , x k , r , t − i + 1 ( n ) , x k , r , t − i ′ ( n ) , … , x k , r , t − ρ ′ ( n ) ) (113)
= max ∣ log [ ⟨ σ ( g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i ′ ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) ) ) , E ( x k , r , t ( n ) ) ⟩ ⟨ σ ( g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i + 1 ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) ) ) , E ( x k , r , t ( n ) ) ⟩ ] ∣ (114) =\max|\log[\frac{\langle\sigma(g_w(\mathcal{E}(x_{k,r,t-1}^{(n)}),\ldots,\mathcal{E}(x_{k,r,t-i}^{\prime(n)}),\ldots,\mathcal{E}(x_{k,r,t-\rho}^{\prime(n)})),\mathcal{E}(x_{k,r,t}^{(n)})\rangle}{\langle\sigma(g_w(\mathcal{E}(x_{k,r,t-1}^{(n)}),\ldots,\mathcal{E}(x_{k,r,t-i+1}^{(n)}),\ldots,\mathcal{E}(x_{k,r,t-\rho}^{\prime(n)})),\mathcal{E}(x_{k,r,t}^{(n)})\rangle}]| \tag*{(114)} = max ∣ log [ ⟨ σ ( g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i + 1 ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) )) , E ( x k , r , t ( n ) )⟩ ⟨ σ ( g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i ′ ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) )) , E ( x k , r , t ( n ) )⟩ ] ∣ (114)
In (113), we have substituted the predictive distribution from (6) ; its two terms correspond to the softmax outputs evaluated at the two contexts, paired with the same one-hot encoded target token,
σ ( g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − ρ ( n ) ) ) ) , (115) \sigma\left(g_w\left(\mathcal{E}\left(x_{k,r,t-1}^{(n)}\right),\ldots,\mathcal{E}\left(x_{k,r,t-\rho}^{(n)}\right)\right)\right), \tag*{(115)} σ ( g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − ρ ( n ) ) ) ) , (115)
The two contexts differ only in the token being replaced. Using the softmax representation in (7) , we can express the resulting log-probability difference in terms of the corresponding logits. For convenience, define
g w , j = g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i ′ ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) ) ) j , (116) g_{w,j}=g_w\left(\mathcal{E}\left(x_{k,r,t-1}^{(n)}\right),\ldots,\mathcal{E}\left(x_{k,r,t-i}^{\prime(n)}\right),\ldots,\mathcal{E}\left(x_{k,r,t-\rho}^{\prime(n)}\right)\right)_j, \tag*{(116)} g w , j = g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i ′ ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) ) ) j , (116)
g w , j ′ = g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i + 1 ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) ) ) j , (117) g_{w,j}^{\prime}=g_w\left(\mathcal{E}\left(x_{k,r,t-1}^{(n)}\right),\ldots,\mathcal{E}\left(x_{k,r,t-i+1}^{(n)}\right),\ldots,\mathcal{E}\left(x_{k,r,t-\rho}^{\prime(n)}\right)\right)_j, \tag*{(117)} g w , j ′ = g w ( E ( x k , r , t − 1 ( n ) ) , … , E ( x k , r , t − i + 1 ( n ) ) , … , E ( x k , r , t − ρ ′ ( n ) ) ) j , (117)
and the associated softmax coordinates
g w ( j ) = exp ( g w , j ) ∑ j ∈ [ d ] exp ( g w , j ) , g w ′ ( j ) = exp ( g w , j ′ ) ∑ j ∈ [ d ] exp ( g w , j ′ ) (118) g_w^{(j)}=\frac{\exp(g_{w,j})}{\sum_{j\in[d]}\exp(g_{w,j})},\qquad
g_w^{\prime(j)}=\frac{\exp(g'_{w,j})}{\sum_{j\in[d]}\exp(g'_{w,j})} \tag*{(118)} g w ( j ) = ∑ j ∈ [ d ] exp ( g w , j ) exp ( g w , j ) , g w ′ ( j ) = ∑ j ∈ [ d ] exp ( g w , j ′ ) exp ( g w , j ′ ) (118)
Here g w , j g_{w,j} g w , j and g w , j ′ g'_{w,j} g w , j ′ denote the j j j -th logits computed from the two contexts, while E j ( x k , r , t ( n ) ) \mathcal{E}_j(x_{k,r,t}^{(n)}) E j ( x k , r , t ( n ) ) is the j j j -th coordinate of the one-hot encoded target token. With this notation, the ratio in (113) can be decomposed into a term involving the target-token logits and a term involving the softmax normalizers:
( 113 ) = ∣ log [ ∑ j ∈ [ d ] g w ( j ) ⋅ E j ( x k , r , t ( n ) ) ∑ j ∈ [ d ] g w ′ ( j ) ⋅ E j ( x k , r , t ( n ) ) ] ∣ = ∣ log [ ∑ j ∈ [ d ] exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) ] + log [ ∑ j ∈ [ d ] exp ( g w , j ′ ) ∑ j ∈ [ d ] exp ( g w , j ) ] ∣ (119) \begin{aligned}
(113)&=\left|\log\left[\frac{\sum_{j\in[d]}g_w^{(j)}\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}{\sum_{j\in[d]}g_w^{\prime(j)}\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}\right]\right|\\
&=\left|\log\left[\frac{\sum_{j\in[d]}\exp(g_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}{\sum_{j\in[d]}\exp(g'_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}\right]+\log\left[\frac{\sum_{j\in[d]}\exp(g'_{w,j})}{\sum_{j\in[d]}\exp(g_{w,j})}\right]\right| \tag*{(119)}
\end{aligned} ( 113 ) = log [ ∑ j ∈ [ d ] g w ′ ( j ) ⋅ E j ( x k , r , t ( n ) ) ∑ j ∈ [ d ] g w ( j ) ⋅ E j ( x k , r , t ( n ) ) ] = log [ ∑ j ∈ [ d ] exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) ∑ j ∈ [ d ] exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) ] + log [ ∑ j ∈ [ d ] exp ( g w , j ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ] (119)
≤ ∣ log [ ∑ j ∈ [ d ] exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) ] ∣ + ∣ log ( ∑ j ∈ [ d ] exp ( g w , j ′ ) ∑ j ∈ [ d ] exp ( g w , j ) ) ∣ (120) \leq\left|\log\left[\frac{\sum_{j\in[d]}\exp(g_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}{\sum_{j\in[d]}\exp(g'_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}\right]\right|+\left|\log\left(\frac{\sum_{j\in[d]}\exp(g'_{w,j})}{\sum_{j\in[d]}\exp(g_{w,j})}\right)\right| \tag*{(120)} ≤ log [ ∑ j ∈ [ d ] exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) ∑ j ∈ [ d ] exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) ] + log ( ∑ j ∈ [ d ] exp ( g w , j ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ) (120)
≤ max { max j ∈ [ d ] log [ exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) ] , max j ∈ [ d ] log [ exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) ] } (121) \leq\max\left\{\max_{j\in[d]}\log\left[\frac{\exp(g_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}{\exp(g'_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}\right],\max_{j\in[d]}\log\left[\frac{\exp(g'_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}{\exp(g_{w,j})\cdot\mathcal{E}_j(x_{k,r,t}^{(n)})}\right]\right\} \tag*{(121)} ≤ max { j ∈ [ d ] max log [ exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) ] , j ∈ [ d ] max log [ exp ( g w , j ) ⋅ E j ( x k , r , t ( n ) ) exp ( g w , j ′ ) ⋅ E j ( x k , r , t ( n ) ) ] } (121)
+ max { max j ∈ [ d ] log [ exp ( g w , j ) exp ( g w , j ′ ) ] , max j ∈ [ d ] log [ exp ( g w , j ′ ) exp ( g w , j ) ] } = max j ∈ [ d ] ∣ g w , j − g w , j ′ ∣ + max j ∈ [ d ] ∣ g w , j − g w , j ′ ∣ (122) \begin{aligned}
+\max\left\{\max_{j\in[d]}\log\left[\frac{\exp(g_{w,j})}{\exp(g'_{w,j})}\right],\max_{j\in[d]}\log\left[\frac{\exp(g'_{w,j})}{\exp(g_{w,j})}\right]\right\} \\
&=\max_{j\in[d]}|g_{w,j}-g'_{w,j}|+\max_{j\in[d]}|g_{w,j}-g'_{w,j}| \tag*{(122)}
\end{aligned} + max { j ∈ [ d ] max log [ exp ( g w , j ′ ) exp ( g w , j ) ] , j ∈ [ d ] max log [ exp ( g w , j ) exp ( g w , j ′ ) ] } = j ∈ [ d ] max ∣ g w , j − g w , j ′ ∣ + j ∈ [ d ] max ∣ g w , j − g w , j ′ ∣ (122)
≤ 4 max j ∈ [ d ] ∣ g w , j ∣ (123) \leq4\max_{j\in[d]}|g_{w,j}| \tag*{(123)} ≤ 4 j ∈ [ d ] max ∣ g w , j ∣ (123)
= 4 ∥ g w ∥ ∞ = 4 B (124) =4\lVert g_w\rVert_\infty
=4B \tag*{(124)} = 4 ∥ g w ∥ ∞ = 4 B (124)
The first inequality follows from the triangle inequality. To bound the two logarithmic ratios, we use the fact that the ratio of two sums of positive terms is no larger than the largest ratio of corresponding terms. For the softmax normalizers, this gives
∣ x + y ∣ ≤ ∣ x ∣ + ∣ y ∣ , |x+y|\leq|x|+|y|, ∣ x + y ∣ ≤ ∣ x ∣ + ∣ y ∣ ,
Indeed, for two collections of positive numbers ( a 1 , … , a d ) (a_1,\ldots,a_d) ( a 1 , … , a d ) and ( b 1 , … , b d ) (b_1,\ldots,b_d) ( b 1 , … , b d ) , we have
∣ log ( ∑ j ∈ [ d ] exp ( g w , j ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ) ∣ = max { log ( ∑ j ∈ [ d ] exp ( g w , j ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ) , log ( ∑ j ∈ [ d ] exp ( g w , j ′ ) ∑ j ∈ [ d ] exp ( g w , j ) ) } ≤ max { log ( max j ∈ [ d ] exp ( g w , j ) exp ( g w , j ′ ) ) , log ( max j ∈ [ d ] exp ( g w , j ′ ) exp ( g w , j ) ) } (125) \begin{aligned}
\left|\log\left(\frac{\sum_{j\in[d]}\exp(g_{w,j})}{\sum_{j\in[d]}\exp(g'_{w,j})}\right)\right|
=\max\left\{\log\left(\frac{\sum_{j\in[d]}\exp(g_{w,j})}{\sum_{j\in[d]}\exp(g'_{w,j})}\right),\log\left(\frac{\sum_{j\in[d]}\exp(g'_{w,j})}{\sum_{j\in[d]}\exp(g_{w,j})}\right)\right\} \\
&\leq\max\left\{\log\left(\max_{j\in[d]}\frac{\exp(g_{w,j})}{\exp(g'_{w,j})}\right),\log\left(\max_{j\in[d]}\frac{\exp(g'_{w,j})}{\exp(g_{w,j})}\right)\right\} \tag*{(125)}
\end{aligned} log ( ∑ j ∈ [ d ] exp ( g w , j ′ ) ∑ j ∈ [ d ] exp ( g w , j ) ) = max { log ( ∑ j ∈ [ d ] exp ( g w , j ′ ) ∑ j ∈ [ d ] exp ( g w , j ) ) , log ( ∑ j ∈ [ d ] exp ( g w , j ) ∑ j ∈ [ d ] exp ( g w , j ′ ) ) } ≤ max { log ( j ∈ [ d ] max exp ( g w , j ′ ) exp ( g w , j ) ) , log ( j ∈ [ d ] max exp ( g w , j ) exp ( g w , j ′ ) ) } (125)
= max { max j ∈ [ d ] log ( exp ( g w , j ) exp ( g w , j ′ ) ) , max j ∈ [ d ] log ( exp ( g w , j ′ ) exp ( g w , j ) ) } (126) =\max\left\{\max_{j\in[d]}\log\left(\frac{\exp(g_{w,j})}{\exp(g'_{w,j})}\right),\max_{j\in[d]}\log\left(\frac{\exp(g'_{w,j})}{\exp(g_{w,j})}\right)\right\} \tag*{(126)} = max { j ∈ [ d ] max log ( exp ( g w , j ′ ) exp ( g w , j ) ) , j ∈ [ d ] max log ( exp ( g w , j ) exp ( g w , j ′ ) ) } (126)
= max j ∈ [ d ] ∣ g w , j − g w ‾ , j ′ ∣ , (127) = \max_{j \in[d]} \left|g_{w,j}-g_{\overline{w},j}'\right|, \tag*{(127)} = j ∈ [ d ] max g w , j − g w , j ′ , (127)
This comparison uses the elementary inequality
a 1 + ⋯ + a d b 1 + ⋯ + b d ≤ max j ∈ [ d ] a j b j (128) \frac{a_1+\cdots+a_d}{b_1+\cdots+b_d} \le\max_{j \in[d]} \frac{a_j}{b_j} \tag*{(128)} b 1 + ⋯ + b d a 1 + ⋯ + a d ≤ j ∈ [ d ] max b j a j (128)
Together with the bounded-output assumption 1, the preceding estimates bound the context-dependent contribution. Substituting (110) and (122) into (105) gives, for every k ∈ [ K ] k \in[K] k ∈ [ K ] , r ∈ [ R ] r \in[R] r ∈ [ R ] , and t ∈ [ T ] t \in[T] t ∈ [ T ] ,
c k , r , t ≤ 2 B ( 1 + 2 ρ ) + log d T . (129) c_{k,r,t} \le\frac{2B(1+2\rho)+\log d}{T}. \tag*{(129)} c k , r , t ≤ T 2 B ( 1 + 2 ρ ) + log d . (129)
We can therefore apply the Markov-chain McDiarmid inequality in Corollary 1 to the centered trajectory loss. Its exponential moment is controlled by the client-specific mixing time as follows:
∑ n = 1 N E W ‾ , W k [ log E S k [ e λ k , r N R ( ℓ ( S k , r ( n ) , W ‾ ) − ℓ ( S k , r ( n ) , W ‾ ) ) ] ] ≤ λ k , r 2 ∥ c k ∥ 2 τ k , min 8 N , \sum_{n=1}^{N}\mathbb{E}_{\overline{W},W_k}\left[\log\mathbb{E}_{S_k}\left[e^{\frac{\lambda_{k,r}}{N_R}\left(\ell(S_{k,r}^{(n)},\overline{W})-\ell(S_{k,r}^{(n)},\overline{W})\right)}\right]\right]\le\frac{\lambda_{k,r}^{2}\lVert c_k\rVert^{2}\tau_{k,\min}}{8N}, n = 1 ∑ N E W , W k [ log E S k [ e N R λ k , r ( ℓ ( S k , r ( n ) , W ) − ℓ ( S k , r ( n ) , W ) ) ] ] ≤ 8 N λ k , r 2 ∥ c k ∥ 2 τ k , m i n ,
Substituting this estimate into (71) and optimizing over λ k , r > 0 \lambda_{k,r}>0 λ k , r > 0 , we obtain
E S [ K ] , [ R ] , W ‾ ( R ) [ gen ( S [ K ] , [ R ] , W ‾ ( R ) ) ] (130) \mathbb{E}_{S_{[K],[R]},\overline{W}^{(R)}}\left[\operatorname{gen}\left(S_{[K],[R]},\overline{W}^{(R)}\right)\right] \tag*{(130)} E S [ K ] , [ R ] , W ( R ) [ gen ( S [ K ] , [ R ] , W ( R ) ) ] (130)
≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) | W ‾ ( r − 1 ) ) + E W ‾ ( R ) [ log E S k [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] ] (131) \le\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\middle|\overline{W}^{(r-1)}\right)+\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}_{S_k}\left[e^{\phi(S_{k,r},S_{k,r}',\overline{W}^{(R)})}\right]\right]\right] \tag*{(131)} ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) W ( r − 1 ) ) + E W ( R ) [ log E S k [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] ] (131)
= 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) | W ‾ ( r − 1 ) ) + E W ‾ ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] ] (132) = \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\middle|\overline{W}^{(r-1)}\right)+\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}_{S_{k,r}}\left[e^{\phi(S_{k,r},S_{k,r}',\overline{W}^{(R)})}\right]\right]\right] \tag*{(132)} = K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) W ( r − 1 ) ) + E W ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] ] (132)
≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) | W ‾ ( r − 1 ) ) + λ k , r 2 ∥ c k , r ∥ 2 τ k , min 8 N R ] (133) \le\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};W_k^{(r)}\middle|\overline{W}^{(r-1)}\right)+\frac{\lambda_{k,r}^{2}\lVert c_{k,r}\rVert^{2}\tau_{k,\min}}{8N_R}\right] \tag*{(133)} ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) W ( r − 1 ) ) + 8 N R λ k , r 2 ∥ c k , r ∥ 2 τ k , m i n ] (133)
= 2 B ( 1 + 2 ρ ) + log d K R ∑ k = 1 K ∑ r = 1 R τ k , min I ( S k , r ; W k ( r ) | W ‾ ( r − 1 ) ) 2 N R T , (134) = \frac{2B(1+2\rho)+\log d}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\sqrt{\frac{\tau_{k,\min}I\left(S_{k,r};W_k^{(r)}\middle|\overline{W}^{(r-1)}\right)}{2N_RT}} , \tag*{(134)} = K R 2 B ( 1 + 2 ρ ) + log d k = 1 ∑ K r = 1 ∑ R 2 N R T τ k , m i n I ( S k , r ; W k ( r ) W ( r − 1 ) ) , (134)
The optimization is attained by choosing
λ k , r = 8 N R T I ( S k , r ; W k ( r ) | W ‾ ( r − 1 ) ) ∥ c k , r ∥ 2 τ k , min , (135) \lambda_{k,r}=\sqrt{\frac{8N_RT I\left(S_{k,r};W_k^{(r)}\middle|\overline{W}^{(r-1)}\right)}{\lVert c_{k,r}\rVert^{2}\tau_{k,\min}}}, \tag*{(135)} λ k , r = ∥ c k , r ∥ 2 τ k , m i n 8 N R T I ( S k , r ; W k ( r ) W ( r − 1 ) ) , (135)
Finally, using N R = N / R N_R=N/R N R = N / R gives the bound in Theorem 1, completing the proof.
Proof of Theorem 2
We follow the argument used for the lossless bound, replacing the final aggregated model by its lossy counterpart. Fix a collection of approximation kernels satisfying the distortion constraints in (28) , and let U U U be the auxiliary random variable, independent of the data and of the learning process. For each client k k k and round r r r , let S k , r ′ S'_{k,r} S k , r ′ be an independent copy of S k , r S_{k,r} S k , r . Throughout the proof, λ k , r > 0 \lambda_{k,r} > 0 λ k , r > 0 is arbitrary.
By the definition of the generalization gap and the distortion constraint, we obtain
E [ gen ( S [ K ] , W ‾ ( R ) ) ] = 1 K R ∑ k = 1 K ∑ r = 1 R E [ gen ( S k , r , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R E [ gen ( S k , r , W ^ k ( R , r ) ) ] + ϵ = 1 K R ∑ k = 1 K ∑ r = 1 R E [ L ( W ^ k ( R , r ) ) − L ^ ( S k , r , W ^ k ( R , r ) ) ] + ϵ = 1 K R ∑ k = 1 K ∑ r = 1 R 1 N R ∑ n = 1 N R E [ E S k , r ′ ( n ) ∼ μ k [ ℓ ( S k , r ′ ( n ) , W ^ k ( R , r ) ) ] − ℓ ( S k , r ( n ) , W ^ k ( R , r ) ) ] + ϵ . (136) \begin{aligned}
\mathbb{E}\left[\operatorname{gen}(S_{[K]}, \overline{W}^{(R)})\right]
&= \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\mathbb{E}\left[\operatorname{gen}(S_{k,r}, \overline{W}^{(R)})\right] \\
&\le\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\mathbb{E}\left[\operatorname{gen}(S_{k,r}, \widehat{W}_{k}^{(R,r)})\right] + \epsilon\\
&= \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\mathbb{E}\left[\mathcal{L}(\widehat{W}_{k}^{(R,r)})-\widehat{\mathcal{L}}(S_{k,r},\widehat{W}_{k}^{(R,r)})\right] + \epsilon\\
&= \frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{N_R}\sum_{n=1}^{N_R}\mathbb{E}\left[\mathbb{E}_{S'^{(n)}_{k,r}\sim\mu_k}\left[\ell(S'^{(n)}_{k,r},\widehat{W}_{k}^{(R,r)})\right]-\ell(S^{(n)}_{k,r},\widehat{W}_{k}^{(R,r)})\right] + \epsilon. \tag*{(136)}
\end{aligned} E [ gen ( S [ K ] , W ( R ) ) ] = K R 1 k = 1 ∑ K r = 1 ∑ R E [ gen ( S k , r , W ( R ) ) ] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R E [ gen ( S k , r , W k ( R , r ) ) ] + ϵ = K R 1 k = 1 ∑ K r = 1 ∑ R E [ L ( W k ( R , r ) ) − L ( S k , r , W k ( R , r ) ) ] + ϵ = K R 1 k = 1 ∑ K r = 1 ∑ R N R 1 n = 1 ∑ N R E [ E S k , r ′ ( n ) ∼ μ k [ ℓ ( S k , r ′ ( n ) , W k ( R , r ) ) ] − ℓ ( S k , r ( n ) , W k ( R , r ) ) ] + ϵ . (136)
For notational convenience, introduce the centered trajectory loss
ϕ ( S k , r ( n ) , W ^ k ( R , r ) ) : = λ k , r ( E S k , r ′ ( n ) ∼ μ k [ ℓ ( S k , r ′ ( n ) , W ^ k ( R , r ) ) ] − ℓ ( S k , r ( n ) , W ^ k ( R , r ) ) ) . (137) \phi(S_{k,r}^{(n)},\widehat{W}_{k}^{(R,r)}) := \lambda_{k,r}\left(\mathbb{E}_{S'^{(n)}_{k,r}\sim\mu_k}\left[\ell(S'^{(n)}_{k,r},\widehat{W}_{k}^{(R,r)})\right]-\ell(S_{k,r}^{(n)},\widehat{W}_{k}^{(R,r)})\right). \tag*{(137)} ϕ ( S k , r ( n ) , W k ( R , r ) ) := λ k , r ( E S k , r ′ ( n ) ∼ μ k [ ℓ ( S k , r ′ ( n ) , W k ( R , r ) ) ] − ℓ ( S k , r ( n ) , W k ( R , r ) ) ) . (137)
The expectation in (136) may therefore be taken with respect to the joint law of S k , r S_{k,r} S k , r , W ^ k ( R , r ) \widehat{W}_{k}^{(R,r)} W k ( R , r ) , W ‾ ( r − 1 ) \overline{W}^{(r-1)} W ( r − 1 ) , W [ K ] ∖ k ( r ) W_{[K]\setminus k}^{(r)} W [ K ] ∖ k ( r ) , and U U U . Applying the Donsker–Varadhan inequality, as in (73) –(74) , conditionally on ( W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) (\overline{W}^{(r-1)}, W_{[K]\setminus k}^{(r)}, U) ( W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) gives
E [ gen ( S [ K ] , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W ^ k ( R , r ) | W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + E W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U , W ^ k ( R , r ) log E S k , r exp { 1 N R ∑ n = 1 N R ϕ ( S k , r ( n ) , W ^ k ( R , r ) ) } ] + ϵ . (138) \begin{aligned}
\mathbb{E}\left[\operatorname{gen}(S_{[K]},\overline{W}^{(R)})\right]
&\le\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\middle|\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right)\right.\\
&\qquad\left. + \mathbb{E}_{\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U,\widehat{W}_{k}^{(R,r)}}\log\mathbb{E}_{S_{k,r}}\exp\left\{\frac{1}{N_R}\sum_{n=1}^{N_R}\phi(S_{k,r}^{(n)},\widehat{W}_{k}^{(R,r)})\right\}\right] + \epsilon. \tag*{(138)}
\end{aligned} E [ gen ( S [ K ] , W ( R ) ) ] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( R , r ) W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + E W ( r − 1 ) , W [ K ] ∖ k ( r ) , U , W k ( R , r ) log E S k , r exp { N R 1 n = 1 ∑ N R ϕ ( S k , r ( n ) , W k ( R , r ) ) } ] + ϵ . (138)
Here the reference law P S k , r P_{S_{k,r}} P S k , r is justified by the independence of the current dataset from ( W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) (\overline{W}^{(r-1)}, W_{[K]\setminus k}^{(r)}, U) ( W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) . Equivalently, the divergence term in the conditional Donsker–Varadhan step is
E [ D ( P S k , r ∣ W ^ k ( R , r ) , W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ∥ P S k , r ) ] = I ( S k , r ; W ^ k ( R , r ) | W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) . \mathbb{E}\left[D\left(P_{S_{k,r}\mid\widehat{W}_{k}^{(R,r)},\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U}\middle\|P_{S_{k,r}}\right)\right]
= I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\middle|\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right). E [ D ( P S k , r ∣ W k ( R , r ) , W ( r − 1 ) , W [ K ] ∖ k ( r ) , U P S k , r ) ] = I ( S k , r ; W k ( R , r ) W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) .
Since S k , r S_{k,r} S k , r is independent of ( W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) \left(\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right) ( W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) , the chain rule reduces this information term to
I ( S k , r ; W ^ k ( R , r ) , W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) = I ( S k , r ; W ^ k ( R , r ) ∣ W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) . (139) I\left(S_{k,r};\widehat{W}_{k}^{(R,r)},\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right)
=I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right). \tag*{(139)} I ( S k , r ; W k ( R , r ) , W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) = I ( S k , r ; W k ( R , r ) ∣ W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) . (139)
Moreover, the N R N_R N R trajectories collected within a client and round are independent under the reference law. Consequently, the logarithmic moment-generating function in (138) factorizes across trajectories, yielding
E [ gen ( S [ K ] , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W ^ k ( R , r ) ∣ W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + E W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U , W ^ k ( R , r ) log E S k , r ( n ) exp { ϕ ( S k , r ( n ) , W ^ k ( R , r ) ) N R } ] + ϵ . (140) \mathbb{E}\left[\operatorname{gen}\left(S_{[K]},\overline{W}^{(R)}\right)\right]\leq\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right)
+\mathbb{E}_{\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U,\widehat{W}_{k}^{(R,r)}}\log\mathbb{E}_{S_{k,r}^{(n)}}\exp\left\{\frac{\phi\left(S_{k,r}^{(n)},\widehat{W}_{k}^{(R,r)}\right)}{N_R}\right\}\right]+\epsilon. \tag*{(140)} E [ gen ( S [ K ] , W ( R ) ) ] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 I ( S k , r ; W k ( R , r ) ∣ W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + E W ( r − 1 ) , W [ K ] ∖ k ( r ) , U , W k ( R , r ) log E S k , r ( n ) exp ⎩ ⎨ ⎧ N R ϕ ( S k , r ( n ) , W k ( R , r ) ) ⎭ ⎬ ⎫ + ϵ . (140)
Using log ∏ n a n = ∑ n log a n \log\prod_n a_n=\sum_n\log a_n log ∏ n a n = ∑ n log a n gives the equivalent form
E [ gen ( S [ K ] , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W ^ k ( R , r ) ∣ W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + ∑ n = 1 N R E W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U , W ^ k ( R , r ) log E S k , r ( n ) exp { ϕ ( S k , r ( n ) , W ^ k ( R , r ) ) N R } ] + ϵ . (141) \mathbb{E}\left[\operatorname{gen}\left(S_{[K]},\overline{W}^{(R)}\right)\right]\leq\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right)
+\sum_{n=1}^{N_R}\mathbb{E}_{\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U,\widehat{W}_{k}^{(R,r)}}\log\mathbb{E}_{S_{k,r}^{(n)}}\exp\left\{\frac{\phi\left(S_{k,r}^{(n)},\widehat{W}_{k}^{(R,r)}\right)}{N_R}\right\}\right]+\epsilon. \tag*{(141)} E [ gen ( S [ K ] , W ( R ) ) ] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 I ( S k , r ; W k ( R , r ) ∣ W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + n = 1 ∑ N R E W ( r − 1 ) , W [ K ] ∖ k ( r ) , U , W k ( R , r ) log E S k , r ( n ) exp ⎩ ⎨ ⎧ N R ϕ ( S k , r ( n ) , W k ( R , r ) ) ⎭ ⎬ ⎫ + ϵ . (141)
It remains to control the moment-generating function. For each fixed realization of W ^ k ( R , r ) \widehat{W}_{k}^{(R,r)} W k ( R , r ) , the same bounded-difference argument used in the proof of Theorem 1 applies to the trajectory loss. Provided the approximate models satisfy the same bounded-output assumption, the Markov-chain McDiarmid inequality gives
∑ n = 1 N R E log E S k , r ( n ) [ exp { ϕ ( S k , r ( n ) , W ^ k ( R , r ) ) N R } ] ≤ λ k , r 2 ∥ c k , r ∥ 2 τ k , min 8 N R , (142) \sum_{n=1}^{N_R}\mathbb{E}\log\mathbb{E}_{S_{k,r}^{(n)}}\left[\exp\left\{\frac{\phi\left(S_{k,r}^{(n)},\widehat{W}_{k}^{(R,r)}\right)}{N_R}\right\}\right]\leq\frac{\lambda_{k,r}^{2}\lVert c_{k,r}\rVert^{2}\tau_{k,\min}}{8N_R}, \tag*{(142)} n = 1 ∑ N R E log E S k , r ( n ) exp ⎩ ⎨ ⎧ N R ϕ ( S k , r ( n ) , W k ( R , r ) ) ⎭ ⎬ ⎫ ≤ 8 N R λ k , r 2 ∥ c k , r ∥ 2 τ k , m i n , (142)
where ∥ c k , r ∥ 2 ≤ ( 2 B ( 1 + 2 ρ ) + log d ) 2 / T \lVert c_{k,r}\rVert^{2}\leq\left(2B(1+2\rho)+\log d\right)^{2}/T ∥ c k , r ∥ 2 ≤ ( 2 B ( 1 + 2 ρ ) + log d ) 2 / T . Inserting this estimate into (139) and minimizing each summand over λ k , r > 0 \lambda_{k,r}>0 λ k , r > 0 , with
λ k , r = 8 N R I ( S k , r ; W ^ k ( R , r ) ∣ W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) ∥ c k , r ∥ 2 τ k , min , (143) \lambda_{k,r}=\sqrt{\frac{8N_R I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right)}{\lVert c_{k,r}\rVert^{2}\tau_{k,\min}}}, \tag*{(143)} λ k , r = ∥ c k , r ∥ 2 τ k , m i n 8 N R I ( S k , r ; W k ( R , r ) ∣ W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) , (143)
we obtain
E [ gen ( S [ K ] , W ‾ ( R ) ) ] ≤ 2 B ( 1 + 2 ρ ) + log d K R ∑ k = 1 K ∑ r = 1 R τ k , min 2 N R T I ( S k , r ; W ^ k ( R , r ) ∣ W ‾ ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + ϵ . (144) \mathbb{E}\left[\operatorname{gen}\left(S_{[K]},\overline{W}^{(R)}\right)\right]
\leq\frac{2B(1+2\rho)+\log d}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\sqrt{\frac{\tau_{k,\min}}{2N_R T}I\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\overline{W}^{(r-1)},W_{[K]\setminus k}^{(r)},U\right)}+\epsilon. \tag*{(144)} E [ gen ( S [ K ] , W ( R ) ) ] ≤ K R 2 B ( 1 + 2 ρ ) + log d k = 1 ∑ K r = 1 ∑ R 2 N R T τ k , m i n I ( S k , r ; W k ( R , r ) ∣ W ( r − 1 ) , W [ K ] ∖ k ( r ) , U ) + ϵ . (144)
Finally, using N R = N / R N_R=N/R N R = N / R and taking the infimum over the admissible approximation kernels gives the asserted rate-distortion bound, provided the rate-distortion function is defined with the same conditioning on U U U and the admissible kernels satisfy the stated distortion constraints. This completes the proof.
Proof of Theorem 4
Let assume that assumptions in appendix A holds then For ease of notation, let denote the variables
m = ⌈ 63 ( C ⋅ t ⋅ ρ K ϵ 1 ) 2 log ( d N K T ) ⌉ , (145) m=\left\lceil63\left(\frac{C\cdot t\cdot\rho}{K\epsilon_1}\right)^2\log(dNKT)\right\rceil, \tag*{(145)} m = ⌈ 63 ( K ϵ 1 C ⋅ t ⋅ ρ ) 2 log ( d N K T ) ⌉ , (145)
c 1 = q e , b ( R − r ) K 2 ϵ 1 2 C 2 t 2 + 1 , ν = t 2 c 1 (146) c_1=q_{e,b}^{(R-r)}\sqrt{\frac{K^2\epsilon_1^2}{C^2t^2}+1},\qquad\nu=\frac{t}{2c_1} \tag*{(146)} c 1 = q e , b ( R − r ) C 2 t 2 K 2 ϵ 1 2 + 1 , ν = 2 c 1 t (146)
c 2 = K 2 ϵ 1 2 C 2 t 2 + 1 , ϵ 1 = θ 2 (147) c_2=\sqrt{\frac{K^2\epsilon_1^2}{C^2t^2}+1},\qquad\epsilon_1=\frac{\theta}{2} \tag*{(147)} c 2 = C 2 t 2 K 2 ϵ 1 2 + 1 , ϵ 1 = 2 θ (147)
where t ≥ q e , b ( R − r ) t\ge q_{e,b}^{(R-r)} t ≥ q e , b ( R − r ) . We use an extension of Theorem 2, that it can be derive easily with the same manner. To prove this Theorem, let ϵ k , r \epsilon_{k,r} ϵ k , r for all k ∈ [ K ] k\in[K] k ∈ [ K ] and r ∈ [ R ] r\in[R] r ∈ [ R ] such that satisfies the equation (28) . Fix a k ∈ [ K ] k\in[K] k ∈ [ K ] and r ∈ [ R ] r\in[R] r ∈ [ R ] . We upper bound the rate-distortion term R D ( k , r , ϵ ) R_D(k,r,\epsilon) R D ( k , r , ϵ ) , defined in (27) . To this end, let V k ( r ) V_k^{(r)} V k ( r ) denotes all randomness in r r r -th round for client k k k , i.e., given S k ( r ) S_k^{(r)} S k ( r ) , all mini-batches { B k , r , t } t \{B_{k,r,t}\}_t { B k , r , t } t will be fixed. We define a proper
P W ^ k ( R , r ) ∣ S k , r , B k , r , (148) P_{\widehat{W}_k^{(R,r)}\mid S_{k,r},\mathcal{B}_{k,r}}, \tag*{(148)} P W k ( R , r ) ∣ S k , r , B k , r , (148)
that satisfy condition 27, where
B k , r = ( V k ( r ) , W ‾ ( r − 1 ) , W ‾ [ K ] / k ( r ) , S [ K ] [ r + 1 : R ] , V [ K ] [ r + 1 : R ] ) . (149) \mathcal{B}_{k,r}=\left(V_k^{(r)},\overline{W}^{(r-1)},\overline{W}_{[K]/k}^{(r)},S_{[K]}^{[r+1:R]},V_{[K]}^{[r+1:R]}\right). \tag*{(149)} B k , r = ( V k ( r ) , W ( r − 1 ) , W [ K ] / k ( r ) , S [ K ] [ r + 1 : R ] , V [ K ] [ r + 1 : R ] ) . (149)
For simplicity, let
U k , r = ( W [ K ] / k ( r ) , S [ K ] [ r + 1 : R ] , V [ K ] [ r + 1 : R ] ) . (150) \mathcal{U}_{k,r}=\left(W_{[K]/k}^{(r)},S_{[K]}^{[r+1:R]},V_{[K]}^{[r+1:R]}\right). \tag*{(150)} U k , r = ( W [ K ] / k ( r ) , S [ K ] [ r + 1 : R ] , V [ K ] [ r + 1 : R ] ) . (150)
To define P W ^ k ( R , r ) ∣ S k , r , B k , r P_{\widehat{W}_k^{(R,r)}\mid S_{k,r},\mathcal{B}_{k,r}} P W k ( R , r ) ∣ S k , r , B k , r , first we define P W ^ k ( R , r ) ∣ W k ( r ) , U k , r P_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{U}_{k,r}} P W k ( R , r ) ∣ W k ( r ) , U k , r . Then, we let
P W ^ k ( R , r ) ∣ W k ( r ) , B k , r , S k , r = P W ^ k ( R , r ) ∣ W k ( r ) , U k , r . (151) P_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{B}_{k,r},S_{k,r}}=P_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{U}_{k,r}}. \tag*{(151)} P W k ( R , r ) ∣ W k ( r ) , B k , r , S k , r = P W k ( R , r ) ∣ W k ( r ) , U k , r . (151)
Now, we have
P W ^ k ( R , r ) ∣ S k , r , B k , r = E W k ( r ) ∼ P W k ( r ) ∣ S k , r , V k ( r ) , W ‾ ( r − 1 ) [ P W ^ ( R , r ) ∣ W k ( r ) , U k , r ] . (152) P_{\widehat{W}_k^{(R,r)}\mid S_{k,r},\mathcal{B}_{k,r}}=\mathbb{E}_{W_k^{(r)}\sim P_{W_k^{(r)}\mid S_{k,r},V_k^{(r)},\overline{W}^{(r-1)}}\left[P_{\widehat{W}^{(R,r)}\mid W_k^{(r)},\mathcal{U}_{k,r}}\right].} \tag*{(152)} P W k ( R , r ) ∣ S k , r , B k , r = E W k ( r ) ∼ P W k ( r ) ∣ S k , r , V k ( r ) , W ( r − 1 ) [ P W ( R , r ) ∣ W k ( r ) , U k , r ] . (152)
Note that P W ^ k ( r ) ∣ S k , r , B k , r = P W k ( r ) ∣ S k , r , V k ( r ) , W ‾ ( r − 1 ) P_{\widehat{W}_k^{(r)}\mid S_{k,r},\mathcal{B}_{k,r}}=P_{W_k^{(r)}\mid S_{k,r},V_k^{(r)},\overline{W}^{(r-1)}} P W k ( r ) ∣ S k , r , B k , r = P W k ( r ) ∣ S k , r , V k ( r ) , W ( r − 1 ) . We proceed to define P W ^ k ( R , r ) ∣ W k ( r ) , I k , r P_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{I}_{k,r}} P W k ( R , r ) ∣ W k ( r ) , I k , r .
Consider an integer m ∈ N m\in\mathbb{N} m ∈ N . Fix an I k , r \mathcal{I}_{k,r} I k , r , i.e., fix w [ K ] ( r ) w_{[K]}^{(r)} w [ K ] ( r ) , ( s [ K ] [ r + 1 : R ] , v [ K ] [ r + 1 : R ] ) \left(s_{[K]}^{[r+1:R]},v_{[K]}^{[r+1:R]}\right) ( s [ K ] [ r + 1 : R ] , v [ K ] [ r + 1 : R ] ) and consequently all mini-batches
{ B k , r ′ , t } k ∈ [ K ] , r ′ ∈ [ r + 1 : R ] , t ∈ [ ρ ] . (153) \{\mathcal{B}_{k,r',t}\}_{k\in[K],r'\in[r+1:R],t\in[\rho]}. \tag*{(153)} { B k , r ′ , t } k ∈ [ K ] , r ′ ∈ [ r + 1 : R ] , t ∈ [ ρ ] . (153)
Assume the aggregated model at round ( r ) (r) ( r ) to be
w ‾ k ( r ) , ⋆ = 1 K ∑ j ≠ k w j ( r ) . (154) \overline{w}_k^{(r),\star}=\frac{1}{K}\sum_{j\ne k}w_j^{(r)}. \tag*{(154)} w k ( r ) , ⋆ = K 1 j = k ∑ w j ( r ) . (154)
Then, with this aggregated model at step ( r ) (r) ( r ) , and the considered fixed I k , r \mathcal{I}_{k,r} I k , r , if r < R r<R r < R , consider all the induced D ( w ‾ ( r ′ − 1 ) , { B j , r ′ , t } j , t ) ⋆ D^\star_{(\overline{w}^{(r'-1)},\{\mathcal{B}_{j,r',t}\}_{j,t})} D ( w ( r ′ − 1 ) , { B j , r ′ , t } j , t ) ⋆ for j ∈ [ K ] j\in[K] j ∈ [ K ] , r ′ ∈ [ r + 1 : R ] r'\in[r+1:R] r ′ ∈ [ r + 1 : R ] . Denote
D r ′ ⋆ : = 1 K ∑ k ∈ [ K ] D ( w ‾ ( r ′ − 1 ) , { B k , r ′ , t } ) ⋆ , r ′ ∈ [ r + 1 : R ] , D_{r'}^\star:=\frac{1}{K}\sum_{k\in[K]}D^\star_{(\overline{w}^{(r'-1)},\{\mathcal{B}_{k,r',t}\})},\qquad r'\in[r+1:R], D r ′ ⋆ := K 1 k ∈ [ K ] ∑ D ( w ( r ′ − 1 ) , { B k , r ′ , t }) ⋆ , r ′ ∈ [ r + 1 : R ] ,
D ⋆ : = ∏ r ′ ∈ [ r + 1 : R ] D r ′ ⋆ . (155) D^\star:=\prod_{r'\in[r+1:R]}D_{r'}^\star. \tag*{(155)} D ⋆ := r ′ ∈ [ r + 1 : R ] ∏ D r ′ ⋆ . (155)
Denote also the resulting global model as w ‾ k ( R ) , ⋆ \overline{w}_k^{(R),\star} w k ( R ) , ⋆ . If r = R r=R r = R , let D ⋆ = I d D^\star=I_d D ⋆ = I d , where I d I_d I d is the identity matrix.
It is easy to verify that
E S , V , W , W ^ k ( R , r ) [ gen k , θ ( S k , r , W ‾ ( R ) ) − gen k , 0 ( S k , r , W ^ k ( R , r ) ) ] = E S k , r , W k ( r ) , I k , r , W ‾ ( R ) E W ^ k ( R , r ) ∣ W k ( r ) , I k , r [ gen k , θ ( S k , r , W ‾ ( R ) ) − gen k , 0 ( S k , r , W ^ k ( R , r ) ) ] = E W k ( r ) , I k , r , W ‾ ( R ) E W ^ k ( R , r ) ∣ W k ( r ) , I k , r E Z k ∼ μ k [ L k , θ / 2 ( W ‾ ( R ) ) − L k , 0 ( W ^ k ( R , r ) ) ] − E S k , r , W k ( r ) , I k , r , W ‾ ( R ) E W ^ k ( R , r ) ∣ W k ( r ) , I k , r [ L ^ k , θ / 2 ( S k , r , W ‾ ( R ) ) − L ^ k , 0 ( S k , r , W ^ k ( R , r ) ) ] = E S k , r , W ‾ ( R ) [ 1 T ∑ t ∈ [ T ] 1 { log C 1 ( W ‾ ( R ) , t , X ⃗ k , r ) C 2 ( W ‾ ( R ) , t , X ⃗ k , r ) < − θ / 2 } ] − E S k , r , W ^ k ( R , r ) [ 1 T ∑ t ∈ [ T ] 1 { log C 1 ( W ^ k ( R , r ) , t , X ⃗ k , r ) C 2 ( W ‾ k ( R ) , t , X ⃗ k , r ) < 0 } ] + E S k , r , W ^ k ( R , r ) [ 1 N R ∑ n ∈ [ N R ] [ 1 T ∑ t ∈ [ T ] 1 { log C 1 , n ( W ^ k ( R , r ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ^ k ( R , r ) , t , X ⃗ k , r ( n ) ) < 0 } ] ] − E S k , r , W ‾ ( R ) [ 1 N R ∑ n ∈ [ N R ] [ 1 T ∑ t ∈ [ T ] 1 { log C 1 , n ( W ‾ ( R ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ‾ ( R ) , t , X ⃗ k , r ( n ) ) < θ / 2 } ] ] . (156) \begin{aligned}
\mathbb{E}_{S,V,W,\widehat{W}_k^{(R,r)}}\left[\operatorname{gen}_{k,\theta}(S_{k,r},\overline{W}^{(R)})-\operatorname{gen}_{k,0}(S_{k,r},\widehat{W}_k^{(R,r)})\right]
={}&\mathbb{E}_{S_{k,r},W_k^{(r)},\mathcal{I}_{k,r},\overline{W}^{(R)}}\mathbb{E}_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{I}_{k,r}}\left[\operatorname{gen}_{k,\theta}(S_{k,r},\overline{W}^{(R)})-\operatorname{gen}_{k,0}(S_{k,r},\widehat{W}_k^{(R,r)})\right]\\
={}&\mathbb{E}_{W_k^{(r)},\mathcal{I}_{k,r},\overline{W}^{(R)}}\mathbb{E}_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{I}_{k,r}}\mathbb{E}_{Z_k\sim\mu_k}\left[\mathcal{L}_{k,\theta/2}(\overline{W}^{(R)})-\mathcal{L}_{k,0}(\widehat{W}_k^{(R,r)})\right]\\
&-\mathbb{E}_{S_{k,r},W_k^{(r)},\mathcal{I}_{k,r},\overline{W}^{(R)}}\mathbb{E}_{\widehat{W}_k^{(R,r)}\mid W_k^{(r)},\mathcal{I}_{k,r}}\left[\widehat{\mathcal{L}}_{k,\theta/2}(S_{k,r},\overline{W}^{(R)})-\widehat{\mathcal{L}}_{k,0}(S_{k,r},\widehat{W}_k^{(R,r)})\right]\\
={}&\mathbb{E}_{S_{k,r},\overline{W}^{(R)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\log\frac{C_1(\overline{W}^{(R)},t,\vec{X}_{k,r})}{C_2(\overline{W}^{(R)},t,\vec{X}_{k,r})}<-\theta/2\right\}\right] \\
&-\mathbb{E}_{S_{k,r},\widehat{W}_k^{(R,r)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\log\frac{C_1(\widehat{W}_k^{(R,r)},t,\vec{X}_{k,r})}{C_2(\overline{W}_k^{(R)},t,\vec{X}_{k,r})}<0\right\}\right] \\
&+\mathbb{E}_{S_{k,r},\widehat{W}_k^{(R,r)}}\left[\frac{1}{N_R}\sum_{n\in[N_R]}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\log\frac{C_{1,n}(\widehat{W}_k^{(R,r)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\widehat{W}_k^{(R,r)},t,\vec{X}_{k,r}^{(n)})}<0\right\}\right]\right] \\
&-\mathbb{E}_{S_{k,r},\overline{W}^{(R)}}\left[\frac{1}{N_R}\sum_{n\in[N_R]}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\log\frac{C_{1,n}(\overline{W}^{(R)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\overline{W}^{(R)},t,\vec{X}_{k,r}^{(n)})}<\theta/2\right\}\right]\right]. \tag*{(156)}
\end{aligned} E S , V , W , W k ( R , r ) [ gen k , θ ( S k , r , W ( R ) ) − gen k , 0 ( S k , r , W k ( R , r ) ) ] = = = E S k , r , W k ( r ) , I k , r , W ( R ) E W k ( R , r ) ∣ W k ( r ) , I k , r [ gen k , θ ( S k , r , W ( R ) ) − gen k , 0 ( S k , r , W k ( R , r ) ) ] E W k ( r ) , I k , r , W ( R ) E W k ( R , r ) ∣ W k ( r ) , I k , r E Z k ∼ μ k [ L k , θ /2 ( W ( R ) ) − L k , 0 ( W k ( R , r ) ) ] − E S k , r , W k ( r ) , I k , r , W ( R ) E W k ( R , r ) ∣ W k ( r ) , I k , r [ L k , θ /2 ( S k , r , W ( R ) ) − L k , 0 ( S k , r , W k ( R , r ) ) ] E S k , r , W ( R ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W ( R ) , t , X k , r ) C 1 ( W ( R ) , t , X k , r ) < − θ /2 } − E S k , r , W k ( R , r ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W k ( R ) , t , X k , r ) C 1 ( W k ( R , r ) , t , X k , r ) < 0 } + E S k , r , W k ( R , r ) N R 1 n ∈ [ N R ] ∑ T 1 t ∈ [ T ] ∑ 1 { log C 2 , n ( W k ( R , r ) , t , X k , r ( n ) ) C 1 , n ( W k ( R , r ) , t , X k , r ( n ) ) < 0 } − E S k , r , W ( R ) N R 1 n ∈ [ N R ] ∑ T 1 t ∈ [ T ] ∑ 1 ⎩ ⎨ ⎧ log C 2 , n ( W ( R ) , t , X k , r ( n ) ) C 1 , n ( W ( R ) , t , X k , r ( n ) ) < θ /2 ⎭ ⎬ ⎫ . (156)
≤ E s k , r , W ‾ ( R ) [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 ( W ‾ ( R ) , t , X ~ k , r ) C 2 ( W ‾ ( R ) , t , X ~ k , r ) − log C 1 ( W ^ ( R , r ) , t , X ~ k , r ) C 2 ( W ^ ( R , r ) , t , X ~ k , r ) ∣ ≥ θ 2 } ] (157) \leq\mathbb{E}_{s_{k,r},\overline{W}^{(R)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_1(\overline{W}^{(R)},t,\widetilde{X}_{k,r})}{C_2(\overline{W}^{(R)},t,\widetilde{X}_{k,r})}-\log\frac{C_1(\widehat{W}^{(R,r)},t,\widetilde{X}_{k,r})}{C_2(\widehat{W}^{(R,r)},t,\widetilde{X}_{k,r})}\right|\geq\frac{\theta}{2}\right\}\right] \tag*{(157)} ≤ E s k , r , W ( R ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W ( R ) , t , X k , r ) C 1 ( W ( R ) , t , X k , r ) − log C 2 ( W ( R , r ) , t , X k , r ) C 1 ( W ( R , r ) , t , X k , r ) ≥ 2 θ } (157)
+ E s k , r , W ^ k ( R , r ) [ 1 N R ∑ n ∈ [ N R ] [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 , n ( W ^ k ( R , r ) , t , X ~ k , r ( n ) ) C 2 , n ( W ^ k ( R , r ) , t , X ~ k , r ( n ) ) − log C 1 , n ( W ‾ ( R ) , t , X ~ k , r ( n ) ) C 2 , n ( W ‾ ( R ) , t , X ~ k , r ( n ) ) ∣ ≥ θ 2 } ] ] (158) +\mathbb{E}_{s_{k,r},\widehat{W}^{(R,r)}_k}\left[\frac{1}{N_R}\sum_{n\in[N_R]}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_{1,n}(\widehat{W}^{(R,r)}_k,t,\widetilde{X}^{(n)}_{k,r})}{C_{2,n}(\widehat{W}^{(R,r)}_k,t,\widetilde{X}^{(n)}_{k,r})}-\log\frac{C_{1,n}(\overline{W}^{(R)},t,\widetilde{X}^{(n)}_{k,r})}{C_{2,n}(\overline{W}^{(R)},t,\widetilde{X}^{(n)}_{k,r})}\right|\geq\frac{\theta}{2}\right\}\right]\right] \tag*{(158)} + E s k , r , W k ( R , r ) N R 1 n ∈ [ N R ] ∑ T 1 t ∈ [ T ] ∑ 1 ⎩ ⎨ ⎧ log C 2 , n ( W k ( R , r ) , t , X k , r ( n ) ) C 1 , n ( W k ( R , r ) , t , X k , r ( n ) ) − log C 2 , n ( W ( R ) , t , X k , r ( n ) ) C 1 , n ( W ( R ) , t , X k , r ( n ) ) ≥ 2 θ ⎭ ⎬ ⎫ (158)
: = ϵ A (159) :=\epsilon_A \tag*{(159)} := ϵ A (159)
Let
C 1 ( w , t , x ⃗ ) = p w ( x t ∣ x t − 1 , … , x t − ρ ) , (160) C_1(w,t,\vec{x})=p_w(x_t\mid x_{t-1},\ldots,x_{t-\rho}), \tag*{(160)} C 1 ( w , t , x ) = p w ( x t ∣ x t − 1 , … , x t − ρ ) , (160)
C 2 ( w , t , x ⃗ ) = max x t ′ ≠ x t p w ( x t ′ ∣ x t − 1 , … , x t − ρ ) . (161) C_2(w,t,\vec{x})=\max_{x'_t\ne x_t}p_w(x'_t\mid x_{t-1},\ldots,x_{t-\rho}). \tag*{(161)} C 2 ( w , t , x ) = x t ′ = x t max p w ( x t ′ ∣ x t − 1 , … , x t − ρ ) . (161)
Given the model w w w , we denote the corresponding matrices by M j w M_j^w M j w , where j ∈ [ ρ ] j\in[\rho] j ∈ [ ρ ] . Moreover, denote
u i , t : = E ( x i , t ) , u_{i,t}:=\mathcal{E}(x_{i,t}), u i , t := E ( x i , t ) ,
ℓ i , t : = ℓ , if u i , t = e ℓ . (162) \ell_{i,t}:=\ell,\ \text{if }u_{i,t}=e_\ell. \tag*{(162)} ℓ i , t := ℓ , if u i , t = e ℓ . (162)
In other words, ℓ i , t \ell_{i,t} ℓ i , t is the order of x i , t x_{i,t} x i , t in the dictionary. Define similar notation of ℓ i , t ′ \ell'_{i,t} ℓ i , t ′ . Denote also the element ( a 1 , a 2 ) ∈ [ d ] × [ d ] (a_1,a_2)\in[d]\times[d] ( a 1 , a 2 ) ∈ [ d ] × [ d ] of M j w M_j^w M j w by M j w [ a 1 , a 2 ] M_j^w[a_1,a_2] M j w [ a 1 , a 2 ] .
Then, we can write
C i , 1 ( w , t , x ⃗ ) = e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ i , t ] ∑ ℓ ∈ [ d ] e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ ] , C i , 2 ( w , t , x ⃗ ) = max ℓ i , t ′ ≠ ℓ i , t e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ i , t ′ ] ∑ ℓ ∈ [ d ] e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ ] . C_{i,1}(w,t,\vec{x})=\frac{e^{\sum_{j\in[\rho]}M_j^w[\ell_{i,t-j},\ell_{i,t}]}}{\sum_{\ell\in[d]}e^{\sum_{j\in[\rho]}M_j^w[\ell_{i,t-j},\ell]}},\qquad
C_{i,2}(w,t,\vec{x})=\frac{\max_{\ell'_{i,t}\ne\ell_{i,t}}e^{\sum_{j\in[\rho]}M_j^w[\ell_{i,t-j},\ell'_{i,t}]}}{\sum_{\ell\in[d]}e^{\sum_{j\in[\rho]}M_j^w[\ell_{i,t-j},\ell]}}. C i , 1 ( w , t , x ) = ∑ ℓ ∈ [ d ] e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ ] e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ i , t ] , C i , 2 ( w , t , x ) = ∑ ℓ ∈ [ d ] e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ ] max ℓ i , t ′ = ℓ i , t e ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ i , t ′ ] .
Hence,
log C i , 1 ( w , t , x ⃗ ) C i , 2 ( w , t , x ⃗ ) : = ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ i , t ] − max ℓ i , t ′ ≠ ℓ i , t ∑ j ∈ [ ρ ] M j w [ ℓ i , t − j , ℓ i , t ′ ] . (163) \log\frac{C_{i,1}(w,t,\vec{x})}{C_{i,2}(w,t,\vec{x})}:=\sum_{j\in[\rho]}M_j^w[\ell_{i,t-j},\ell_{i,t}]-\max_{\ell'_{i,t}\ne\ell_{i,t}}\sum_{j\in[\rho]}M_j^w[\ell_{i,t-j},\ell'_{i,t}]. \tag*{(163)} log C i , 2 ( w , t , x ) C i , 1 ( w , t , x ) := j ∈ [ ρ ] ∑ M j w [ ℓ i , t − j , ℓ i , t ] − ℓ i , t ′ = ℓ i , t max j ∈ [ ρ ] ∑ M j w [ ℓ i , t − j , ℓ i , t ′ ] . (163)
To express this term in the form of an inner product, given a model w w w , define
V ( w , r ) ≜ ( M 1 w [ 1 , r ] , M 1 w [ 2 , r ] , … , M 1 w [ d , r ] , … , M ρ w [ 1 , r ] , M ρ w [ 2 , r ] , … , M ρ w [ d , r ] ) ∈ R ρ d , V(w,r)\triangleq\left(M_1^w[1,r],M_1^w[2,r],\ldots,M_1^w[d,r],\ldots,M_\rho^w[1,r],M_\rho^w[2,r],\ldots,M_\rho^w[d,r]\right)\in\mathbb{R}^{\rho d}, V ( w , r ) ≜ ( M 1 w [ 1 , r ] , M 1 w [ 2 , r ] , … , M 1 w [ d , r ] , … , M ρ w [ 1 , r ] , M ρ w [ 2 , r ] , … , M ρ w [ d , r ] ) ∈ R ρ d ,
V ( x i , t − 1 : t − ρ ) ≜ ( u i , t − 1 , … , u i , t − ρ ) ∈ R ρ d . (164) V(x_{i,t-1:t-\rho})\triangleq\left(u_{i,t-1},\ldots,u_{i,t-\rho}\right)\in\mathbb{R}^{\rho d}. \tag*{(164)} V ( x i , t − 1 : t − ρ ) ≜ ( u i , t − 1 , … , u i , t − ρ ) ∈ R ρ d . (164)
With this definition, we have
log C i , 1 ( w , t , x ⃗ ) C i , 2 ( w , t , x ⃗ ) = ⟨ V ( w , ℓ i , t ) , V ( x i , t − 1 : t − ρ ) ⟩ − max ℓ i , t ′ ≠ ℓ i , t ⟨ V ( w , ℓ i , t ′ ) , V ( x i , t − 1 : t − ρ ) ⟩ . (165) \log\frac{C_{i,1}(w,t,\vec{x})}{C_{i,2}(w,t,\vec{x})}=\left\langle V(w,\ell_{i,t}),V(x_{i,t-1:t-\rho})\right\rangle-\max_{\ell'_{i,t}\ne\ell_{i,t}}\left\langle V(w,\ell'_{i,t}),V(x_{i,t-1:t-\rho})\right\rangle. \tag*{(165)} log C i , 2 ( w , t , x ) C i , 1 ( w , t , x ) = ⟨ V ( w , ℓ i , t ) , V ( x i , t − 1 : t − ρ ) ⟩ − ℓ i , t ′ = ℓ i , t max ⟨ V ( w , ℓ i , t ′ ) , V ( x i , t − 1 : t − ρ ) ⟩ . (165)
Thus,
D i , k , r , t : = ∣ log C 1 , i ( W ‾ ( R ) , t , X → k , r ) C 1 , 2 ( W ‾ ( R ) , t , X → k , r ) − log C 1 ( W ^ k ( R , r ) , t , X → k , r ) C 2 ( W ^ k ( R , r ) , t , X → k , r ) ∣ ≤ ∣ ⟨ V ( W ‾ ( R ) , ℓ i , t ) − V ( W ^ k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ + max ℓ i , t ′ ≠ ℓ i , t ∣ ⟨ V ( W ‾ ( R ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − max ℓ i , t ′ ≠ ℓ i , t ⟨ V ( W ^ k ( R , r ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≤ ∣ ⟨ V ( W ‾ ( R ) , ℓ i , t ) − V ( W ^ k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ + max ℓ i , t ′ ≠ ℓ i , t ∣ ⟨ V ( W ‾ ( R ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ V ( W ^ k ( R , r ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ = ∣ ⟨ V ( W ‾ ( R ) , ℓ i , t ) − V ( W ^ k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ + max ℓ i , t ′ ≠ ℓ i , t ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≤ 2 max ℓ i , t ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ . (166) \begin{aligned}
D_{i,k,r,t} &:= \left|\log\frac{C_{1,i}(\overline{W}^{(R)},t,\overrightarrow{X}_{k,r})}{C_{1,2}(\overline{W}^{(R)},t,\overrightarrow{X}_{k,r})}-\log\frac{C_{1}(\widehat{W}^{(R,r)}_{k},t,\overrightarrow{X}_{k,r})}{C_{2}(\widehat{W}^{(R,r)}_{k},t,\overrightarrow{X}_{k,r})}\right| \\
&\leq\left|\left\langle V(\overline{W}^{(R)},\ell_{i,t})-V(\widehat{W}^{(R,r)}_{k},\ell_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right| \\
&\quad+\max_{\ell'_{i,t}\ne\ell_{i,t}}\left|\left\langle V(\overline{W}^{(R)},\ell'_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle-\max_{\ell'_{i,t}\ne\ell_{i,t}}\left\langle V(\widehat{W}^{(R,r)}_{k},\ell'_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right| \\
&\leq\left|\left\langle V(\overline{W}^{(R)},\ell_{i,t})-V(\widehat{W}^{(R,r)}_{k},\ell_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right| \\
&\quad+\max_{\ell'_{i,t}\ne\ell_{i,t}}\left|\left\langle V(\overline{W}^{(R)},\ell'_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle-\left\langle V(\widehat{W}^{(R,r)}_{k},\ell'_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right| \\
&=\left|\left\langle V(\overline{W}^{(R)},\ell_{i,t})-V(\widehat{W}^{(R,r)}_{k},\ell_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right| \\
&\quad+\max_{\ell'_{i,t}\ne\ell_{i,t}}\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}^{(R,r)}_{k},\ell'_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right| \\
&\leq2\max_{\ell_{i,t}}\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}^{(R,r)}_{k},\ell_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|. \tag*{(166)}
\end{aligned} D i , k , r , t := log C 1 , 2 ( W ( R ) , t , X k , r ) C 1 , i ( W ( R ) , t , X k , r ) − log C 2 ( W k ( R , r ) , t , X k , r ) C 1 ( W k ( R , r ) , t , X k , r ) ≤ ⟨ V ( W ( R ) , ℓ i , t ) − V ( W k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ + ℓ i , t ′ = ℓ i , t max ⟨ V ( W ( R ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ℓ i , t ′ = ℓ i , t max ⟨ V ( W k ( R , r ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≤ ⟨ V ( W ( R ) , ℓ i , t ) − V ( W k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ + ℓ i , t ′ = ℓ i , t max ⟨ V ( W ( R ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ V ( W k ( R , r ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ = ⟨ V ( W ( R ) , ℓ i , t ) − V ( W k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ + ℓ i , t ′ = ℓ i , t max ⟨ V ( W ( R ) − W k ( R , r ) , ℓ i , t ′ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≤ 2 ℓ i , t max ⟨ V ( W ( R ) − W k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ . (166)
Note that V ( A D ∗ w k ( r ) , ℓ ) = A V ( D ∗ w k ( r ) , ℓ ) V(\mathrm{AD}*w^{(r)}_{k},\ell)=AV(\mathrm{D}*w^{(r)}_{k},\ell) V ( AD ∗ w k ( r ) , ℓ ) = A V ( D ∗ w k ( r ) , ℓ ) and ∑ ℓ ∈ [ d ] ∥ V ( w k ( r ) , ℓ ) ∥ 2 = ∥ w k ( r ) ∥ 2 \sum_{\ell\in[d]}\left\|V(w^{(r)}_{k},\ell)\right\|^{2}=\left\|w^{(r)}_{k}\right\|^{2} ∑ ℓ ∈ [ d ] V ( w k ( r ) , ℓ ) 2 = w k ( r ) 2 where A ∈ R m × p d A\in\mathbb{R}^{m\times pd} A ∈ R m × p d whose elements are distributed in an i.i.d. manner according to N ( 0 , 1 / m ) \mathcal{N}(0,1/m) N ( 0 , 1/ m ) . For any ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] and k ∈ [ K ] k\in[K] k ∈ [ K ] denote the event J ℓ , k ( r ) \mathcal{J}^{(r)}_{\ell,k} J ℓ , k ( r ) , that ∥ A V ( D ∗ w k ( r ) , ℓ ) ∥ > c 1 ∥ V ( w k ( r ) , ℓ ) ∥ \left\|AV(\mathrm{D}*w^{(r)}_{k},\ell)\right\|>c_{1}\left\|V(w^{(r)}_{k},\ell)\right\| A V ( D ∗ w k ( r ) , ℓ ) > c 1 V ( w k ( r ) , ℓ ) , where c 1 ∈ R + c_{1}\in\mathbb{R}_{+} c 1 ∈ R + , i.e.
J ℓ , k ( r ) : = 1 { ∥ A V ( D ∗ w k ( r ) , ℓ ) ∥ > c 1 ∥ V ( w k ( r ) , ℓ ) ∥ } . (167) \mathcal{J}^{(r)}_{\ell,k}:=\mathbb{1}\left\{\left\|AV(\mathrm{D}*w^{(r)}_{k},\ell)\right\|>c_{1}\left\|V(w^{(r)}_{k},\ell)\right\|\right\}. \tag*{(167)} J ℓ , k ( r ) := 1 { A V ( D ∗ w k ( r ) , ℓ ) > c 1 V ( w k ( r ) , ℓ ) } . (167)
To define W ^ k ( r ) \widehat{W}^{(r)}_{k} W k ( r ) , we define V ( W ^ k ( r ) , ℓ ) V(\widehat{W}^{(r)}_{k},\ell) V ( W k ( r ) , ℓ ) for every ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] . Fix some ϵ 1 ≥ 0 \epsilon_{1}\geq0 ϵ 1 ≥ 0 and denote
[ d ] w k ( r ) : = { ℓ ∈ [ d ] : ∥ V ( w k ( r ) , ℓ ) ∥ ≥ ϵ 1 / 2 ρ } . (168) [d]_{w^{(r)}_{k}}:=\left\{\ell\in[d]:\left\|V(w^{(r)}_{k},\ell)\right\|\geq\epsilon_{1}/2\rho\right\}. \tag*{(168)} [ d ] w k ( r ) := { ℓ ∈ [ d ] : V ( w k ( r ) , ℓ ) ≥ ϵ 1 /2 ρ } . (168)
First, let
U k , ℓ ( r ) = { V ( A D ∗ w k ( r ) , ℓ ) , if ∥ A V ( D ∗ w k ( r ) , ℓ ) ∥ ≤ c 1 ∥ V ( w k ( r ) , ℓ ) ∥ , 0 m , otherwise. (169) U^{(r)}_{k,\ell}=
\begin{cases}
V(\mathrm{AD}*w^{(r)}_{k},\ell), & \text{if }\left\|AV(\mathrm{D}*w^{(r)}_{k},\ell)\right\|\leq c_{1}\left\|V(w^{(r)}_{k},\ell)\right\|,\\
0_{m}, & \text{otherwise.}
\end{cases} \tag*{(169)} U k , ℓ ( r ) = { V ( AD ∗ w k ( r ) , ℓ ) , 0 m , if A V ( D ∗ w k ( r ) , ℓ ) ≤ c 1 V ( w k ( r ) , ℓ ) , otherwise. (169)
Then, define
W ^ k , ℓ ( r ) = { 0 m , if ℓ ∉ [ d ] w k ( r ) , U k , ℓ ( r ) + N k , ℓ ( r ) , otherwise. (170) \widehat{W}_{k,\ell}^{(r)} =
\begin{cases}
0_m, & \text{if }\ell\notin[d]_{w_k^{(r)}},\\
U_{k,\ell}^{(r)}+N_{k,\ell}^{(r)}, & \text{otherwise.}
\end{cases} \tag*{(170)} W k , ℓ ( r ) = { 0 m , U k , ℓ ( r ) + N k , ℓ ( r ) , if ℓ ∈ / [ d ] w k ( r ) , otherwise. (170)
where N k , ℓ ( r ) ∼ Uniform ( B m ( 0 , ν ) ) N_{k,\ell}^{(r)} \sim\operatorname{Uniform}(\mathcal{B}_m(0,\nu)) N k , ℓ ( r ) ∼ Uniform ( B m ( 0 , ν )) . Finally, let
V ( W ^ k , ℓ ( r ) , ℓ ) = A T W ^ k , ℓ ( r ) (171) V(\widehat{W}_{k,\ell}^{(r)},\ell)=A^{\mathsf{T}}\widehat{W}_{k,\ell}^{(r)} \tag*{(171)} V ( W k , ℓ ( r ) , ℓ ) = A T W k , ℓ ( r ) (171)
V ( W ^ k ( R , r ) , ℓ ) = V ( W ‾ k ( R ) , ∗ , ℓ ) + 1 K A T W ^ k , ℓ ( r ) (172) V(\widehat{W}_{k}^{(R,r)},\ell)=V(\overline{W}_{k}^{(R),*},\ell)+\frac{1}{K}A^{\mathsf{T}}\widehat{W}_{k,\ell}^{(r)} \tag*{(172)} V ( W k ( R , r ) , ℓ ) = V ( W k ( R ) , ∗ , ℓ ) + K 1 A T W k , ℓ ( r ) (172)
Note that for all ℓ \ell ℓ such that ℓ ∉ [ d ] w k ( R ) \ell\notin[d]_{w_k^{(R)}} ℓ ∈ / [ d ] w k ( R ) we have,
P ( ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 2 ) = P ( 1 K ∣ ⟨ V ( w k ( R ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 2 ) = 0. (173) \begin{aligned}
\mathbb{P}\left(\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}_{k}^{(R,r)},\ell),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{2}\right)
&=\mathbb{P}\left(\frac{1}{K}\left|\left\langle V(w_k^{(R)},\ell),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{2}\right)\\
&=0. \tag*{(173)}
\end{aligned} P ( ⟨ V ( W ( R ) − W k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 2 ϵ 1 ) = P ( K 1 ⟨ V ( w k ( R ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 2 ϵ 1 ) = 0. (173)
Hence,
P ( D i , k , r , t ≥ ϵ 1 ) ≤ P ( 2 max ℓ i , t ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 ) = P ( max ℓ i , t ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 2 ) ≤ ∑ ℓ ∈ [ d ] P ( ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 2 ) = ∑ ℓ ∈ [ d ] w k ( R ) P ( ∣ ⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 2 ) . (174) \begin{aligned}
\mathbb{P}(D_{i,k,r,t}\ge\epsilon_1)
&\le\mathbb{P}\left(2\max_{\ell_{i,t}}\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}_{k}^{(R,r)},\ell_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\epsilon_1\right)\\
&=\mathbb{P}\left(\max_{\ell_{i,t}}\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}_{k}^{(R,r)},\ell_{i,t}),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{2}\right)\\
&\le\sum_{\ell\in[d]}\mathbb{P}\left(\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}_{k}^{(R,r)},\ell),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{2}\right)\\
&=\sum_{\ell\in[d]_{w_k^{(R)}}}\mathbb{P}\left(\left|\left\langle V(\overline{W}^{(R)}-\widehat{W}_{k}^{(R,r)},\ell),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{2}\right). \tag*{(174)}
\end{aligned} P ( D i , k , r , t ≥ ϵ 1 ) ≤ P ( 2 ℓ i , t max ⟨ V ( W ( R ) − W k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ ϵ 1 ) = P ( ℓ i , t max ⟨ V ( W ( R ) − W k ( R , r ) , ℓ i , t ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 2 ϵ 1 ) ≤ ℓ ∈ [ d ] ∑ P ( ⟨ V ( W ( R ) − W k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 2 ϵ 1 ) = ℓ ∈ [ d ] w k ( R ) ∑ P ( ⟨ V ( W ( R ) − W k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 2 ϵ 1 ) . (174)
≤ ∑ ℓ ∈ [ d ] w k ( R ) P ( ∣ ⟨ V ( W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 ) + ∑ ℓ ∈ [ d ] w k ( R ) P ( 1 K ∣ ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 ) + ∑ ℓ ∈ [ d ] w k ( R ) P ( 1 K ∣ ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W ^ k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 ) = I + I I + I I I . (175) \begin{aligned}
&\le\sum_{\ell\in[d]_{w_k^{(R)}}}\mathbb{P}\left(\left|\left\langle V\left(\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^*w_k^{(r)}\right),\ell\right),V(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{6}\right)\\
&\quad+\sum_{\ell\in[d]_{w_k^{(R)}}}\mathbb{P}\left(\frac{1}{K}\left|\left\langle V(D^*w_k^{(r)},\ell),V(X_{i,k,r,t-1:t-\rho})\right\rangle-\left\langle AV(D^*w_k^{(r)},\ell),AV(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{6}\right)\\
&\quad+\sum_{\ell\in[d]_{w_k^{(R)}}}\mathbb{P}\left(\frac{1}{K}\left|\left\langle AV(D^*w_k^{(r)},\ell)-\widehat{W}_{k,\ell}^{(r)},AV(X_{i,k,r,t-1:t-\rho})\right\rangle\right|\ge\frac{\epsilon_1}{6}\right)\\
&=\mathop{\mathrm{I}}+\mathop{\mathrm{II}}+\mathop{\mathrm{III}}. \tag*{(175)}
\end{aligned} ≤ ℓ ∈ [ d ] w k ( R ) ∑ P ( ⟨ V ( W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 ) + ℓ ∈ [ d ] w k ( R ) ∑ P ( K 1 ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 ) + ℓ ∈ [ d ] w k ( R ) ∑ P ( K 1 ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 ) = I + II + III . (175)
where
⟨ V ( W ‾ ( R ) − W ^ k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (176) \left\langle V\left(\overline{W}^{(R)}-\widehat{W}_{k}^{(R,r)},\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle \tag*{(176)} ⟨ V ( W ( R ) − W k ( R , r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (176)
= ⟨ V ( W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (177) =\left\langle V\left(\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^{*}w_{k}^{(r)}\right),\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle \tag*{(177)} = ⟨ V ( W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (177)
+ 1 K ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ (178) +\frac{1}{K}\left\langle V\left(D^{*}w_{k}^{(r)},\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle-\left\langle AV\left(D^{*}w_{k}^{(r)},\ell\right),AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle \tag*{(178)} + K 1 ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ (178)
+ 1 K ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W ^ k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ (179) +\frac{1}{K}\left\langle AV\left(D^{*}w_{k}^{(r)},\ell\right)-\widehat{W}_{k,\ell}^{(r)},AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle \tag*{(179)} + K 1 ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ (179)
≤ ∣ ⟨ V ( W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ (180) \leq\left|\left\langle V\left(\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^{*}w_{k}^{(r)}\right),\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right| \tag*{(180)} ≤ ⟨ V ( W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (180)
+ ∣ 1 K ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ (181) +\left|\frac{1}{K}\left\langle V\left(D^{*}w_{k}^{(r)},\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle-\left\langle AV\left(D^{*}w_{k}^{(r)},\ell\right),AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right| \tag*{(181)} + K 1 ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ (181)
+ ∣ 1 K ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W ^ k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ . (182) +\left|\frac{1}{K}\left\langle AV\left(D^{*}w_{k}^{(r)},\ell\right)-\widehat{W}_{k,\ell}^{(r)},AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right|. \tag*{(182)} + K 1 ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ . (182)
Moreover, using the fact that for every pair of random variables ( X i ) ∈ R (X_i)\in\mathbb{R} ( X i ) ∈ R and constants ( c i ) ∈ R (c_i)\in\mathbb{R} ( c i ) ∈ R , it holds that
P ( ∑ i X i ≥ ∑ i c i ) ≤ ∑ i P ( X i ≥ c i ) , (183) \mathbb{P}\left(\sum_i X_i\geq\sum_i c_i\right)\leq\sum_i\mathbb{P}(X_i\geq c_i), \tag*{(183)} P ( i ∑ X i ≥ i ∑ c i ) ≤ i ∑ P ( X i ≥ c i ) , (183)
the result follows.
Δ ℓ : = ⟨ V ( W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (184) \Delta_\ell:=\left\langle V\left(\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^{*}w_{k}^{(r)}\right),\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle \tag*{(184)} Δ ℓ := ⟨ V ( W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ (184)
Δ ~ : = W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) . (185) \widetilde{\Delta}:=\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^{*}w_{k}^{(r)}\right). \tag*{(185)} Δ := W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) . (185)
The Cauchy–Schwarz inequality implies that
∣ Δ ℓ ∣ ≤ ∥ V ( X i , k , r , t − 1 : t − ρ ) ∥ 2 × ∥ V ( W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) ∥ 2 (186) |\Delta_\ell|\leq\left\|V\left(X_{i,k,r,t-1:t-\rho}\right)\right\|_2\times\left\|V\left(\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^{*}w_{k}^{(r)}\right),\ell\right)\right\|_2 \tag*{(186)} ∣ Δ ℓ ∣ ≤ ∥ V ( X i , k , r , t − 1 : t − ρ ) ∥ 2 × V ( W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) 2 (186)
≤ ρ × ∥ V ( W ‾ ( R ) − ( W ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) ∥ 2 (187) \leq\sqrt{\rho}\times\left\|V\left(\overline{W}^{(R)}-\left(\overline{W}_{k}^{(R),*}+\frac{1}{K}D^{*}w_{k}^{(r)}\right),\ell\right)\right\|_2 \tag*{(187)} ≤ ρ × V ( W ( R ) − ( W k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) 2 (187)
≤ ρ × ∥ Δ ~ ∥ . (188) \leq\sqrt{\rho}\times\|\widetilde{\Delta}\|. \tag*{(188)} ≤ ρ × ∥ Δ ∥. (188)
We show that, with probability one,
∥ Δ ~ ∥ 2 < ϵ 1 6 ρ , \|\widetilde{\Delta}\|_2<\frac{\epsilon_1}{6\sqrt{\rho}}, ∥ Δ ∥ 2 < 6 ρ ϵ 1 ,
where
∥ Δ ~ ∥ 2 = ∥ V ( w ‾ ( R ) − ( w ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) , ℓ ) ∥ 2 . \|\widetilde{\Delta}\|_2=\left\|V\left(\overline{w}^{(R)}-\left(\overline{w}_k^{(R),*}+\frac{1}{K}\mathrm{D}^{*}w_k^{(r)}\right),\ell\right)\right\|_2. ∥ Δ ∥ 2 = V ( w ( R ) − ( w k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) , ℓ ) 2 .
For r = R r=R r = R , we have D ∗ = I d \mathrm{D}^{*}=\mathrm{I}_d D ∗ = I d and the corresponding term is zero. Hence, for R > 1 R>1 R > 1 , using ∥ V ( u , ℓ ) ∥ 2 ≤ ∥ u ∥ \|V(u,\ell)\|_2\leq\|u\| ∥ V ( u , ℓ ) ∥ 2 ≤ ∥ u ∥ , it suffices to show that, for every r < R r<R r < R ,
∥ w ‾ ( R ) − ( w ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) ∥ < ϵ 1 6 ρ . \left\|\overline{w}^{(R)}-\left(\overline{w}_k^{(R),*}+\frac{1}{K}\mathrm{D}^{*}w_k^{(r)}\right)\right\|<\frac{\epsilon_1}{6\sqrt{\rho}}. w ( R ) − ( w k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) < 6 ρ ϵ 1 .
We establish this whenever either of the two conditions in Assumption 5 holds.
For r ′ ∈ [ r + 1 : R ] r'\in[r+1:R] r ′ ∈ [ r + 1 : R ] , define
ξ r ′ : = w ‾ ( r ′ ) − ( w ‾ k ( r ′ ) , ∗ + D r ′ ∗ ( w ‾ ( r ′ − 1 ) − w ‾ k ( r ′ − 1 ) , ∗ ) ) . (189) \xi_{r'}:=\overline{w}^{(r')}-\left(\overline{w}_k^{(r'),*}+\mathrm{D}_{r'}^{*}\left(\overline{w}^{(r'-1)}-\overline{w}_k^{(r'-1),*}\right)\right). \tag*{(189)} ξ r ′ := w ( r ′ ) − ( w k ( r ′ ) , ∗ + D r ′ ∗ ( w ( r ′ − 1 ) − w k ( r ′ − 1 ) , ∗ ) ) . (189)
If Condition 1 holds: Assume (46) holds and fix a corresponding β ∈ ( 0 , 1 ] \beta\in(0,1] β ∈ ( 0 , 1 ] . We first show simultaneously by induction that, for r ′ = r + 1 , … , R r'=r+1,\ldots,R r ′ = r + 1 , … , R ,
∥ ξ r ′ ∥ ≤ α C 2 ( ( 1 + β ) q e , b 2 ) r ′ − r − 1 K 2 , (190) \|\xi_{r'}\|\leq\frac{\alpha C^2((1+\beta)q_{e,b}^2)^{r'-r-1}}{K^2}, \tag*{(190)} ∥ ξ r ′ ∥ ≤ K 2 α C 2 (( 1 + β ) q e , b 2 ) r ′ − r − 1 , (190)
∥ w ‾ ( r ′ − 1 ) − w ‾ k ( r ′ − 1 ) , ∗ ∥ 2 ≤ C 2 ( ( 1 + β ) q e , b 2 ) r ′ − r − 1 K 2 . (191) \left\|\overline{w}^{(r'-1)}-\overline{w}_k^{(r'-1),*}\right\|^2\leq\frac{C^2((1+\beta)q_{e,b}^2)^{r'-r-1}}{K^2}. \tag*{(191)} w ( r ′ − 1 ) − w k ( r ′ − 1 ) , ∗ 2 ≤ K 2 C 2 (( 1 + β ) q e , b 2 ) r ′ − r − 1 . (191)
For r ′ = r + 1 r'=r+1 r ′ = r + 1 ,
w ‾ ( r ) − w ‾ k ( r ) , ∗ = 1 K w k ( r ) , \overline{w}^{(r)}-\overline{w}_k^{(r),*}=\frac{1}{K}w_k^{(r)}, w ( r ) − w k ( r ) , ∗ = K 1 w k ( r ) ,
and thus
∥ w ‾ ( r ) − w ‾ k ( r ) , ∗ ∥ 2 ≤ C 2 K 2 . \left\|\overline{w}^{(r)}-\overline{w}_k^{(r),*}\right\|^2\leq\frac{C^2}{K^2}. w ( r ) − w k ( r ) , ∗ 2 ≤ K 2 C 2 .
Moreover, by Assumption 2,
∥ ξ r + 1 ∥ ≤ α K 2 ∥ w k ( r ) ∥ 2 ≤ α C 2 K 2 . (192) \|\xi_{r+1}\|\leq\frac{\alpha}{K^2}\left\|w_k^{(r)}\right\|^2\leq\frac{\alpha C^2}{K^2}. \tag*{(192)} ∥ ξ r + 1 ∥ ≤ K 2 α w k ( r ) 2 ≤ K 2 α C 2 . (192)
Hence, (190) and (191) hold for the induction base.
Now assume that (190) and (191) hold for r ′ = r + 1 , … , j r'=r+1,\ldots,j r ′ = r + 1 , … , j , where j < R j<R j < R . From the definition of ξ j \xi_j ξ j , the triangle inequality, Assumption 2, and ∥ D j ∗ ∥ o p ≤ q e , b \|\mathrm{D}_j^*\|_{\mathrm{op}}\leq q_{e,b} ∥ D j ∗ ∥ op ≤ q e , b , we have
∥ w ‾ ( j ) − w ‾ k ( j ) , ∗ ∥ ≤ ( q e , b + α ∥ w ‾ ( j − 1 ) − w ‾ k ( j − 1 ) , ∗ ∥ ) ∥ w ‾ ( j − 1 ) − w ‾ k ( j − 1 ) , ∗ ∥ . \left\|\overline{w}^{(j)}-\overline{w}_k^{(j),*}\right\|\leq\left(q_{e,b}+\alpha\left\|\overline{w}^{(j-1)}-\overline{w}_k^{(j-1),*}\right\|\right)\left\|\overline{w}^{(j-1)}-\overline{w}_k^{(j-1),*}\right\|. w ( j ) − w k ( j ) , ∗ ≤ ( q e , b + α w ( j − 1 ) − w k ( j − 1 ) , ∗ ) w ( j − 1 ) − w k ( j − 1 ) , ∗ .
By (191) ,
∥ w ‾ ( j − 1 ) − w ‾ k ( j − 1 ) , ∗ ∥ ≤ C ( ( 1 + β ) q e , b 2 ) ( j − r − 1 ) / 2 K . \left\|\overline{w}^{(j-1)}-\overline{w}_k^{(j-1),*}\right\|\leq\frac{C((1+\beta)q_{e,b}^2)^{(j-r-1)/2}}{K}. w ( j − 1 ) − w k ( j − 1 ) , ∗ ≤ K C (( 1 + β ) q e , b 2 ) ( j − r − 1 ) /2 .
The first requirement in (46) therefore gives
α ∥ w ‾ ( j − 1 ) − w ‾ k ( j − 1 ) , ∗ ∥ < q e , b ( 1 + β − 1 ) . \alpha\left\|\overline{w}^{(j-1)}-\overline{w}_k^{(j-1),*}\right\|<q_{e,b}\left(\sqrt{1+\beta}-1\right). α w ( j − 1 ) − w k ( j − 1 ) , ∗ < q e , b ( 1 + β − 1 ) .
Consequently,
∥ w ˉ k ( j ) − w ˉ k ( j ) , ∗ ∥ 2 ≤ ( 1 + β ) q e , b 2 ∥ w ˉ k ( j − 1 ) − w ˉ k ( j − 1 ) , ∗ ∥ 2 ≤ C 2 ( ( 1 + β ) q e , b 2 ) j − r K 2 . (193) \left\|\bar{w}_k^{(j)}-\bar{w}_k^{(j),*}\right\|^2 \le(1+\beta)q_{e,b}^2\left\|\bar{w}_k^{(j-1)}-\bar{w}_k^{(j-1),*}\right\|^2
\le\frac{C^2\left((1+\beta)q_{e,b}^2\right)^{j-r}}{K^2}. \tag*{(193)} w ˉ k ( j ) − w ˉ k ( j ) , ∗ 2 ≤ ( 1 + β ) q e , b 2 w ˉ k ( j − 1 ) − w ˉ k ( j − 1 ) , ∗ 2 ≤ K 2 C 2 ( ( 1 + β ) q e , b 2 ) j − r . (193)
Hence, (194) holds for r ′ = j + 1 r'=j+1 r ′ = j + 1 . Furthermore, by Assumption 2 and (196),
∥ ξ j + 1 ∥ ≤ α ∥ w ˉ ( j ) − w ˉ k ( j ) , ∗ ∥ 2 ≤ α C 2 ( ( 1 + β ) q e , b 2 ) j − r K 2 . (194) \|\xi_{j+1}\| \le\alpha\left\|\bar{w}^{(j)}-\bar{w}_k^{(j),*}\right\|^2 \le\frac{\alpha C^2\left((1+\beta)q_{e,b}^2\right)^{j-r}}{K^2}. \tag*{(194)} ∥ ξ j + 1 ∥ ≤ α w ˉ ( j ) − w ˉ k ( j ) , ∗ 2 ≤ K 2 α C 2 ( ( 1 + β ) q e , b 2 ) j − r . (194)
This completes the induction.
Now, for any r ′ ∈ [ r + 1 : R − 1 ] r' \in[r+1:R-1] r ′ ∈ [ r + 1 : R − 1 ] , denote
D ˉ r ′ ∗ : = ∏ j = r ′ + 1 R D j ∗ , \bar{D}_{r'}^* := \prod_{j=r'+1}^{R} D_j^*, D ˉ r ′ ∗ := j = r ′ + 1 ∏ R D j ∗ ,
and let D ˉ R ∗ = I d \bar{D}_R^*=I_d D ˉ R ∗ = I d . Then,
∥ w ˉ ( R ) − ( w ˉ k ( R ) , ∗ + 1 K D k ∗ w k ( r ) ) ∥ ≤ ∑ r ′ = r + 1 R q e , b R − r ′ ∥ ξ r ′ ∥ ≤ α C 2 K 2 ∑ r ′ = r + 1 R q e , b R − r ′ ( ( 1 + β ) q e , b 2 ) r ′ − r − 1 = α C 2 ( q e , b R − r − ( ( 1 + β ) q e , b 2 ) R − r ) K 2 ( q e , b − ( 1 + β ) q e , b 2 ) . (195) \begin{aligned}
\left\|\bar{w}^{(R)}-\left(\bar{w}_k^{(R),*}+\frac{1}{K}D_k^*w_k^{(r)}\right)\right\|
\le\sum_{r'=r+1}^{R}q_{e,b}^{R-r'}\|\xi_{r'}\| \\
&\le\frac{\alpha C^2}{K^2}\sum_{r'=r+1}^{R}q_{e,b}^{R-r'}\left((1+\beta)q_{e,b}^2\right)^{r'-r-1} \\
&= \frac{\alpha C^2\left(q_{e,b}^{R-r}-\left((1+\beta)q_{e,b}^2\right)^{R-r}\right)}{K^2\left(q_{e,b}-(1+\beta)q_{e,b}^2\right)}. \tag*{(195)}
\end{aligned} w ˉ ( R ) − ( w ˉ k ( R ) , ∗ + K 1 D k ∗ w k ( r ) ) ≤ r ′ = r + 1 ∑ R q e , b R − r ′ ∥ ξ r ′ ∥ ≤ K 2 α C 2 r ′ = r + 1 ∑ R q e , b R − r ′ ( ( 1 + β ) q e , b 2 ) r ′ − r − 1 = K 2 ( q e , b − ( 1 + β ) q e , b 2 ) α C 2 ( q e , b R − r − ( ( 1 + β ) q e , b 2 ) R − r ) . (195)
By the second requirement in (45), the right-hand side is strictly smaller than ϵ 1 / ( 6 ρ ) \epsilon_1/(6\sqrt{\rho}) ϵ 1 / ( 6 ρ ) . Hence,
∥ Δ ~ ∥ 2 < ϵ 1 6 ρ . \|\widetilde{\Delta}\|_2 < \frac{\epsilon_1}{6\sqrt{\rho}}. ∥ Δ ∥ 2 < 6 ρ ϵ 1 .
2. If Condition 2 in Appendix A holds: Assume (46) holds. We show simultaneously by induction that, for r ′ = r + 1 , … , R r'=r+1,\ldots,R r ′ = r + 1 , … , R ,
∥ ξ r ′ ∥ ≤ α C 2 ( 1 − α ν ) r ′ − r − 1 K 2 , (196) \|\xi_{r'}\| \le\frac{\alpha C^2(1-\alpha\nu)^{r'-r-1}}{K^2}, \tag*{(196)} ∥ ξ r ′ ∥ ≤ K 2 α C 2 ( 1 − α ν ) r ′ − r − 1 , (196)
∥ w ˉ ( r ′ − 1 ) − w ˉ k ( r ′ − 1 ) , ∗ ∥ 2 ≤ C 2 ( 1 − α ν ) r ′ − r − 1 K 2 . (197) \left\|\bar{w}^{(r'-1)}-\bar{w}_k^{(r'-1),*}\right\|^2 \le\frac{C^2(1-\alpha\nu)^{r'-r-1}}{K^2}. \tag*{(197)} w ˉ ( r ′ − 1 ) − w ˉ k ( r ′ − 1 ) , ∗ 2 ≤ K 2 C 2 ( 1 − α ν ) r ′ − r − 1 . (197)
The induction base follows exactly as in (195).
Assume now that (199) and (200) hold up to some j < R j<R j < R . As before,
∥ w ˉ ( j ) − w ˉ k ( j ) , ∗ ∥ ≤ ( q e , b + α ∥ w ˉ ( j − 1 ) − w ˉ k ( j − 1 ) , ∗ ∥ ) ∥ w ˉ ( j − 1 ) − w ˉ k ( j − 1 ) , ∗ ∥ . \left\|\bar{w}^{(j)}-\bar{w}_k^{(j),*}\right\|
\le\left(q_{e,b}+\alpha\left\|\bar{w}^{(j-1)}-\bar{w}_k^{(j-1),*}\right\|\right)\left\|\bar{w}^{(j-1)}-\bar{w}_k^{(j-1),*}\right\|. w ˉ ( j ) − w ˉ k ( j ) , ∗ ≤ ( q e , b + α w ˉ ( j − 1 ) − w ˉ k ( j − 1 ) , ∗ ) w ˉ ( j − 1 ) − w ˉ k ( j − 1 ) , ∗ .
Since 0 ≤ ν < ( 1 − q e , b 2 ) / α 0 \le\nu< (1-q_{e,b}^{2})/\alpha 0 ≤ ν < ( 1 − q e , b 2 ) / α , we have 1 − α ν > q e , b 2 1-\alpha\nu> q_{e,b}^{2} 1 − α ν > q e , b 2 and 1 − α ν ≤ 1 1-\alpha\nu\le1 1 − α ν ≤ 1 . Hence, by (197) ,
∥ w ‾ ( j − 1 ) − w ‾ k ( j − 1 ) , ∗ ∥ ≤ C K . \left\|\overline{w}^{(j-1)}-\overline{w}_{k}^{(j-1),*}\right\| \le\frac{C}{K}. w ( j − 1 ) − w k ( j − 1 ) , ∗ ≤ K C .
The first requirement in (47) yields
α C K < 1 − α ν − q e , b . \frac{\alpha C}{K}<\sqrt{1-\alpha\nu}-q_{e,b}. K α C < 1 − α ν − q e , b .
It follows that
∥ w ‾ ( j ) − w ‾ k ( j ) , ∗ ∥ 2 < ( 1 − α ν ) ∥ w ‾ ( j − 1 ) − w ‾ k ( j − 1 ) , ∗ ∥ 2 ≤ C 2 ( 1 − α ν ) j − r K 2 . (198) \left\|\overline{w}^{(j)}-\overline{w}_{k}^{(j),*}\right\|^{2}<(1-\alpha\nu)\left\|\overline{w}^{(j-1)}-\overline{w}_{k}^{(j-1),*}\right\|^{2}
\le\frac{C^{2}(1-\alpha\nu)^{j-r}}{K^{2}}. \tag*{(198)} w ( j ) − w k ( j ) , ∗ 2 < ( 1 − α ν ) w ( j − 1 ) − w k ( j − 1 ) , ∗ 2 ≤ K 2 C 2 ( 1 − α ν ) j − r . (198)
Thus, (197) holds for r ′ = j + 1 r'=j+1 r ′ = j + 1 . Moreover,
∥ ξ j + 1 ∥ ≤ α ∥ w ‾ ( j ) − w ‾ k ( j ) , ∗ ∥ 2 ≤ α C 2 ( 1 − α ν ) j − r K 2 . (199) \|\xi_{j+1}\|\le\alpha\left\|\overline{w}^{(j)}-\overline{w}_{k}^{(j),*}\right\|^{2}\le\frac{\alpha C^{2}(1-\alpha\nu)^{j-r}}{K^{2}}. \tag*{(199)} ∥ ξ j + 1 ∥ ≤ α w ( j ) − w k ( j ) , ∗ 2 ≤ K 2 α C 2 ( 1 − α ν ) j − r . (199)
This proves (196) and completes the induction.
Finally,
∥ w ‾ ( R ) − ( w ‾ k ( R ) , ∗ + 1 K D ∗ w k ( r ) ) ∥ ≤ ∑ r ′ = r + 1 R q e , b R − r ′ ∥ ξ r ′ ∥ ≤ α C 2 K 2 ∑ r ′ = r + 1 R q e , b R − r ′ ( 1 − α ν ) r ′ − r − 1 (200) \begin{aligned}
\left\|\overline{w}^{(R)}-\left(\overline{w}_{k}^{(R),*}+\frac{1}{K}\mathsf{D}^{*}w_{k}^{(r)}\right)\right\| \\
&\le\sum_{r'=r+1}^{R}q_{e,b}^{R-r'}\|\xi_{r'}\| \\
&\le\frac{\alpha C^{2}}{K^{2}}\sum_{r'=r+1}^{R}q_{e,b}^{R-r'}(1-\alpha\nu)^{r'-r-1} \tag*{(200)}
\end{aligned} w ( R ) − ( w k ( R ) , ∗ + K 1 D ∗ w k ( r ) ) ≤ r ′ = r + 1 ∑ R q e , b R − r ′ ∥ ξ r ′ ∥ ≤ K 2 α C 2 r ′ = r + 1 ∑ R q e , b R − r ′ ( 1 − α ν ) r ′ − r − 1 (200)
= α C 2 ( q e , b R − r − ( 1 − α ν ) R − r ) K 2 ( q e , b − ( 1 − α ν ) ) . (201) =\frac{\alpha C^{2}\left(q_{e,b}^{R-r}-(1-\alpha\nu)^{R-r}\right)}{K^{2}\left(q_{e,b}-(1-\alpha\nu)\right)}. \tag*{(201)} = K 2 ( q e , b − ( 1 − α ν ) ) α C 2 ( q e , b R − r − ( 1 − α ν ) R − r ) . (201)
By the second requirement in (47) , the right-hand side is strictly smaller than ϵ 1 / ( 6 ρ ) \epsilon_{1}/(6\sqrt{\rho}) ϵ 1 / ( 6 ρ ) . Therefore,
∥ Δ ~ ∥ 2 < ϵ 1 6 ρ . \|\widetilde{\Delta}\|_{2}<\frac{\epsilon_{1}}{6\sqrt{\rho}}. ∥ Δ ∥ 2 < 6 ρ ϵ 1 .
Bounding (II): Note that ∥ D ∗ w k ( r ) ∥ ≤ C × q e , b R − r \|\mathsf{D}^{*}w_{k}^{(r)}\|\le C\times q_{e,b}^{R-r} ∥ D ∗ w k ( r ) ∥ ≤ C × q e , b R − r due to the fact that spectral norm of all D r ∗ \mathsf{D}_{r}^{*} D r ∗ are bounded by q e , b q_{e,b} q e , b due to Assumption 2. Then, for every w k ( r ) w_{k}^{(r)} w k ( r ) and ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] ,
P A ( 1 K ∣ ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 ) \mathbb{P}_{A}\left(\frac{1}{K}\left|\left\langle V\left(\mathsf{D}^{*}w_{k}^{(r)},\ell\right),V\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle-\left\langle AV\left(\mathsf{D}^{*}w_{k}^{(r)},\ell\right),AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right|\ge\frac{\epsilon_{1}}{6}\right) P A ( K 1 ⟨ V ( D ∗ w k ( r ) , ℓ ) , V ( X i , k , r , t − 1 : t − ρ ) ⟩ − ⟨ A V ( D ∗ w k ( r ) , ℓ ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 )
≤ 4 e − m 7 ( K ϵ 1 6 ρ C q e , b R − r ) 2 ≤ O ( 1 d N K T ) . (202) \begin{aligned}
\le4e^{-\frac{m}{7}\left(\frac{K\epsilon_{1}}{6\sqrt{\rho}Cq_{e,b}^{R-r}}\right)^{2}} \\
&\le O\left(\frac{1}{dNKT}\right). \tag*{(202)}
\end{aligned} ≤ 4 e − 7 m ( 6 ρ C q e , b R − r K ϵ 1 ) 2 ≤ O ( d N K T 1 ) . (202)
where the last step is due to (Grønlund et al., 2020b, Lemma 8, Part 2)
Bounding III: Fix some c 1 , c 2 > 0 c_1,c_2>0 c 1 , c 2 > 0 . Now, to bound this, we have
P A ( 1 K ∣ ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W ^ k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 ) (203) \mathbb{P}_{A}\left(\frac{1}{K}\left|\left\langle AV\left(D^{*}w_{k}^{(r)},\ell\right)-\widehat{W}_{k,\ell}^{(r)},AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right|\ge\frac{\epsilon_1}{6}\right) \tag*{(203)} P A ( K 1 ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 ) (203)
≤ P A ( ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ ≥ c 2 ρ ) + P A ( ∥ A V ( D ∗ w k ( r ) , ℓ ) ∥ ≥ c 1 ∥ V ( w k ( r ) , ℓ ) ∥ ) + P W ^ k , ℓ ( r ) ∣ w k ( r ) P A ( 1 K ∣ ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W ^ k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 | Cond 1 , Cond 2 ) (204) \begin{aligned}
\le\mathbb{P}_{A}\left(\left\|AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\|\ge c_2\sqrt{\rho}\right)+\mathbb{P}_{A}\left(\left\|AV\left(D^{*}w_{k}^{(r)},\ell\right)\right\|\ge c_1\left\|V\left(w_{k}^{(r)},\ell\right)\right\|\right) \\
&+\mathbb{P}_{\widehat{W}_{k,\ell}^{(r)}\mid w_{k}^{(r)}}\mathbb{P}_{A}\left(\frac{1}{K}\left|\left\langle AV\left(D^{*}w_{k}^{(r)},\ell\right)-\widehat{W}_{k,\ell}^{(r)},AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right|\ge\frac{\epsilon_1}{6}\,\middle|\,\operatorname{Cond}_1,\operatorname{Cond}_2\right) \tag*{(204)}
\end{aligned} ≤ P A ( ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ ≥ c 2 ρ ) + P A ( A V ( D ∗ w k ( r ) , ℓ ) ≥ c 1 V ( w k ( r ) , ℓ ) ) + P W k , ℓ ( r ) ∣ w k ( r ) P A ( K 1 ⟨ A V ( D ∗ w k ( r ) , ℓ ) − W k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 Cond 1 , Cond 2 ) (204)
= P A ( ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ ≥ c 2 ρ ) + P A ( ∥ A D ∗ V ( w k ( r ) , ℓ ) ∥ ≥ c 1 ∥ V ( w k ( r ) , ℓ ) ∥ ) + P A , W ^ k , ℓ ( r ) ( 1 K ∣ ⟨ A D ∗ V ( w k ( r ) , ℓ ) − W ^ k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 | Cond 1 , Cond 2 ) = P A ( ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ ≥ c 2 ρ ) + P A ( ∥ A D ∗ V ( w k ( r ) , ℓ ) ∥ ≥ c 1 ∥ V ( w k ( r ) , ℓ ) ∥ ) + P A , U ∼ Unif ( B m ( 0 , ν ) ) ( 1 K ∣ ⟨ U , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ ϵ 1 6 | Cond 1 ) (205) \begin{aligned}
=\mathbb{P}_{A}\left(\left\|AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\|\ge c_2\sqrt{\rho}\right)+\mathbb{P}_{A}\left(\left\|AD^{*}V\left(w_{k}^{(r)},\ell\right)\right\|\ge c_1\left\|V\left(w_{k}^{(r)},\ell\right)\right\|\right) \\
&+\mathbb{P}_{A,\widehat{W}_{k,\ell}^{(r)}}\left(\frac{1}{K}\left|\left\langle AD^{*}V\left(w_{k}^{(r)},\ell\right)-\widehat{W}_{k,\ell}^{(r)},AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right|\ge\frac{\epsilon_1}{6}\,\middle|\,\operatorname{Cond}_1,\operatorname{Cond}_2\right) \\
&=\mathbb{P}_{A}\left(\left\|AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\|\ge c_2\sqrt{\rho}\right)+\mathbb{P}_{A}\left(\left\|AD^{*}V\left(w_{k}^{(r)},\ell\right)\right\|\ge c_1\left\|V\left(w_{k}^{(r)},\ell\right)\right\|\right) \\
&+\mathbb{P}_{A,U\sim\operatorname{Unif}(\mathcal{B}_m(0,\nu))}\left(\frac{1}{K}\left|\left\langle U,AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\rangle\right|\ge\frac{\epsilon_1}{6}\,\middle|\,\operatorname{Cond}_1\right) \tag*{(205)}
\end{aligned} = P A ( ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ ≥ c 2 ρ ) + P A ( A D ∗ V ( w k ( r ) , ℓ ) ≥ c 1 V ( w k ( r ) , ℓ ) ) + P A , W k , ℓ ( r ) ( K 1 ⟨ A D ∗ V ( w k ( r ) , ℓ ) − W k , ℓ ( r ) , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ≥ 6 ϵ 1 Cond 1 , Cond 2 ) = P A ( ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ ≥ c 2 ρ ) + P A ( A D ∗ V ( w k ( r ) , ℓ ) ≥ c 1 V ( w k ( r ) , ℓ ) ) + P A , U ∼ Unif ( B m ( 0 , ν )) ( K 1 ∣ ⟨ U , A V ( X i , k , r , t − 1 : t − ρ ) ⟩ ∣ ≥ 6 ϵ 1 Cond 1 ) (205)
≤ e − m ( c 2 2 − 1 − 2 log ( c 2 ) ) + e − m ( q e , b 2 ( r − R ) c 1 2 − 1 − 2 log ( q e , b ( r − R ) c 1 ) ) + 2 ( m + 1 ) π e − ( m + 1 2 ) ( K ϵ 1 6 ρ c 2 ν C ) 2 (206) \le e^{-m(c_2^2-1-2\log(c_2))}+e^{-m\left(q_{e,b}^{2(r-R)}c_1^2-1-2\log\left(q_{e,b}^{(r-R)}c_1\right)\right)}+\frac{\sqrt{2(m+1)}}{\sqrt{\pi}}e^{-\left(\frac{m+1}{2}\right)\left(\frac{K\epsilon_1}{6\sqrt{\rho}c_2\nu C}\right)^2} \tag*{(206)} ≤ e − m ( c 2 2 − 1 − 2 l o g ( c 2 )) + e − m ( q e , b 2 ( r − R ) c 1 2 − 1 − 2 l o g ( q e , b ( r − R ) c 1 ) ) + π 2 ( m + 1 ) e − ( 2 m + 1 ) ( 6 ρ c 2 ν C K ϵ 1 ) 2 (206)
≤ O ( 1 d N K T ) (207) \le O\left(\frac{1}{dNKT}\right) \tag*{(207)} ≤ O ( d N K T 1 ) (207)
where
− Cond 1 \operatorname{Cond}_1 Cond 1 and Cond 2 \operatorname{Cond}_2 Cond 2 are ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ < c 2 ρ \left\|AV\left(X_{i,k,r,t-1:t-\rho}\right)\right\|<c_2\sqrt{\rho} ∥ A V ( X i , k , r , t − 1 : t − ρ ) ∥ < c 2 ρ and ∥ A V ( D ∗ w k ( r ) , ℓ ) ∥ < c 1 ∥ V ( w k ( r ) , ℓ ) ∥ \left\|AV\left(D^{*}w_{k}^{(r)},\ell\right)\right\|<c_1\left\|V\left(w_{k}^{(r)},\ell\right)\right\| A V ( D ∗ w k ( r ) , ℓ ) < c 1 V ( w k ( r ) , ℓ ) respectively,
− and the last step since
P A ( ∥ A D ∗ V ( w k ( r ) , ℓ ) ∥ ≥ c 1 ∥ V ( w k ( r ) , ℓ ) ∥ ) = P A ( ∥ A D ∗ V ~ ( w k ( r ) , ℓ ) ∥ ≥ c 1 ) , (208) \mathbb{P}_{A}\left(\left\|AD^{*}V\left(w_{k}^{(r)},\ell\right)\right\|\ge c_1\left\|V\left(w_{k}^{(r)},\ell\right)\right\|\right)=\mathbb{P}_{A}\left(\left\|AD^{*}\widetilde{V}\left(w_{k}^{(r)},\ell\right)\right\|\ge c_1\right), \tag*{(208)} P A ( A D ∗ V ( w k ( r ) , ℓ ) ≥ c 1 V ( w k ( r ) , ℓ ) ) = P A ( A D ∗ V ( w k ( r ) , ℓ ) ≥ c 1 ) , (208)
where V ~ ( w k ( r ) , ℓ ) = V ( w k ( r ) , ℓ ) ∥ V ( w k ( r ) , ℓ ) ∥ \widetilde{V}\left(w_{k}^{(r)},\ell\right)=\frac{V\left(w_{k}^{(r)},\ell\right)}{\left\|V\left(w_{k}^{(r)},\ell\right)\right\|} V ( w k ( r ) , ℓ ) = V ( w k ( r ) , ℓ ) V ( w k ( r ) , ℓ ) , combining with this fact that ∥ D ∗ V ~ ( w k ( r ) , ℓ ) ∥ ≤ q e , b R − r \left\|D^{*}\widetilde{V}\left(w_{k}^{(r)},\ell\right)\right\|\le q_{e,b}^{R-r} D ∗ V ( w k ( r ) , ℓ ) ≤ q e , b R − r .
In the last step, we compute the upper bound on the mutual information term, for this purpose let T k , [ d ] = ( T k , 1 ( r ) , … , T k , d ( r ) ) ∈ { 0 , 1 } d T_{k,[d]}=\left(T_{k,1}^{(r)},\ldots,T_{k,d}^{(r)}\right)\in\{0,1\}^{d} T k , [ d ] = ( T k , 1 ( r ) , … , T k , d ( r ) ) ∈ { 0 , 1 } d , where T k , ℓ ( r ) = 1 { ℓ ∈ [ d ] w k ( r ) } T_{k,\ell}^{(r)}=\mathbb{1}\{\ell\in[d]_{w_{k}^{(r)}}\} T k , ℓ ( r ) = 1 { ℓ ∈ [ d ] w k ( r ) } , ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] . Hence, if T k , ℓ ( r ) = 0 T_{k,\ell}^{(r)}=0 T k , ℓ ( r ) = 0 , then
V ( W ^ k ( B , r ) , ℓ ) = V ( W ‾ k , ∗ ( R ) , ℓ ) . (209) V\left(\widehat{W}_{k}^{(B,r)},\ell\right)=V\left(\overline{W}_{k,*}^{(R)},\ell\right). \tag*{(209)} V ( W k ( B , r ) , ℓ ) = V ( W k , ∗ ( R ) , ℓ ) . (209)
For simplicity and with the abuse of notation, denote
[ d ] T k , [ d ] ( r ) = { ℓ ∈ [ d ] : T k , ℓ ( r ) = 1 } . (210) [d]_{\mathsf{T}_{k,[d]}^{(r)}}=\left\{\ell\in[d]:\mathsf{T}_{k,\ell}^{(r)}=1\right\}. \tag*{(210)} [ d ] T k , [ d ] ( r ) = { ℓ ∈ [ d ] : T k , ℓ ( r ) = 1 } . (210)
With this definition, we have
I A ( S k , r ; W ^ k ( R , r ) ∣ Y k , r ) ≤ I A ( W k ( r ) ; W ^ k ( R , r ) ∣ Y k , r ) = I A ( W k ( r ) ; W ^ k ( R , r ) ∣ U k , r ) = I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { V ( W ^ k ( R , r ) , ℓ ) } ℓ ∈ [ d ] ∣ U k , r ) ≤ I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] ∣ U k , r ) ≤ I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] ; T k , [ d ] ( r ) ∣ U k , r ) = I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] ∣ T k , [ d ] ( r ) , U k , r ) + I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; T k , [ d ] ( r ) ∣ U k , r ) ≤ I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] ∣ T k , [ d ] ( r ) , U k , r ) + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) [ I A , T k , [ d ] ( r ) ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] ∣ U k , r ) ] + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) [ h A , T k , [ d ] ( r ) ( { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] T k , [ d ] ( r ) ∣ U k , r ) − h A , T k , [ d ] ( r ) ( { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] T k , [ d ] ( r ) ∣ { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] T k , [ d ] ( r ) , U k , r ) ] + H ( T k , [ d ] ( r ) ) (211) \begin{aligned}
\mathbb{I}^{A}\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\mathcal{Y}_{k,r}\right)
&\le\mathbb{I}^{A}\left(W_{k}^{(r)};\widehat{W}_{k}^{(R,r)}\mid\mathcal{Y}_{k,r}\right)\\
&=\mathbb{I}^{A}\left(W_{k}^{(r)};\widehat{W}_{k}^{(R,r)}\mid\mathcal{U}_{k,r}\right)\\
&=\mathbb{I}^{A}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{V(\widehat{W}_{k}^{(R,r)},\ell)\right\}_{\ell\in[d]}\mid\mathcal{U}_{k,r}\right)\\
&\le\mathbb{I}^{A}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]}\mid\mathcal{U}_{k,r}\right)\\
&\le\mathbb{I}^{A}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]};\mathsf{T}_{k,[d]}^{(r)}\mid\mathcal{U}_{k,r}\right)\\
&=\mathbb{I}^{A}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]}\mid\mathsf{T}_{k,[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\qquad+\mathbb{I}^{A}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\mathsf{T}_{k,[d]}^{(r)}\mid\mathcal{U}_{k,r}\right)\\
&\le\mathbb{I}^{A}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]}\mid\mathsf{T}_{k,[d]}^{(r)},\mathcal{U}_{k,r}\right)+H\left(\mathsf{T}_{k,[d]}^{(r)}\right)\\
&=\mathbb{E}_{\mathsf{T}_{k,[d]}^{(r)}}\left[\mathbb{I}^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]}\mid\mathcal{U}_{k,r}\right)\right]+H\left(\mathsf{T}_{k,[d]}^{(r)}\right)\\
&=\mathbb{E}_{\mathsf{T}_{k,[d]}^{(r)}}\left[h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}}\mid\mathcal{U}_{k,r}\right)-h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}}\mid\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}},\mathcal{U}_{k,r}\right)\right]\\
&\qquad+H\left(\mathsf{T}_{k,[d]}^{(r)}\right) \tag*{(211)}
\end{aligned} I A ( S k , r ; W k ( R , r ) ∣ Y k , r ) ≤ I A ( W k ( r ) ; W k ( R , r ) ∣ Y k , r ) = I A ( W k ( r ) ; W k ( R , r ) ∣ U k , r ) = I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { V ( W k ( R , r ) , ℓ ) } ℓ ∈ [ d ] ∣ U k , r ) ≤ I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W k , ℓ ( r ) } ℓ ∈ [ d ] ∣ U k , r ) ≤ I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W k , ℓ ( r ) } ℓ ∈ [ d ] ; T k , [ d ] ( r ) ∣ U k , r ) = I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W k , ℓ ( r ) } ℓ ∈ [ d ] ∣ T k , [ d ] ( r ) , U k , r ) + I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; T k , [ d ] ( r ) ∣ U k , r ) ≤ I A ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W k , ℓ ( r ) } ℓ ∈ [ d ] ∣ T k , [ d ] ( r ) , U k , r ) + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) [ I A , T k , [ d ] ( r ) ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { W k , ℓ ( r ) } ℓ ∈ [ d ] ∣ U k , r ) ] + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) h A , T k , [ d ] ( r ) { W k , ℓ ( r ) } ℓ ∈ [ d ] T k , [ d ] ( r ) ∣ U k , r − h A , T k , [ d ] ( r ) { W k , ℓ ( r ) } ℓ ∈ [ d ] T k , [ d ] ( r ) ∣ { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] T k , [ d ] ( r ) , U k , r + H ( T k , [ d ] ( r ) ) (211)
≤ E T k , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , [ d ] ( r ) h A , T k , [ d ] ( r ) ( W ^ k , ℓ ( r ) ∣ U k , r ) − h A , T k , [ d ] ( r ) ( { W ^ k , ℓ ( r ) } ℓ ∈ [ d ] T k , [ d ] ( r ) ∣ { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] T k , [ d ] ( r ) , U k , r ) ] + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , [ d ] ( r ) ( h A , T k , [ d ] ( r ) ( W ^ k , ℓ ( r ) ∣ U k , r ) − h A , T k , [ d ] ( r ) ( W ^ k , ℓ ( r ) ∣ V ( W k ( r ) , ℓ ) , U k , r ) ) ] + H ( T k , [ d ] ( r ) ) ≤ E T k , [ d ] ( r ) [ ( ∑ ℓ ∈ [ d ] T k , ℓ ( r ) ) log ( Volume ( B m ( c 1 C + ν ) ) ) ] − E T k , [ d ] ( r ) [ ∑ ℓ ∈ T k , [ d ] ( r ) h A , T k , [ d ] ( r ) ( W ^ k , ℓ ( r ) ∣ V ( W k ( r ) , ℓ ) , U k , r ) ] (212) \begin{aligned}
&\le\mathbb{E}_{\mathsf{T}_{k,[d]}^{(r)}}\left[\sum_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}}h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\widehat{W}_{k,\ell}^{(r)}\mid\mathcal{U}_{k,r}\right)-h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\left\{\widehat{W}_{k,\ell}^{(r)}\right\}_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}}\mid\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}},\mathcal{U}_{k,r}\right)\right]\\
&\qquad+H\left(\mathsf{T}_{k,[d]}^{(r)}\right)\\
&=\mathbb{E}_{\mathsf{T}_{k,[d]}^{(r)}}\left[\sum_{\ell\in[d]_{\mathsf{T}_{k,[d]}^{(r)}}}\left(h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\widehat{W}_{k,\ell}^{(r)}\mid\mathcal{U}_{k,r}\right)-h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\widehat{W}_{k,\ell}^{(r)}\mid V(W_{k}^{(r)},\ell),\mathcal{U}_{k,r}\right)\right)\right]+H\left(\mathsf{T}_{k,[d]}^{(r)}\right)\\
&\le\mathbb{E}_{\mathsf{T}_{k,[d]}^{(r)}}\left[\left(\sum_{\ell\in[d]}\mathsf{T}_{k,\ell}^{(r)}\right)\log\left(\operatorname{Volume}(\mathcal{B}_{m}(c_{1}C+\nu))\right)\right]\\
&\qquad-\mathbb{E}_{\mathsf{T}_{k,[d]}^{(r)}}\left[\sum_{\ell\in\mathsf{T}_{k,[d]}^{(r)}}h^{A,\mathsf{T}_{k,[d]}^{(r)}}\left(\widehat{W}_{k,\ell}^{(r)}\mid V(W_{k}^{(r)},\ell),\mathcal{U}_{k,r}\right)\right] \tag*{(212)}
\end{aligned} ≤ E T k , [ d ] ( r ) ℓ ∈ [ d ] T k , [ d ] ( r ) ∑ h A , T k , [ d ] ( r ) ( W k , ℓ ( r ) ∣ U k , r ) − h A , T k , [ d ] ( r ) { W k , ℓ ( r ) } ℓ ∈ [ d ] T k , [ d ] ( r ) ∣ { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] T k , [ d ] ( r ) , U k , r + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) ℓ ∈ [ d ] T k , [ d ] ( r ) ∑ ( h A , T k , [ d ] ( r ) ( W k , ℓ ( r ) ∣ U k , r ) − h A , T k , [ d ] ( r ) ( W k , ℓ ( r ) ∣ V ( W k ( r ) , ℓ ) , U k , r ) ) + H ( T k , [ d ] ( r ) ) ≤ E T k , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , ℓ ( r ) log ( Volume ( B m ( c 1 C + ν )) ) − E T k , [ d ] ( r ) ℓ ∈ T k , [ d ] ( r ) ∑ h A , T k , [ d ] ( r ) ( W k , ℓ ( r ) ∣ V ( W k ( r ) , ℓ ) , U k , r ) (212)
+ H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , ℓ ( r ) ] log ( Volume ( B m ( c 1 C + ν ) ) ) − E T k , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , ℓ ( r ) ] log ( Volume ( B m ( ν ) ) ) + H ( T k , [ d ] ( r ) ) (213) + H\left(\mathbf{T}^{(r)}_{k,[d]}\right)
= \mathbb{E}_{\mathbf{T}^{(r)}_{k,[d]}}\left[\sum_{\ell\in[d]}T^{(r)}_{k,\ell}\right]\log\left(\operatorname{Volume}\left(\mathcal{B}_m(c_1\mathcal{C}+\nu)\right)\right)-\mathbb{E}_{\mathbf{T}^{(r)}_{k,[d]}}\left[\sum_{\ell\in[d]}T^{(r)}_{k,\ell}\right]\log\left(\operatorname{Volume}\left(\mathcal{B}_m(\nu)\right)\right)+H\left(\mathbf{T}^{(r)}_{k,[d]}\right) \tag*{(213)} + H ( T k , [ d ] ( r ) ) = E T k , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , ℓ ( r ) log ( Volume ( B m ( c 1 C + ν ) ) ) − E T k , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , ℓ ( r ) log ( Volume ( B m ( ν ) ) ) + H ( T k , [ d ] ( r ) ) (213)
= m E T k , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , ℓ ( r ) ] log ( c 1 C + ν ν ) + H ( T k , [ d ] ( r ) ) (214) = m\mathbb{E}_{\mathbf{T}^{(r)}_{k,[d]}}\left[\sum_{\ell\in[d]}T^{(r)}_{k,\ell}\right]\log\left(\frac{c_1\mathcal{C}+\nu}{\nu}\right)+H\left(\mathbf{T}^{(r)}_{k,[d]}\right) \tag*{(214)} = m E T k , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , ℓ ( r ) log ( ν c 1 C + ν ) + H ( T k , [ d ] ( r ) ) (214)
Here, the information quantities are evaluated conditionally on the realization of the independent Gaussian projection matrix A \mathbf{A} A , as indicated by the superscript A. The inequalities (211) and (212) follow from the data processing inequality.
It remains to upper bound H ( T k , [ d ] ( r ) ) H\left(\mathbf{T}^{(r)}_{k,[d]}\right) H ( T k , [ d ] ( r ) ) . Denote N = min ( d , ( 4 C ρ θ ) 2 ) N=\min\left(d,\left(\frac{4C\rho}{\theta}\right)^2\right) N = min ( d , ( θ 4 C ρ ) 2 ) . The vector T k , [ d ] ( r ) \mathbf{T}^{(r)}_{k,[d]} T k , [ d ] ( r ) can have at most N N N entries equal to one. Hence,
If N < d / 2 N<d/2 N < d /2 , the number of possible choices for T k , [ d ] ( r ) \mathbf{T}^{(r)}_{k,[d]} T k , [ d ] ( r ) is at most
∣ T k , [ d ] ( r ) ∣ ≜ ( d 0 ) + ( d 1 ) + ⋯ + ( d N ) ≤ e d h b ( N / d ) . \left|\mathbf{T}^{(r)}_{k,[d]}\right|\triangleq\binom{d}{0}+\binom{d}{1}+\cdots+\binom{d}{N}\le e^{d h_b(N/d)}. T k , [ d ] ( r ) ≜ ( 0 d ) + ( 1 d ) + ⋯ + ( N d ) ≤ e d h b ( N / d ) .
Since
N = min { d , ( 4 C ρ θ ) 2 } , N=\min\left\{d,\left(\frac{4C\rho}{\theta}\right)^2\right\}, N = min { d , ( θ 4 C ρ ) 2 } ,
and N < d / 2 N<d/2 N < d /2 , we have
N = ( 4 C ρ θ ) 2 . N=\left(\frac{4C\rho}{\theta}\right)^2. N = ( θ 4 C ρ ) 2 .
Hence,
H ( T k , [ d ] ( r ) ) ≤ log ( ∣ T k , [ d ] ( r ) ∣ ) ≤ d h b ( 1 d ( 4 C ρ θ ) 2 ) = ( 4 C ρ θ ) 2 [ d ( 4 C ρ θ ) 2 h b ( ( 4 C ρ θ ) 2 d ) ] ≤ ( 4 C ρ θ ) 2 [ 1 + log ( 1 + d ( 4 C ρ θ ) 2 ) ] . \begin{aligned}
H\left(\mathbf{T}^{(r)}_{k,[d]}\right)\le\log\left(\left|\mathbf{T}^{(r)}_{k,[d]}\right|\right) \\
&\le d h_b\left(\frac{1}{d}\left(\frac{4C\rho}{\theta}\right)^2\right) \\
&=\left(\frac{4C\rho}{\theta}\right)^2\left[\frac{d}{\left(\frac{4C\rho}{\theta}\right)^2}h_b\left(\frac{\left(\frac{4C\rho}{\theta}\right)^2}{d}\right)\right] \\
&\le\left(\frac{4C\rho}{\theta}\right)^2\left[1+\log\left(1+\frac{d}{\left(\frac{4C\rho}{\theta}\right)^2}\right)\right].
\end{aligned} H ( T k , [ d ] ( r ) ) ≤ log ( T k , [ d ] ( r ) ) ≤ d h b ( d 1 ( θ 4 C ρ ) 2 ) = ( θ 4 C ρ ) 2 ( θ 4 C ρ ) 2 d h b d ( θ 4 C ρ ) 2 ≤ ( θ 4 C ρ ) 2 1 + log 1 + ( θ 4 C ρ ) 2 d .
where we used
x h b ( 1 / x ) = log ( x ) − x ( 1 − 1 x ) log ( 1 − 1 x ) ≤ log ( x ) − x ( 1 − 1 x ) ( 1 − 1 1 − 1 x ) ≤ log ( x ) + 1 , \begin{aligned}
xh_b(1/x) = \log(x)-x\left(1-\frac{1}{x}\right)\log\left(1-\frac{1}{x}\right) \\
&\leq\log(x)-x\left(1-\frac{1}{x}\right)\left(1-\frac{1}{1-\frac{1}{x}}\right) \\
&\leq\log(x)+1,
\end{aligned} x h b ( 1/ x ) = log ( x ) − x ( 1 − x 1 ) log ( 1 − x 1 ) ≤ log ( x ) − x ( 1 − x 1 ) ( 1 − 1 − x 1 1 ) ≤ log ( x ) + 1 ,
by exploiting the inequality log ( u ) ≥ 1 − 1 / u \log(u)\geq1-1/u log ( u ) ≥ 1 − 1/ u .
H ( T k , [ d ] ( r ) ) ≤ d ≤ 2 N ≤ 2 ( 4 C ρ θ ) 2 . H\left(\mathbf{T}_{k,[d]}^{(r)}\right)\leq d\leq2N\leq2\left(\frac{4C\rho}{\theta}\right)^2. H ( T k , [ d ] ( r ) ) ≤ d ≤ 2 N ≤ 2 ( θ 4 C ρ ) 2 .
Therefore, by recalling equation (214) , we have
216 ≤ m min { d , ( 4 C ρ θ ) 2 } log ( c 1 C + ν ν ) + O ( ( 4 C ρ θ ) 2 [ 1 + log ( 1 + d ( 4 C ρ θ ) 2 ) ] ) . 216\leq m\min\left\{d,\left(\frac{4C\rho}{\theta}\right)^2\right\}\log\left(\frac{c_1C+\nu}{\nu}\right)
+\mathcal{O}\left(\left(\frac{4C\rho}{\theta}\right)^2\left[1+\log\left(1+\frac{d}{\left(\frac{4C\rho}{\theta}\right)^2}\right)\right]\right). 216 ≤ m min { d , ( θ 4 C ρ ) 2 } log ( ν c 1 C + ν ) + O ( θ 4 C ρ ) 2 1 + log 1 + ( θ 4 C ρ ) 2 d .
This completes the proof.
Proof of Theorem 5
The proof of Theorem 5 follows the same lossy approach as the proof of Theorem 4. At the beginning, let us consider the parameters
m 3 = ⌈ 448 ( C ⋅ t K θ ) 2 log ( d N K T ) ⌉ , (215) m_3=\left\lceil448\left(\frac{C\cdot t}{K\theta}\right)^2\log(dNKT)\right\rceil, \tag*{(215)} m 3 = ⌈ 448 ( K θ C ⋅ t ) 2 log ( d N K T ) ⌉ , (215)
m 4 = ⌈ 448 ( C 2 ⋅ t ⋅ ρ K θ ) 2 log ( ρ d N K T ) ⌉ , m_4=\left\lceil448\left(\frac{C^2\cdot t\cdot\sqrt{\rho}}{K\theta}\right)^2\log(\rho dNKT)\right\rceil, m 4 = ⌈ 448 ( K θ C 2 ⋅ t ⋅ ρ ) 2 log ( ρ d N K T ) ⌉ ,
c 4 , 1 = c 3 , 1 = q e , b ( R − r ) K 2 θ 2 C 2 t 2 + 1 , ν 4 = ν 3 = t 2 c 1 , c_{4,1}=c_{3,1}=q_{e,b}^{(R-r)}\sqrt{\frac{K^2\theta^2}{C^2t^2}+1},\qquad\nu_4=\nu_3=\frac{t}{2c_1}, c 4 , 1 = c 3 , 1 = q e , b ( R − r ) C 2 t 2 K 2 θ 2 + 1 , ν 4 = ν 3 = 2 c 1 t ,
c 4 , 2 = c 3 , 2 = K 2 θ 2 C 2 t 2 + 1 , (216) c_{4,2}=c_{3,2}=\sqrt{\frac{K^2\theta^2}{C^2t^2}+1}, \tag*{(216)} c 4 , 2 = c 3 , 2 = C 2 t 2 K 2 θ 2 + 1 , (216)
where t ≥ q e , b ( R − r ) t\geq q_{e,b}^{(R-r)} t ≥ q e , b ( R − r ) , these parameters will be used in the remainder of the proof. We use the extension of Theorem 2 to derive an upper bound on the rate–distortion term R D ( ⋅ ) R_{\mathcal{D}}(\cdot) R D ( ⋅ ) . Since the attention mechanism depends on the product of the transpose of the Key matrix and the Query matrix, i.e., M k , 2 T M k , 1 M_{k,2}^{\mathsf{T}}M_{k,1} M k , 2 T M k , 1 , as well as the matrix M k , 3 M_{k,3} M k , 3 , we introduce the matrix M k , 4 = M k , 2 T M k , 1 M_{k,4}=M_{k,2}^{\mathsf{T}}M_{k,1} M k , 4 = M k , 2 T M k , 1 . Accordingly, we consider the equivalent parameterization W k = ( M k , 3 , M k , 4 ) W_k=(M_{k,3},M_{k,4}) W k = ( M k , 3 , M k , 4 ) for defining the attention problem. In this setting, the local model for client k k k at round r r r is defined as W k ( r ) = ( M k , 3 ( r ) , M k , 4 ( r ) ) W_k^{(r)}=\left(M_{k,3}^{(r)},M_{k,4}^{(r)}\right) W k ( r ) = ( M k , 3 ( r ) , M k , 4 ( r ) ) , while the aggregated model at the r r r -th round is denoted by W ‾ ( r ) = ( M ‾ 3 ( r ) , M ‾ 4 ( r ) ) \overline{W}^{(r)}=\left(\overline{M}_3^{(r)},\overline{M}_4^{(r)}\right) W ( r ) = ( M 3 ( r ) , M 4 ( r ) ) .
We define an auxiliary conditional probability distribution, analogous to (148) , that satisfies Condition 27 by considering the mini-batches B { k , r , t } \mathcal{B}\{k,r,t\} B { k , r , t } and the auxiliary variable U k , r \mathcal{U}_{k,r} U k , r , defined similarly to (149) and (150) , respectively.
Therefore, we can rewrite g M k , [ 2 ] ( x ⃗ k ) g_{M_{k,[2]}}(\vec{x}_k) g M k , [ 2 ] ( x k ) in Theorem 5 as follows:
g M k , 4 ( x ⃗ k ) : = g M k , [ 2 ] ( x ⃗ k ) : = σ ( 1 ρ ⟨ M k , 1 E ( x k , t − 1 ) , M k , 2 E ( x k , t − j ) ⟩ ) j = 1 ρ = σ ( 1 ρ ⟨ M k , 2 T M k , 1 E ( x k , t − 1 ) , E ( x k , t − j ) ⟩ ) j = 1 ρ = σ ( 1 ρ ⟨ M k , 4 E ( x k , t − 1 ) , E ( x k , t − j ) ⟩ ) j = 1 ρ \begin{aligned}
g_{M_{k,4}}(\vec{x}_k)&:=g_{M_{k,[2]}}(\vec{x}_k):=\sigma\left(\frac{1}{\sqrt{\rho}}\left\langle M_{k,1}\mathcal{E}(x_{k,t-1}),M_{k,2}\mathcal{E}(x_{k,t-j})\right\rangle\right)_{j=1}^{\rho}\\
&=\sigma\left(\frac{1}{\sqrt{\rho}}\left\langle M_{k,2}^{\mathsf{T}}M_{k,1}\mathcal{E}(x_{k,t-1}),\mathcal{E}(x_{k,t-j})\right\rangle\right)_{j=1}^{\rho}\\
&=\sigma\left(\frac{1}{\sqrt{\rho}}\left\langle M_{k,4}\mathcal{E}(x_{k,t-1}),\mathcal{E}(x_{k,t-j})\right\rangle\right)_{j=1}^{\rho}
\end{aligned} g M k , 4 ( x k ) := g M k , [ 2 ] ( x k ) := σ ( ρ 1 ⟨ M k , 1 E ( x k , t − 1 ) , M k , 2 E ( x k , t − j ) ⟩ ) j = 1 ρ = σ ( ρ 1 ⟨ M k , 2 T M k , 1 E ( x k , t − 1 ) , E ( x k , t − j ) ⟩ ) j = 1 ρ = σ ( ρ 1 ⟨ M k , 4 E ( x k , t − 1 ) , E ( x k , t − j ) ⟩ ) j = 1 ρ
Let C 1 ( w k ( r ) , t , x ⃗ k , r ) C_1(w_k^{(r)},t,\vec{x}_{k,r}) C 1 ( w k ( r ) , t , x k , r ) and C 2 ( w k ( r ) , t , x ⃗ k , r ) C_2(w_k^{(r)},t,\vec{x}_{k,r}) C 2 ( w k ( r ) , t , x k , r ) be defined as in (160) and (161) , respectively. This definition implies that, given the model W k ( r ) W_k^{(r)} W k ( r ) , we have
p W k ( r ) ( x k , r , t ∣ x k , r , t − 1 , ⋯ , x k , r , t − τ ) = exp [ ⟨ E ( x k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] ∑ x ˉ k , r , t exp [ ⟨ E ( x ˉ k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] p_{W_k^{(r)}}(x_{k,r,t}\mid x_{k,r,t-1},\cdots,x_{k,r,t-\tau})=
\frac{\exp\left[\left\langle\mathcal{E}(x_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]}
{\sum_{\bar{x}_{k,r,t}}\exp\left[\left\langle\mathcal{E}(\bar{x}_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]} p W k ( r ) ( x k , r , t ∣ x k , r , t − 1 , ⋯ , x k , r , t − τ ) = ∑ x ˉ k , r , t exp [ ⟨ E ( x ˉ k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] exp [ ⟨ E ( x k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ]
and
C 1 ( w k ( r ) , t , x ⃗ k , r ) = exp [ ⟨ E ( x k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] ∑ x ˉ k , r , t exp [ ⟨ E ( x ˉ k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] C_1(w_k^{(r)},t,\vec{x}_{k,r})=
\frac{\exp\left[\left\langle\mathcal{E}(x_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]}
{\sum_{\bar{x}_{k,r,t}}\exp\left[\left\langle\mathcal{E}(\bar{x}_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]} C 1 ( w k ( r ) , t , x k , r ) = ∑ x ˉ k , r , t exp [ ⟨ E ( x ˉ k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] exp [ ⟨ E ( x k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ]
C 2 ( w k ( r ) , t , x ⃗ k ) = max x k , r , t ′ ≠ x k , r , t exp [ ⟨ E ( x k , r , t ′ ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] ∑ x ˉ k , r , t exp [ ⟨ E ( x ˉ k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] C_2(w_k^{(r)},t,\vec{x}_k)=
\frac{\max_{x'_{k,r,t}\ne x_{k,r,t}}\exp\left[\left\langle\mathcal{E}(x'_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]}
{\sum_{\bar{x}_{k,r,t}}\exp\left[\left\langle\mathcal{E}(\bar{x}_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]} C 2 ( w k ( r ) , t , x k ) = ∑ x ˉ k , r , t exp [ ⟨ E ( x ˉ k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] max x k , r , t ′ = x k , r , t exp [ ⟨ E ( x k , r , t ′ ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ]
which implies that
log C 1 ( w k ( r ) , t , x ⃗ k , r ) C 2 ( w k ( r ) , t , x ⃗ k , r ) = [ ⟨ E ( x k , r , t ) , M k , 3 ( r ) ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] − max x k , r , t ′ ≠ x k , r , t [ ⟨ E ( x k , r , t ′ ) , M k , 3 ∑ j = 1 ρ ( g M k , 4 ( r ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] \log\frac{C_1\left(w_k^{(r)},t,\vec{x}_{k,r}\right)}{C_2\left(w_k^{(r)},t,\vec{x}_{k,r}\right)}
=
\left[
\left\langle\mathcal{E}(x_{k,r,t}),M_{k,3}^{(r)}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle
\right]
-
\max_{\substack{x'_{k,r,t}\ne x_{k,r,t}}}
\left[
\left\langle\mathcal{E}(x'_{k,r,t}),M_{k,3}\sum_{j=1}^{\rho}\left(g_{M_{k,4}^{(r)}}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle
\right] log C 2 ( w k ( r ) , t , x k , r ) C 1 ( w k ( r ) , t , x k , r ) = [ ⟨ E ( x k , r , t ) , M k , 3 ( r ) j = 1 ∑ ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ] − x k , r , t ′ = x k , r , t max [ ⟨ E ( x k , r , t ′ ) , M k , 3 j = 1 ∑ ρ ( g M k , 4 ( r ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ]
For each client k ∈ [ K ] k\in[K] k ∈ [ K ] and model i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } at round r r r , we additionally define the variables M ‾ k , i ( r ) \overline{M}_{k,i}^{(r)} M k , i ( r ) and M ^ k , i ( R , r ) \widehat{M}_{k,i}^{(R,r)} M k , i ( R , r ) such that A i A_i A i be independent for any i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } . The variable M ‾ k , i ( r ) , ∗ \overline{M}_{k,i}^{(r),*} M k , i ( r ) , ∗ is defined analogously to (152), while
M ^ k , i ( R , r ) = M ‾ k , i ( R ) , ∗ + 1 K A i T M ^ k , i ( r ) , W ^ k , 1 ( R , r ) = ( M ^ k , 3 ( R , r ) , M ‾ 4 ( R ) ) , W ^ k ( R , r ) = ( M ^ k , 3 ( R , r ) , M ^ k , 4 ( R , r ) ) . \begin{aligned}
\widehat{M}_{k,i}^{(R,r)}&=\overline{M}_{k,i}^{(R),*}+\frac{1}{K}A_i^{\mathsf T}\widehat{M}_{k,i}^{(r)},\\
\widehat{W}_{k,1}^{(R,r)}&=\left(\widehat{M}_{k,3}^{(R,r)},\overline{M}_4^{(R)}\right),\\
\widehat{W}_{k}^{(R,r)}&=\left(\widehat{M}_{k,3}^{(R,r)},\widehat{M}_{k,4}^{(R,r)}\right).
\end{aligned} M k , i ( R , r ) W k , 1 ( R , r ) W k ( R , r ) = M k , i ( R ) , ∗ + K 1 A i T M k , i ( r ) , = ( M k , 3 ( R , r ) , M 4 ( R ) ) , = ( M k , 3 ( R , r ) , M k , 4 ( R , r ) ) .
Using the same approach as equation (160) we have
E S , V , W , W ^ k ( R , r ) [ gen k , θ ( S k , r , W ‾ ( R ) ) − gen k , 0 ( S k , r , W ^ k ( R , r ) ) ] ≤ E S k , r , W ‾ ( R ) [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 ( W ‾ ( R ) , t , X ⃗ k , r ) C 2 ( W ‾ ( R ) , t , X ⃗ k , r ) − log C 1 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) C 2 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) ∣ > θ 2 } ] + E S k , r , W ^ k ( R , r ) [ 1 N R ∑ n ∈ [ N R ] [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 , n ( W ^ k ( R , r ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ^ k ( R , r ) , t , X ⃗ k , r ( n ) ) − log C 1 , n ( W ‾ ( R ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ‾ ( R ) , t , X ⃗ k , r ( n ) ) ∣ > θ 2 } ] ] ≤ ϵ A [ 3 ] , k , 1 + ϵ A [ 3 ] , k , 2 = ϵ A [ 3 ] , k , \begin{aligned}
&\mathbb{E}_{S,V,W,\widehat{W}_{k}^{(R,r)}}\left[\operatorname{gen}_{k,\theta}(S_{k,r},\overline{W}^{(R)})-\operatorname{gen}_{k,0}(S_{k,r},\widehat{W}_{k}^{(R,r)})\right]\\
&\le\mathbb{E}_{S_{k,r},\overline{W}^{(R)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_1(\overline{W}^{(R)},t,\vec{X}_{k,r})}{C_2(\overline{W}^{(R)},t,\vec{X}_{k,r})}-\log\frac{C_1(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}{C_2(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}\right|>\frac{\theta}{2}\right\}\right]\\
&\quad+\mathbb{E}_{S_{k,r},\widehat{W}_{k}^{(R,r)}}\left[\frac{1}{N_R}\sum_{n\in[N_R]}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_{1,n}(\widehat{W}_{k}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\widehat{W}_{k}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}-\log\frac{C_{1,n}(\overline{W}^{(R)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\overline{W}^{(R)},t,\vec{X}_{k,r}^{(n)})}\right|>\frac{\theta}{2}\right\}\right]\right]\\
&\le\epsilon_{A_{[3]},k,1}+\epsilon_{A_{[3]},k,2}\\
&=\epsilon_{A_{[3]},k},
\end{aligned} E S , V , W , W k ( R , r ) [ gen k , θ ( S k , r , W ( R ) ) − gen k , 0 ( S k , r , W k ( R , r ) ) ] ≤ E S k , r , W ( R ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W ( R ) , t , X k , r ) C 1 ( W ( R ) , t , X k , r ) − log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) > 2 θ } + E S k , r , W k ( R , r ) N R 1 n ∈ [ N R ] ∑ T 1 t ∈ [ T ] ∑ 1 ⎩ ⎨ ⎧ log C 2 , n ( W k ( R , r ) , t , X k , r ( n ) ) C 1 , n ( W k ( R , r ) , t , X k , r ( n ) ) − log C 2 , n ( W ( R ) , t , X k , r ( n ) ) C 1 , n ( W ( R ) , t , X k , r ( n ) ) > 2 θ ⎭ ⎬ ⎫ ≤ ϵ A [ 3 ] , k , 1 + ϵ A [ 3 ] , k , 2 = ϵ A [ 3 ] , k ,
applying the triangle inequality implies that
ϵ A [ 3 ] , k , 1 = E S k , r , W ‾ ( R ) [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 ( W ‾ ( R ) , t , X ⃗ k , r ) C 2 ( W ‾ ( R ) , t , X ⃗ k , r ) − log C 1 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) C 2 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) ∣ > θ 4 } ] + E S k , r , W ‾ ( R ) [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) C 2 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) − log C 1 ( W ^ k ( R , r ) , t , X ⃗ k , r ) C 2 ( W ^ k ( R , r ) , t , X ⃗ k , r ) ∣ > θ 4 } ] = I 1 + I I 1 (217) \begin{aligned}
\epsilon_{A_{[3]},k,1}
&=\mathbb{E}_{S_{k,r},\overline{W}^{(R)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_1(\overline{W}^{(R)},t,\vec{X}_{k,r})}{C_2(\overline{W}^{(R)},t,\vec{X}_{k,r})}-\log\frac{C_1(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}{C_2(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}\right|>\frac{\theta}{4}\right\}\right]\\
&\quad+\mathbb{E}_{S_{k,r},\overline{W}^{(R)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_1(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}{C_2(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}-\log\frac{C_1(\widehat{W}_{k}^{(R,r)},t,\vec{X}_{k,r})}{C_2(\widehat{W}_{k}^{(R,r)},t,\vec{X}_{k,r})}\right|>\frac{\theta}{4}\right\}\right]\\
&=\mathbb{I}^{1}+\mathbb{II}^{1} \tag*{(217)}
\end{aligned} ϵ A [ 3 ] , k , 1 = E S k , r , W ( R ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W ( R ) , t , X k , r ) C 1 ( W ( R ) , t , X k , r ) − log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) > 4 θ } + E S k , r , W ( R ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) − log C 2 ( W k ( R , r ) , t , X k , r ) C 1 ( W k ( R , r ) , t , X k , r ) > 4 θ } = I 1 + II 1 (217)
and
ϵ A [ 3 ] , k , 2 = E S k , r , W ^ k ( R , r ) [ 1 N R ∑ n ∈ [ N R ] [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 , n ( W ‾ ( R ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ‾ ( R ) , t , X ⃗ k , r ( n ) ) − log C 1 , n ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ( n ) ) ∣ ≥ θ 4 } ] + E S k , r , W ^ k ( R , r ) [ 1 N R ∑ n ∈ [ N R ] [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 , n ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ( n ) ) − log C 1 , n ( W ^ k ( R , r ) , t , X ⃗ k , r ( n ) ) C 2 , n ( W ^ k ( R , r ) , t , X ⃗ k , r ( n ) ) ∣ ≥ θ 4 } ] . (218) \begin{aligned}
\epsilon_{\mathcal{A}_{[3],k,2}}={}&\mathbb{E}_{S_{k,r},\widehat{W}_{k}^{(R,r)}}[\frac{1}{N_R}\sum_{n\in[N_R]}[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\{|\log\frac{C_{1,n}(\overline{W}^{(R)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\overline{W}^{(R)},t,\vec{X}_{k,r}^{(n)})}-\log\frac{C_{1,n}(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}|\geq\frac{\theta}{4}\}]\\
&+\mathbb{E}_{S_{k,r},\widehat{W}_{k}^{(R,r)}}[\frac{1}{N_R}\sum_{n\in[N_R]}[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\{|\log\frac{C_{1,n}(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}-\log\frac{C_{1,n}(\widehat{W}_{k}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}{C_{2,n}(\widehat{W}_{k}^{(R,r)},t,\vec{X}_{k,r}^{(n)})}|\geq\frac{\theta}{4}\}]. \tag*{(218)}
\end{aligned} ϵ A [ 3 ] , k , 2 = E S k , r , W k ( R , r ) [ N R 1 n ∈ [ N R ] ∑ [ T 1 t ∈ [ T ] ∑ 1 { ∣ log C 2 , n ( W ( R ) , t , X k , r ( n ) ) C 1 , n ( W ( R ) , t , X k , r ( n ) ) − log C 2 , n ( W k , 1 ( R , r ) , t , X k , r ( n ) ) C 1 , n ( W k , 1 ( R , r ) , t , X k , r ( n ) ) ∣ ≥ 4 θ }] + E S k , r , W k ( R , r ) [ N R 1 n ∈ [ N R ] ∑ [ T 1 t ∈ [ T ] ∑ 1 { ∣ log C 2 , n ( W k , 1 ( R , r ) , t , X k , r ( n ) ) C 1 , n ( W k , 1 ( R , r ) , t , X k , r ( n ) ) − log C 2 , n ( W k ( R , r ) , t , X k , r ( n ) ) C 1 , n ( W k ( R , r ) , t , X k , r ( n ) ) ∣ ≥ 4 θ }] . (218)
ϵ A [ 3 ] , k , 2 = I 2 + I I 2 (219) \epsilon_{\mathcal{A}_{[3],k,2}}=\mathbb{I}^{2}+\mathbb{II}^{2} \tag*{(219)} ϵ A [ 3 ] , k , 2 = I 2 + II 2 (219)
then we show that
E A [ 3 ] [ ϵ A [ 3 ] , k ] ≤ O ( 1 N K T ) . \mathbb{E}_{\mathcal{A}_{[3]}}\left[\epsilon_{\mathcal{A}_{[3],k}}\right]\leq\mathcal{O}\left(\frac{1}{NKT}\right). E A [ 3 ] [ ϵ A [ 3 ] , k ] ≤ O ( N K T 1 ) .
Similar to (164) , for any w k ( r ) = ( M k , 3 ( r ) , M k , 4 ( r ) ) w_k^{(r)}=\left(M_{k,3}^{(r)},M_{k,4}^{(r)}\right) w k ( r ) = ( M k , 3 ( r ) , M k , 4 ( r ) ) and i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } , we define
V [ ℓ , M k , i ( r ) ] : = ( M k , i ( r ) [ ℓ , 1 ] , … , M k , i ( r ) [ ℓ , d ] ) ∈ R d V [ M k , i ( r ) , ℓ ] : = ( M k , i ( r ) [ 1 , ℓ ] , … , M k , i ( r ) [ d , ℓ ] ) ∈ R d (220) \begin{aligned}
V\left[\ell,M_{k,i}^{(r)}\right]&:=\left(M_{k,i}^{(r)}[\ell,1],\ldots,M_{k,i}^{(r)}[\ell,d]\right)\in\mathbb{R}^{d}\\
V\left[M_{k,i}^{(r)},\ell\right]&:=\left(M_{k,i}^{(r)}[1,\ell],\ldots,M_{k,i}^{(r)}[d,\ell]\right)\in\mathbb{R}^{d} \tag*{(220)}
\end{aligned} V [ ℓ , M k , i ( r ) ] V [ M k , i ( r ) , ℓ ] := ( M k , i ( r ) [ ℓ , 1 ] , … , M k , i ( r ) [ ℓ , d ] ) ∈ R d := ( M k , i ( r ) [ 1 , ℓ ] , … , M k , i ( r ) [ d , ℓ ] ) ∈ R d (220)
I 1 = E S k , r , W ( R ) , W ^ k , 1 ( R , r ) [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 ( W ‾ ( R ) , t , X ⃗ k , r ) C 2 ( W ‾ ( R ) , t , X ⃗ k , r ) − log C 1 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) C 2 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) ∣ ≥ θ 4 } ] . \mathbb{I}^{1}=\mathbb{E}_{S_{k,r},W^{(R)},\widehat{W}_{k,1}^{(R,r)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_1(\overline{W}^{(R)},t,\vec{X}_{k,r})}{C_2(\overline{W}^{(R)},t,\vec{X}_{k,r})}-\log\frac{C_1(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}{C_2(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}\right|\geq\frac{\theta}{4}\right\}\right]. I 1 = E S k , r , W ( R ) , W k , 1 ( R , r ) T 1 t ∈ [ T ] ∑ 1 { log C 2 ( W ( R ) , t , X k , r ) C 1 ( W ( R ) , t , X k , r ) − log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) ≥ 4 θ } .
this implies that
D k , r , t − 1 : t − ρ ( 1 ) : = ∣ log C 1 ( W ‾ ( R ) , t , X ⃗ k , r ) C 2 ( W ‾ ( R ) , t , X ⃗ k , r ) − log C 1 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) C 2 ( W ^ k , 1 ( R , r ) , t , X ⃗ k , r ) ∣ ≤ ⟨ E ( x k , r , t ) , ∑ j = 1 ρ ( g M 4 ( R ) ( x ⃗ k , r ) ) j ⋅ M ‾ 3 ( R ) ⋅ E ( x k , r , t − j ) ⟩ − max x k , r , t ′ ≠ x k , r , t [ ⟨ E ( x k , r , t ′ ) , ∑ j = 1 ρ ( g M 4 ( R ) ( x ⃗ k , r ) ) j ⋅ M ‾ k , 3 ( R ) ⋅ E ( x k , r , t − j ) ⟩ ] \begin{aligned}
D_{k,r,t-1:t-\rho}^{(1)}&:=\left|\log\frac{C_1(\overline{W}^{(R)},t,\vec{X}_{k,r})}{C_2(\overline{W}^{(R)},t,\vec{X}_{k,r})}-\log\frac{C_1(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}{C_2(\widehat{W}_{k,1}^{(R,r)},t,\vec{X}_{k,r})}\right|\\
&\leq\left\langle\mathcal{E}(x_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{M_4^{(R)}}(\vec{x}_{k,r})\right)_j\cdot\overline{M}_{3}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\\
&\quad-\max_{x'_{k,r,t}\ne x_{k,r,t}}\left[\left\langle\mathcal{E}(x'_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{M_4^{(R)}}(\vec{x}_{k,r})\right)_j\cdot\overline{M}_{k,3}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]
\end{aligned} D k , r , t − 1 : t − ρ ( 1 ) := log C 2 ( W ( R ) , t , X k , r ) C 1 ( W ( R ) , t , X k , r ) − log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) ≤ ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( g M 4 ( R ) ( x k , r ) ) j ⋅ M 3 ( R ) ⋅ E ( x k , r , t − j ) ⟩ − x k , r , t ′ = x k , r , t max [ ⟨ E ( x k , r , t ′ ) , j = 1 ∑ ρ ( g M 4 ( R ) ( x k , r ) ) j ⋅ M k , 3 ( R ) ⋅ E ( x k , r , t − j ) ⟩ ]
− ⟨ E ( x k , r , t ) , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ + max x k , r , t ′ ≠ x k , r , t [ ⟨ E ( x k , r , t ′ ) , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ] ≤ ∣ ⟨ E ( x k , r , t ) , ∑ j = 1 ρ ( g M 4 ( R ) ( x ⃗ k , r ) − g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ + max x k , r , t ′ ≠ x k , r , t [ ∣ ⟨ E ( x k , r , t ′ ) , ∑ j = 1 ρ ( g M 4 ( R ) ( x ⃗ k , r ) − g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ ] ≤ 2 max x ⃗ k , r , t ∣ ⟨ E ( x ⃗ k , r , t ) , ∑ j = 1 ρ ( g M 4 ( R ) ( x ⃗ k , r ) − g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ . (221) \begin{aligned}
&-\left\langle\mathcal{E}(x_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\\
&\quad+\max_{x'_{k,r,t}\ne x_{k,r,t}}\left[\left\langle\mathcal{E}(x'_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right]\\
&\leq\left|\left\langle\mathcal{E}(x_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{M_4}^{(R)}(\vec{x}_{k,r})-g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\\
&\quad+\max_{x'_{k,r,t}\ne x_{k,r,t}}\left[\left|\left\langle\mathcal{E}(x'_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{M_4}^{(R)}(\vec{x}_{k,r})-g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\right]\\
&\leq2\max_{\vec{x}_{k,r,t}}\left|\left\langle\mathcal{E}(\vec{x}_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{M_4}^{(R)}(\vec{x}_{k,r})-g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|. \tag*{(221)}
\end{aligned} − ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ + x k , r , t ′ = x k , r , t max [ ⟨ E ( x k , r , t ′ ) , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ] ≤ ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( g M 4 ( R ) ( x k , r ) − g M k , 4 ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ + x k , r , t ′ = x k , r , t max [ ⟨ E ( x k , r , t ′ ) , j = 1 ∑ ρ ( g M 4 ( R ) ( x k , r ) − g M k , 4 ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ] ≤ 2 x k , r , t max ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( g M 4 ( R ) ( x k , r ) − g M k , 4 ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ . (221)
Let define
Δ ⃗ g ( R ) ( x ⃗ k , r ) = g M 4 ( R ) ( x ⃗ k , r ) − g M ^ k , 4 ( R ) ( x ⃗ k , r ) , \vec{\Delta}g^{(R)}(\vec{x}_{k,r})=g_{M_4}^{(R)}(\vec{x}_{k,r})-g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r}), Δ g ( R ) ( x k , r ) = g M 4 ( R ) ( x k , r ) − g M k , 4 ( R ) ( x k , r ) ,
thus we have
( 225 ) = 2 max x ⃗ k , r , t ∣ ⟨ E ( x ⃗ k , r , t ) , ∑ j = 1 ρ ( Δ ⃗ g ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ . (225)=2\max_{\vec{x}_{k,r,t}}\left|\left\langle\mathcal{E}(\vec{x}_{k,r,t}),\sum_{j=1}^{\rho}\left(\vec{\Delta}g^{(R)}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|. ( 225 ) = 2 x k , r , t max ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ .
therefore by recalling I 1 \mathbb{I}^{1} I 1 and I 2 \mathbb{I}^{2} I 2 in equations (220) and (223) respectively, we obtain
I 1 = 1 T ∑ t = 1 T P ( D k , r , t − 1 : t − ρ ( 1 ) > θ 4 ) ≤ 1 T ∑ t = 1 T P ( 2 max x ⃗ k , r , t ∣ ⟨ E ( x ⃗ k , r , t ) , ∑ j = 1 ρ ( Δ ⃗ g ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ ≥ θ 4 ) = 1 T ∑ t = 1 T P ( max x ⃗ k , r , t ∣ ⟨ E ( x ⃗ k , r , t ) , ∑ j = 1 ρ ( Δ ⃗ g ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) (222) \begin{aligned}
\mathbb{I}^{1}=\frac{1}{T}\sum_{t=1}^{T}\mathbb{P}\left(D_{k,r,t-1:t-\rho}^{(1)}>\frac{\theta}{4}\right) \\
&\leq\frac{1}{T}\sum_{t=1}^{T}\mathbb{P}\left(2\max_{\vec{x}_{k,r,t}}\left|\left\langle\mathcal{E}(\vec{x}_{k,r,t}),\sum_{j=1}^{\rho}\left(\vec{\Delta}g^{(R)}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{4}\right) \\
&=\frac{1}{T}\sum_{t=1}^{T}\mathbb{P}\left(\max_{\vec{x}_{k,r,t}}\left|\left\langle\mathcal{E}(\vec{x}_{k,r,t}),\sum_{j=1}^{\rho}\left(\vec{\Delta}g^{(R)}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{8}\right) \tag*{(222)}
\end{aligned} I 1 = T 1 t = 1 ∑ T P ( D k , r , t − 1 : t − ρ ( 1 ) > 4 θ ) ≤ T 1 t = 1 ∑ T P ( 2 x k , r , t max ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ≥ 4 θ ) = T 1 t = 1 ∑ T P ( x k , r , t max ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ≥ 8 θ ) (222)
≤ 1 T ∑ t = 1 T ∑ E ( x ⃗ k , r , t ) P ( ∣ ⟨ E ( x ⃗ k , r , t ) , ∑ j = 1 ρ ( Δ ⃗ g ( R ) ( x ⃗ k , r ) ) ⋅ M ‾ 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) (223) \leq\frac{1}{T}\sum_{t=1}^{T}\sum_{\mathcal{E}(\vec{x}_{k,r,t})}\mathbb{P}\left(\left|\left\langle\mathcal{E}(\vec{x}_{k,r,t}),\sum_{j=1}^{\rho}\left(\vec{\Delta}g^{(R)}(\vec{x}_{k,r})\right)\cdot\overline{M}_{3,j}^{(R)}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{8}\right) \tag*{(223)} ≤ T 1 t = 1 ∑ T E ( x k , r , t ) ∑ P ( ⟨ E ( x k , r , t ) , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) ⋅ M 3 , j ( R ) ⋅ E ( x k , r , t − j ) ⟩ ≥ 8 θ ) (223)
= 1 T ∑ t = 1 T ∑ E ( x ⃗ k , r , t ) P ( ∣ ⟨ M ‾ 3 ( R ) T ⋅ E ( x k , r , t ) , ∑ j = 1 ρ ( Δ ⃗ g ( R ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) . (224) =\frac{1}{T}\sum_{t=1}^{T}\sum_{\mathcal{E}(\vec{x}_{k,r,t})}\mathbb{P}\left(\left|\left\langle\overline{M}_{3}^{(R)\mathsf{T}}\cdot\mathcal{E}(x_{k,r,t}),\sum_{j=1}^{\rho}\left(\vec{\Delta}g^{(R)}(\vec{x}_{k,r})\right)_{j}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{8}\right). \tag*{(224)} = T 1 t = 1 ∑ T E ( x k , r , t ) ∑ P ( ⟨ M 3 ( R ) T ⋅ E ( x k , r , t ) , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ≥ 8 θ ) . (224)
= 1 T ∑ t = 1 T ∑ ℓ ∈ [ d ] P ( ⟨ V [ M ‾ 3 ( R ) ⊤ , ℓ ] , ∑ j = 1 ρ ( Δ g ^ 1 ( R ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ≥ θ 8 ) (225) = \frac{1}{T}\sum_{t=1}^{T}\sum_{\ell\in[d]}\mathbb{P}\left(\left\langle V\left[\overline{M}_{3}^{(R)\top},\ell\right],\sum_{j=1}^{\rho}\left(\widehat{\Delta g}_{1}^{(R)}(\vec{x}_{k,r})\right)_{j}\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\ge\frac{\theta}{8}\right) \tag*{(225)} = T 1 t = 1 ∑ T ℓ ∈ [ d ] ∑ P ( ⟨ V [ M 3 ( R ) ⊤ , ℓ ] , j = 1 ∑ ρ ( Δ g 1 ( R ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ≥ 8 θ ) (225)
where
Equation (226) follows from derived upper bound in (225) on D k , r , t − 1 : t − ρ ( 1 ) D_{k,r,t-1:t-\rho}^{(1)} D k , r , t − 1 : t − ρ ( 1 ) .
Equation (227) is due to union bound.
For i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } we have V [ A i D ∗ M k , i ( r ) , ℓ ] = A i V [ D ∗ M k , i ( r ) , ℓ ] V[A_iD^*M_{k,i}^{(r)},\ell]=A_iV[D^*M_{k,i}^{(r)},\ell] V [ A i D ∗ M k , i ( r ) , ℓ ] = A i V [ D ∗ M k , i ( r ) , ℓ ] and ∑ ℓ ∈ [ d ] ∥ V [ M k , i ( r ) , ℓ ] ∥ 2 = ∥ M k , i ( r ) ∥ 2 \sum_{\ell\in[d]}\left\|V[M_{k,i}^{(r)},\ell]\right\|^2=\left\|M_{k,i}^{(r)}\right\|^2 ∑ ℓ ∈ [ d ] V [ M k , i ( r ) , ℓ ] 2 = M k , i ( r ) 2 where A i ∈ R m i × d A_i\in\mathbb{R}^{m_i\times d} A i ∈ R m i × d whose elements are distributed in an i.i.d. manner according to N ( 0 , 1 / m i ) \mathcal{N}(0,1/m_i) N ( 0 , 1/ m i ) . For any ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] , r ∈ [ d ] r\in[d] r ∈ [ d ] , i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } and k ∈ [ K ] k\in[K] k ∈ [ K ] define the event J k , ℓ , i ( r ) \mathcal{J}_{k,\ell,i}^{(r)} J k , ℓ , i ( r ) as following where c i , 1 ∈ R + c_{i,1}\in\mathbb{R}_{+} c i , 1 ∈ R + , i.e.
J k , ℓ , i ( r ) : = 1 { ∥ A i V [ D ∗ M k , i ( r ) ⊤ , ℓ ] ∥ ≥ c i , 1 ∥ V [ M k , i ( r ) ⊤ , ℓ ] ∥ } . (226) \mathcal{J}_{k,\ell,i}^{(r)}:=\mathbb{1}\left\{\left\|A_iV\left[D^*M_{k,i}^{(r)\top},\ell\right]\right\|\ge c_{i,1}\left\|V\left[M_{k,i}^{(r)\top},\ell\right]\right\|\right\}. \tag*{(226)} J k , ℓ , i ( r ) := 1 { A i V [ D ∗ M k , i ( r ) ⊤ , ℓ ] ≥ c i , 1 V [ M k , i ( r ) ⊤ , ℓ ] } . (226)
For i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } , define
Q k , i ( r ) : = [ M k , i ( r ) ] ⊤ , Q_{k,i}^{(r)}:=\left[M_{k,i}^{(r)}\right]^{\top}, Q k , i ( r ) := [ M k , i ( r ) ] ⊤ ,
To define M ^ k , i ( r ) \widehat{M}_{k,i}^{(r)} M k , i ( r ) , we define V [ M ^ k , i ( r ) , ℓ ] V[\widehat{M}_{k,i}^{(r)},\ell] V [ M k , i ( r ) , ℓ ] for every ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] , for i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } let consider
[ d ] M k , i ( r ) : = { ℓ ∈ [ d ] : ∥ V [ Q k , i ( r ) , ℓ ] ∥ ≥ θ 8 ρ C } . [d]_{M_{k,i}^{(r)}}:=\left\{\ell\in[d]:\left\|V\left[Q_{k,i}^{(r)},\ell\right]\right\|\ge\frac{\theta}{8\sqrt{\rho C}}\right\}. [ d ] M k , i ( r ) := { ℓ ∈ [ d ] : V [ Q k , i ( r ) , ℓ ] ≥ 8 ρC θ } .
First, let
U k , ℓ , i ( r ) = { V [ A i [ D ∗ M k , i ( r ) ] ⊤ , ℓ ] , if ∥ A i V [ D ∗ M k , i ( r ) ] ⊤ , ℓ ∥ ≤ c i , 1 ∥ V [ Q k , i ( r ) , ℓ ] ∥ , 0 m i , otherwise. (227) U_{k,\ell,i}^{(r)}=
\begin{cases}
V\left[A_i\left[D^*M_{k,i}^{(r)}\right]^{\top},\ell\right], & \text{if }\left\|A_iV\left[D^*M_{k,i}^{(r)}\right]^{\top},\ell\right\|\le c_{i,1}\left\|V\left[Q_{k,i}^{(r)},\ell\right]\right\|,\\
0_{m_i}, & \text{otherwise.}
\end{cases} \tag*{(227)} U k , ℓ , i ( r ) = ⎩ ⎨ ⎧ V [ A i [ D ∗ M k , i ( r ) ] ⊤ , ℓ ] , 0 m i , if A i V [ D ∗ M k , i ( r ) ] ⊤ , ℓ ≤ c i , 1 V [ Q k , i ( r ) , ℓ ] , otherwise. (227)
Then, define
M ^ k , ℓ , i ( r ) = { 0 m i , if ℓ ∉ [ d ] M k , i ( r ) , U k , ℓ , i ( r ) + N k , ℓ , i ( r ) , otherwise, (228) \widehat{M}_{k,\ell,i}^{(r)}=
\begin{cases}
0_{m_i}, & \text{if }\ell\notin[d]_{M_{k,i}^{(r)}},\\
U_{k,\ell,i}^{(r)}+N_{k,\ell,i}^{(r)}, & \text{otherwise,}
\end{cases} \tag*{(228)} M k , ℓ , i ( r ) = { 0 m i , U k , ℓ , i ( r ) + N k , ℓ , i ( r ) , if ℓ ∈ / [ d ] M k , i ( r ) , otherwise, (228)
where N k , ℓ , i ( r ) ∼ Uniform ( B m i ( 0 , ν i ) ) N_{k,\ell,i}^{(r)}\sim\operatorname{Uniform}(\mathcal{B}_{m_i}(0,\nu_i)) N k , ℓ , i ( r ) ∼ Uniform ( B m i ( 0 , ν i )) . Finally, let
V [ M ^ k , i ( r ) , ℓ ] = A 1 ⊤ M ^ k , ℓ , i ( r ) , (229) V\left[\widehat{M}_{k,i}^{(r)},\ell\right]=A_1^{\top}\widehat{M}_{k,\ell,i}^{(r)}, \tag*{(229)} V [ M k , i ( r ) , ℓ ] = A 1 ⊤ M k , ℓ , i ( r ) , (229)
V [ M ^ k , i ( R , r ) , ℓ ] = V [ M ^ k , i ( R ) , ∗ , ℓ ] + 1 K A i ⊤ M ^ k , ℓ , i ( r ) (230) V\left[\widehat{M}_{k,i}^{(R,r)},\ell\right]=V\left[\widehat{M}_{k,i}^{(R),*},\ell\right]+\frac{1}{K}A_i^{\top}\widehat{M}_{k,\ell,i}^{(r)} \tag*{(230)} V [ M k , i ( R , r ) , ℓ ] = V [ M k , i ( R ) , ∗ , ℓ ] + K 1 A i ⊤ M k , ℓ , i ( r ) (230)
Define the reconstructed matrices Q ^ k , i ( r ) \widehat{Q}_{k,i}^{(r)} Q k , i ( r ) by
V [ Q ^ k , i ( r ) , ℓ ] = A i ⊤ M ^ k , ℓ , i ( r ) , i ∈ { 3 , 4 } . V\left[\widehat{Q}_{k,i}^{(r)},\ell\right] = A_i^{\top}\widehat{M}_{k,\ell,i}^{(r)}, \qquad i \in\{3,4\}. V [ Q k , i ( r ) , ℓ ] = A i ⊤ M k , ℓ , i ( r ) , i ∈ { 3 , 4 } .
Finally, set
M ^ k , i ( r ) : = [ Q ^ k , i ( r ) ] ⊤ . (231) \widehat{M}_{k,i}^{(r)} := \left[\widehat{Q}_{k,i}^{(r)}\right]^{\top}. \tag*{(231)} M k , i ( r ) := [ Q k , i ( r ) ] ⊤ . (231)
Note that for all ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] and t ∈ [ T ] t \in[T] t ∈ [ T ] we have
∣ ⟨ V [ M ‾ 3 ( R ) ⊤ , ℓ ] , ∑ j = 1 ρ ( Δ g ⃗ ( R ) ( x ⃗ k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ∣ ≤ ∥ V [ M ‾ 3 ( R ) ⊤ , ℓ ] ∥ ∞ × ∑ j = 1 ρ ∣ ( Δ g ⃗ ( R ) ( x ⃗ k , r ) ) j ∣ = ∥ V [ M ‾ 3 ( R ) ⊤ , ℓ ] ∥ ∞ × ∥ Δ g ⃗ ( R ) ( x ⃗ k , r ) ∥ 1 (232) \begin{aligned}
\left|\left\langle V\left[\overline{M}_3^{(R)\top},\ell\right],\sum_{j=1}^{\rho}\left(\Delta\vec{g}^{(R)}(\vec{x}_{k,r})\right)_j\cdot\mathcal{E}(x_{k,r,t-j})\right\rangle\right|
&\le\left\|V\left[\overline{M}_3^{(R)\top},\ell\right]\right\|_{\infty}\times\sum_{j=1}^{\rho}\left|\left(\Delta\vec{g}^{(R)}(\vec{x}_{k,r})\right)_j\right| \\
&= \left\|V\left[\overline{M}_3^{(R)\top},\ell\right]\right\|_{\infty}\times\left\|\Delta\vec{g}^{(R)}(\vec{x}_{k,r})\right\|_1 \tag*{(232)}
\end{aligned} ⟨ V [ M 3 ( R ) ⊤ , ℓ ] , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) j ⋅ E ( x k , r , t − j ) ⟩ ≤ V [ M 3 ( R ) ⊤ , ℓ ] ∞ × j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) j = V [ M 3 ( R ) ⊤ , ℓ ] ∞ × Δ g ( R ) ( x k , r ) 1 (232)
≤ ∥ V [ M ‾ 3 ( R ) ⊤ , ℓ ] ∥ ∞ × ∑ j = 1 ρ ∣ g M ^ 4 ( R ) ( x ⃗ k , r ) − g M ^ k , 4 ( R , r ) ( x ⃗ k , r ) ∣ ≤ ∥ V [ M ‾ 3 ( R ) ⊤ , ℓ ] ∥ ∞ × 1 ρ ∑ j = 1 ρ ∣ ⟨ ( M ‾ 4 ( R ) − M ^ k , 4 ( R , r ) ) ⋅ E ( x k , r , t − 1 ) , E ( x k , r , t − j ) ⟩ ∣ ≤ C ρ × max j ∈ [ ρ ] ∣ ⟨ ( M ‾ 4 ( R ) − M ^ k , 4 ( R , r ) ) ⋅ E ( x k , r , t − 1 ) , E ( x k , r , t − j ) ⟩ ∣ (233) \begin{aligned}
&\le\left\|V\left[\overline{M}_3^{(R)\top},\ell\right]\right\|_{\infty}\times\sum_{j=1}^{\rho}\left|g_{\widehat{M}_{4}^{(R)}}(\vec{x}_{k,r})-g_{\widehat{M}_{k,4}^{(R,r)}}(\vec{x}_{k,r})\right| \\
&\le\left\|V\left[\overline{M}_3^{(R)\top},\ell\right]\right\|_{\infty}\times\frac{1}{\sqrt{\rho}}\sum_{j=1}^{\rho}\left|\left\langle\left(\overline{M}_4^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right)\cdot\mathcal{E}(x_{k,r,t-1}),\mathcal{E}(x_{k,r,t-j})\right\rangle\right| \\
&\le C\sqrt{\rho}\times\max_{j\in[\rho]}\left|\left\langle\left(\overline{M}_4^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right)\cdot\mathcal{E}(x_{k,r,t-1}),\mathcal{E}(x_{k,r,t-j})\right\rangle\right| \tag*{(233)}
\end{aligned} ≤ V [ M 3 ( R ) ⊤ , ℓ ] ∞ × j = 1 ∑ ρ g M 4 ( R ) ( x k , r ) − g M k , 4 ( R , r ) ( x k , r ) ≤ V [ M 3 ( R ) ⊤ , ℓ ] ∞ × ρ 1 j = 1 ∑ ρ ⟨ ( M 4 ( R ) − M k , 4 ( R , r ) ) ⋅ E ( x k , r , t − 1 ) , E ( x k , r , t − j ) ⟩ ≤ C ρ × j ∈ [ ρ ] max ⟨ ( M 4 ( R ) − M k , 4 ( R , r ) ) ⋅ E ( x k , r , t − 1 ) , E ( x k , r , t − j ) ⟩ (233)
where
∣ ⟨ V [ M ‾ 3 ( R ) ⊤ , ℓ ] , ∑ j = 1 ρ ( Δ g ⃗ ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≤ ∥ V [ M ‾ 3 ( R ) ⊤ , ℓ ] ∥ ∞ × ∑ j = 1 ρ ∣ ( Δ g ⃗ ( R ) ( x ⃗ k , r ) ) j ∣ . \begin{aligned}
\left|\left\langle V\left[\overline{M}_3^{(R)\top},\ell\right],\sum_{j=1}^{\rho}\left(\Delta\vec{g}^{(R)}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\rangle\right|
&\le\left\|V\left[\overline{M}_3^{(R)\top},\ell\right]\right\|_{\infty}\times\sum_{j=1}^{\rho}\left|\left(\Delta\vec{g}^{(R)}(\vec{x}_{k,r})\right)_j\right|.
\end{aligned} ⟨ V [ M 3 ( R ) ⊤ , ℓ ] , j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ⟩ ≤ V [ M 3 ( R ) ⊤ , ℓ ] ∞ × j = 1 ∑ ρ ( Δ g ( R ) ( x k , r ) ) j .
∥ σ ( x ⃗ ) − σ ( y ⃗ ) ∥ 1 ≤ ∥ x ⃗ − y ⃗ ∥ 1 , ∀ x ⃗ , y ⃗ ∈ R ρ . \left\|\sigma(\vec{x})-\sigma(\vec{y})\right\|_1\le\left\|\vec{x}-\vec{y}\right\|_1,\qquad\forall\,\vec{x},\vec{y}\in\mathbb{R}^{\rho}. ∥ σ ( x ) − σ ( y ) ∥ 1 ≤ ∥ x − y ∥ 1 , ∀ x , y ∈ R ρ .
This implies that
\begin{aligned}
(229) \le\sum_{\ell\in[d]} \mathbb{P}\left(\max_{\ell'\in[\rho] \atop x_{k,r,t-1}' \atop x_{k,r,t-j}'} \left|\left\langle\left(\overline{M}_{4}^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right),\mathcal{E}(x_{k,r,t-1}),\mathcal{E}(x_{k,r,t-j})\right\rangle\right| \ge\frac{\theta}{8C\sqrt{\rho}}\right) \\
&\le d\times\sum_{j=1}^{\rho}\sum_{x',x''} \mathbb{P}\left(\left|\left\langle\left(\overline{M}_{4}^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right),\mathcal{E}(x'),\mathcal{E}(x'')\right\rangle\right| \ge\frac{\theta}{8C\sqrt{\rho}}\right) \tag*{(234)}
\end{aligned}
= ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ = 1 d P ( ∣ V [ ( M ‾ 4 ( R ) − M ^ k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 8 C ρ ) (235) = \rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'=1}^{d}\mathbb{P}\left(\left|V\left[\left(\overline{M}_{4}^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{8C\sqrt{\rho}}\right) \tag*{(235)} = ρ d × ℓ ′′ = 1 ∑ d ℓ ′ = 1 ∑ d P ( V [ ( M 4 ( R ) − M k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 8 C ρ θ ) (235)
= ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ = 1 ℓ ′ ∈ [ d ] M k , 4 ( r ) ( r ) d P ( ∣ V [ ( M ‾ 4 ( R ) − M ^ k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 8 C ρ ) (236) = \rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'=1\atop\ell'\in[d]_{M_{k,4}^{(r)}}^{(r)}}^{d}\mathbb{P}\left(\left|V\left[\left(\overline{M}_{4}^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{8C\sqrt{\rho}}\right) \tag*{(236)} = ρ d × ℓ ′′ = 1 ∑ d ℓ ′ ∈ [ d ] M k , 4 ( r ) ( r ) ℓ ′ = 1 ∑ d P ( V [ ( M 4 ( R ) − M k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 8 C ρ θ ) (236)
where
(234) last inequality follows from the union bound.
(235) follows by rewriting the notation according to the definitions in (224).
(236) holds because for any ( ℓ ′ , ℓ ′ ′ ) (\ell',\ell'') ( ℓ ′ , ℓ ′′ ) with ℓ ′ ′ ∈ [ d ] \ell''\in[d] ℓ ′′ ∈ [ d ] , ℓ ′ ∉ [ d ] M k , 4 ( r ) \ell'\notin[d]_{M_{k,4}^{(r)}} ℓ ′ ∈ / [ d ] M k , 4 ( r ) , we have
P ( ∣ V [ ( M ‾ 4 ( R ) − M ^ k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 8 C ρ ) = 0. \mathbb{P}\left(\left|V\left[\left(\overline{M}_{4}^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{8C\sqrt{\rho}}\right)=0. P ( V [ ( M 4 ( R ) − M k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 8 C ρ θ ) = 0.
Hence by rewriting the equation (240), we have
( 240 ) = ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ = 1 ℓ ′ ∈ [ d ] M k , 4 ( r ) d P ( ∣ V [ ( M ‾ 4 ( R ) − M ^ k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 8 C ρ ) ≤ ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ = 1 ℓ ′ ∈ [ d ] M k , 4 ( r ) d P ( ∣ V [ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 24 C ρ ) + ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ = 1 ℓ ′ ∈ [ d ] M k , 1 ( r ) d P ( ∣ 1 K ⟨ V [ D ∗ M k , 4 ( r ) − A 4 T A 4 D ∗ M k , 4 ( r ) ] , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 24 C ρ ) + ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ = 1 ℓ ′ ∈ [ d ] M k , 1 ( r ) d P ( ∣ 1 K ⟨ V [ A 4 T A 4 D ∗ M k , 4 ( r ) − M ^ k , 4 ( r ) ] , ℓ ′ ] , V [ I , ℓ ′ ′ ] ∣ ≥ θ 24 C ρ ) = ◯ T 1 , 1 + ◯ T 1 , 2 + ◯ T 1 , 3 , (237) \begin{aligned}
(240)=\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'=1\atop\ell'\in[d]_{M_{k,4}^{(r)}}}^{d}\mathbb{P}\left(\left|V\left[\left(\overline{M}_{4}^{(R)}-\widehat{M}_{k,4}^{(R,r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{8C\sqrt{\rho}}\right) \\
&\le\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'=1\atop\ell'\in[d]_{M_{k,4}^{(r)}}}^{d}\mathbb{P}\left(\left|V\left[\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}D^{*}M_{k,4}^{(r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{24C\sqrt{\rho}}\right) \\
&+\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'=1\atop\ell'\in[d]_{M_{k,1}^{(r)}}}^{d}\mathbb{P}\left(\left|\frac{1}{K}\left\langle V\left[D^{*}M_{k,4}^{(r)}-A_{4}^{\mathsf{T}}A_{4}D^{*}M_{k,4}^{(r)}\right],\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{24C\sqrt{\rho}}\right) \\
&+\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'=1\atop\ell'\in[d]_{M_{k,1}^{(r)}}}^{d}\mathbb{P}\left(\left|\frac{1}{K}\left\langle V\left[A_{4}^{\mathsf{T}}A_{4}D^{*}M_{k,4}^{(r)}-\widehat{M}_{k,4}^{(r)}\right],\ell'\right],V[\mathbf{I},\ell'']\right| \ge\frac{\theta}{24C\sqrt{\rho}}\right) \\
&= \bigcirc T_{1,1}+\bigcirc T_{1,2}+\bigcirc T_{1,3}, \tag*{(237)}
\end{aligned} ( 240 ) = ρ d × ℓ ′′ = 1 ∑ d ℓ ′ ∈ [ d ] M k , 4 ( r ) ℓ ′ = 1 ∑ d P ( V [ ( M 4 ( R ) − M k , 4 ( R , r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 8 C ρ θ ) ≤ ρ d × ℓ ′′ = 1 ∑ d ℓ ′ ∈ [ d ] M k , 4 ( r ) ℓ ′ = 1 ∑ d P ( V [ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 24 C ρ θ ) + ρ d × ℓ ′′ = 1 ∑ d ℓ ′ ∈ [ d ] M k , 1 ( r ) ℓ ′ = 1 ∑ d P ( K 1 ⟨ V [ D ∗ M k , 4 ( r ) − A 4 T A 4 D ∗ M k , 4 ( r ) ] , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 24 C ρ θ ) + ρ d × ℓ ′′ = 1 ∑ d ℓ ′ ∈ [ d ] M k , 1 ( r ) ℓ ′ = 1 ∑ d P ( K 1 ⟨ V [ A 4 T A 4 D ∗ M k , 4 ( r ) − M k , 4 ( r ) ] , ℓ ′ ] , V [ I , ℓ ′′ ] ≥ 24 C ρ θ ) = ◯ T 1 , 1 + ◯ T 1 , 2 + ◯ T 1 , 3 , (237)
where Equation (237) follows from the elementary inequality
P ( ∑ i = 1 3 X i ≥ a ) ≤ ∑ i = 1 3 P ( X i ≥ a 3 ) . (238) \mathbb{P}\left(\sum_{i=1}^{3} X_i \ge a\right) \le\sum_{i=1}^{3} \mathbb{P}\left(X_i \ge\frac{a}{3}\right). \tag*{(238)} P ( i = 1 ∑ 3 X i ≥ a ) ≤ i = 1 ∑ 3 P ( X i ≥ 3 a ) . (238)
– Bounding T ‾ 1 , 1 \overline{T}_{1,1} T 1 , 1 : We show that, under Condition 45, for every pair ( ℓ ′ , ℓ ′ ′ ) (\ell',\ell'') ( ℓ ′ , ℓ ′′ ) satisfying ℓ ′ ∈ [ d ] \ell' \in[d] ℓ ′ ∈ [ d ] and ℓ ′ ′ ∈ [ d ] M k , 3 ( r ) \ell'' \in[d]_{M_{k,3}^{(r)}} ℓ ′′ ∈ [ d ] M k , 3 ( r ) , we have
P ( ∣ ⟨ V [ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ < θ 24 C ρ ) = 1. \mathbb{P}\left(\left|\left\langle V\left[\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right\rangle\right|<\frac{\theta}{24C\sqrt{\rho}}\right)=1. P ( ⟨ V [ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ < 24 C ρ θ ) = 1.
To this end, we show that for any pair ( ℓ ′ , ℓ ′ ′ ) (\ell',\ell'') ( ℓ ′ , ℓ ′′ ) ,
∣ ⟨ V [ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ ≤ ∥ V [ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] ∥ × ∥ V [ I , ℓ ′ ′ ] ∥ . (239) \begin{aligned}
\left|\left\langle V\left[\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right\rangle\right|
&\le\left\|V\left[\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right),\ell'\right]\right\|\times\left\|V[\mathbf{I},\ell'']\right\|. \tag*{(239)}
\end{aligned} ⟨ V [ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ ≤ V [ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] × ∥ V [ I , ℓ ′′ ] ∥ . (239)
≤ ∥ V [ M ‾ 1 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] ∥ ≤ ∥ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) ∥ . (240) \begin{aligned}
&\le\left\|V\left[\overline{M}_{1}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right),\ell'\right]\right\|\\
&\le\left\|\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right)\right\|. \tag*{(240)}
\end{aligned} ≤ V [ M 1 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] ≤ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) . (240)
where
Equation (239) follows from the Cauchy–Schwarz inequality.
Equation (240) follows from the fact that, for any ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] ,
∥ V [ I , ℓ ] ∥ ≤ 1. \left\|V[\mathbf{I},\ell]\right\|\le1. ∥ V [ I , ℓ ] ∥ ≤ 1.
If Condition 1 holds: By repeating the same steps that led to Equation (195) , we obtain
∥ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) ∥ ≤ α C 2 ( q e , b R − r − ( ( 1 + β ) q e , b ) R − r ) K 2 ( q e , b − ( 1 + β ) q e , b 2 ) . \left\|\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right)\right\|\le\frac{\alpha C^{2}\left(q_{e,b}^{R-r}-\left((1+\beta)q_{e,b}\right)^{R-r}\right)}{K^{2}\left(q_{e,b}-(1+\beta)q_{e,b}^{2}\right)}. M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) ≤ K 2 ( q e , b − ( 1 + β ) q e , b 2 ) α C 2 ( q e , b R − r − ( ( 1 + β ) q e , b ) R − r ) .
This bound holds for any pair ( ℓ ′ , ℓ ′ ′ ) (\ell',\ell'') ( ℓ ′ , ℓ ′′ ) , which implies
∣ ⟨ V [ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ ≤ ∥ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) ∥ ≤ α C 2 ( q e , b R − r − ( ( 1 + β ) q e , b ) R − r ) K 2 ( q e , b − ( 1 + β ) q e , b 2 ) . \begin{aligned}
\left|\left\langle V\left[\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right\rangle\right|
&\le\left\|\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right)\right\|\\
&\le\frac{\alpha C^{2}\left(q_{e,b}^{R-r}-\left((1+\beta)q_{e,b}\right)^{R-r}\right)}{K^{2}\left(q_{e,b}-(1+\beta)q_{e,b}^{2}\right)}.
\end{aligned} ⟨ V [ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ ≤ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) ≤ K 2 ( q e , b − ( 1 + β ) q e , b 2 ) α C 2 ( q e , b R − r − ( ( 1 + β ) q e , b ) R − r ) .
where, under Condition 1, namely,
max r ∈ [ R − 1 ] [ 48 α ρ C 3 ( q e , b R − ( ( 1 + β ) q e , b 2 ) r ) θ ( q e , b − ( 1 + β ) q e , b 2 ) ] < K 2 , \max_{r\in[R-1]}\left[\frac{48\alpha\sqrt{\rho}C^3\left(q_{e,b}^{R}-\left((1+\beta)q_{e,b}^{2}\right)^{r}\right)}{\theta\left(q_{e,b}-(1+\beta)q_{e,b}^{2}\right)}\right]<K^2, r ∈ [ R − 1 ] max θ ( q e , b − ( 1 + β ) q e , b 2 ) 48 α ρ C 3 ( q e , b R − ( ( 1 + β ) q e , b 2 ) r ) < K 2 ,
this term is bounded above by θ 48 C ρ \frac{\theta}{48C\sqrt{\rho}} 48 C ρ θ .
If Condition 2 holds: By repeating the same steps as in Equations (203)–(204), we obtain
∥ M ‾ k , 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) ∥ ≤ α C 2 ( q e , b R − r − ( 1 − α ν ) R − r ) K 2 ( q e , b − ( 1 − α ν ) ) , \left\|\overline{M}_{k,4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right)\right\|\leq\frac{\alpha C^2\left(q_{e,b}^{R-r}-(1-\alpha\nu)^{R-r}\right)}{K^2\left(q_{e,b}-(1-\alpha\nu)\right)}, M k , 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) ≤ K 2 ( q e , b − ( 1 − α ν ) ) α C 2 ( q e , b R − r − ( 1 − α ν ) R − r ) ,
consequently,
∣ ⟨ V [ M ‾ 4 ( R ) − ( M ‾ k , 4 ( R , ∗ ) + 1 K D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ ≤ α C 2 ( q e , b R − r − ( 1 − α ν ) R − r ) K 2 ( q e , b − ( 1 − α ν ) ) , \left|\left\langle V\left[\overline{M}_{4}^{(R)}-\left(\overline{M}_{k,4}^{(R,*)}+\frac{1}{K}\mathrm{D}^{*}M_{k,4}^{(r)}\right),\ell'\right],V[\mathbf{I},\ell'']\right\rangle\right|\leq\frac{\alpha C^2\left(q_{e,b}^{R-r}-(1-\alpha\nu)^{R-r}\right)}{K^2\left(q_{e,b}-(1-\alpha\nu)\right)}, ⟨ V [ M 4 ( R ) − ( M k , 4 ( R , ∗ ) + K 1 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ ≤ K 2 ( q e , b − ( 1 − α ν ) ) α C 2 ( q e , b R − r − ( 1 − α ν ) R − r ) ,
Under Condition 2, namely,
max r ∈ [ R − 1 ] [ 48 α ρ C 3 ( q e , b R − r − ( 1 − α ν ) R − r ) θ ( q e , b − ( 1 − α ν ) ) ] < K 2 , \max_{r\in[R-1]}\left[\frac{48\alpha\sqrt{\rho}C^3\left(q_{e,b}^{R-r}-(1-\alpha\nu)^{R-r}\right)}{\theta\left(q_{e,b}-(1-\alpha\nu)\right)}\right]<K^2, r ∈ [ R − 1 ] max θ ( q e , b − ( 1 − α ν ) ) 48 α ρ C 3 ( q e , b R − r − ( 1 − α ν ) R − r ) < K 2 ,
the above term is bounded above by θ 48 C ρ \frac{\theta}{48C\sqrt{\rho}} 48 C ρ θ , which completes this part of the proof.
– Bounding T ◯ 1 , 2 \textcircled{T}_{1,2} T ◯ 1 , 2 :
By rewriting the term T ◯ 1 \textcircled{T}_{1} T ◯ 1 , we have,
ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ ∈ [ d ] M k , 1 ( r ) P ( 1 K ∣ ⟨ V [ ( D ∗ M k , 4 ( r ) − A 4 T A 4 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ θ 24 C ρ ) = ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ ∈ [ d ] M k , 1 ( r ) P ( ∣ ⟨ V [ ( D ∗ M k , 4 ( r ) − A 4 T A 4 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ K θ 24 C ρ ) = ρ d × ∑ ℓ ′ ′ = 1 d ∑ ℓ ′ ∈ [ d ] M k , 4 ( r ) P ( ∣ ⟨ V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ − ⟨ A V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , A V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ K θ 24 C ρ ) (241) \begin{aligned}
\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'\in[\!d]\atop M_{k,1}^{(r)}}\mathbb{P}\left(\frac{1}{K}\left|\left\langle V\left[(\mathrm{D}^{*}M_{k,4}^{(r)}-\mathrm{A}_{4}^{\mathsf{T}}\mathrm{A}_{4}\mathrm{D}^{*}M_{k,4}^{(r)}),\ell'\right],V[\mathbf{I},\ell'']\right\rangle\right|\geq\frac{\theta}{24C\sqrt{\rho}}\right) \\
&=\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'\in[\!d]\atop M_{k,1}^{(r)}}\mathbb{P}\left(\left|\left\langle V\left[(\mathrm{D}^{*}M_{k,4}^{(r)}-\mathrm{A}_{4}^{\mathsf{T}}\mathrm{A}_{4}\mathrm{D}^{*}M_{k,4}^{(r)}),\ell'\right],V[\mathbf{I},\ell'']\right\rangle\right|\geq\frac{K\theta}{24C\sqrt{\rho}}\right) \\
&=\rho d\times\sum_{\ell''=1}^{d}\sum_{\ell'\in[\!d]\atop M_{k,4}^{(r)}}\mathbb{P}\left(\left|\left\langle V[\mathrm{D}^{*}M_{k,4}^{(r)},\ell'],V[\mathbf{I},\ell'']\right\rangle-\left\langle AV[\mathrm{D}^{*}M_{k,4}^{(r)},\ell'],AV[\mathbf{I},\ell'']\right\rangle\right|\geq\frac{K\theta}{24C\sqrt{\rho}}\right) \tag*{(241)}
\end{aligned} ρ d × ℓ ′′ = 1 ∑ d M k , 1 ( r ) ℓ ′ ∈ [ d ] ∑ P ( K 1 ⟨ V [ ( D ∗ M k , 4 ( r ) − A 4 T A 4 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ θ ) = ρ d × ℓ ′′ = 1 ∑ d M k , 1 ( r ) ℓ ′ ∈ [ d ] ∑ P ( ⟨ V [ ( D ∗ M k , 4 ( r ) − A 4 T A 4 D ∗ M k , 4 ( r ) ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ K θ ) = ρ d × ℓ ′′ = 1 ∑ d M k , 4 ( r ) ℓ ′ ∈ [ d ] ∑ P ( ⟨ V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ − ⟨ A V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , A V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ K θ ) (241)
where last inequality follows inequality
P ( ∑ i X i ≥ ∑ i a i ) ≤ ∑ i = 1 P ( X i ≥ a i ) . \mathbb{P}\left(\sum_i X_i \ge\sum_i a_i\right) \le\sum_{i=1} \mathbb{P}(X_i \ge a_i). P ( i ∑ X i ≥ i ∑ a i ) ≤ i = 1 ∑ P ( X i ≥ a i ) .
Note that ∥ D ∗ M k , i ( r ) ∥ ≤ C q e , b R − r \left\|D^{*}M_{k,i}^{(r)}\right\| \le Cq_{e,b}^{R-r} D ∗ M k , i ( r ) ≤ C q e , b R − r , i ∈ [ 3 ] i \in[3] i ∈ [ 3 ] due to the fact that the spectral norms of all D r ∗ D_r^{*} D r ∗ are bounded by q e , b q_{e,b} q e , b under Assumption 2. Then, by applying (Grønlund et al., 2020b, Lemma 8, Part 2), for any pair ( ℓ ′ , ℓ ′ ′ ) (\ell',\ell'') ( ℓ ′ , ℓ ′′ ) and any j ∈ [ ρ ] j \in[\rho] j ∈ [ ρ ] , we have
P ( ∣ ⟨ V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ − ⟨ A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , A 4 V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ K θ 24 C ρ ) \mathbb{P}\left(\left|\left\langle V\left[D^{*}M_{k,4}^{(r)},\ell'\right],V[I,\ell'']\right\rangle-\left\langle A_4V\left[D^{*}M_{k,4}^{(r)},\ell'\right],A_4V[I,\ell'']\right\rangle\right|\ge\frac{K\theta}{24C\sqrt{\rho}}\right) P ( ⟨ V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ − ⟨ A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] , A 4 V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ K θ )
≤ 4 exp ( − m 1 7 ( K θ 24 C 2 q e , b R − r ρ ) 2 ) ≤ O ( 1 ρ d 3 N K T ) . \begin{aligned}
\le4\exp\left(-\frac{m_1}{7}\left(\frac{K\theta}{24C^2q_{e,b}^{R-r}\sqrt{\rho}}\right)^2\right) \\
&\le O\left(\frac{1}{\rho d^3NKT}\right).
\end{aligned} ≤ 4 exp − 7 m 1 ( 24 C 2 q e , b R − r ρ K θ ) 2 ≤ O ( ρ d 3 N K T 1 ) .
which implies that
( 245 ) ≤ O ( 1 N K T ) . (245)\le O\left(\frac{1}{NKT}\right). ( 245 ) ≤ O ( N K T 1 ) .
and consequently,
T 1 , 2 ≤ O ( 1 N K T ) . (242) \mathsf{T}_{1,2}\le O\left(\frac{1}{NKT}\right). \tag*{(242)} T 1 , 2 ≤ O ( N K T 1 ) . (242)
– Bounding T 1 , 3 \mathsf{T}_{1,3} T 1 , 3 : For any pair ( ℓ ′ , ℓ ′ ′ ) (\ell',\ell'') ( ℓ ′ , ℓ ′′ ) such that ℓ ′ ∈ [ d ] M k , 4 ( r ) \ell' \in[d]_{M_{k,4}^{(r)}} ℓ ′ ∈ [ d ] M k , 4 ( r ) and ℓ ′ ′ ∈ [ d ] \ell'' \in[d] ℓ ′′ ∈ [ d ] , we have
P ( 1 K ∣ ⟨ V ( A 1 T A 1 D ∗ M k , 4 ( r ) − M ^ k , 4 ( r ) , ℓ ′ ] , V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ θ 24 C ρ ) = P ( ∣ ⟨ V [ A 4 D ∗ M k , 4 ( r ) , ℓ ′ ] − M ^ k , ℓ ′ , 4 ( r ) , A 4 V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ K θ 24 C ρ ) ≤ P A 4 ( ∥ A 4 V [ I , ℓ ′ ′ ] ∥ ≥ c 4 , 2 ) + P ( ∥ A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] ∥ ≥ c 4 , 1 , ∥ V [ M k , 4 ( r ) , ℓ ′ ] ∥ ) + E M ^ k , ℓ ′ , 4 ( r ) ∼ Unif ( B m 4 ( ⋅ , ν 1 ) ) E A 4 [ P ( ∣ ⟨ V [ A 4 D ∗ M k , 4 ( r ) , ℓ ′ ] − M ^ k , ℓ ′ , 4 ( r ) , A 4 V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ K θ 24 C ρ ∣ C o n d 1 , C o n d 2 ) ] = P A 1 ( ∥ A 4 V [ I , ℓ ′ ′ ] ∥ ≥ c 4 , 2 ) + P ( ∥ A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] ∥ ≥ c 4 , 1 , ∥ V [ M k , 4 ( r ) , ℓ ′ ] ∥ ) + E U ∼ Unif ( B m 4 ( 0 , ν 4 ) ) E A 4 [ P ( ∣ ⟨ U , A 4 V [ I , ℓ ′ ′ ] ⟩ ∣ ≥ K θ 24 C ρ ∣ C o n d 1 ) ] ≤ e − 0.21 m 4 ( c 4 , 2 2 − 1 − 2 log ( c 4 , 2 ) ) + e − m 4 ( q e , b 2 ( r − R ) c 4 , 1 2 − 1 − 2 log ( q e , b ( R − r ) c 4 , 1 ) ) + 2 ( m 4 + 1 ) π e − ( m 4 + 1 2 ) ( K θ 24 ρ c 4 , 2 ν 4 C ) 2 . ≤ O ( 1 ρ N K T d 3 ) . (243) \begin{aligned}
\mathbb{P}\left(\frac{1}{K}\left|\left\langle V\left(A_1^{\mathsf T}A_1D^{*}M_{k,4}^{(r)}-\widehat{M}_{k,4}^{(r)},\ell'\right],V[I,\ell'']\right\rangle\right|\ge\frac{\theta}{24C\sqrt{\rho}}\right) \\
&=\mathbb{P}\left(\left|\left\langle V\left[A_4D^{*}M_{k,4}^{(r)},\ell'\right]-\widehat{M}_{k,\ell',4}^{(r)},A_4V[I,\ell'']\right\rangle\right|\ge\frac{K\theta}{24C\sqrt{\rho}}\right) \\
&\le\mathbb{P}_{A_4}\left(\left\|A_4V[I,\ell'']\right\|\ge c_{4,2}\right)+\mathbb{P}\left(\left\|A_4V\left[D^{*}M_{k,4}^{(r)},\ell'\right]\right\|\ge c_{4,1},\left\|V\left[M_{k,4}^{(r)},\ell'\right]\right\|\right) \\
&+\mathbb{E}_{\widehat{M}_{k,\ell',4}^{(r)}\sim\operatorname{Unif}(B_{m_4}(\cdot,\nu_1))}\mathbb{E}_{A_4}\left[\mathbb{P}\left(\left|\left\langle V\left[A_4D^{*}M_{k,4}^{(r)},\ell'\right]-\widehat{M}_{k,\ell',4}^{(r)},A_4V[I,\ell'']\right\rangle\right|\ge\frac{K\theta}{24C\sqrt{\rho}}\mid\mathrm{Cond}_1,\mathrm{Cond}_2\right)\right] \\
&=\mathbb{P}_{A_1}\left(\left\|A_4V[I,\ell'']\right\|\ge c_{4,2}\right)+\mathbb{P}\left(\left\|A_4V\left[D^{*}M_{k,4}^{(r)},\ell'\right]\right\|\ge c_{4,1},\left\|V\left[M_{k,4}^{(r)},\ell'\right]\right\|\right) \\
&+\mathbb{E}_{U\sim\operatorname{Unif}(B_{m_4}(0,\nu_4))}\mathbb{E}_{A_4}\left[\mathbb{P}\left(\left|\left\langle U,A_4V[I,\ell'']\right\rangle\right|\ge\frac{K\theta}{24C\sqrt{\rho}}\mid\mathrm{Cond}_1\right)\right] \\
&\le e^{-0.21m_4(c_{4,2}^2-1-2\log(c_{4,2}))}+e^{-m_4\left(q_{e,b}^{2(r-R)}c_{4,1}^2-1-2\log\left(q_{e,b}^{(R-r)}c_{4,1}\right)\right)}
+\frac{\sqrt{2(m_4+1)}}{\sqrt{\pi}}e^{-\left(\frac{m_4+1}{2}\right)\left(\frac{K\theta}{24\sqrt{\rho}c_{4,2}\nu_4C}\right)^2}. \\
&\le O\left(\frac{1}{\rho NKTd^3}\right). \tag*{(243)}
\end{aligned} P ( K 1 ⟨ V ( A 1 T A 1 D ∗ M k , 4 ( r ) − M k , 4 ( r ) , ℓ ′ ] , V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ θ ) = P ( ⟨ V [ A 4 D ∗ M k , 4 ( r ) , ℓ ′ ] − M k , ℓ ′ , 4 ( r ) , A 4 V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ K θ ) ≤ P A 4 ( ∥ A 4 V [ I , ℓ ′′ ] ∥ ≥ c 4 , 2 ) + P ( A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] ≥ c 4 , 1 , V [ M k , 4 ( r ) , ℓ ′ ] ) + E M k , ℓ ′ , 4 ( r ) ∼ Unif ( B m 4 ( ⋅ , ν 1 )) E A 4 [ P ( ⟨ V [ A 4 D ∗ M k , 4 ( r ) , ℓ ′ ] − M k , ℓ ′ , 4 ( r ) , A 4 V [ I , ℓ ′′ ] ⟩ ≥ 24 C ρ K θ ∣ Cond 1 , Cond 2 ) ] = P A 1 ( ∥ A 4 V [ I , ℓ ′′ ] ∥ ≥ c 4 , 2 ) + P ( A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] ≥ c 4 , 1 , V [ M k , 4 ( r ) , ℓ ′ ] ) + E U ∼ Unif ( B m 4 ( 0 , ν 4 )) E A 4 [ P ( ∣ ⟨ U , A 4 V [ I , ℓ ′′ ] ⟩ ∣ ≥ 24 C ρ K θ ∣ Cond 1 ) ] ≤ e − 0.21 m 4 ( c 4 , 2 2 − 1 − 2 l o g ( c 4 , 2 )) + e − m 4 ( q e , b 2 ( r − R ) c 4 , 1 2 − 1 − 2 l o g ( q e , b ( R − r ) c 4 , 1 ) ) + π 2 ( m 4 + 1 ) e − ( 2 m 4 + 1 ) ( 24 ρ c 4 , 2 ν 4 C K θ ) 2 . ≤ O ( ρN K T d 3 1 ) . (243)
where
∥ A 4 V [ I , ℓ ′ ′ ] ∥ ≤ c 4 , 2 and ∥ A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] ∥ ≤ c 4 , 1 ∥ V [ M k , 4 ( r ) , ℓ ′ ] ∥ , \left\|A_{4}V\left[\mathbf{I},\ell''\right]\right\| \le c_{4,2}\quad\text{and}\quad\left\|A_{4}V\left[\mathrm{D}^{*}M_{k,4}^{(r)},\ell'\right]\right\| \le c_{4,1}\left\|V\left[M_{k,4}^{(r)},\ell'\right]\right\|, ∥ A 4 V [ I , ℓ ′′ ] ∥ ≤ c 4 , 2 and A 4 V [ D ∗ M k , 4 ( r ) , ℓ ′ ] ≤ c 4 , 1 V [ M k , 4 ( r ) , ℓ ′ ] ,
respectively.
Therefore, this implies that
1 ◯ 1 , 1 ◯ 2 ≤ T ◯ 1 , 1 + T ◯ 1 , 2 + T ◯ 1 , 3 ≤ O ( 1 N K T ) . \begin{aligned}
\textcircled{1}^{1},\textcircled{1}^{2}\le\textcircled{T}_{1,1}+\textcircled{T}_{1,2}+\textcircled{T}_{1,3} \\
&\le\mathcal{O}\left(\frac{1}{NKT}\right).
\end{aligned} 1 ◯ 1 , 1 ◯ 2 ≤ T ◯ 1 , 1 + T ◯ 1 , 2 + T ◯ 1 , 3 ≤ O ( N K T 1 ) .
This completes the proof of the bounds on 1 ◯ 1 \textcircled{1}^{1} 1 ◯ 1 and 1 ◯ 2 \textcircled{1}^{2} 1 ◯ 2 in (220) and (223).
— Bounding I I ◯ 1 \textcircled{II}^{1} I I ◯ 1 and I I ◯ 2 \textcircled{II}^{2} I I ◯ 2 : To bound the terms I I ◯ 1 \textcircled{II}^{1} I I ◯ 1 and I I ◯ 2 \textcircled{II}^{2} I I ◯ 2 , we have
I I ◯ 1 = E S k , r , W ‾ ( R ) [ 1 T ∑ t ∈ [ T ] 1 { ∣ log C 1 ( W ^ k , 1 ( R , r ) , t , X ~ k , r ) C 2 ( W ^ k , 1 ( R , r ) , t , X ~ k , r ) − log C 1 ( W ^ k ( R , r ) , t , X ~ k , r ) C 2 ( W ^ k ( R , r ) , t , X ~ k , r ) ∣ > θ 4 } ] . \textcircled{II}^{1}=\mathbb{E}_{S_{k,r},\overline{W}^{(R)}}\left[\frac{1}{T}\sum_{t\in[T]}\mathbf{1}\left\{\left|\log\frac{C_{1}\left(\widehat{W}_{k,1}^{(R,r)},t,\widetilde{X}_{k,r}\right)}{C_{2}\left(\widehat{W}_{k,1}^{(R,r)},t,\widetilde{X}_{k,r}\right)}-\log\frac{C_{1}\left(\widehat{W}_{k}^{(R,r)},t,\widetilde{X}_{k,r}\right)}{C_{2}\left(\widehat{W}_{k}^{(R,r)},t,\widetilde{X}_{k,r}\right)}\right|>\frac{\theta}{4}\right\}\right]. I I ◯ 1 = E S k , r , W ( R ) T 1 t ∈ [ T ] ∑ 1 ⎩ ⎨ ⎧ log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) − log C 2 ( W k ( R , r ) , t , X k , r ) C 1 ( W k ( R , r ) , t , X k , r ) > 4 θ ⎭ ⎬ ⎫ .
By considering
D k , r , t − 1 : t − ρ ( 2 ) : = ∣ log C 1 ( W ‾ k , 1 ( R , r ) , t , X ~ k , r ) C 2 ( W ‾ k , 1 ( R , r ) , t , X ~ k , r ) − log C 1 ( W ^ k ( R , r ) , t , X ~ k , r ) C 2 ( W ^ k ( R , r ) , t , X ~ k , r ) ∣ , D_{k,r,t-1:t-\rho}^{(2)}:=\left|\log\frac{C_{1}\left(\overline{W}_{k,1}^{(R,r)},t,\widetilde{X}_{k,r}\right)}{C_{2}\left(\overline{W}_{k,1}^{(R,r)},t,\widetilde{X}_{k,r}\right)}-\log\frac{C_{1}\left(\widehat{W}_{k}^{(R,r)},t,\widetilde{X}_{k,r}\right)}{C_{2}\left(\widehat{W}_{k}^{(R,r)},t,\widetilde{X}_{k,r}\right)}\right|, D k , r , t − 1 : t − ρ ( 2 ) := log C 2 ( W k , 1 ( R , r ) , t , X k , r ) C 1 ( W k , 1 ( R , r ) , t , X k , r ) − log C 2 ( W k ( R , r ) , t , X k , r ) C 1 ( W k ( R , r ) , t , X k , r ) ,
and following the same argument as in Equation (225), we have
D_{k,r,t-1:t-\rho}^{(2)}\le2\max_{\widetilde{x}_{k,r,t}}\left\langle\mathcal{E}(\widetilde{x}_{k,r,t}),\sum_{j=1}^{\rho}\left(g_{\frac{\widehat{M}_{k,4}^{(R)}}{M_{k,4}^{(R)}}(\widetilde{x}_{k,r})\right)_{j}\left(\overline{M}_{3}^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)\mathcal{E}(x_{k,r,t-j})\right\rangle,} \tag*{(244)}
which implies that
\begin{aligned}
\textcircled{II}^{1}=\frac{1}{T}\sum_{t=1}^{T}\mathbb{P}\left(D_{k,r,t-1:t-\rho}^{(1)}>\frac{\theta}{4}\right) \\
&\le\frac{1}{T}\sum_{t=1}^{T}\sum_{\ell\in[d]}\mathbb{P}\left(\left|\left\langle V\left[\left(\overline{M}_{3}^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\frac{\widehat{M}_{k,4}^{(R)}}{M_{k,4}^{(R)}}(\widetilde{x}_{k,r})\right)_{j}\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\ge\frac{\theta}{8}\right)} \\
&=\frac{1}{T}\sum_{t=1}^{T}\sum_{\ell\in[d]}\mathbb{P}\left(\left|\left\langle V\left[\left(\overline{M}_{3}^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\frac{\widehat{M}_{k,4}^{(R)}}{M_{k,4}^{(R)}}(\widetilde{x}_{k,r})\right)_{j}\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\ge\frac{\theta}{8}\right).} \tag*{(245)}
\end{aligned}
where the last equality follows from the fact that, for any ℓ ∉ [ d ] M k , 3 ( r ) \ell\notin[d]_{M_{k,3}}^{(r)} ℓ ∈ / [ d ] M k , 3 ( r ) ,
P ( ∣ ⟨ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) = 0. (246) \mathbb{P}\left(\left|\left\langle V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{8}\right)=0. \tag*{(246)} P ( ⟨ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ⟩ ≥ 8 θ ) = 0. (246)
This follows because
∣ ⟨ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≤ ∥ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] ∥ ∞ ∥ ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ∥ 1 (247) \begin{aligned}
\left|\left\langle V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\rangle\right| \\
&\leq\left\|V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right]\right\|_{\infty}\left\|\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\|_1 \tag*{(247)}
\end{aligned} ⟨ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ⟩ ≤ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] ∞ j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) 1 (247)
≤ ∥ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] ∥ ∞ ≤ ∥ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] ∥ ≤ θ 8 . (248) \begin{aligned}
\leq\left\|V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right]\right\|_{\infty} \\
&\leq\left\|V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right]\right\| \\
&\leq\frac{\theta}{8}. \tag*{(248)}
\end{aligned} ≤ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] ∞ ≤ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] ≤ 8 θ . (248)
where
The inequality in (247) follows from Hölder’s inequality.
(248) follows from the fact that ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j \left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j ( g M k , 4 ( R ) ( x k , r ) ) j are elements of probability distributions, which implies
∥ ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ∥ 1 ≤ 1. \left\|\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\|_1\leq1. j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) 1 ≤ 1.
Therefore, it suffices to show that, uniformly over any t ∈ [ T ] t\in[T] t ∈ [ T ] and ℓ ∈ [ d ] M k , 3 ( r ) \ell\in[d]_{M_{k,3}}^{(r)} ℓ ∈ [ d ] M k , 3 ( r ) ,
P ( ∣ ⟨ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) ≤ O ( 1 d N K T ) . (249) \mathbb{P}\left(\left|\left\langle V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{8}\right)
\leq\mathcal{O}\left(\frac{1}{dNKT}\right). \tag*{(249)} P ( ⟨ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ⟩ ≥ 8 θ ) ≤ O ( d N K T 1 ) . (249)
For any t ∈ [ T ] t\in[T] t ∈ [ T ] and ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] , sames as (238) we have
P ( ∣ ⟨ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) \mathbb{P}\left(\left|\left\langle V\left[\left(\overline{M}_3^{(R)}-\widehat{M}_{k,3}^{(R,r)}\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\geq\frac{\theta}{8}\right) P ( ⟨ V [ ( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ⟩ ≥ 8 θ )
≤ P ( ∣ ⟨ V [ ( M ‾ 3 ( R ) − M ^ k , 3 ( R , r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 8 ) ≤ P ( ∣ ⟨ V [ M ‾ 3 ( R ) − ( M ‾ k , 3 ( R , ∗ ) + 1 K D ∗ M k , 3 ( r ) ) ] T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 24 ) + P ( ∣ 1 K ⟨ V [ ( D ∗ M k , 3 ( r ) − A 3 T A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 24 ) + P ( ∣ 1 K ⟨ V [ ( A 3 T A 3 D ∗ M k , 3 ( r ) − M ~ k , 3 ( r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 24 ) = T 3 , 1 + T 3 , 2 + T 3 , 3 . \begin{aligned}
&\le\mathbb{P}(|\langle V[(\overline{M}^{(R)}_3-\widehat{M}^{(R,r)}_{k,3})^{\mathsf{T}},\ell],\sum_{j=1}^{\rho}(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r}))_j\mathcal{E}(x_{k,r,t-j})\rangle|\ge\frac{\theta}{8})\\
&\le\mathbb{P}(|\langle V[\overline{M}^{(R)}_3-(\overline{M}^{(R,* )}_{k,3}+\frac{1}{K}\mathrm{D}^{*}M^{(r)}_{k,3})]^{\mathsf{T}},\ell],\sum_{j=1}^{\rho}(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r}))_j\mathcal{E}(x_{k,r,t-j})\rangle|\ge\frac{\theta}{24})\\
&\quad+\mathbb{P}(|\frac{1}{K}\langle V[(\mathrm{D}^{*}M^{(r)}_{k,3}-A_3^{\mathsf{T}}A_3\mathrm{D}^{*}M^{(r)}_{k,3})^{\mathsf{T}},\ell],\sum_{j=1}^{\rho}(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r}))_j\mathcal{E}(x_{k,r,t-j})\rangle|\ge\frac{\theta}{24})\\
&\quad+\mathbb{P}(|\frac{1}{K}\langle V[(A_3^{\mathsf{T}}A_3\mathrm{D}^{*}M^{(r)}_{k,3}-\widetilde{M}^{(r)}_{k,3})^{\mathsf{T}},\ell],\sum_{j=1}^{\rho}(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r}))_j\mathcal{E}(x_{k,r,t-j})\rangle|\ge\frac{\theta}{24})\\
&=\mathbb{T}_{3,1}+\mathbb{T}_{3,2}+\mathbb{T}_{3,3}.
\end{aligned} ≤ P ( ∣ ⟨ V [( M 3 ( R ) − M k , 3 ( R , r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j )⟩ ∣ ≥ 8 θ ) ≤ P ( ∣ ⟨ V [ M 3 ( R ) − ( M k , 3 ( R , ∗ ) + K 1 D ∗ M k , 3 ( r ) ) ] T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j )⟩ ∣ ≥ 24 θ ) + P ( ∣ K 1 ⟨ V [( D ∗ M k , 3 ( r ) − A 3 T A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j )⟩ ∣ ≥ 24 θ ) + P ( ∣ K 1 ⟨ V [( A 3 T A 3 D ∗ M k , 3 ( r ) − M k , 3 ( r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j )⟩ ∣ ≥ 24 θ ) = T 3 , 1 + T 3 , 2 + T 3 , 3 .
\ast Bounding T 3 , 1 \mathbb{T}_{3,1} T 3 , 1 : To bound the term T 3 , 1 \mathbb{T}_{3,1} T 3 , 1 , we repeat the same argument used to bound T 1 , 1 \mathbb{T}_{1,1} T 1 , 1 . In particular, for any t ∈ [ T ] t\in[T] t ∈ [ T ] and any ℓ ∉ [ d ] M k , 3 ( r ) \ell\notin[d]_{M^{(r)}_{k,3}} ℓ ∈ / [ d ] M k , 3 ( r ) , we have
P ( ∣ ⟨ V [ M ‾ 3 ( R ) − ( M ‾ k , 3 ( R , ∗ ) + 1 K D ∗ M k , 3 ( r ) ) ] T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≥ θ 16 ) = 0. \mathbb{P}(|\langle V[\overline{M}^{(R)}_3-(\overline{M}^{(R,*)}_{k,3}+\frac{1}{K}\mathrm{D}^{*}M^{(r)}_{k,3})]^{\mathsf{T}},\ell],\sum_{j=1}^{\rho}(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r}))_j\mathcal{E}(x_{k,r,t-j})\rangle|\ge\frac{\theta}{16})=0. P ( ∣ ⟨ V [ M 3 ( R ) − ( M k , 3 ( R , ∗ ) + K 1 D ∗ M k , 3 ( r ) ) ] T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j )⟩ ∣ ≥ 16 θ ) = 0.
Indeed,
∣ ⟨ V [ ( M ‾ 3 ( R ) − ( M ‾ k , 3 ( R , ∗ ) + 1 K D ∗ M k , 3 ( r ) ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ⟩ ∣ ≤ ∥ V [ ( M ‾ 3 ( R ) − ( M ‾ k , 3 ( R , ∗ ) + 1 K D ∗ M k , 3 ( r ) ) ) T , ℓ ] ∥ ∥ ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) ∥ ≤ ∥ V [ ( M ‾ 3 ( R ) − ( M ‾ k , 3 ( R , ∗ ) + 1 K D ∗ M k , 3 ( r ) ) ) T , ℓ ] ∥ ≤ θ 24 C ρ ≤ θ 24 . \begin{aligned}
&\left|\left\langle V\left[\left(\overline{M}^{(R)}_3-\left(\overline{M}^{(R,*)}_{k,3}+\frac{1}{K}\mathrm{D}^{*}M^{(r)}_{k,3}\right)\right)^{\mathsf{T}},\ell\right],\sum_{j=1}^{\rho}\left(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\rangle\right|\\
&\le\left\|V\left[\left(\overline{M}^{(R)}_3-\left(\overline{M}^{(R,*)}_{k,3}+\frac{1}{K}\mathrm{D}^{*}M^{(r)}_{k,3}\right)\right)^{\mathsf{T}},\ell\right]\right\|\left\|\sum_{j=1}^{\rho}\left(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j})\right\|\\
&\le\left\|V\left[\left(\overline{M}^{(R)}_3-\left(\overline{M}^{(R,*)}_{k,3}+\frac{1}{K}\mathrm{D}^{*}M^{(r)}_{k,3}\right)\right)^{\mathsf{T}},\ell\right]\right\|\\
&\le\frac{\theta}{24C\sqrt{\rho}}\le\frac{\theta}{24}.
\end{aligned} ⟨ V [ ( M 3 ( R ) − ( M k , 3 ( R , ∗ ) + K 1 D ∗ M k , 3 ( r ) ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ⟩ ≤ V [ ( M 3 ( R ) − ( M k , 3 ( R , ∗ ) + K 1 D ∗ M k , 3 ( r ) ) ) T , ℓ ] j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) ≤ V [ ( M 3 ( R ) − ( M k , 3 ( R , ∗ ) + K 1 D ∗ M k , 3 ( r ) ) ) T , ℓ ] ≤ 24 C ρ θ ≤ 24 θ .
The penultimate inequality follows from Conditions 1 and 2. The final inequality follows from the facts that B ≥ 1 B\ge1 B ≥ 1 and ρ ≥ 1 \rho\ge1 ρ ≥ 1 , and hence B ρ ≥ 1 B\sqrt{\rho}\ge1 B ρ ≥ 1 .
\ast Bounding T 3 , 2 \mathbb{T}_{3,2} T 3 , 2 : Define
g ⃗ M ^ k , 4 ( R ) : = ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) j E ( x k , r , t − j ) . (250) \vec{g}_{\widehat{M}^{(R)}_{k,4}}:=\sum_{j=1}^{\rho}\left(g_{\widehat{M}^{(R)}_{k,4}}(\vec{x}_{k,r})\right)_j\mathcal{E}(x_{k,r,t-j}). \tag*{(250)} g M k , 4 ( R ) := j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) j E ( x k , r , t − j ) . (250)
Then,
P ( ∣ 1 K ⟨ V [ ( D ∗ M k , 3 ( r ) − A 3 T A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] , g ⃗ M ^ k , 4 ( R ) ⟩ ∣ ≥ θ 24 ) = P ( ∣ ⟨ V [ ( D ∗ M k , 3 ( r ) ) T , ℓ ] , g ⃗ M ^ k , 4 ( R ) ⟩ − ⟨ A 3 V [ ( D ∗ M k , 3 ( r ) ) T , ℓ ] , A 3 g ⃗ M ^ k , 4 ( R ) ⟩ ∣ ≥ K θ 24 ) \begin{aligned}
\mathbb{P}\left(\left|\frac{1}{K}\left\langle V\left[\left(\mathrm{D}^{*}M^{(r)}_{k,3}-A_3^{\mathsf{T}}A_3\mathrm{D}^{*}M^{(r)}_{k,3}\right)^{\mathsf{T}},\ell\right],\vec{g}_{\widehat{M}^{(R)}_{k,4}}\right\rangle\right|\ge\frac{\theta}{24}\right) \\
&=\mathbb{P}\left(\left|\left\langle V\left[\left(\mathrm{D}^{*}M^{(r)}_{k,3}\right)^{\mathsf{T}},\ell\right],\vec{g}_{\widehat{M}^{(R)}_{k,4}}\right\rangle-\left\langle A_3V\left[\left(\mathrm{D}^{*}M^{(r)}_{k,3}\right)^{\mathsf{T}},\ell\right],A_3\vec{g}_{\widehat{M}^{(R)}_{k,4}}\right\rangle\right|\ge\frac{K\theta}{24}\right)
\end{aligned} P ( K 1 ⟨ V [ ( D ∗ M k , 3 ( r ) − A 3 T A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] , g M k , 4 ( R ) ⟩ ≥ 24 θ ) = P ( ⟨ V [ ( D ∗ M k , 3 ( r ) ) T , ℓ ] , g M k , 4 ( R ) ⟩ − ⟨ A 3 V [ ( D ∗ M k , 3 ( r ) ) T , ℓ ] , A 3 g M k , 4 ( R ) ⟩ ≥ 24 K θ )
≤ 4 exp ( − m 3 7 ( K θ 24 C q e , b R e r − R ) 2 ) (251) \le4\exp\left(-\frac{m_3}{7}\left(\frac{K\theta}{24Cq_{e,b}R_e^{r-R}}\right)^2\right) \tag*{(251)} ≤ 4 exp ( − 7 m 3 ( 24 C q e , b R e r − R K θ ) 2 ) (251)
≤ O ( 1 d N K T ) . (252) \le\mathcal{O}\left(\frac{1}{dNKT}\right). \tag*{(252)} ≤ O ( d N K T 1 ) . (252)
where:
Equation (251) follows by applying (Grønlund et al., 2020b, Lemma 8, Part 2) together with the bound ∥ D ∗ M k , 3 ( r ) ∥ ≤ C q e , b R e r − R \lVert\mathrm{D}^{*}M_{k,3}^{(r)}\rVert\le Cq_{e,b}R_e^{r-R} ∥ D ∗ M k , 3 ( r ) ∥ ≤ C q e , b R e r − R .
Equation (252) follows from the choice of the parameter m 3 m_3 m 3 .
By recalling the denotation in (253) We have
P ( 1 K ⟨ V [ ( A 3 T A 3 D ∗ M k , 3 ( r ) − M ^ k , 3 ( r ) ) T , ℓ ] , ∑ j = 1 ρ ( g M ^ k , 4 ( R ) ( x ⃗ k , r ) ) E ( x k , r , t − j ) ⟩ ≥ θ 24 ) = P ( ⟨ V [ ( A 3 T A 3 D ∗ M k , 3 ( r ) − M ^ k , 3 ( r ) ) T , ℓ ] , g ⃗ M ^ k , 4 ( R ) ⟩ ≥ K θ 24 ) = P ( ⟨ V [ ( A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] − M ^ k , ℓ , 3 ( r ) , A 3 g ⃗ M ^ k , 4 ( R ) ⟩ ≥ K θ 24 ) ≤ P A 3 ( ∥ A 3 g ⃗ M ^ k , 4 ( R ) ∥ ≥ c 3 , 2 ) + P ( ∥ V [ ( A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] ∥ ≥ c 3 , 1 ∥ V [ ( M k , 3 ( r ) ) T , ℓ ] ∥ ) + E U ∼ Unif ( B m 3 ( 0 , ν 3 ) ) E A 1 [ P ( ⟨ U , A 3 g ⃗ M ^ k , 2 [ 2 ] ⟩ ≥ K θ 24 C ∣ Cond 1 ) ] ≤ e − 0.21 m 3 ( c 3 , 2 2 − 1 − 2 log ( c 3 , 2 ) ) + e − m 3 ( q e , b 2 ( r − R ) c 3 , 1 2 − 1 − 2 log ( q e , b r − R c 3 , 1 ) ) + 2 ( m 3 + 1 ) π e − ( m 3 + 1 2 ) ( K θ 24 c 3 , 2 ν 1 C ) 2 ≤ O ( 1 d N K T ) . (253) \begin{aligned}
\mathbb{P}\left(\frac{1}{K}\left\langle V\left[\left(A_3^{\mathsf T}A_3\mathrm{D}^{*}M_{k,3}^{(r)}-\widehat{M}_{k,3}^{(r)}\right)^{\mathsf T},\ell\right],\sum_{j=1}^{\rho}\left(g_{\widehat{M}_{k,4}^{(R)}}(\vec{x}_{k,r})\right)\mathcal{E}(x_{k,r,t-j})\right\rangle\ge\frac{\theta}{24}\right)
&=\mathbb{P}\left(\left\langle V\left[\left(A_3^{\mathsf T}A_3\mathrm{D}^{*}M_{k,3}^{(r)}-\widehat{M}_{k,3}^{(r)}\right)^{\mathsf T},\ell\right],\vec{g}_{\widehat{M}_{k,4}^{(R)}}\right\rangle\ge\frac{K\theta}{24}\right)\\
&=\mathbb{P}\left(\left\langle V\left[\left(A_3\mathrm{D}^{*}M_{k,3}^{(r)}\right)^{\mathsf T},\ell\right]-\widehat{M}_{k,\ell,3}^{(r)},A_3\vec{g}_{\widehat{M}_{k,4}^{(R)}}\right\rangle\ge\frac{K\theta}{24}\right)\\
&\le\mathbb{P}_{A_3}\left(\left\lVert A_3\vec{g}_{\widehat{M}_{k,4}^{(R)}}\right\rVert\ge c_{3,2}\right)+\mathbb{P}\left(\left\lVert V\left[\left(A_3\mathrm{D}^{*}M_{k,3}^{(r)}\right)^{\mathsf T},\ell\right]\right\rVert\ge c_{3,1}\left\lVert V\left[\left(M_{k,3}^{(r)}\right)^{\mathsf T},\ell\right]\right\rVert\right)\\
&\quad+\mathbb{E}_{U\sim\operatorname{Unif}(B_{m_3}(0,\nu_3))}\mathbb{E}_{A_1}\left[\mathbb{P}\left(\left.\left\langle U,A_3\vec{g}_{\widehat{M}_{k,2[2]}}\right\rangle\ge\frac{K\theta}{24C}\right|\operatorname{Cond}_1\right)\right]\\
&\le e^{-0.21m_3(c_{3,2}^{2}-1-2\log(c_{3,2}))}
+e^{-m_3\left(q_{e,b}^{2(r-R)}c_{3,1}^{2}-1-2\log\left(q_{e,b}^{r-R}c_{3,1}\right)\right)}\\
&\quad+\frac{\sqrt{2(m_3+1)}}{\sqrt{\pi}}e^{-\left(\frac{m_3+1}{2}\right)\left(\frac{K\theta}{24c_{3,2}\nu_1C}\right)^2} \\
&\le\mathcal{O}\left(\frac{1}{dNKT}\right). \tag*{(253)}
\end{aligned} P ( K 1 ⟨ V [ ( A 3 T A 3 D ∗ M k , 3 ( r ) − M k , 3 ( r ) ) T , ℓ ] , j = 1 ∑ ρ ( g M k , 4 ( R ) ( x k , r ) ) E ( x k , r , t − j ) ⟩ ≥ 24 θ ) = P ( ⟨ V [ ( A 3 T A 3 D ∗ M k , 3 ( r ) − M k , 3 ( r ) ) T , ℓ ] , g M k , 4 ( R ) ⟩ ≥ 24 K θ ) = P ( ⟨ V [ ( A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] − M k , ℓ , 3 ( r ) , A 3 g M k , 4 ( R ) ⟩ ≥ 24 K θ ) ≤ P A 3 ( A 3 g M k , 4 ( R ) ≥ c 3 , 2 ) + P ( V [ ( A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] ≥ c 3 , 1 V [ ( M k , 3 ( r ) ) T , ℓ ] ) + E U ∼ Unif ( B m 3 ( 0 , ν 3 )) E A 1 [ P ( ⟨ U , A 3 g M k , 2 [ 2 ] ⟩ ≥ 24 C K θ Cond 1 ) ] ≤ e − 0.21 m 3 ( c 3 , 2 2 − 1 − 2 l o g ( c 3 , 2 )) + e − m 3 ( q e , b 2 ( r − R ) c 3 , 1 2 − 1 − 2 l o g ( q e , b r − R c 3 , 1 ) ) + π 2 ( m 3 + 1 ) e − ( 2 m 3 + 1 ) ( 24 c 3 , 2 ν 1 C K θ ) 2 ≤ O ( d N K T 1 ) . (253)
where
∥ A 3 g ⃗ M ^ k , 2 [ 2 ] ∥ ≤ c 3 , 2 and ∥ V [ ( A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] ∥ ≤ c 3 , 1 ∥ V [ ( M k , 3 ( r ) ) T , ℓ ] ∥ , (254) \left\lVert A_3\vec{g}_{\widehat{M}_{k,2[2]}}\right\rVert\le c_{3,2}
\quad\text{and}\quad
\left\lVert V\left[\left(A_3\mathrm{D}^{*}M_{k,3}^{(r)}\right)^{\mathsf T},\ell\right]\right\rVert\le c_{3,1}\left\lVert V\left[\left(M_{k,3}^{(r)}\right)^{\mathsf T},\ell\right]\right\rVert, \tag*{(254)} A 3 g M k , 2 [ 2 ] ≤ c 3 , 2 and V [ ( A 3 D ∗ M k , 3 ( r ) ) T , ℓ ] ≤ c 3 , 1 V [ ( M k , 3 ( r ) ) T , ℓ ] , (254)
respectively.
Therefore,
( I I I ) 1 , ( I I I ) 2 ≤ T 3 , 1 + T 3 , 2 + T 3 , 3 ≤ O ( 1 N K T ) . \left(\mathbb{III}\right)^1,\left(\mathbb{III}\right)^2\le\mathbb{T}_{3,1}+\mathbb{T}_{3,2}+\mathbb{T}_{3,3}
\le\mathcal{O}\left(\frac{1}{NKT}\right). ( III ) 1 , ( III ) 2 ≤ T 3 , 1 + T 3 , 2 + T 3 , 3 ≤ O ( N K T 1 ) .
By combining the bounds for I 1 \mathbb{I}^{1} I 1 , I 2 \mathbb{I}^{2} I 2 , I I 1 \mathbb{II}^{1} II 1 , I I 2 \mathbb{II}^{2} II 2 , and I I I 1 \mathbb{III}^{1} III 1 , I I I 2 \mathbb{III}^{2} III 2 , we conclude that the distortion term is bounded by O ( 1 N K T ) O\left(\frac{1}{NKT}\right) O ( N K T 1 ) .
In the final step, it remains to derive an upper bound on the mutual information term. To this end, define
T k , { 3 , 4 } , [ d ] ( r ) : = ( T k , 3 , [ d ] ( r ) , T k , 4 , [ d ] ( r ) ) . \mathbf{T}_{k,\{3,4\},[d]}^{(r)}:=\left(\mathbf{T}_{k,3,[d]}^{(r)},\mathbf{T}_{k,4,[d]}^{(r)}\right). T k , { 3 , 4 } , [ d ] ( r ) := ( T k , 3 , [ d ] ( r ) , T k , 4 , [ d ] ( r ) ) .
For each i ∈ { 3 , 4 } i\in\{3,4\} i ∈ { 3 , 4 } , let
T k , i , [ d ] ( r ) : = ( T k , i , 1 ( r ) , … , T k , i , d ( r ) ) ∈ { 0 , 1 } d , \mathbf{T}_{k,i,[d]}^{(r)}:=\left(T_{k,i,1}^{(r)},\ldots,T_{k,i,d}^{(r)}\right)\in\{0,1\}^{d}, T k , i , [ d ] ( r ) := ( T k , i , 1 ( r ) , … , T k , i , d ( r ) ) ∈ { 0 , 1 } d ,
where, for every ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] ,
T k , i , ℓ ( r ) : = 1 { ℓ ∈ [ d ] M k , i ( r ) } . T_{k,i,\ell}^{(r)}:=\mathbf{1}\left\{\ell\in[d]_{M_{k,i}^{(r)}}\right\}. T k , i , ℓ ( r ) := 1 { ℓ ∈ [ d ] M k , i ( r ) } .
Hence, if T k , i , ℓ = 0 T_{k,i,\ell}=0 T k , i , ℓ = 0 , then
V ( M ^ k , i ( R , r ) , ℓ ) = V ( M ‾ k , i ( R ) , ∗ , ℓ ) . (255) V\left(\widehat{M}_{k,i}^{(R,r)},\ell\right)=V\left(\overline{M}_{k,i}^{(R),*},\ell\right). \tag*{(255)} V ( M k , i ( R , r ) , ℓ ) = V ( M k , i ( R ) , ∗ , ℓ ) . (255)
For simplicity and with the abuse of notation, denote
[ d ] T k , i , [ d ] ( r ) = { ℓ ∈ [ d ] : T k , i , ℓ ( r ) = 1 } . (256) [d]_{\mathbf{T}_{k,i,[d]}^{(r)}}=\left\{\ell\in[d]:T_{k,i,\ell}^{(r)}=1\right\}. \tag*{(256)} [ d ] T k , i , [ d ] ( r ) = { ℓ ∈ [ d ] : T k , i , ℓ ( r ) = 1 } . (256)
Therefore we have
I { 3 , 4 } ( S k , r ; W ^ k ( R , r ) ∣ D k , r ) ≤ I { 3 , 4 } ( W k ( r ) ; W ^ k ( R , r ) ∣ D k , r ) = I { 3 , 4 } ( W k ( r ) ; W ^ k ( R , r ) ∣ U k , r ) (257) \begin{aligned}
\mathbb{I}^{\{3,4\}}\left(S_{k,r};\widehat{W}_{k}^{(R,r)}\mid\mathcal{D}_{k,r}\right)
&\leq\mathbb{I}^{\{3,4\}}\left(W_{k}^{(r)};\widehat{W}_{k}^{(R,r)}\mid\mathcal{D}_{k,r}\right)\\
&=\mathbb{I}^{\{3,4\}}\left(W_{k}^{(r)};\widehat{W}_{k}^{(R,r)}\mid\mathcal{U}_{k,r}\right) \tag*{(257)}
\end{aligned} I { 3 , 4 } ( S k , r ; W k ( R , r ) ∣ D k , r ) ≤ I { 3 , 4 } ( W k ( r ) ; W k ( R , r ) ∣ D k , r ) = I { 3 , 4 } ( W k ( r ) ; W k ( R , r ) ∣ U k , r ) (257)
= I { 3 , 4 } ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { V ( W ^ k ( R , r ) , ℓ ) } ℓ ∈ [ d ] ∣ U k , r ) = I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { V ( Q ^ k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ U k , r ) ≤ I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { Q ^ k , i , ℓ ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } , T k , { 3 , 4 } , [ d ] ( r ) ∣ U k , r ) = I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { Q ^ k , i , ℓ ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; T k , { 3 , 4 } , [ d ] ( r ) ∣ U k , r ) ≤ I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) = I { 3 , 4 } ( { V ( Q k , 3 , ℓ ( r ) ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) (258) \begin{aligned}
&=\mathbb{I}^{\{3,4\}}\left(\left\{V(W_{k}^{(r)},\ell)\right\}_{\ell\in[d]};\left\{V(\widehat{W}_{k}^{(R,r)},\ell)\right\}_{\ell\in[d]}\mid\mathcal{U}_{k,r}\right)\\
&=\mathbb{I}^{\{3,4\}}\left(\left\{V(Q_{k,i,\ell}^{(r)})\right\}_{\ell\in[d],i\in\{3,4\}};\left\{V(\widehat{Q}_{k,i,\ell}^{(r)})\right\}_{\ell\in[d],i\in\{3,4\}}\mid\mathcal{U}_{k,r}\right)\\
&\leq\mathbb{I}^{\{3,4\}}\left(\left\{V(Q_{k,i,\ell}^{(r)})\right\}_{\ell\in[d],i\in\{3,4\}};\left\{\widehat{Q}_{k,i,\ell}^{(r)}\right\}_{\ell\in[d],i\in\{3,4\}},\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\mid\mathcal{U}_{k,r}\right)\\
&=\mathbb{I}^{\{3,4\}}\left(\left\{V(Q_{k,i,\ell}^{(r)})\right\}_{\ell\in[d],i\in\{3,4\}};\left\{\widehat{Q}_{k,i,\ell}^{(r)}\right\}_{\ell\in[d],i\in\{3,4\}}\mid\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\quad+\mathbb{I}^{\{3,4\}}\left(\left\{V(Q_{k,i,\ell}^{(r)})\right\}_{\ell\in[d],i\in\{3,4\}};\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\mid\mathcal{U}_{k,r}\right)\\
&\leq\mathbb{I}^{\{3,4\}}\left(\left\{V(Q_{k,i,\ell}^{(r)})\right\}_{\ell\in[d],i\in\{3,4\}};\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d],i\in\{3,4\}}\mid\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\quad+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\\
&=\mathbb{I}^{\{3,4\}}\left(\left\{V(Q_{k,3,\ell}^{(r)})\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d],i\in\{3,4\}}\mid\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right) \tag*{(258)}
\end{aligned} = I { 3 , 4 } ( { V ( W k ( r ) , ℓ ) } ℓ ∈ [ d ] ; { V ( W k ( R , r ) , ℓ ) } ℓ ∈ [ d ] ∣ U k , r ) = I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ U k , r ) ≤ I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { Q k , i , ℓ ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } , T k , { 3 , 4 } , [ d ] ( r ) ∣ U k , r ) = I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { Q k , i , ℓ ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; T k , { 3 , 4 } , [ d ] ( r ) ∣ U k , r ) ≤ I { 3 , 4 } ( { V ( Q k , i , ℓ ( r ) ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ; { M k , ℓ , i ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) = I { 3 , 4 } ( { V ( Q k , 3 , ℓ ( r ) ) } ℓ ∈ [ d ] ; { M k , ℓ , i ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } ∣ T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) (258)
+ I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } | { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) = I A 3 , 4 ( { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , 3 ( r ) } ℓ ∈ [ d ] | T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , 4 ( r ) } ℓ ∈ [ d ] | { M ^ k , ℓ , 3 ( r ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , 3 ( r ) } ℓ ∈ [ d ] | { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , 4 ( r ) } ℓ ∈ [ d ] | { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] , { M ^ k , ℓ , 3 ( r ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) ≤ 2 ∑ i ∈ { 3 , 4 } I A [ 3 ] ( { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] | T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) (259) \begin{aligned}
&+\mathbb{I}^{A_{3,4}}\left(\left\{V\left(Q_{k,4}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d],i\in\{3,4\}}\middle|\left\{V\left(Q_{k,3}^{(r)},\ell\right)\right\}_{\ell\in[d]},\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\quad+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\\
&=\mathbb{I}^{A_{3,4}}\left(\left\{V\left(Q_{k,3}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,3}^{(r)}\right\}_{\ell\in[d]}\middle|\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\quad+\mathbb{I}^{A_{3,4}}\left(\left\{V\left(Q_{k,4}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,4}^{(r)}\right\}_{\ell\in[d]}\middle|\left\{\widehat{M}_{k,\ell,3}^{(r)}\right\}_{\ell\in[d]},\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\quad+\mathbb{I}^{A_{3,4}}\left(\left\{V\left(Q_{k,4}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,3}^{(r)}\right\}_{\ell\in[d]}\middle|\left\{V\left(Q_{k,3}^{(r)},\ell\right)\right\}_{\ell\in[d]},\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\quad+\mathbb{I}^{A_{3,4}}\left(\left\{V\left(Q_{k,4}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,4}^{(r)}\right\}_{\ell\in[d]}\middle|\left\{V\left(Q_{k,3}^{(r)},\ell\right)\right\}_{\ell\in[d]},\left\{\widehat{M}_{k,\ell,3}^{(r)}\right\}_{\ell\in[d]},\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)\\
&\le2\sum_{i\in\{3,4\}}\mathbb{I}^{A_{[3]}}\left(\left\{V\left(Q_{k,i}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d]}\middle|\mathbf{T}_{k,\{3,4\},[d]}^{(r)},\mathcal{U}_{k,r}\right)+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right) \tag*{(259)}
\end{aligned} + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , i ( r ) } ℓ ∈ [ d ] , i ∈ { 3 , 4 } { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) = I A 3 , 4 ( { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , 3 ( r ) } ℓ ∈ [ d ] T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , 4 ( r ) } ℓ ∈ [ d ] { M k , ℓ , 3 ( r ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , 3 ( r ) } ℓ ∈ [ d ] { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + I A 3 , 4 ( { V ( Q k , 4 ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , 4 ( r ) } ℓ ∈ [ d ] { V ( Q k , 3 ( r ) , ℓ ) } ℓ ∈ [ d ] , { M k , ℓ , 3 ( r ) } ℓ ∈ [ d ] , T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) ≤ 2 i ∈ { 3 , 4 } ∑ I A [ 3 ] ( { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , i ( r ) } ℓ ∈ [ d ] T k , { 3 , 4 } , [ d ] ( r ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) (259)
= 2 ∑ i ∈ { 3 , 4 } E T k , i , [ d ] ( r ) [ I A 3 , 4 , T k , i , [ d ] ( r ) ( { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] | U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] = 2 ∑ i ∈ { 3 , 4 } E T k , i , [ d ] ( r ) [ h A [ 3 ] , T k , i , [ d ] ( r ) ( { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] | U k , r ) − h A 3 , 4 , T k , i , [ d ] ( r ) ( { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] | { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] ≤ 2 ∑ i ∈ [ 3 ] E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M ^ k , ℓ , i ( r ) | U k , r ) − h A [ 3 ] , T k , i , [ d ] ( r ) ( { M ^ k , ℓ , i ( r ) } ℓ ∈ [ d ] | { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] = 2 ∑ i ∈ { 3 , 4 } E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M ^ k , ℓ , i ( r ) | U k , r ) − h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M ^ k , ℓ , i ( r ) | V ( Q k , i ( r ) , ℓ ) , U k , r ) ] + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ≤ 2 ∑ i ∈ { 3 , 4 } [ E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , i , ℓ ( r ) ] log ( Volume ( B m i ( c i , 1 C + ν i ) ) ) − E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ T k , i , [ d ] ( r ) T k , i , ℓ ( r ) h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M ^ k , ℓ , i ( r ) | V ( M k , i ( r ) , ℓ ) , U k , r ) ] + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] = 2 ∑ i ∈ [ 3 ] [ E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , i , ℓ ( r ) ] log ( Volume ( B m i ( c i , 1 C + ν i ) ) ) ] \begin{aligned}
&=2\sum_{i\in\{3,4\}}\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[\mathbb{I}^{A_{3,4},\mathbf{T}_{k,i,[d]}^{(r)}}\left(\left\{V\left(Q_{k,i}^{(r)},\ell\right)\right\}_{\ell\in[d]};\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d]}\middle|\mathcal{U}_{k,r}\right)+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\right]\\
&=2\sum_{i\in\{3,4\}}\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[h^{A_{[3]},\mathbf{T}_{k,i,[d]}^{(r)}}\left(\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d]}\middle|\mathcal{U}_{k,r}\right)\right.\\
&\qquad\left.-h^{A_{3,4},\mathbf{T}_{k,i,[d]}^{(r)}}\left(\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d]}\middle|\left\{V\left(Q_{k,i}^{(r)},\ell\right)\right\}_{\ell\in[d]},\mathcal{U}_{k,r}\right)+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\right]\\
&\le2\sum_{i\in[3]}\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in[d]}h^{A_{3,4},\mathbf{T}_{k,\{3,4\},[d]}^{(r)}}\left(\widehat{M}_{k,\ell,i}^{(r)}\middle|\mathcal{U}_{k,r}\right)\right.\\
&\qquad\left.-h^{A_{[3]},\mathbf{T}_{k,i,[d]}^{(r)}}\left(\left\{\widehat{M}_{k,\ell,i}^{(r)}\right\}_{\ell\in[d]}\middle|\left\{V\left(Q_{k,i}^{(r)},\ell\right)\right\}_{\ell\in[d]},\mathcal{U}_{k,r}\right)+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\right]\\
&=2\sum_{i\in\{3,4\}}\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in[d]}h^{A_{3,4},\mathbf{T}_{k,\{3,4\},[d]}^{(r)}}\left(\widehat{M}_{k,\ell,i}^{(r)}\middle|\mathcal{U}_{k,r}\right)-h^{A_{3,4},\mathbf{T}_{k,\{3,4\},[d]}^{(r)}}\left(\widehat{M}_{k,\ell,i}^{(r)}\middle|V\left(Q_{k,i}^{(r)},\ell\right),\mathcal{U}_{k,r}\right)\right]\\
&\qquad+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\\
&\le2\sum_{i\in\{3,4\}}\left[\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in[d]}T_{k,i,\ell}^{(r)}\right]\log\left(\operatorname{Volume}\left(\mathcal{B}_{m_i}\left(c_{i,1}\mathcal{C}+\nu_i\right)\right)\right)\right.\\
&\qquad\left.-\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in\mathbb{T}_{k,i,[d]}^{(r)}}T_{k,i,\ell}^{(r)}h^{A_{3,4},\mathbf{T}_{k,\{3,4\},[d]}^{(r)}}\left(\widehat{M}_{k,\ell,i}^{(r)}\middle|V\left(M_{k,i}^{(r)},\ell\right),\mathcal{U}_{k,r}\right)\right]+\mathbb{H}\left(\mathbf{T}_{k,\{3,4\},[d]}^{(r)}\right)\right]\\
&=2\sum_{i\in[3]}\left[\mathbb{E}_{\mathbf{T}_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in[d]}T_{k,i,\ell}^{(r)}\right]\log\left(\operatorname{Volume}\left(\mathcal{B}_{m_i}\left(c_{i,1}\mathcal{C}+\nu_i\right)\right)\right)\right]
\end{aligned} = 2 i ∈ { 3 , 4 } ∑ E T k , i , [ d ] ( r ) [ I A 3 , 4 , T k , i , [ d ] ( r ) ( { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] ; { M k , ℓ , i ( r ) } ℓ ∈ [ d ] U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] = 2 i ∈ { 3 , 4 } ∑ E T k , i , [ d ] ( r ) [ h A [ 3 ] , T k , i , [ d ] ( r ) ( { M k , ℓ , i ( r ) } ℓ ∈ [ d ] U k , r ) − h A 3 , 4 , T k , i , [ d ] ( r ) ( { M k , ℓ , i ( r ) } ℓ ∈ [ d ] { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] ≤ 2 i ∈ [ 3 ] ∑ E T k , i , [ d ] ( r ) ℓ ∈ [ d ] ∑ h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M k , ℓ , i ( r ) U k , r ) − h A [ 3 ] , T k , i , [ d ] ( r ) ( { M k , ℓ , i ( r ) } ℓ ∈ [ d ] { V ( Q k , i ( r ) , ℓ ) } ℓ ∈ [ d ] , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] = 2 i ∈ { 3 , 4 } ∑ E T k , i , [ d ] ( r ) ℓ ∈ [ d ] ∑ h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M k , ℓ , i ( r ) U k , r ) − h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M k , ℓ , i ( r ) V ( Q k , i ( r ) , ℓ ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ≤ 2 i ∈ { 3 , 4 } ∑ E T k , i , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , i , ℓ ( r ) log ( Volume ( B m i ( c i , 1 C + ν i ) ) ) − E T k , i , [ d ] ( r ) ℓ ∈ T k , i , [ d ] ( r ) ∑ T k , i , ℓ ( r ) h A 3 , 4 , T k , { 3 , 4 } , [ d ] ( r ) ( M k , ℓ , i ( r ) V ( M k , i ( r ) , ℓ ) , U k , r ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) = 2 i ∈ [ 3 ] ∑ E T k , i , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , i , ℓ ( r ) log ( Volume ( B m i ( c i , 1 C + ν i ) ) )
− [ E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , i , ℓ ( r ) log ( Volume ( B m i ( ν i ) ) ) ] + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ] ≤ 2 ∑ i ∈ { 3 , 4 } [ m i E T k , i , [ d ] ( r ) [ ∑ ℓ ∈ [ d ] T k , i , ℓ ( r ) ] log ( c i , 1 C + ν i ν i ) + H ( T k , i , [ d ] ( r ) ) ] ≤ 2 ∑ i ∈ { 3 , 4 } [ ( m i + 1 ) ( 8 ρ C 2 θ ) log ( c i , 1 C + ν i ν i ) + 1 2 ] (260) -\left[\mathbb{E}_{T_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in[d]}T_{k,i,\ell}^{(r)}\log\left(\operatorname{Volume}(\mathcal{B}_{m_i}(\nu_i))\right)\right]+\mathbb{H}\left(T_{k,\{3,4\},[d]}^{(r)}\right)\right]
\\
\le2\sum_{i\in\{3,4\}}\left[m_i\mathbb{E}_{T_{k,i,[d]}^{(r)}}\left[\sum_{\ell\in[d]}T_{k,i,\ell}^{(r)}\right]\log\left(\frac{c_{i,1}C+\nu_i}{\nu_i}\right)+\mathbb{H}\left(T_{k,i,[d]}^{(r)}\right)\right]
\\
\le2\sum_{i\in\{3,4\}}\left[(m_i+1)\left(\frac{8\rho C^2}{\theta}\right)\log\left(\frac{c_{i,1}C+\nu_i}{\nu_i}\right)+\frac{1}{2}\right] \tag*{(260)} − E T k , i , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , i , ℓ ( r ) log ( Volume ( B m i ( ν i )) ) + H ( T k , { 3 , 4 } , [ d ] ( r ) ) ≤ 2 i ∈ { 3 , 4 } ∑ m i E T k , i , [ d ] ( r ) ℓ ∈ [ d ] ∑ T k , i , ℓ ( r ) log ( ν i c i , 1 C + ν i ) + H ( T k , i , [ d ] ( r ) ) ≤ 2 i ∈ { 3 , 4 } ∑ [ ( m i + 1 ) ( θ 8 ρ C 2 ) log ( ν i c i , 1 C + ν i ) + 2 1 ] (260)
where
Equations (260) and (261) follow from the data processing inequality.
The inequality in (262) follows from the fact that, for any k ∈ [ K ] k\in[K] k ∈ [ K ] , r ∈ [ R ] r\in[R] r ∈ [ R ] , and i ∈ [ 3 ] i\in[3] i ∈ [ 3 ] , conditioned on V ( { M k , i , ℓ ( r ) } ℓ ∈ [ d ] ) V\left(\{M_{k,i,\ell}^{(r)}\}_{\ell\in[d]}\right) V ( { M k , i , ℓ ( r ) } ℓ ∈ [ d ] ) , the random variable M ^ k , i , [ d ] ( r ) \widehat{M}_{k,i,[d]}^{(r)} M k , i , [ d ] ( r ) is independent of V ( { M k , j , ℓ ( r ) } ℓ ∈ [ d ] ) V\left(\{M_{k,j,\ell}^{(r)}\}_{\ell\in[d]}\right) V ( { M k , j , ℓ ( r ) } ℓ ∈ [ d ] ) for all j ≠ i j\ne i j = i .
It remains to upper bound H ( T k , i , [ d ] ( r ) ) \mathbb{H}\left(T_{k,i,[d]}^{(r)}\right) H ( T k , i , [ d ] ( r ) ) . This follows the same argument as bounding H ( T k , [ d ] ( r ) ) \mathbb{H}\left(T_{k,[d]}^{(r)}\right) H ( T k , [ d ] ( r ) ) in (214) . Since the argument is identical for each i ∈ [ 3 ] i\in[3] i ∈ [ 3 ] , we omit the details.
Proof of Lemma 1
To prove Lemma 1, we follow the same steps as (61)–(69). In particular, analogously to (79), we obtain
E S [ K ] , [ R ] , W ‾ ( R ) [ gen ( S [ K ] , [ R ] , W ‾ ( R ) ) ] ≤ 1 K R ∑ k = 1 K ∑ r = 1 R 1 λ k , r [ I ( S k , r ; W k ( r ) ∣ W ‾ ( r − 1 ) ) + E W ‾ ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ‾ ( R ) ) ] ] ] (261) \mathbb{E}_{S_{[K],[R]},\overline{W}^{(R)}}\left[\operatorname{gen}(S_{[K],[R]},\overline{W}^{(R)})\right]
\le\frac{1}{KR}\sum_{k=1}^{K}\sum_{r=1}^{R}\frac{1}{\lambda_{k,r}}\left[I(S_{k,r};W_k^{(r)}\mid\overline{W}^{(r-1)})+\mathbb{E}_{\overline{W}^{(R)}}\left[\log\mathbb{E}_{S_{k,r}}\left[e^{\phi(S_{k,r},S'_{k,r},\overline{W}^{(R)})}\right]\right]\right] \tag*{(261)} E S [ K ] , [ R ] , W ( R ) [ gen ( S [ K ] , [ R ] , W ( R ) ) ] ≤ K R 1 k = 1 ∑ K r = 1 ∑ R λ k , r 1 [ I ( S k , r ; W k ( r ) ∣ W ( r − 1 ) ) + E W ( R ) [ log E S k , r [ e ϕ ( S k , r , S k , r ′ , W ( R ) ) ] ] ] (261)
Thus, it remains to bound the MGF term on the right-hand side of (264). To this end, define
Y k , r , t : = 1 T log 1 p w ‾ ( R ) ( X k , r , t ∣ X k , r , t − 1 , r , … , X k , r , t − ρ ) , Y_{k,r,t}:=\frac{1}{T}\log\frac{1}{p_{\overline{w}^{(R)}}(X_{k,r,t}\mid X_{k,r,t-1,r,\ldots,X_{k,r,t-\rho})},} Y k , r , t := T 1 log p w ( R ) ( X k , r , t ∣ X k , r , t − 1 , r , … , X k , r , t − ρ ) , 1
Y k , r , t ( n ) : = 1 T log 1 p w ‾ ( R ) ( X k , r , t ( n ) ∣ X k , r , t − 1 ( n ) , … , X k , r , t − ρ ( n ) ) . Y_{k,r,t}^{(n)}:=\frac{1}{T}\log\frac{1}{p_{\overline{w}^{(R)}}(X_{k,r,t}^{(n)}\mid X_{k,r,t-1}^{(n)},\ldots,X_{k,r,t-\rho}^{(n)})}. Y k , r , t ( n ) := T 1 log p w ( R ) ( X k , r , t ( n ) ∣ X k , r , t − 1 ( n ) , … , X k , r , t − ρ ( n ) ) 1 .
Then,
ℓ ( s k , r , w ‾ ( R ) ) = 1 T ∑ t = 1 T log 1 p w ‾ ( R ) ( x k , r , t ∣ x k , r , t − 1 , … , x k , r , t − ρ ) = ∑ t = 1 T Y k , r , t . \ell(s_{k,r},\overline{w}^{(R)})=\frac{1}{T}\sum_{t=1}^{T}\log\frac{1}{p_{\overline{w}^{(R)}}(x_{k,r,t}\mid x_{k,r,t-1},\ldots,x_{k,r,t-\rho})}
=\sum_{t=1}^{T}Y_{k,r,t}. ℓ ( s k , r , w ( R ) ) = T 1 t = 1 ∑ T log p w ( R ) ( x k , r , t ∣ x k , r , t − 1 , … , x k , r , t − ρ ) 1 = t = 1 ∑ T Y k , r , t .
Consequently,
log E S k , r [ e λ N ( E S ′ [ ∑ t = 1 T Y k , r , t ′ ] − ∑ t = 1 T Y k , r , t ( n ) ) ] ≤ λ 2 ( 2 B + log d ) 2 τ ~ k , min 2 8 T N 2 (262) \log\mathbb{E}_{S_{k,r}}\left[e^{\frac{\lambda}{N}\left(\mathbb{E}_{S'}\left[\sum_{t=1}^{T}Y'_{k,r,t}\right]-\sum_{t=1}^{T}Y^{(n)}_{k,r,t}\right)}\right]\leq\frac{\lambda^{2}(2B+\log d)^{2}\widetilde{\tau}_{k,\min}^{2}}{8TN^{2}} \tag*{(262)} log E S k , r [ e N λ ( E S ′ [ ∑ t = 1 T Y k , r , t ′ ] − ∑ t = 1 T Y k , r , t ( n ) ) ] ≤ 8 T N 2 λ 2 ( 2 B + log d ) 2 τ k , m i n 2 (262)
where
τ ~ k , min \widetilde{\tau}_{k,\min} τ k , m i n is defined in (25).
(265) follows by applying the McDiarmid-type inequality in Lemma 3. Indeed, since Y k , r , t ≥ 0 Y_{k,r,t}\geq0 Y k , r , t ≥ 0 for every k ∈ [ K ] k\in[K] k ∈ [ K ] , r ∈ [ R ] r\in[R] r ∈ [ R ] , t ∈ [ T ] t\in[T] t ∈ [ T ] , the function
g ( Y k , r , 1 , … , Y k , r , T ) : = 1 N ∑ t = 1 T Y k , r , t g(Y_{k,r,1},\ldots,Y_{k,r,T}):=\frac{1}{N}\sum_{t=1}^{T}Y_{k,r,t} g ( Y k , r , 1 , … , Y k , r , T ) := N 1 t = 1 ∑ T Y k , r , t
satisfies
g ( Y k , r , 1 , … , Y k , r , T ) − g ( Y k , r , 1 ′ , … , Y k , r , T ′ ) ≤ 1 N ∑ t = 1 T Y k , r , t 1 { Y k , r , t ≠ Y k , r , t ′ } ≤ ( 2 B + log d N T ) ∑ t = 1 T 1 { Y k , r , t ≠ Y k , r , t ′ } (263) \begin{aligned}
g(Y_{k,r,1},\ldots,Y_{k,r,T})-g(Y'_{k,r,1},\ldots,Y'_{k,r,T})\leq\frac{1}{N}\sum_{t=1}^{T}Y_{k,r,t}\mathbf{1}\{Y_{k,r,t}\ne Y'_{k,r,t}\} \\
&\leq\left(\frac{2B+\log d}{NT}\right)\sum_{t=1}^{T}\mathbf{1}\{Y_{k,r,t}\ne Y'_{k,r,t}\} \tag*{(263)}
\end{aligned} g ( Y k , r , 1 , … , Y k , r , T ) − g ( Y k , r , 1 ′ , … , Y k , r , T ′ ) ≤ N 1 t = 1 ∑ T Y k , r , t 1 { Y k , r , t = Y k , r , t ′ } ≤ ( N T 2 B + log d ) t = 1 ∑ T 1 { Y k , r , t = Y k , r , t ′ } (263)
where (266) follows from the uniform upper bound on Y t Y_t Y t established in Lemma 4.
Proof of Lemma 3
We begin with the McDiarmid-type inequality for dependent random variables established in Lemma 2. For a partition Y ~ \widetilde{Y} Y with associated mixing matrix Γ \Gamma Γ , the lemma gives
log E [ e λ ( f ( Y ) − E f ( Y ) ) ] ≤ λ 2 8 ∥ Γ C ( c ) ∥ 2 2 . \log\mathbb{E}\left[e^{\lambda(f(Y)-\mathbb{E}f(Y))}\right]\leq\frac{\lambda^{2}}{8}\left\|\Gamma C(c)\right\|_{2}^{2}. log E [ e λ ( f ( Y ) − E f ( Y )) ] ≤ 8 λ 2 ∥ Γ C ( c ) ∥ 2 2 .
To obtain the desired concentration bound, it is therefore enough to construct a Marton coupling for the partitioned loss sequence and control the norm of its mixing matrix.
Fix δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) such that τ ~ ( δ ) < ∞ \widetilde{\tau}(\delta)<\infty τ ( δ ) < ∞ , and let L = τ ~ ( δ ) L=\widetilde{\tau}(\delta) L = τ ( δ ) . We partition Y ~ \widetilde{Y} Y into consecutive blocks Y ~ 1 , … , Y ~ T ~ \widetilde{Y}_{1},\ldots,\widetilde{Y}_{\widetilde{T}} Y 1 , … , Y T of length L L L , allowing the final block to be shorter. Consider any i < T ~ i<\widetilde{T} i < T and two admissible histories in the sense of Definition 3, which agree through block i − 1 i-1 i − 1 but may differ at block i i i . Writing s = i L s=iL s = i L for the endpoint of that block, the two histories may induce different conditional distributions of Z s Z_s Z s . Nevertheless, the Markov property ensures that, conditional on the state Z s Z_s Z s , the subsequent evolution does not depend on the preceding losses. We may therefore couple the conditional distributions of the two states and extend this coupling to their future trajectories, while preserving the conditional laws required by Definition 3.
To construct the coupling, we work at successive block boundaries { s + k L } k ≥ 1 \{s+kL\}_{k\geq1} { s + k L } k ≥ 1 . Given the pair of states at a boundary, we use a maximal coupling of their L L L -step transition distributions. By the definition of τ ~ ( δ ) \widetilde{\tau}(\delta) τ ( δ ) , the two endpoints disagree with probability at most δ \delta δ , uniformly over their initial states. Conditional on these endpoints, the intervening trajectories are sampled from the corresponding Markov bridge distributions, ensuring that each copy retains its prescribed trajectory law. Whenever the two states meet, we couple their subsequent evolution identically, so that they remain equal. Consequently, disagreement at the next boundary can occur only if the current states differ, and even then its conditional probability is at most δ \delta δ . More precisely,
P ( Z s + ( r + 1 ) L ≠ Z s + ( r + 1 ) L ′ ∣ Z s + r L , Z s + r L ′ ) ≤ δ 1 { Z s + r L ≠ Z s + r L ′ } . \mathbb{P}\left(Z_{s+(r+1)L} \ne Z'_{s+(r+1)L} \mid Z_{s+rL},Z'_{s+rL}\right) \le\delta\mathbf{1}_{\{Z_{s+rL}\ne Z'_{s+rL}\}}. P ( Z s + ( r + 1 ) L = Z s + ( r + 1 ) L ′ ∣ Z s + r L , Z s + r L ′ ) ≤ δ 1 { Z s + r L = Z s + r L ′ } .
Taking expectations on both sides and applying the tower property, we obtain
P ( Z s + ( r + 1 ) L ≠ Z s + ( r + 1 ) L ′ ) ≤ δ P ( Z s + r L ≠ Z s + r L ′ ) . \mathbb{P}\left(Z_{s+(r+1)L} \ne Z'_{s+(r+1)L}\right) \le\delta\mathbb{P}\left(Z_{s+rL} \ne Z'_{s+rL}\right). P ( Z s + ( r + 1 ) L = Z s + ( r + 1 ) L ′ ) ≤ δ P ( Z s + r L = Z s + r L ′ ) .
Since the probability of disagreement at the initial boundary is at most one, iterating this inequality gives
P ( Z s + r L ≠ Z s + r L ′ ) ≤ δ r . (264) \mathbb{P}\left(Z_{s+rL} \ne Z'_{s+rL}\right) \le\delta^r. \tag*{(264)} P ( Z s + r L = Z s + r L ′ ) ≤ δ r . (264)
We next relate this decay of state disagreement to the coupling of the loss blocks. Consider block i + k i+k i + k for some k ≥ 2 k \ge2 k ≥ 2 , whose first time index is a = s + ( k − 1 ) L + 1 a=s+(k-1)L+1 a = s + ( k − 1 ) L + 1 . The state immediately preceding this block is
Z a − 1 = ( X a − 1 , … , X a − ρ ) , Z_{a-1}=(X_{a-1},\ldots,X_{a-\rho}), Z a − 1 = ( X a − 1 , … , X a − ρ ) ,
which contains the full context needed to generate its first loss. If Z a − 1 = Z a − 1 ′ Z_{a-1}=Z'_{a-1} Z a − 1 = Z a − 1 ′ , the two trajectories can be continued identically, and all losses within block i + k i+k i + k consequently agree. Combining this observation with (264) yields
P ( Y ^ i + k ≠ Y ^ i + k ′ ) ≤ P ( Z s + ( k − 1 ) L ≠ Z s + ( k − 1 ) L ′ ) ≤ δ k − 1 . \mathbb{P}\left(\widehat{Y}_{i+k}\ne\widehat{Y}'_{i+k}\right)\le\mathbb{P}\left(Z_{s+(k-1)L}\ne Z'_{s+(k-1)L}\right)\le\delta^{k-1}. P ( Y i + k = Y i + k ′ ) ≤ P ( Z s + ( k − 1 ) L = Z s + ( k − 1 ) L ′ ) ≤ δ k − 1 .
Because this estimate holds uniformly over the admissible conditional histories, the mixing matrix in Definition 3 satisfies
Γ i i = 1 , Γ i , i + 1 ≤ 1 , Γ i , i + k ≤ δ k − 1 , k ≥ 2. \Gamma_{ii}=1,\qquad\Gamma_{i,i+1}\le1,\qquad\Gamma_{i,i+k}\le\delta^{k-1},\quad k\ge2. Γ ii = 1 , Γ i , i + 1 ≤ 1 , Γ i , i + k ≤ δ k − 1 , k ≥ 2.
The geometric decay of its off-diagonal entries then bounds both the maximum row sum and the maximum column sum by
1 + 1 + ∑ r = 1 ∞ δ r = 2 − δ 1 − δ . 1+1+\sum_{r=1}^{\infty}\delta^r=\frac{2-\delta}{1-\delta}. 1 + 1 + r = 1 ∑ ∞ δ r = 1 − δ 2 − δ .
It follows from the standard relation between the induced matrix norms that
∥ Γ ∥ 2 ≤ ∥ Γ ∥ 1 ∥ Γ ∥ ∞ ≤ 2 − δ 1 − δ . \|\Gamma\|_2\le\sqrt{\|\Gamma\|_1\|\Gamma\|_\infty}\le\frac{2-\delta}{1-\delta}. ∥Γ ∥ 2 ≤ ∥Γ ∥ 1 ∥Γ ∥ ∞ ≤ 1 − δ 2 − δ .
It remains to control the bounded-difference vector associated with the partition. By the definition of C ( c ) C(c) C ( c ) in Lemma 2, each of its coordinates is the sum of the coefficients corresponding to one block. Since every block contains at most L L L observations, the Cauchy–Schwarz inequality gives
∥ C ( c ) ∥ 2 2 = ∑ j = 1 T ^ ( ∑ t ∈ I ( Y ^ j ) c t ) 2 ≤ L ∥ c ∥ 2 2 . \|C(c)\|_2^2=\sum_{j=1}^{\widehat{T}}\left(\sum_{t\in I(\widehat{Y}_j)}c_t\right)^2\le L\|c\|_2^2. ∥ C ( c ) ∥ 2 2 = j = 1 ∑ T t ∈ I ( Y j ) ∑ c t 2 ≤ L ∥ c ∥ 2 2 .
Combining this estimate with the bound on ∥ Γ ∥ 2 \|\Gamma\|_2 ∥Γ ∥ 2 and applying Lemma 2, we obtain
log E [ e λ ( f ( Y ) − E f ( Y ) ) ] ≤ λ 2 τ ~ 2 ( δ ) 8 ( 2 − δ 1 − δ ) 2 ∥ c ∥ 2 2 . \log\mathbb{E}\left[e^{\lambda(f(Y)-\mathbb{E}f(Y))}\right] \le\frac{\lambda^2\widetilde{\tau}^2(\delta)}{8}\left(\frac{2-\delta}{1-\delta}\right)^2\|\boldsymbol{c}\|_2^2. log E [ e λ ( f ( Y ) − E f ( Y )) ] ≤ 8 λ 2 τ 2 ( δ ) ( 1 − δ 2 − δ ) 2 ∥ c ∥ 2 2 .
Finally, taking the infimum over δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) yields
log E [ e λ ( f ( Y ) − E f ( Y ) ) ] ≤ λ 2 τ ~ min 2 ∥ c ∥ 2 2 8 , \log\mathbb{E}\left[e^{\lambda(f(Y)-\mathbb{E}f(Y))}\right] \le\frac{\lambda^2\widetilde{\tau}_{\min}^2\|\boldsymbol{c}\|_2^2}{8}, log E [ e λ ( f ( Y ) − E f ( Y )) ] ≤ 8 λ 2 τ m i n 2 ∥ c ∥ 2 2 ,
which establishes (59).
Proof of Lemma 4
log 1 p w ( x k , t ∣ x k , t − 1 , ⋯ , x k , t − ρ ) = log 1 ⟨ σ ( g w ( E ⊗ ρ ( x ⃗ ) ) ) , E ( x k , t ) ⟩ (265) \log\frac{1}{p_w(x_{k,t}\mid x_{k,t-1},\cdots,x_{k,t-\rho})}
=\log\frac{1}{\left\langle\sigma\left(g_w\left(\mathcal{E}^{\otimes\rho}(\vec{x})\right)\right),\mathcal{E}(x_{k,t})\right\rangle} \tag*{(265)} log p w ( x k , t ∣ x k , t − 1 , ⋯ , x k , t − ρ ) 1 = log ⟨ σ ( g w ( E ⊗ ρ ( x ) ) ) , E ( x k , t ) ⟩ 1 (265)
= max i ∈ [ d ] log ( ∑ j ∈ [ d ] exp ( g w , j ) exp ( g w ( j ) ) ⋅ E j ( x k , t ( n ) ) ) (266) =\max_{i\in[d]}\log\left(\frac{\sum_{j\in[d]}\exp(g_{w,j})}{\exp\left(g_w^{(j)}\right)\cdot\mathcal{E}_j\left(x_{k,t}^{(n)}\right)}\right) \tag*{(266)} = i ∈ [ d ] max log exp ( g w ( j ) ) ⋅ E j ( x k , t ( n ) ) ∑ j ∈ [ d ] exp ( g w , j ) (266)
≤ log ( d e B e − B ) (267) \le\log\left(\frac{d e^B}{e^{-B}}\right) \tag*{(267)} ≤ log ( e − B d e B ) (267)
= 2 B + log d (268) =2B+\log d \tag*{(268)} = 2 B + log d (268)
where
equation (266) follows from definition in (5) and (6),
and (270) is due to Assumption (1) which implies that ∣ g w , j ∣ ≤ ∥ g w ∥ ≤ B \lvert g_{w,j}\rvert\le\|g_w\| \le B ∣ g w , j ∣ ≤ ∥ g w ∥ ≤ B for any j ∈ [ d ] j\in[d] j ∈ [ d ] .
Language Model Pretraining: Experimental Details
This appendix complements Section 7.1 with the full experimental protocol used to probe the SANTP regime on TinyStories.
Dataset and tokenization. We use the TinyStories corpus of [9 ] , a collection of short synthetic stories generated to use only words a typical 3–4 year-old would understand. We retain 8% of the training split, which we found sufficient to expose the communication–generalization tradeoff while keeping the sweep tractable. A byte-level BPE tokenizer with vocabulary size V = 8,000 V=8{,}000 V = 8 , 000 is trained from scratch on the selected stories using the tokenizers library, with special tokens <pad>, <bos>, <eos>, <unk> and a <bos> · <eos> template applied at encoding time. After tokenization, 10% of the resulting token stream is reserved as a held-out test set; the remainder is used for training.
Model architecture. We use a GPT-style decoder-only transformer with N l a y e r = 6 N_{\mathrm{layer}}=6 N layer = 6 blocks, embedding dimension d m o d e l = 512 d_{\mathrm{model}}=512 d model = 512 , H = 8 H=8 H = 8 attention heads, and an MLP expansion ratio of 4, totaling roughly 25M parameters. Each block uses pre-normalization with RMSNorm ([53 ] ), causal self-attention, and a SwiGLU MLP ([43 ] ). Input and output embeddings are tied. The maximum sequence length (block size) is T = 256 T = 256 T = 256 tokens, and dropout is set to 0.1. Residual projections are initialized with a depth-scaled standard deviation of 0.02 / 2 N l a y e r 0.02/\sqrt{2N_{\mathrm{layer}}} 0.02/ 2 N layer following ([33 ] ).
FedAvg protocol. Each configuration runs the standard FedAvg loop ([27 ] ): at each communication round r ∈ { 1 , … , R } r \in\{1,\ldots,R\} r ∈ { 1 , … , R } , every client receives the current global parameters, performs τ = M / R \tau= M/R τ = M / R local AdamW steps on its own shard, and returns its updated parameters; the server then averages them uniformly to form the next global iterate. Local optimizer state (Adam moments) is reinitialized at the start of every round, which is the canonical FedAvg specification. Mini-batches within a round are drawn sequentially from the shard with shuffling at the window level.
Compute budget. To isolate the effect of communication frequency from that of total compute, we fix the per-client total gradient-step budget at M = 10,000 M = 10{,}000 M = 10 , 000 across all configurations and split it evenly across rounds, so that τ ⋅ R = M \tau\cdot R = M τ ⋅ R = M . Concretely, R = 1 R = 1 R = 1 corresponds to τ = 10,000 \tau= 10{,}000 τ = 10 , 000 local steps with a single aggregation, R = 50 R = 50 R = 50 to τ = 200 \tau= 200 τ = 200 local steps per round with 50 aggregations, and so on. Every configuration thus consumes the same number of token-batches and the same number of optimizer updates per client: only the communication frequency R R R varies. This rules out the possibility that the observed widening of the gap is an artifact of additional optimization.
Optimization hyperparameters. We use AdamW with learning rate 3 ⋅ 10 − 4 3 \cdot10^{-4} 3 ⋅ 1 0 − 4 , weight decay 0.01, default ( β 1 , β 2 ) = ( 0.9 , 0.999 ) (\beta_1,\beta_2) = (0.9, 0.999) ( β 1 , β 2 ) = ( 0.9 , 0.999 ) , and global gradient-norm clipping at 1.0. The minibatch size is 64 sequences of length 256, i.e. ∼ 16 \sim16 ∼ 16 K tokens per gradient step. Hyperparameters were not tuned per configuration; the same values are used across all R R R and all K K K , so any sensitivity to R R R reflects the protocol itself rather than tuning effort.
Evaluation. At the end of each run we evaluate the final aggregated global model on (i) a fixed sample of training windows, drawn deterministically from the union of all shards, and (ii) the held-out test set. Each loss estimate averages cross-entropy over 100 batches of 64 sequences (∼ 1.6 \sim1.6 ∼ 1.6 M tokens). The reported generalization gap is the difference L ^ v a l − L ^ t r a i n \widehat{L}_{\mathrm{val}} - \widehat{L}_{\mathrm{train}} L val − L train at the end of training.
Seeds and reporting. We run three seeds per configuration. Each seed independently controls model initialization, data-loader shuffling, and AdamW state. Curves in Figure 2 show the seed mean, with shaded bands at ± 1 \pm1 ± 1 standard deviation across seeds. The values of R R R swept are { 1 , 5 , 10 , 15 , 20 , 25 , 30 , 35 , 40 } \{1,5,10,15,20,25,30,35,40\} { 1 , 5 , 10 , 15 , 20 , 25 , 30 , 35 , 40 } .
Time Series Forecasting
This section provides supplementary details regarding the experimental setup and additional results for the time series forecasting task discussed in § 7.2 .
Data Processing and Sharding
To maintain the temporal integrity of the data while ensuring i.i.d.-like properties between training and evaluation, we implement a block-level splitting strategy .
Leakage Prevention: To prevent the model from "peeking" into the test set via the τ \tau τ -step history, we apply a buffer. For any training block immediately following or preceding a test block, we discard the first τ = 24 \tau= 24 τ = 24 windows.
Federated Sharding: The training windows are sharded contiguously across K ∈ { 2 , 4 , 8 } K \in\{2, 4, 8\} K ∈ { 2 , 4 , 8 } clients. This ensures that each client’s local data stream retains its Markovian dependence, simulating realistic streaming federated learning scenarios where nodes collect data locally over time.
Model and Hyperparameters
We utilize a Recurrent Neural Network (RNN) designed for discrete sequence prediction. The architecture consists of an embedding layer (d e m b = 64 d_{\mathrm{emb}} = 64 d emb = 64 ), a 2-layer Gated Recurrent Unit (GRU) with a hidden dimension of 256, and a linear output head.
We use the Adam optimizer with a learning rate of 0.01. Crucially, we keep the total gradient-step budget T T T per client fixed at 1000. When the number of communication rounds R R R increases, the number of local steps per round is reduced proportionally (E = T / R E = T/R E = T / R ). This isolates the effect of communication frequency from the effect of total computation.
Additional Results
The following figures provide results for the ETTh1 [55 ] and Beijing Air Quality [54 ] datasets, complementing the ETTh2 results shown in the main text. Both datasets exhibit the same communication–generalization tradeoff: while more frequent communication (higher R R R ) reduces training loss, it consistently leads to an increase in the generalization gap.
Figure 4. Communication–generalization tradeoff: ETTh1 Dataset. Consistent with ETTh2, increasing communication rounds R R R leads to lower training loss but a significantly wider generalization gap across all client configurations K K K . Shaded regions indicate standard deviation across three seeds.
Figure 5. Communication–generalization tradeoff: Beijing Dataset. The same phenomenon is observed in environmental time series (PM2.5 levels), confirming that the tradeoff is a robust feature of streaming federated learning on dependent data. Shaded regions indicate standard deviation across five seeds.