Abstract—In this work, we formulate decentralized continual learning within a multi-objective optimization framework. For a given inference task t (corresponding to a common minimizer shared by the cost functions of all agents), agents collecting data in a distributed and streamed manner are only allowed to perform local computations and to exchange information with neighboring agents over the underlying communication graph. As tasks evolve sequentially over time, agents must adapt to newly arriving tasks while retaining knowledge acquired from previously learned ones. This requirement leads to the well-known stability–plasticity dilemma, where stability refers to the ability to retain previous knowledge, while plasticity refers to the ability to learn and adapt to new tasks. To address the stability challenge, agents store subsets of samples from past tasks in local memory buffers. Then, through an appropriate multi-objective formulation, the stored information is incorporated into the learning process so that parameter updates account jointly for the current task and previously learned tasks. The proposed decentralized continual learning approach is analyzed in the mean-square-error sense under general assumptions on the individual cost functions and gradient noise processes. The analysis reveals that cooperation among agents improves the performance of continual learning. In particular, by exchanging information with neighboring agents, decentralized collaborative learning can exploit the diversity of locally observed data and memory buffers to improve the network average mean-square deviation (MSD) across tasks. Finally, simulations illustrate the theoretical findings and the effectiveness of the method in reducing forgetting and improving the average MSD across tasks.
The increasing amount of distributed data generated by applications such as smartphones, drones, autonomous vehicles, and IoT systems, arriving continuously with evolving distributions over time, has created a need for scalable learning algorithms capable of adapting to dynamic environments. Although this data presents opportunities for advancing intelligent systems, it also raises major challenges. Learning models must preserve privacy, operate under limited computational and communication ressources, and continuously adapt to changing data distributions without costly re-learning from scratch or forgetting previously acquired knowledge. These requirements motivate the combination of continual learning and decentralized learning, two research directions that have traditionally been studied independently.
In decentralized learning (also known as distributed learning), multiple agents (referred to as nodes, clients, or devices) collaborate to learn either a shared global model or multiple related personalized models without relying on a central server [2]–[7]. By keeping data on local devices and exchanging only model updates during communication with neighboring agents, decentralized learning reduces the risk of sharing sensitive data. Various cooperation rules have been developed to enable effective collaboration among agents, including incremental [8], [9], consensus [10], [11], and diffusion approaches [2], [12]–[14]. In this work, we adopt diffusion strategies because of their scalability, robustness and ability to support continuous adaptation and learning. Furthermore, when constant step-sizes are employed to enable continuous adaptation, these strategies have been shown to have superior stability and performance compared to consensus-based implementations [2], [3], [15], [16].
In continual learning, on the other hand, the goal is to emulate how humans adapt to new experiences while retaining previously acquired knowledge. Also known as incremental learning or life-long learning, this approach addresses the challenge of learning from a sequence of evolving tasks while retaining performance on previously learned tasks [17], [18]. Its effectiveness has been proven in various domains, including autopilot systems [19], emotion recognition [20], and Internet of Things (IoT) [21], where data arrive sequentially and their distributions change over time. Such distribution shifts are also common in medical image analysis, where the underlying data distribution evolves due to changes in patient populations, disease characteristics, imaging devices, and acquisition protocols. Consequently, clinical models must incorporate new diagnostic information without compromising previously acquired knowledge, since retraining from scratch is often infeasible and naive fine-tuning may result in catastrophic forgetting [22]. Similar challenges arise in embodied vision applications, where mobile robots and wearable assistants interact with dynamic environments. As novel object categories emerge and past observations reoccur over time, these systems must continuously acquire new visual knowledge while maintaining existing recognition capabilities. This highlights the importance of continual learning for long-term autonomous adaptation [23].
Continual learning aims to overcome a major limitation of traditional learning systems, namely, catastrophic forgetting, where learning new tasks (or models) often degrades performance on previously learned tasks [24], [25]. It seeks to
This work was supported by the ANR JCJC grant ANR-22-CE23-0015-01 (CEDRO project).
A short conference version of this work appears in [1]. This extended version includes proofs, derivations, and new results.
Y. Zgheib, M. Antonini, and R. Nassif are with Université Côte d'Azur, I3S Laboratory, CNRS, France (emails: {yara.zgheib, marc.antonini, roula.nassif}@unice.fr).
Fig. 1: Continual learning over multi-agent network. (Left) A network of K agents receives a sequence of tasks over time. The objective is for the agents to learn each new task as it arrives while retaining performance on previously learned tasks. (Right) Continual learning block associated with agent k, where memory buffers retain data samples from previously learned tasks (which are replayed to reduce forgetting). Agent k seeks to minimize the multi-objective risk (4), while simultaneously exploiting information from its neighboring agents ℓ∈Nk through the minimization of the global objective in (5).
balance the stability-plasticity trade-off, where stability 1 refers to the ability to retain performance on previously learned tasks, and plasticity represents the capacity to rapidly adapt to new tasks [26]. Strategies for mitigating catastrophic forgetting are generally grouped into three categories: i) regularization, ii) architecture, and iii) rehearsal. Regularization-based methods incorporate explicit regularization terms that constrain changes to parameters important for previously learned tasks [27], [28]. Notable examples include Elastic Weight Consolidation (EWC) [24], and EWC++, an efficient online variant [18]. Regularization-based methods preserve privacy by avoiding data storage, but may limit adaptation as constraints accumulate, making it harder to learn new tasks effectively. Architecture-based methods are more appropriate for scenarios where there are no constraint on the model size. They identify and preserve task-specific parameters while expanding the network with new parameter branches to accommodate new knowledge [29], [30]. Rehearsal-based methods store a small subset of past training samples in a memory buffer and update the model using both new data and stored samples. The buffer is continuously updated with incoming mini-batches [31]. Among these methods is the Gradient Projection Memory (GPM) approach, which allows a neural network to learn new tasks, while constraining gradient updates to remain orthogonal to subspaces associated with previously learned tasks [32]. Another approach is Gradient Episodic Memory (GEM), which constrains the updates for the current task so that the loss on previously seen tasks (approximated using samples stored in an episodic-memory) does not increase [33], [34]. In online continual learning, memory buffer management has been addressed through gradient-based selection [31], reservoir sampling [35], and exemplar-based methods such as iCaRL [36]. Finally, it is worth noting that, although closely related to multitask learning [4], [7], continual learning addresses a fundamentally different setting. In multitask learning, task diversity is handled simultaneously, whereas continual learning considers tasks that arrive sequentially over time, requiring the model to adapt continuously while retaining previously acquired knowledge.
In systems where multiple agents or devices are required to perform continual learning, decentralized learning provides a natural framework for exploiting the distributed data available across agents without directly sharing raw data. Through the exchange of local model updates or parameter estimates, agents can collaboratively adapt to evolving data distributions while benefiting from the knowledge acquired by neighboring agents. Despite its potential, this direction has only recently started to receive attention in the literature. For instance, [37] introduces CoDeC, a Communication-efficient Decentralized Continual learning framework that combines stochastic gradient descent with gossip averaging to learn from spatially distributed private data, while employing the Gradient Projection Memory (GPM) approach to enable incremental learning. Similarly, [38] investigates how the COmmunication-efficient COordinate Ascent (CoCoA) framework can support continual learning through both analytical characterization and numerical experiments. This work considers the domain-incremental setting, where tasks share the same structure but differ in their input distributions.
In the current work, we consider a network of agents exposed to tasks arriving sequentially over time—see Fig. 1 for an illustration. The objective is to perform online continual learning, where each agent observes a stream of data samples and processes each sample only once, except for a limited subset retained in a local memory buffer [18]. We formulate in Sec. II a global multi-objective minimization problem that balances learning new tasks and retaining performance on previous tasks, and propose a diffusion-based method to solve it in a fully decentralized manner. We analyze in Sec. III its mean-square-error stability to understand how various factors, such as data characteristics, learning step-size, and regularization balance between plasticity and (knowledge) stability, affect the performance of the approach. We investigate in Sec. IV the impact of collaboration on the average mean-square deviation (MSD) across tasks. Since the average MSD quantifies the
1Throughout this paper, the term stability is used in two senses: i) the ability of the system to retain previously acquired knowledge, and ii) the ability of the algorithm to avoid divergence in the mean-square-error sense. The intended meaning should be clear from the context in which the term is employed.
distance between the current estimate and the optimal solutions of current and past tasks, reducing it improves both adaptation and knowledge retention. We show that collaboration among agents leads to lower average MSD than the non-cooperative setting, where each agent performs continual learning independently. This gain results from exploiting data diversity and collective experience across the network, which improve the stability-plasticity trade-off. To the best of our knowledge, this work is among the first to provide a theoretical analysis of continual learning approaches. Finally, the simulations in Sec. V illustrate the theoretical mean-square-error results and show the gains of cooperation in terms of average forgetting and MSD across tasks. Experiments on the real-world FEMNIST dataset [39] further illustrate the effectiveness of the approach.
Notation. Vectors are represented as column vectors, with random quantities shown in boldface. Matrices are denoted by uppercase letters, while lowercase letters denote vectors and scalars. We use the symbol (⋅)⊤ to denote matrix transpose, and the symbol ⊗ to denote Kronecker product. The operator col{⋅} stacks its arguments as column vectors, the operator diag{⋅} forms a block-diagonal matrix from its arguments, and the M×M identity matrix is denoted by IM. The cardinality operator of a set X is denoted by ∣X∣. We use the indices k,t, and i, to denote agents, tasks, and iterations, respectively.
II. PROBLEM FORMULATION AND DECENTRALIZED CONTINUAL-LEARNING STRATEGY
(Problem setup). We consider a strongly connected network of K agents, indexed by {1,…,K}, aiming to estimate a common task, wto, that evolves over time, giving rise to a sequence of T tasks, {w1o,…,wTo}. The task boundaries (i.e., the time indices marking transitions between consecutive tasks) are assumed to be known a priori – see Fig. 1 (left). While operating on the t-th task, agent k is associated with a risk function Jk,t(w):RM→R, assumed to be strongly convex and, therefore, admitting a unique minimizer denoted by wto. The risk function Jk,t(⋅) is expressed as the expectation of some loss function Qk,t(⋅), and is written as Jk,t(w)=EQk,t(w;xk,t), where xk,t denotes the random data collected by agent k when solving task t, and the expectation is computed with respect to the data distribution. When task t is under consideration, and in a typical decentralized formulation, rather than having each agent solve for wto independently, the agents collaboratively address the following optimization problem [2], [3], [5], [12]–[14], [16]:
wto≜argwmink=1∑KJk,t(w).(1)
Its solution is wto since all individual risk functions attain their minimum at the same point.
(Memory buffer construction). To mitigate forgetting of previously learned tasks, each agent is equipped with a local memory buffer that stores a subset of previously observed samples for future use – see Fig. 1 (right). That is, while learning task t, each data sample xk,t,i collected at iteration i by agent k is independently stored with probability pk,t. This sample selection mechanism is modeled through a Bernoulli random variable, αk,t(i), associated with sample xk,t,i, where αk,t(i)=1 indicates that the sample is stored in memory, and αk,t(i)=0 otherwise. The retained samples collectively form the local memory buffer Mk,t at agent k:
Mk,t≜{xk,t,i∣αk,t(i)=1},(2)
with size Nk,t=∣Mk,t∣. The retained samples serve as a replay mechanism during the learning of subsequent tasks, {wt+1o,…,wTo}, in order to reduce forgetting of previous task wto. In particular, they are used to construct the empirical risk function Jk,temp(w) associated with task t, defined as the sample average over the corresponding set Mk,t:
where Dt is the total number of samples observed at agent k for task t, assumed to be the same for all agents. The normalization by pk,tDt ensures that the expectation of the empirical risk Jk,temp(w) equals the expected risk Jk,t(w). Note that both the memory buffer Mk,t and the empirical risk Jk,temp(w) are random quantities due to the random sample retention process.
(Multi-objective cost formulation). To balance the plasticity required for adapting to the current task wto with the stability induced by exposure to data from previously learned tasks {w1o,…,wt−1o}, we associate with agent k a multi-objective cost defined as:
where λ∈[0,1] is a memory-retention parameter that controls the trade-off between stability and plasticity. Larger values of λ assign greater importance to previous tasks, while smaller values favor adaptation to new tasks. The resulting cost (4) blends empirical and expected risks. The factor λt−v introduces an exponential weighting over previous tasks, assigning larger importance to more recent tasks while gradually reducing the influence of older ones.
(Collaborative decentralized learning). To leverage network cooperation, we consider the following minimization problem associated with the aggregate cost, Jtglob(w), obtained by combining the individual objectives {Jk,tmulti(w)} across agents:
argwmin{Jtglob(w)≜k=1∑KJk,tmulti(w)}.(5)
Problem (5) is to be solved in a fully decentralized manner, as agents are only allowed to perform local computations and exchange information with neighboring agents according to a predefined network topology. We let Nk denote the set of neighbors of agent k including k itself, and build upon the adapt-then-combine (ATC) form of the diffusion strategy [3], [12]–[14], [16] to derive Algorithm 1 for solving problem (5).
The adaptation step (6), also referred to as the self-learning step, involves performing a stochastic gradient update (using
Algorithm 1: Diffusion ATC-based approach for decentralized continual learning
Initialization: At each agent k, initialize wk,1,0=0, learning step-size μ, task durations {Dt}t=1T, combination coefficients {akℓ}ℓ∈Nk, retention parameter λ∈[0,1], sampling probabilities {pk,t}t=1T for t=1 to T do
if t=1 then
⌊wk,t,0=wk,t−1,Dt−1
Mk,t=[] for k=1,…,K
for i=1 to Dt do
for k=1 to K do
• collect data xk,t,i
• perform the adaptation step:
ψk,t,i=wk,t,i−1−μ∇wJk,tmulti(wk,t,i−1) (6)
where ∇wJk,tmulti(wk,t,i−1) is given by (9)
• generate data storing variable αk,t(i):
if αk,t(i)=1, then Mk,t←Mk,t∪xk,t,i (7)
for k=1 to K do
• perform the combination step:
wk,t,i=∑ℓ∈Nkakℓψℓ,t,i (8)
a small positive step-size parameter μ on the individual multi-objective cost Jk,tmulti(w) defined in (4). Its gradient approximation can be expressed as:
where ∇wJk,vemp(w) and ∇wJk,t(w) denote the gradient estimates associated with the empirical risk Jk,vemp(w) and the expected risk Jk,t(w), respectively. For the expected risk Jk,t(w)=EQk,t(w;xk,t) (where the data distribution is unknown), a common construction in the stochastic approximation theory is to use the instantaneous approximation [2]:
∇wJk,t(w)=∇wQk,t(w;xk,t,i),(10)
where xk,t,i denotes the data sample observed by agent k at iteration i while solving task t. In this case, the gradient noise sk,t,i(w), defined as the difference between the true gradient and its approximation, is expressed as [2]:
sk,t,i(w)≜∇wJk,t(w)−∇wJk,t(w).(11)
For the empirical risk Jk,vemp(w) defined in (3), the memory buffer Mk,v is formed by randomly retaining samples from the streaming data xk,v,i observed while learning task v. After the retention process, the memory buffer can be viewed as:
Mk,v={x~k,v,1,…,x~k,v,Nk,v},(12)
where Nk,v denotes the number of retained samples, and the tilde notation is used to relabel the samples in the buffer from 1 to Nk,v. To reduce computational complexity, the gradient of Jk,vemp(w) is approximated using a single sample selected uniformly at random from Mk,v:
where ni is a discrete random variable, uniformly distributed over the index set {1,…,Nk,v}, indicating which sample from the set Mk,v is selected at iteration i. The resulting gradient noise is expressed as:
sk,v,iemp(w)=∇wJk,vemp(w)−∇wJk,vemp(w).(14)
The self-learning step (6) produces ψk,t,i, an intermediate estimate of the solution to problem (5) at agent k, iteration i, while solving task t.
For the combination step (8), also referred to as the social learning step, agent k aggregates the intermediate estimates {ψℓ,t,i} received from its neighboring agents ℓ∈Nk, using non-negative combination coefficients {akℓ}. If we collect these coefficients into the K×K combination matrix A=[akℓ], then this matrix is chosen to satisfy the following conditions [2]:
akℓ≥0,A1K=1K,1K⊤A=1K⊤,akℓ=0ifℓ∈/Nk,(15)
where 1K denotes the K-dimensional vector of ones. The conditions in (15) are equivalent to requiring A to be doubly-stochastic and to have the same sparsity structure as the communication topology. Common choices for the combination coefficients include the Laplacian and Metropolis rules [16].
Between the adaptation and the combination steps, the observed data sample is stored in the memory buffer of agent k if the data storing variable αk,t(i)=1−see step(7).
III. NETWORK MEAN-SQUARE-ERROR STABILITY
In this section, we analyze the mean-square-error stability of the decentralized continual learning Algorithm 1 when applied to solve (5). Although Algorithm 1 follows the standard form of diffusion ATC for minimizing aggregate sum of individual risks, its analysis cannot rely on existing results in the literature of diffusion adaptation [2]. The main difficulty arises from the randomness of the empirical-risk component in Jk,tmulti(w) induced by the random sample selection process. In standard analyses, the mean-square error is typically studied through quantities of the form, E∥wo−wk,i∥2, where the global target minimizer wo is deterministic. In the present setting, however, the target optimizer itself becomes random since it depends on the randomly retained samples. Consequently, the mean-square-error analysis must be revisited to explicitly account for this additional source of randomness.
A. Conditions on the individual risks, losses, and gradient noise processes
We begin by introducing the following assumptions on the individual cost functions Jk,t(⋅), the loss functions Qk,v(⋅) associated with previous tasks {v=1,…,t−1}, and the gradient noise processes sk,t,i(⋅) defined by (11). These assumptions are standard in the literature on expected risk [2] and empirical risk [40] minimization, which is particularly relevant to our setting since the multi-objective formulation (4) combines both types of risks.
Assumption 1. (Conditions on risks and losses). For each agent k, the expected risk Jk,t(w) associated with the current task t is assumed to be twice-differentiable and strongly convex. Moreover, the Hessian matrix function Hk,t(w)≜∇w2Jk,t(w) is assumed to satisfy the following condition:
0<νk,tIM≤Hk,t(w)≤δk,tIM,(16)
for some 0<νk,t≤δk,t. For every agent k, previous task {v=1,…,t−1}, and sample index n∈{1,…,Dv}, the loss Qk,v(w;xk,v,n) is twice-differentiable and convex with respect to w. In addition, there exists a constant δk,v,n≥0 such that, for any w1,w2∈RM,
Assumption 3. (Bounded gradient moments at the minimizer). For every agent k, previous task {v=1,…,t−1}, and sample index n∈{1,…,Dv}, the gradient of the loss function Qk,v(wvo;xk,v,n) evaluated at the task minimizer wvo has bounded second-order moment, namely,
E[∇wQk,v(wvo;xk,v,n)2]≤Gk,v2<∞,(20)
where the expectation is taken with respect to the randomness of the data.
Lemma 1. (Characterization of the empirical risk and gradient noise process). Under Assumption 1, the random Hessian matrix Hk,vemp(w) of the empirical risk Jk,vemp(w), defined in (3), satisfies:
0≤Hk,vemp(w)≤δk,vempIM,(21)
where δk,vemp is the non-negative random scalar given by:
δk,vemp≜pk,vDvNk,vδk,v.(22)
Moreover, the empirical gradient noise process sk,v,iemp(w) defined in (14) satisfies:
Lemma 1 and Assumption 1 together imply the strong convexity of the individual hybrid costs {Jk,tmulti(w)} defined in (4), and thus the aggregate objective in (5) has a unique solution, denoted by wt∗:
wt⋆≜argwminJtglob(w).(27)
The random solution wt⋆ depends on the previously retained samples and generally differs from wto.
B. Mean-square-error stability analysis
We begin by deriving the error recursion of Algorithm 1 when applied to solve problem (5). Let w~k,t,i represent the error vector at node k (while solving task t under the continual learning formulation (5)) at iteration i, which is given by:
w~k,t,i≜wt⋆−wk,t,i.(28)
By using (9) and the mean-value theorem [41, pp. 24], and by introducing the following definition:
which collect quantities across the network, we can show that the network weight error vector w~t,i, defined in (33), evolves according to the following recursion:
The stability of recursion (38) is facilitated by transforming it into an appropriate basis given by the Jordan decomposition of the combination matrix A. Under the conditions in (15), the Jordan decomposition can be expressed as [2, Chapter 9]:
and Jϵ is a Jordan matrix with the eigenvalues (which may be complex but have magnitude less than one) on the diagonal and small ϵ>0 on the super-diagonal. Multiplying both sides of (38) from the left by Vϵ−1 and introducing the transformed iterates and variables:
where D11,t,i−1=K1∑k=1KHk,t,i−1multi,D12,t,i−1=K1(1K⊤⊗IM)Ht,i−1multiVR,ϵ,D21,t,i−1=Jϵ(VL,ϵ)⊤Ht,i−1multi(K1(1K⊗IM)), and D22,t,i−1=Jϵ(VL,ϵ)⊤Ht,i−1multiVR,ϵ.
Note that the strong convexity of the hybrid costs {Jk,tmulti(w)} defined in (4) guarantees that D11,t,i−1 is positive definite.
Theorem 1. (Network mean-square-error stability). Consider a network of K agents running Algorithm 1 with a matrix A satisfying (15). Under Assumptions 1, 2, and 3, when the network is solving task t, it is mean-square-error stable for sufficiently small step-sizes. In particular, the mean-square behavior of the transformed error vectors is characterized by:
and σs,k,vemp is given by (26). Using Assumption 3, it can be shown that e and f are O(μ2). Moreover, for sufficiently small μ, the matrix Γ is stable, and by iterating (48), we obtain:
from which we conclude that limsupi→∞E∥Wt,i∥2=O(μ) and limsupi→∞E∥W˘t,i∥2=O(μ2). Therefore,
i→∞limsupE∥Wt,i∥2=O(μ).(54)
Proof. See Appendix B.
□
IV. IMPACT OF COLLABORATION ON CONTINUAL LEARNING METRICS
Previous distributed learning studies have shown that, by exploiting data diversity, cooperation among agents enhances the network's ability to optimize the global objective [2]. In this section, we examine how collaboration influences continual learning from the perspective of stability-plasticity trade-off. In particular, we study its impact on the average mean-square deviation (MSD) across tasks, defined as [42]:
where wvo denotes the minimizer associated with task v, and wk,t,i represents the iterate at agent k while solving task t, at iteration i. This metric captures both stability, reflected by maintaining low error on previously encountered tasks, and plasticity, reflected by adapting to new tasks. In particular, stability corresponds to small values of E∥wvo−wk,t,i∥2, v=1,…,t−1, while plasticity corresponds to small values of E∥wto−wk,t,i∥2.
We begin by introducing some definitions that will be used in the subsequent analysis. For each agent k, we define the multi-objective cost function:
where Jk,v(w)=EQk,v(w;xk,v). The newly introduced cost Jk,tmulti(w) is the expected version of the random empirical risk Jk,tmulti(w) defined in (4). Following (5), we define the (deterministic) aggregate global cost as:
Jtglob(w)≜k=1∑KJk,tmulti(w),(57)
which is strongly convex, with a unique minimizer given by:
wt⋆≜argwminJtglob(w).(58)
We start decomposing the average MSDav,t(i) in (55). To this end, we introduce and subtract wt⋆, and apply Jensen's inequality ∥a+b∥2≤2∥a∥2+2∥b∥2 (which holds for any two vectors a and b of compatible sizes) to write:
Substituting (59) into the definition of MSDav,t(i), and adding and subtracting wt⋆, the unique minimizer of (5), in the term E∥wt⋆−wk,t,i∥2, yields
The first term, t2∑v=1t∥wvo−wt⋆∥2, represents an intrinsic bias that depends on the similarity between tasks. Since consecutive tasks in continual learning are typically assumed similar, this term is generally expected to remain small. It is independent of buffer sampling and stochastic optimization. The third term, E∥wt⋆−wk,t,i∥2, is characterized by Theorem 1:
i→∞limsupE∥wt⋆−wk,t,i∥2=O(μ),k=1,…,K.(61)
While many terms contribute to the constant multiplying μ (as it can be observed from (52) and (53)), result (61) ensures that the contribution of the third term to the average MSD in steady-state remains small in the small step-size regime, i.e., when μ→0. Consequently, we can write:
We still need to analyze the second term, E∥wt⋆−wt⋆∥2, which, as we will see, depends on the probability of retaining samples and on the collaborative continual learning framework. To characterize the influence of cooperation, we analyze this term in both collaborative and non-collaborative settings. In non-collaborative settings, each agent k seeks to minimize its own multi-objective cost Jk,tmulti(w) defined in (4) independently of the other agents. Let wk,t⋆ denote the unique minimizer of Jk,tmulti(w), i.e.,
wk,t⋆≜argwminJk,tmulti(w).(63)
Because the memory buffers differ across agents, the local minimizers wk,t⋆ are generally distinct. Moreover, the minimizer wt⋆ of the global objective, Jtglob(w) in (5), depends on the information retained throughout the network and generally differs from the local ones wk,t⋆. Similar observations hold for the deterministic minimizer wk,t⋆, the unique minimizer of Jk,tmulti(w) in (56), and wt⋆, the unique minimizer of Jtglob(w) in (57). This is because, although for each v the costs {Jk,v(w)}k=1K have a common minimizer wvo, the corresponding weighted sums ∑v=1tαvJk,v(w) generally do not admit a common minimizer ∀k=1,…,K. To facilitate comparison between collaborative and non-collaborative approaches, and to ensure that the first term on the RHS of (62) is the same in both approaches, we focus in the following on situations where the minimizers {wk,t⋆}k=1K coincide, thereby ensuring that both approaches have the same global minimizer wt⋆.
To that end, consider a mean-square-error (MSE) network. When solving task t, agent k is observing a streaming sequence {dk,t(i),uk,t,i} that follows a linear regression model:
dk,t(i)=uk,t,i⊤wto+zk,t(i),(64)
where wto is some M×1 vector to be estimated by agent k and zk,t(i) denotes a zero-mean measurement noise. We associate with agent k an MSE cost given by [3]:
Jk,t(w)=21E(dk,t(i)−uk,t,i⊤w)2,(65)
which is minimized at wto. We assume that regressor covariance matrices Euk,t,iuℓ,t,i⊤=Ru,k,t are identical across all agents. As a result, the local minimizers {wk,t⋆}k=1K coincide with the global minimizer wt⋆ of the global cost Jtglob(w), i.e., w1,t⋆=…=wK,t⋆=wt⋆.
Having identified situations in which the collaborative and non-collaborative strategies can be fairly compared, we now show that the second term on the RHS of (62) decreases under multi-agent collaborative continual learning. The following lemma establishes this result by comparing the two mean-square distances:
which quantify the variance induced by the sample storage process and, consequently, the accuracy with which the non-collaborative and collaborative memory-based objectives approximate the minimizer of the deterministic global cost.
Lemma 2. (Benefit of collaboration). Suppose Assumptions 1, 2, and 3, hold. Let the sampling probabilities be uniform across the agents and the tasks, i.e., p=pk,t for all t,k, and let all agents perform the same number of iterations per task, i.e., D=Dt for all t. It can be shown that:
The established bounds (67) and (68) show that the error induced by memory sampling decreases as the average number of retained samples, Dp, increases. The second bound (68), on the other hand, reveals an additional factor K1, which arises from cooperation among the K agents. This factor
Fig. 2: (Left) Network topology. (Right) Performance of Algorithm 1 w.r.t wt⋆, the solution of problem (5) ( μ0=0.0025).
reflects a variance-reduction effect: by aggregating information stored across multiple memory buffers, the network obtains a better approximation of the deterministic multi-objective cost Jtglob(w) than any individual agent can achieve on its own. Consequently, collaboration reduces the gap between the memory-based solution wt⋆ and the ideal solution wt⋆, thereby improving stability across tasks and mitigating the loss of information caused by limited local memory. This benefit becomes particularly significant when the local memory buffer is small, i.e., when Dp is small.
V. SIMULATIONS
In this section, we illustrate the performance of Algorithm 1 in the context of MSE and logistic regression networks [2].
A. Illustrative simulations
We start by considering an MSE network with K=15 agents with the topology shown in Fig. 2 (left), solving T=3 different tasks that are presented sequentially over time. When solving task t, agent k is observing a streaming sequence {dk,t(i),uk,t,i} that follows the linear model in (64).
The regression and noise processes {uk,t,i,zk,t(i)} are assumed to be zero-mean jointly wide-sense stationary with:
i) Euk,t,iuℓ,t,i⊤=Ru,k,t=σu,k,t2IM>0 if k=ℓ and
0 otherwise; ii) Ezk,t(i)zℓ,t(i)=σz,k,t2 if k=ℓ and
0 otherwise; and iii) uk,t,i and zk,t(i) are independent of
each other. The variances {σu,k,t2} and {σz,k,t2} are generated
from the uniform distributions U(1,1.5) and U(0.15,0.25),
respectively. The models wto in (64) are 5×1 vectors, evolving
across tasks according to wt+1o=w1o+Δwt+1, with w1o and
Δwk,t+1 drawn from the Gaussian distributions N(0,I5) and
N(0,0.1⋅I5), respectively. To estimate wto, while retaining
performance on previously learned tasks, agents employ Al-
gorithm 1 with MSE costs as defined in (65) and a matrix A
constructed using the Metropolis rule [2].
Illustration of the theoretical findings in Theorem 1: In Fig. 2 (right), we report the evolution of the network mean-square-deviation (MSD t(i)), defined as:
MSDt(i)=K1k=1∑KE∥wt⋆−wk,t,i∥2,(69)
where wt⋆ is problem (5) solution. The figure shows the concatenated MSDt(i) curves (MSD1(i),MSD2(i),andMSD3(i)), meaning that the curves are placed sequentially,
Fig. 3: Benefit of continual learning. (Left) Average MSD across tasks, defined in (55). (Right) Average forgetting error, defined in (70).
one after the other, in accordance with the order in which the tasks are learned. The trajectories are evaluated under three different step-sizes μ={μ0/2,μ0,2μ0}. We set Dt=7000 iterations per task, for t=1,2,3. We set the regularization strength to λ=0.9, and use sampling probabilities pk,t=0.1,∀t,k. The results are averaged over 500 Monte-Carlo runs. As it can be observed, in steady-state, the network MSD increases by approximately 3 dB when μ goes from μ0 to 2μ0, illustrating the O(μ) performance result from Theorem 1.
Benefit of continual learning: In Fig. 3, we report the evolution of the average mean-square deviation (MSD) across tasks, defined in (55), as well as the average forgetting defined as [42]:
where wk,v,∞ is the steady-state estimate at agent k for task v, approximated by averaging the last 200 iterations during the learning of task v. The larger Fav,t(i), the more the network forgets previously learned tasks. We set μ=0.005. The reported curves in Fig. 3 correspond to tasks 2 and 3. As it can be observed, both metrics improve when solving the multi-objective continual learning formulation (5), compared to the case where λ=0, corresponding to learning with no interaction across tasks.
Benefit of collaborative continual learning: In Fig. 4, we illustrate the benefit of cooperation by comparing the decentralized Algorithm 1 with A=IK, corresponding to the non-cooperative solution, against the cooperative solution that employs the Metropolis rule. According to the upper bounds in Lemma 2, when the number of iterations per task D and the sampling probability p are large, the term 1/Dp becomes small and the difference between cooperative and non-cooperative learning becomes less pronounced. To better highlight the advantage of collaboration, we consider a regime where 1/Dp is moderate. In particular, we set Dt=2000 iterations per task, for t=1,2,3, and use sampling probabilities pk,t=0.01 for all t and k. Lower probabilities lead to fewer stored samples and, consequently, reduced memory requirements. In this case,
Fig. 4: Benefit of collaborative continual learning. (Left) Average MSD across tasks, defined in (55). (Right) Average forgetting error, defined in (70).
cooperation becomes beneficial since agents can compensate for the reduced local memory by sharing information across the network. As observed in Fig. 4, both the task-averaged MSD and the average forgetting improve under collaboration relative to non-collaborative learning.
B. Simulation results with FEMNIST
In this section, we evaluate the performance of Algorithm 1 on the FEMNIST dataset [39], a federated version of the Extended MNIST (EMNIST) dataset [43], where the samples are partitioned according to the writer of each handwritten character. In this setting, each writer is treated as a separate client, naturally yielding a distributed learning scenario in which every agent has access only to its own local dataset. A characteristic of this dataset is that the data distribution across clients is not independent and identically distributed (non-IID). Since the samples are grouped by writer, different clients may exhibit distinct writing styles and different class proportions. In particular, the number of samples belonging to each character class (e.g., digits such as “2” or “3” or letters such as “a” or “b”) can vary from one client to another. As learning tasks, we consider binary letter–digit classification problems. Each sample corresponds to a grayscale image of size 28×28 representing a handwritten character. To construct a sequence of tasks, we follow the permuted MNIST protocol introduced in [24]. The first task corresponds to the original images, while the subsequent tasks are generated by applying fixed random permutations to the pixels of the input images. Although the classification objective remains the same, the permutations modify the input representation, resulting in tasks with different input distributions.
We consider a network of K=20 agents that sequentially solve T=10 tasks. Each agent holds a local dataset of 160 samples per task. Let hk,t,i∈RM denote the feature vector associated with sample i at agent k when solving task t, where M=785 corresponds to the 28×28 image pixels augmented with a bias term. Let γk,t(i) denote the corresponding binary label indicating the class of the character, where γk,t(i)=−1 if the sample corresponds to a digit and γk,t(i)=+1 if it corresponds to a letter. The objective is to learn a classifier that allows each agent to determine whether a given handwritten image represents a digit or a letter based on the observed feature vector hk,t,i. To this end, each agent learns a binary classifier by estimating a parameter vector wk,to that minimizes the regularized logistic risk function [2]:
where ρ>0 is a regularization parameter. Once wk,to is found, γk,t(i)=sign(hk,t,i⊤wk,to) can then be used as a decision rule to classify new features. The cost in (71) is strongly convex due to the regularization term 2ρ∥wk,t∥2.
The communication topology between agents is modeled by a weighted graph with a combination matrix A constructed using the Metropolis rule [2]. We split the dataset into a training set used to learn the decision rule wk,to, and a test set from which γk,t(i) are generated for performance evaluation. For each task t and agent k, the local training set consists of 60 samples from each class (for a total of Na=120 samples), whereas the corresponding test set contains 20 samples from each class (for a total of Ntest=40 samples). Moreover, in our train/test sets construction, some character classes that appear in the training set of a given task and agent may not appear in the corresponding test set, and vice versa.
We assess the generalization performance of Algorithm 1 for different values of the regularization strength λ and sampling probabilities pk,v. The collaborative setting is compared with the non-collaborative baseline obtained by setting A=IK. The parameter ρ is fixed to ρ=10−5 and the step-size is set μ=0.01. For each task, the algorithm performs D=4000 stochastic gradient updates, where at every iteration a training sample is drawn uniformly at random with replacement from the local training set of the corresponding agent. The test (or classification) accuracy at agent k on task v=1,…,t after the network has completed the training of task t is defined as:
where wk,t,∞ is the average of the last 100 iterates generated by Algorithm 1 for agent k at the end of learning task t, and I[x] is the indicator function at x, namely, I[x]=1 if x is true and 0 otherwise. Reported performance metrics are averaged over 100 Monte-Carlo runs. The network-level accuracy on task v after learning task t is then obtained by averaging the individual accuracies across agents:
Rt,v=K1k=1∑KRk,t,v.(73)
Using this quantity, we evaluate performance using standard continual learning metrics of average accuracy and backward transfer [42]. The average accuracy is defined as:
ACC=T1v=1∑TRT,v.(74)
It measures the final average accuracy across all tasks after last task T has been learned. Backward transfer is defined as
BWT=T−11v=1∑T−1(RT,v−Rv,v),(75)
λ=0
λ=0.1
λ=0.9
Non-collaborative
61.579±0.032/−6.287±0.041
64.498±0.051/−1.909±0.061
63.350±0.109/−1.643±0.115
Collaborative
62.724±0.035/−10.529±0.044
67.841±0.035/−2.048±0.045
68.569±0.088/−0.313±0.087
TABLE 1: ACC/BWT(%) for the collaborative and non-collaborative settings (sampling probability pk,t=0.2 ).
which quantifies the influence of learning new tasks on the performance of previously learned ones. Negative values indicate forgetting, whereas positive values indicate that learning subsequent tasks improves performance on earlier tasks.
We report in Table 1 the values of ACC and BWT for both the collaborative and non-collaborative settings. Results are presented in percentage as mean ±95% confidence interval over 100 independent trials. The results are shown for different values of λ, while pk,t=0.2 for all tasks t and agents k. The results illustrate the effect of the proposed multi-objective minimization strategy on the continual-learning metrics. When λ=0, the algorithm reduces to standard stochastic gradient algorithm applied only to the current task, without incorporating data from previous tasks. In this case, the collaborative setting achieves higher accuracy on the current task, but also exhibits stronger forgetting, which results in more negative BWT values. This behavior occurs because collaboration allows agents to converge more effectively toward the optimal solution of the current task, which can lead to a larger drift away from earlier tasks once a new task is introduced. When the multi-objective formulation is activated (λ>0), the algorithm incorporates information from previously learned tasks. As a result, ACC improves in both settings, with a larger gain observed in the collaborative case. At the same time, BWT increases and moves closer to zero as λ grows, indicating a reduction in catastrophic forgetting. These results highlight the classical stability–plasticity trade-off controlled by the parameter λ.
Tables 2 and 3 examine the impact of the storage probability pk,v on ACC and BWT. The results are shown for different values of pk,v, assumed identical across tasks v and agents k, and are presented in percentage as mean ±95% confidence interval over 100 independent trials. Table 2 corresponds to λ=0.5, while Table 3 reports the results for λ=0.9. As expected, increasing pk,v leads to improved accuracy and reduced forgetting. Moreover, when only a small fraction of past samples is stored, the benefit of decentralized learning becomes clearly visible.
Let us now modify the strategy used to construct the memory buffers. Although Bernoulli sampling offers a straightforward stochastic mechanism for memory construction, it may produce an imbalanced class distribution in the buffer when the storage probability pk,t is very small. One way to address this issue is to consider a class-balanced memory construction in which approximately the same number of samples from each class is stored in the replay buffer [36], [44]. This ensures a balanced representation of classes in the memory. Table 4 compares this strategy with Bernoulli sampling for λ=0.9 and for two values of pk,t, assumed identical across all agents and tasks. Results are reported in percentage as mean ±95% confidence interval over 100 independent trials. As it can be observed, the class-balanced memory reduces forgetting in the non-collaborative case and also provides additional improvements in the collaborative setting. Overall, the impact of the memory-selection strategy on performance is limited. The only noticeable differences arise in the non-collaborative setting when the probabilities pk,t are small.
VI. CONCLUSION
We considered decentralized continual learning under streaming data, where multiple agents aim to estimate tasks evolving over time. To address the stability-plasticity dilemma, we formulated a multi-objective optimization problem for estimating a parameter vector that performs well across tasks. We then proposed a decentralized approach and established its mean-square-error stability. The analysis reveals that cooperation can provide benefits in continual learning by improving (knowledge) stability and reducing catastrophic forgetting. Simulations illustrate the effectiveness of the approach.
APPENDIX A
PROOF OF LEMMA 1
From Assumption 1, the Hessian matrix function of the loss function Qk,v(w;xk,v,n) satisfies 0≤∇w2Qk,v(w,xk,v,n)≤δk,vIM. Applying the above bounds, term-by-term to the empirical-risk Hessian yields the upper bound:
TABLE 2: ACC/BWT(%) for the collaborative and non-collaborative settings (regularization strength λ=0.5 ).
pk,t=0.08
pk,t=0.2
pk,t=0.4
Non-collaborative
61.834±0.119/−3.471±0.125
63.350±0.109/−1.643±0.115
64.209±0.084/−0.773±0.092
Collaborative
67.275±0.129/−1.110±0.125
68.569±0.088/−0.313±0.087
69.164±0.072/0.111±0.066
TABLE 3: ACC/BWT(%) for the collaborative and non-collaborative settings (regularization strength λ=0.9 ).
pk,t
Memory
Non-collaborative
Collaborative
0.05
Bernoulli
61.045±0.130/−4.543±0.130
66.434±0.153/−1.628±0.163
0.05
Class-balanced
62.430±0.152/−2.870±0.157
66.735±0.136/−1.453±0.123
0.40
Bernoulli
64.230±0.082/−0.801±0.091
69.107±0.054/0.104±0.071
0.40
Class-balanced
64.302±0.094/−0.680±0.095
69.192±0.059/0.141±0.071
TABLE 4: The impact of memory selection strategies in terms of ACC/BWT(%) for the collaborative and non-collaborative settings ( λ=0.9 ).
where in step (a), we used the fact that for any random variable x, we have E∥x−Ex∥2=E∥x∥2−∥Ex∥2≤E∥x∥2, and in step (b), we added and subtracted the vector ∇wQk,v(wvo;xk,v,n), then applied Jensen's inequality [45] together with Assumption 1.
APPENDIX B
PROOF OF THEOREM 1
We start by introducing the filtration Ft,i−1 generated by the iterates and all memory buffers across the network up to time i−1 when solving task t. Formally, it is defined as: Ft,i−1≜σ({wℓ,t,j:ℓ=1,…,K,j≤i−1},{Mℓ,v:ℓ=1,…,K,v≤t}). By the tower property [46], together with Assumption 2 and Lemma 1, we obtain:
E[sk,t,i multi (wk,t,i−1)∣Ft,i−1]=0.(79)
where sk,t,imulti(wk,t,i−1) is defined in (29). We next consider the transformed variables wt,i and wˇt,i defined in (46), and (47), respectively. By conditioning both relations on Ft,i−1, computing the corresponding conditional second-order moments, using (79) and then taking expectations again, we obtain:
E∥wt,i∥2=E∥(IM−μD11,t,i−1)wt,i−1−μD12,t,i−1Wˇt,i−12+μ2Est,i multi 2,(80)E∥Wˇt,i∥2=E(Jϵ−μD22,t,i−1)Wˇt,i−1−μD21,t,i−1Wt,i−1+μbˇt multi 2+μ2Esˇt,i multi 2.(81)
The variance E∥wt,i∥2 can be upper bounded according to:
E∥wt,i∥2≤(1−μσ11)E∥wt,i−1∥2+σ11μσ122E∥wˇt,i−1∥2+μ2E∥st,i multi ∥2,(82)
for sufficiently small step-size μ. The derivation leading to (82) is presented in Appendix D of the Supplementary Material.
Similarly, using the fact that the block-diagonal matrix Jϵ satisfies [2, p. 516] ∥Jϵ∥2≤(ρ(Jϵ)+ϵ)2, together with the fact that ρ(Jϵ)∈(0,1) and that ϵ can be selected sufficiently small such that ρ(Jϵ)+ϵ∈(0,1), it can be shown that:
E∥Wˇt,i∥2≤(ρ(Jϵ)+ϵ+1−ρ(Jϵ)−ϵ3μ2σ222)E∥Wˇt,i−1∥2+(1−ρ(Jϵ)−ϵ3μ2σ212)E∥wt,i−1∥2+(1−ρ(Jϵ)−ϵ3μ2)Ebˇt multi 2+μ2Esˇt,i multi 2.(83)
Additional details are provided in Appendix E of the Supplementary Material.
We can also show that the vector bˇtmulti defined in (45) satisfies: Ebˇtmulti2≤(ρ(Jϵ)+ϵ)2VL,ϵ⊤2Ebtmulti2. Before proceeding, we introduce the following Lemma which is necessary to characterize Ebtmulti2.
Lemma 3. Under Assumption 1 and 3, the optimal solution, wt⋆, satisfies
E∥wt⋆−wuo∥2≤Cu,u∈{1,…,t},(84)
for some finite constant Cu. Moreover the bias term btmulti defined in (36) has a bounded second-order moment. In particular, there exist a finite non-negative constant C2 such that
Ebt multi 2≤C2.(85)
Proof. See Appendix F of the Supplementary material.
Using Lemma 3, we can conclude that Ebˇtmulti2=O(1).
For the noise terms Est,imulti2 in (82) and Esˇt,imulti2 in (83), we have:
Est,i multi 2+Esˇt,i multi 2=(44)E(Vϵ)−1Ast,i multi 2≤v12Est,i multi 2,(86)
where v1 is a positive constant independent of μ and given by v1≜∥Vϵ−1∥. In terms of the variances of the individual noise processes, E∥sk,t,imulti∥2, we have E∥st,imulti∥2=
∑k=1KE∥sk,t,imulti∥2. For each sk,t,imulti, we can establish from Assumption 2, Lemma 1, and Jensen's inequality that taking expectations again, we can write:
By combining (90) and (91) into a single inequality recursion, we obtain (48).
Then, by using the property that the spectral radius of a matrix is upper bounded by its 1-norm, we obtain:
ρ(Γ)≤max{1−O(μ)+O(μ2),ρ(Jϵ)+ϵ+O(μ)+O(μ2)}
Since ρ(Jϵ)<1 is independent of μ, and since ϵ and μ are small positive numbers that can be chosen arbitrarily small and independently of each other, it is clear that the RHS of the above expression can be made strictly smaller than one for sufficiently small ϵ and μ. In that case ρ(Γ)<1 so that Γ is stable. By iterating (48), we obtain (53), from which we conclude that limsupi→∞E∥Wt,i∥2=O(μ) and limsupi→∞E∥W~t,i∥2=O(μ2). Therefore,
We start by proving the non-cooperative bound (67). Under Assumption 1, the empirical multi-objective cost Jk,tmulti defined in (4) is ν-strongly convex. Therefore,
⟨∇wJk,tmulti(x)−∇wJk,tmulti(y),x−y⟩≥ν∥x−y∥2,
\forall x, y.
(94)
Using ∇wJk,tmulti(wk,t⋆)=0 and setting x=wk,t⋆ and y=wt⋆, we obtain:
Using the definition of Jk,vemp in (3), together with Assumption 1, it follows that Δk,v(w) is zero-mean, and satisfies:
E∥Δk,v(wt⋆)∥2≤DpCk,v,(100)
where Ck,v≜2δk,v2∥wt⋆−wvo∥2+2Gk,v2+(1−p)∥∇wJk,v(wt⋆)∥2. A detailed derivation of this bound is provided in Appendix H of the Supplementary Material.
To bound the norm in (97), we apply Jensen inequality to write:
where Cˉ≜max1≤k≤Kmax1≤v≤t−1Ck,v. Since 0≤λ≤1, we have λ2(t−v)≤1 which implies that ∑v=1t−1λ2(t−v)≤t−1 and therefore t2(t−1)2<1. Hence, we conclude (67).
We now consider the collaborative bound (68). Under Assumption 1, the empirical global cost Jtglob defined in (5) is Kν-strongly convex. Therefore,
⟨∇wJtglob(x)−∇wJtglob(y),x−y⟩≥Kν∥x−y∥2,
\forall x, y.
(103)
Using ∇wJtglob(wt⋆)=0, setting x=wt⋆ and y=wt⋆, and using arguments similar to those used in (95), (96) and (97), we can show that:
E∥wt⋆−wt⋆∥2≤K2ν21E∥∇wJtglob(wt⋆)∥2.(104)
Since wt⋆ minimizes the global cost Jtglob, we have ∇wJtglob(wt⋆)=0. Therefore,
for any arbitrary positive number z∈(0,1). Using the linearity of the gradient and Hessian operators, we can express the matrix Hk,t,i−1multi defined in (31) as:
where Hk,t,i−1≜∫01∇w2Jk,t(wt⋆+τw~k,t,i−1)dτ, and Hk,v,i−1emp≜∫01∇w2Jk,vemp(wt⋆+τw~k,t,i−1)dτ. From Assumption 1 and Lemma 1, Hk,t,i−1multi can be bounded as follows:
Using now (110), and (111), D11,t,i−1 can be bounded as follows:
0<νIM≤K1k=1∑KHk,t,i−1multi≤δIM,(112)
where δ≜max1≤t≤Tt1(1−λλmin1≤v≤t−1pk,vmax1≤v≤t−1δk,v+δk,t) that is independent of μ and i. In terms of the 2-induced matrix norm (i.e., maximum singular value), we can characterize ∥IM−μD11,t,i−1∥ as follows:
for some positive constant σ11 that is independent of μ and i. Similarly, using the 2-induced matrix norm (i.e., maximum singular value), we can bound ∥D12,t,i−1∥2 as follows:
for any arbitrary positive number z∈(0,1). In (a) we used the fact that the block diagonal matrix Jϵ satisfies [2,p.516]:
∥Jϵ∥2≤(ρ(Jϵ)+ϵ)2.(117)
In (b), we used the fact that ρ(Jϵ)∈(0,1), and thus, ϵ can be selected small enough to ensure ρ(Jϵ)+ϵ∈(0,1). Moreover, we selected z=ρ(Jϵ)+ϵ. Using Jensen's inequality, the second term on the RHS of (116) can be bounded as follows:
Following similar arguments as in (115), we can show that:
∥D21,t,i−1∥2≤σ212,∥D22,t,i−1∥2≤σ222,(119)
for some positive constants σ21 and σ22. Substituting (118) into (116) and (116) into (81), and using (119), we obtain (83).
APPENDIX F PROOF OF LEMMA 3
To establish (84), we start by noting that under Assumption 1, the global aggregate cost at task t, Jtglob(w), defined in (5) is Kν-strongly convex, and has a unique solution wt⋆, defined in (27) that satisfies:
Since Jk,tmulti is a weighted sum of the current expected risk Jk,t and past empirical risks Jk,vemp, it is enough to show that the second moments of their gradients at wvo are finite. For the empirical risk term, we have:
We now bound the sample-loss gradient at wuo. To that end, we add and subtract the vector ∇wQk,v(wvo;xk,v,n), then apply Jensen's inequality [45] together with Assumption 1 to obtain:
We now prove (85). From the definition of Jk,tmulti, together with Assumption 1 and Lemma 1, it follows that the gradient ∇wJk,tmulti is δk-Lipschitz continuous, where δk≜max1≤t≤Tt1(1−λλmin1≤v≤t−1pk,vmax1≤v≤t−1δk,v+δk,t). Hence, for any w1,w2∈RM:
Note from the definition of Jk,vemp in (3), and the fact that E[αk,v(i)∣xk,v,i]=pk,v, that the vector Δk,v(w) is zero-mean, i.e., E[Δk,v(w)]=0. We next bound its second-order moment. We start by writing:
For each task v and agent k, the pairs {(αk,v(i),xk,v,i)}i=1Dv are independent across sample indices i and agent indices k.
Moreover, for every i, the storage indicator αk,v(i) is independent of the corresponding sample xk,v,i. It then follows that the cross terms vanish and only diagonal terms remain:
where the last equality follows from E∥∇wQk,v(w;xk,v,i)∥2=E∥∇wQk,v(w;xk,v,i)−∇wJk,v(w)∥2+∥∇wJk,v(w)∥2. Combining (145) with (144), we obtain:
Using the fact that Jk,tmulti is strongly convex, together with the fact that p=pk,v for all (k,v), and D=Dv for all v, we can finally conclude that:
E∥Δk,v(wt⋆)∥2≤DpCk,v,(151)
where Ck,v≜2δk,v2∥wt⋆−wvo∥2+2Gk,v2+(1−p)∥∇wJk,v(wt⋆)∥2.
REFERENCES
[1] Y. Zgheib, G. Faia Fagundes, M. Antonini, and R. Nassif, “Decentralized continual learning: A multi-objective minimization technique,” in Proc. Asilomar Conf. Signals, Syst., Comput., CA, USA, 2025.
[2] A. H. Sayed, “Adaptation, learning, and optimization over networks,” Found. Trends® Mach. Learn., vol. 7, no. 4-5, pp. 311–801, 2014.
[3] A. H. Sayed, S.-Y. Tu, J. Chen, X. Zhao, and Z. Towfic, “Diffusion strategies for adaptation and learning over networks: An examination of distributed strategies and network behavior,” IEEE Signal Process. Mag., vol. 30, no. 3, pp. 155–171, 2013.
[4] R. Nassif, S. Vlaski, C. Richard, J. Chen, and A. H. Sayed, “Multitask learning over graphs: An approach for distributed, streaming machine learning,” IEEE Signal Process. Mag., vol. 37, no. 3, pp. 14–25, 2020.
[5] A. Nedic and A. Ozdaglar, “Distributed subgradient methods for multi-agent optimization,” IEEE Trans. Autom. Control, vol. 54, no. 1, pp. 48–61, 2009.
[6] A. Koloskova, S. Stich, and M. Jaggi, “Decentralized stochastic optimization and gossip algorithms with compressed communication,” in Proc. Int. Conf. Mach. Learn., California, USA, 2019, pp. 3478–3487.
[7] Y. Zgheib, M. Antonini, and R. Nassif, “Sparsity-based regularization for learning over multitask graphs,” in Proc. IEEE Stat. Signal Process. Workshop, Edinburgh, UK, 2025, pp. 1–5.
[8] F. Cattivelli and A. Sayed, “Analysis of spatial and incremental LMS processing for distributed estimation,” IEEE Trans. Signal Process., vol. 59, no. 4, pp. 1465–1480, Apr. 2011.
[9] D. P. Bertsekas, “A new class of incremental gradient methods for least squares problems,” SIAM J. Optim., vol. 7, no. 4, pp. 913–926, 1997.
[10] S. Sardellitti, M. Giona, and S. Barbarossa, “Fast distributed average consensus algorithms based on advection-diffusion processes,” IEEE Trans. Signal Process., vol. 58, pp. 826 – 842, 2010.
[11] S. Kar and J. M. F. Moura, “Convergence rate analysis of distributed gossip (linear parameter) estimation: Fundamental limits and tradeoffs,” IEEE J. Sel. Topics Signal Process., vol. 5, no. 4, pp. 674–690, Aug. 2011.
[12] C. G. Lopes and A. H. Sayed, “Diffusion least-mean squares over adaptive networks: Formulation and performance analysis,” IEEE Trans. Signal Process., vol. 56, no. 7, pp. 3122–3136, 2008.
[13] F. S. Cattivelli and A. H. Sayed, “Diffusion LMS strategies for distributed estimation,” IEEE Trans. Signal Process., vol. 58, no. 3, pp. 1035–1048, 2009.
[14] J. Chen and A. H. Sayed, “Diffusion adaptation strategies for distributed optimization and learning over networks,” IEEE Trans. Signal Process., vol. 60, no. 8, pp. 4289–4305, 2012.
[15] S.-Y. Tu and A. H. Sayed, “Diffusion strategies outperform consensus strategies for distributed estimation over adaptive networks,” IEEE Trans. Signal Process., vol. 60, no. 12, pp. 6217–6234, 2012.
[16] A. H. Sayed, “Diffusion adaptation over networks,” in Acad. Press Library Signal Process. Elsevier, 2014, vol. 3, pp. 323–453.
[17] L. Wang, X. Zhang, H. Su, and J. Zhu, “A comprehensive survey of continual learning: Theory, method and application,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 46, pp. 5362–5383, 2024.
[18] Z. Mai, R. Li, J. Jeong, D. Quispe, H. Kim, and S. Sanner, “Online continual learning in image classification: An empirical survey,” Neurocomputing, vol. 469, pp. 28–51, 2022.
[19] M. J. Mirza, M. Masana, H. Possegger, and H. Bischof, “An efficient domain-incremental learning approach to drive in all weather conditions,” in Proc. Conf. Comput. Vis. Pattern Recognit. Workshops, LA, USA, June 2022, pp. 3001–3011.
[20] S. Thuseethan, S. Rajasegarar, and J. Yearwood, “Deep continual learning for emerging emotion recognition,” IEEE Trans. Multimedia, vol. 24, pp. 4367–4380, 2022.
[21] Y. Liu, J. Wang, J. Li, S. Niu, and H. Song, “Class-incremental learning for wireless device identification in IoT,” IEEE Internet Things J., vol. 8, no. 23, pp. 17227–17235, 2021.
[22] X. Wu, Z. Xu, and R. K. y. Tong, “Continual learning in medical image analysis: A survey,” Comput. Biol. Med., vol. 182, pp. 109–206, 2024.
[23] J. Wang, X. Wang, Y. Shang-Guan, and A. Gupta, “Wanderlust: Online continual object detection in the real world,” in Proc. Int. Conf. Comput. Vis., QC, Canada, 2021, pp. 10809–10818.
[24] J. Kirkpatrick, R. Pascanu, N. Rabinowitz, J. Veness, G. Desjardins, A. A. Rusu, K. Milan, J. Quan, T. Ramalho, A. A. Grabska-Barwinska et al., “Overcoming catastrophic forgetting in neural networks,” Proc. Natl. Acad. Sci., vol. 114, no. 13, pp. 3521–3526, 2017.
[25] C. V. Nguyen, A. Achille, M. Lam, T. Hassner, V. Mahadevan, and S. Soatto, “Toward understanding catastrophic forgetting in continual learning,” arXiv preprint arXiv:1908.01091, 2019.
[26] M. Mermillod, A. Bugaiska, and P. BONIN, “The stability-plasticity dilemma: Investigating the continuum from catastrophic forgetting to age-limited learning effects,” Front. Psychol., vol. 4, 2013.
[27] F. Zenke, B. Poole, and S. Ganguli, “Continual learning through synaptic intelligence,” in Proc. Int. Conf. Mach. Learn., Sydney, Australia, 2017, pp. 3987–3995.
[28] A. Chaudhry, P. K. Dokania, T. Ajanthan, and P. H. Torr, “Riemannian walk for incremental learning: Understanding forgetting and intransigence,” in Proc. Eur. Conf. Comput. Vis., Munich, Germany, 2018, pp. 532–547.
[29] J. Yoon, E. Yang, J. Lee, and S. J. Hwang, “Lifelong learning with dynamically expandable networks,” arXiv preprint arXiv:1708.01547, 2017.
[30] C.-Y. Hung, C.-H. Tu, C.-E. Wu, C.-H. Chen, Y.-M. Chan, and C.-S. Chen, “Compacting, picking and growing for unforgetting continual learning,” in Adv. Neural Inf. Process. Syst., Red Hook, NY, USA, 2019.
[31] R. Aljundi, M. Lin, B. Goujaud, and Y. Bengio, “Gradient based sample
selection for online continual learning," in Adv. Neural Inf. Process. Syst., vol. 32, Red Hook, NY, USA, 2019.
[32] G. Saha, I. Garg, and K. Roy, “Gradient projection memory for continual learning,” arXiv preprint arXiv:2103.09762, 2021.
[33] D. Lopez-Paz and M. A. Ranzato, “Gradient episodic memory for continual learning,” in Adv. Neural Inf. Process. Syst., vol. 30, California, USA, 2017.
[34] Y. Zgheib, M. Antonini, and R. Nassif, “Continual learning under strong convexity: A soft average gradient episodic memory approach,” in Proc. Eur. Signal Process. Conf., Bruges, Belgium, 2026.
[35] D. Isele and A. Cosgun, “Selective experience replay for lifelong learning,” in Proc. AAAI Conf. Artif. Intell., New Orleans, Louisiana, USA, 2018.
[36] S. Rebuffi, A. Kolesnikov, G. Sperl, and C. H. Lampert, “ICARL: Incremental classifier and representation learning,” in Proc. Conf. Comput. Vis. Pattern Recognit. Workshops, HI, USA, 2017, pp. 2001–2010.
[37] S. Choudhary, S. A. Aketi, G. Saha, and K. Roy, “Codec: Communication-efficient decentralized continual learning,” arXiv preprint arXiv:2303.15378, 2023.
[38] M. Hellkvist, A. Özçelikkale, and A. Ahlén, “Distributed continual learning with CoCoA in high-dimensional linear regression,” IEEE Trans. Signal Process., vol. 72, pp. 1015–1031, 2024.
[39] S. Caldas, P. Wu, T. Li, J. Konecny, H. B. McMahan, V. Smith, and A. Talwalkar, “Leaf: A benchmark for federated settings,” ArXiv, vol. abs/1812.01097, 2018.
[40] K. Yuan, B. Ying, S. Vlaski, and A. H. Sayed, “Stochastic gradient descent with finite samples sizes,” in Proc. IEEE Int. Workshop Mach. Learn. Signal Process., Salerno, Italy, 2016, pp. 1–6.
[41] B. T. Polyak, “Introduction to optimization,” 1987.
[42] S. Lin, P. Ju, Y. Liang, and N. Shroff, “Theory on forgetting and generalization of continual learning,” in Proc. Int. Conf. Mach. Learn., Hawaii, USA, 2023, pp. 21078–21100.
[43] G. Cohen, S. Afshar, J. Tapson, and A. van Schaik, “Emnist: Extending mnist to handwritten letters,” in Proc. Int. Joint Conf. Neural Netw., AK, USA, 2017, pp. 2921–2926.
[44] X. Li, B. Tang, and H. Li, “Adaer: An adaptive experience replay approach for continual lifelong learning,” Neurocomputing, vol. 572, pp. 127–204, 2024.
[45] J. L. W. V. Jensen, “Sur les fonctions convexes et les inégalités entre les valeurs moyennes,” Acta Mathematica, vol. 30, no. 1, pp. 175–193, 1906.
[46] D. Williams, Probability with martingales. Cambridge University Press, 1991.