Manuscript Offprint
arXiv:2610.33496FedSEAM: Federated Continual Learning of LLMs via Subspace Expert Agreement Merging
Abstract
Federated continual learning trains a model on a sequence of tasks across several clients without sharing their data while retaining knowledge of earlier tasks. Sparse mixture-of-experts models support this setting by adapting selected parameters on a frozen backbone. However, clients learn different expert content as tasks evolve, making it difficult to share knowledge across clients without disrupting task-specific and client-specific specialization. Matching tile coordinates alone does not establish whether their learned content is compatible. We present FedSEAM, a federated continual learning framework that organizes task knowledge into sparse experts and selectively shares their content across tasks and clients. On each client, task-aware tile selection allocates capacity to a new task, while a subspace-based compatibility test determines which existing expert tiles to reuse and where to introduce fresh capacity. On the server, Subspace Expert Agreement Merging (SEAM) compares client updates as subspaces and moves each client towards consensus only along agreed-upon directions, leaving the rest of its update unchanged. We identify two remaining sources of forgetting, routing drift and merge erasure, and address them with three protections, one of which exactly preserves tile components in a selected prior-overlap subspace at every merge. We evaluate FedSEAM on TRACE using Qwen3-4B and Llama-3.2-3B, with component-wise ablations and studies of data size to assess its balance between learning new tasks and retaining prior knowledge.
1 Introduction
Federated learning (FL) trains a shared model across clients that keep their raw data private and send only model updates (McMahan et al., 2017), which suits sensitive or widely distributed data. For large language models, FL has become a practical way to fine-tune a common model on data that never leaves its owners (Zhang et al., 2024). Language models are increasingly adapted after deployment by organizations that cannot share data, including hospitals, banks, and research laboratories. As their data and requirements evolve, these organizations must acquire new capabilities while retaining earlier knowledge, reflecting the stability–plasticity dilemma of continual learning (Kirkpatrick et al., 2017; Lopez-Paz and Ranzato, 2017).
Federated continual learning (FCL) (Yoon et al., 2021) studies this combined setting, which is more challenging than either federated or continual learning alone. Client updates are computed on different distributions and often disagree in direction, and when they are combined coordinate by coordinate, they can cancel or overwrite task-specific information. Each party also sees only its own data, so clients collaborate by exchanging parameter updates.
Most federated continual learning methods have been developed and evaluated on vision tasks. Some decompose model parameters to transfer task knowledge between clients (Yoon et al., 2021), an idea later applied to text classification (Chaudhary et al., 2022), while others counter forgetting with generated replay or distillation (Wuerkaixi et al., 2024; Ma et al., 2022). Recent work turns to multimodal models, either combining regularization with replay (Liu et al., 2026) or keeping knowledge in separate modules that are selected or fused for each input (Guo et al., 2025, 2026), an idea shared with mixtures of experts, which combine modules through a router (Shazeer et al., 2017; Dou et al., 2024). Routing alone, however, does not prevent interference between tasks (Wu et al., 2026), and these methods leave open how clients' versions of the same expert should be combined when task-specific knowledge is represented by sparse updates to a language model.
A recent design for continual learning of language models adapts a frozen backbone through sparse experts (Siddika et al., 2026): each task trains a small set of weight tiles, and a router combines the experts without task labels. Extending this design to the federated setting raises three challenges. First, clients trained on different data drive shared parameters in different directions, and coordinate-wise aggregation methods such as federated averaging or task arithmetic (Ilharco et al., 2023) dilute client-specific knowledge. Second, successive tasks tend to select the same tiles, because the same input channels dominate gradient magnitudes across tasks, and sharing tiles based on position alone cannot distinguish compatible tasks from conflicting ones. Third, freezing experts from completed tasks is insufficient to prevent forgetting, since the router and shared experts continue to change.
To address these challenges, we propose Federated Subspace Expert Agreement Merging (FedSEAM), a sparse mixture-of-experts framework for federated continual learning. On each client, task-aware tile selection and selective expert reuse allow new tasks to build on compatible knowledge while allocating fresh capacity where needed. The server then aggregates shared expert tiles through subspace agreement, combining compatible client contributions while retaining components outside the agreed subspace. Figure 1 previews the main result on Qwen3-4B with 1,000 samples per client: FedSEAM achieves learning accuracy comparable to FedAvg over tiles, with higher final performance and less forgetting in the available evaluations. Two research questions guide the paper.
RQ1: How can sparse expert content be shared across tasks and aggregated across clients while retaining task and client specialization?
RQ2: What causes forgetting when earlier experts are frozen, and how can expert training and aggregation limit it? Our main contributions are as follows:
Contribution 1: FedSEAM, a sparse mixture-of-experts framework for federated continual learning, with task-aware tile selection and selective expert reuse.
Contribution 2: SEAM, a personalized aggregation method that shares expert content along agreed update directions while retaining client-specific components outside them.
Contribution 3: An analysis of routing drift and merge erasure, with protections that include exact preservation of tile components in a selected prior-

Figure 1: LA and OP of FedSEAM and FedAvg on Qwen3-4B with 5,000 training samples per task (client mean); labels give BWT. FedSEAM achieves comparable LA and an OP that is 2.5 points higher.
overlap subspace during merging.
Contribution 4: Evaluation on TRACE with Qwen3-4B and Llama-3.2-3B, examining learning, retention, and the effects of individual components.
Continual Adaptation of Language Models. O-LoRA (Wang et al., 2023a) limits interference through orthogonal low-rank task subspaces, while TreeLoRA (Qian et al., 2025) organizes layer-wise adapters by gradient similarity. LoRAMoE (Dou et al., 2024) uses routed low-rank experts to mitigate world-knowledge forgetting during instruction tuning. In federated settings, DISCO (Guo et al., 2025) maintains a server-side cache of task subspaces and selectively activates them at inference. Fed-Duet (Guo et al., 2026) combines shared semantic prompts with personalized adapters. The closest approach to our client-side learner is SETA
(Siddika et al., 2026), which selects sparse expert blocks by gradient magnitude and shares blocks across tasks based on positional overlap in a centralized setting. CRAFT (Hossen et al., 2026) instead adapts hidden representations through low-rank interventions with a forgetting-aware objective. These methods guide the organization and reuse of task knowledge. FedSEAM additionally determines which directions within shared tiles receive a consensus correction and which remain client-specific.
3 Problem Formulation
Setting. K clients learn N tasks in a fixed order. For task , client k holds a private shard , and training proceeds for R communication rounds. Raw data never leave the clients, and data from completed tasks are no longer available.
Model. The backbone is frozen. At each adapted layer with frozen weight , sparse expert updates are combined through sigmoid gates:
Each is nonzero only on a set of blocks of , called tiles, each with a fixed position (layer, row, column), and is the expert's gate row. We use on the value projections (36 layers of tiles for Qwen3-4B). Gates are independent sigmoids, and a new expert starts at , so adding it leaves the output unchanged. Each task trains its own expert and, for tiles it shares with earlier experts, a shared expert that starts from the learned values of one earlier expert per layer; experts of finished tasks are frozen. A task may train tiles, a fraction of all tiles ( for Qwen3-4B).
Objective and metrics. At task t, the clients solve
over the parameters trained at task , using only local training and server aggregation, with and the anchoring penalty of §4.3. With the test score on after learning , averaged over the clients' final-round models, we report learning accuracy (LA), overall performance (OP) and backward transfer (BWT):
(3)
where a negative BWT indicates forgetting.
Forgetting with frozen experts. Freezing experts from completed tasks does not prevent forgetting. A frozen expert’s gate changes when its gate row is trained or its layer input shifts (routing drift), and a shared expert loses earlier content when the merge moves it along directions that earlier tasks depend on (merge erasure); Proposition 1 makes both precise.
4 Methodology
FedSEAM runs the same procedure for every task (Figure 2; Algorithm 1).
4.1 Warm-up and Task-aware Selection
The warm-up fine-tunes the whole backbone on the client’s shard for at most one pass, with an adaptive stopping rule. The client accumulates the gradient G and then discards the fine-tuned model. Client k scores the tile in layer , row r and column q of the tile grid by the mean absolute value of its accumulated gradient, , as in SETA (Siddika et al., 2026). The score map is then processed in three steps that use only local data and task history.
Column correction. Ranking tiles by raw gradient magnitude favours a few hidden channels whose activations are large for every input, so whole columns of the tile grid score high regardless of the task. In a preliminary run on Qwen3-4B with five clients, the second task reused 763 of the first task's 864 tiles (88%), against 15% for independent selections of the same size.
We first standardise scores within each tile column, then across the layer:
followed by , where and are taken over the rows of column and std standardises a layer. A tile receives a high score only if it stands out among the tiles associated with the same input channels, which removes this column effect (Proposition 2).
Novelty. From the second task on, with the mean map of the client's earlier tasks after the same correction, the score is
with , where both maps are standardised per layer. The weight on novelty grows

☑ trainable ☐ frozen (no gradient) ☑ task-start snapshot W → client 1 → client k → client K → merged
against routing drift: (ii) gate-row freezing against merge erasure: (iii) anchor-extended priors (iii) prior-preserving acceptance
Figure 2: Overview of FedSEAM. Once per task, each client selects tiles for (1) and shares a tile with an earlier expert only if both updates use the same input directions and agree in sign (2). In each round, clients train the current experts (3); the server keeps the directions that most clients move along in the same sense (4) and merges the tiles along them (5); each client then recalibrates its current gate rows (6). (i)–(iii) mark the protections against routing drift and merge erasure.
with the number of tasks, because unused tiles become harder to find.
Budget. The client selects the highest-scoring tiles for the task, with set by a walk down the ranked list (Algorithm 2): layers less used by earlier tasks get larger quotas, tiles used by two or more earlier tasks are skipped, and after B tiles the walk stops once the share of unused tiles stabilizes, at most at ( in the main configuration); the quotas and the skip rule set only this count, not which tiles are selected, and with the walk returns (Appendix 9). Clients select different tiles; SEAM merges those that at least two clients selected.
4.2 Direction-Aware Expert Sharing
When a selected tile x already belongs to an earlier expert e, the client either shares it, so the new task continues from the learned values, or keeps it frozen in e and gives the new task a fresh copy that starts at zero. Sharing by position alone, as in the Split-on-Share step of SETA (Siddika et al., 2026), cannot tell whether the two tasks move the tile in compatible directions, so we compare the earlier task's learned change with the new task's warm-up gradient .
Direction test. Let hold the leading right singular vectors of A that carry a fraction of its energy, at most r of them, and let and have and columns. Their overlap is the mean squared cosine of the principal angles,
Because gradients within one network resemble one another, the threshold is calibrated per tile: the test passes if
where and are the mean and standard deviation of the scores of against the new task's gradients on tiles it selected in the same layer (Appendix 9).
Sign test. Because A and -A have the same right singular vectors, can equal 1 for opposite updates. A shared tile must therefore also satisfy
This test measures alignment with the new task’s accumulated warm-up descent direction; it does not guarantee preservation of the earlier task’s loss.
Size threshold and shared expert. A layer is split only if at least tiles pass both tests
( , for Qwen3-4B) and the earlier expert and the new task's own expert each keep none or at least T tiles there, so no expert holds a small remainder; otherwise the new task trains fresh copies and the earlier expert stays intact. Passing tiles form one shared expert per task, and the task's other tiles form its own expert, which starts at zero. In each layer, the shared expert copies the gate row and values of the earlier expert that contributes the most tiles; the other earlier experts keep their tiles, and the shared expert holds those coordinates as zero-initialized copies. The split therefore leaves every layer's output unchanged (Algorithm 3, Proposition 3).
4.3 Local Training
Each client trains the experts of the current task and their gate rows by minimizing
where Y is the set of answer tokens in the batch, e runs over the experts of the current task, and is a snapshot of taken once per task after the split (at the start of training for the first task), with . For a shared expert, the penalty anchors the inherited values; for the task's own expert, whose snapshot is zero, it acts as weight decay. A sample longer than the context window keeps its whole answer and loses the middle of its prompt (Appendix 9).
4.4 SEAM: Agreement Spectrum
SEAM merges client updates only along input directions that most clients use and move in the same sense; a direction that a single client uses stays private to it.
Agreement spectrum. The server groups the received tiles by coordinate (layer, row, column), so client updates are compared without any alignment step. A bin holds the clients that selected that tile, and bins with fewer than two holders stay local. For client in a bin, let be its tile, its change since the start of the task, (Table 17 measures it from the start of the round instead), and the leading input directions of . SEAM forms the weighted mean projector
with weights that sum to one and reduce the influence of a client whose update opposes the mean update . The eigenvalue is the weighted mean squared cosine between the eigenvector and the client subspaces: when every client's subspace contains , and when none does. The spectrum is smoothed over the rounds of a task (Appendix 9). Direction is accepted if , with and the largest eigenvalue of the same projector for one random subspace per client, each of the clients' average rank. The accepted directions form the columns of .
Sign agreement. Because and have the same right singular vectors, cannot tell whether clients move along in the same or in opposite senses. SEAM therefore keeps only the accepted directions along which the normalized updates also agree in sign. With , and , the signed agreements are the eigenvalues of
where is the number of clients in the bin. Along a direction, equals the fraction of clients that move identically when the others do not move, and is close to zero when their movements cancel; because the updates are normalized, it does not depend on their magnitudes. The directions with span the common subspace . From here on, denotes their basis, its projector, and their weights recomputed from in this basis.
Private directions. Acceptance counts how many clients use a direction rather than averaging their values. A direction that only client k uses, and that is orthogonal to the other clients' subspaces, receives . This is below unless the other clients carry almost no weight, so the direction stays with client k, whereas a coordinate-wise average would scale it by the client's weight.
4.5 Merged Tile and Acceptance
Merged tile. At each coordinate, the prior subspace T is the span of of the tiles that the clients' earlier experts hold there, stacked (computed from their Gram matrices), and is spanned by the principal directions of C whose squared cosine with T is at least 0.5. The merged tile is the mean of the clipped client tiles, re-stricted to C and reduced along earlier tasks,
where is the share of the energy of in .
Acceptance. Each client’s tile moves towards M only along accepted directions, by their agreement:
with . Directions outside , on which clients disagree, stay in the client's tile, so client-specific knowledge is kept rather than averaged away (Lemma 1a). Appendix 9 defines the bin labels used in our analysis and an optional variant, used only as an ablation, that moves the residual into a private expert.
4.6 Stability Protections
Three protections, each an independent switch, act against routing drift and merge erasure.
(i) Gate-row freezing. During training and calibration, the gate rows of experts of earlier tasks receive no gradient; since each sigmoid gate depends only on its own row, these gates stay fixed for a fixed layer input. The gate row of the current task's shared expert still trains, so the routing of its inherited tiles can change.
(ii) Anchor-extended priors. The snapshots of the current experts, taken after the split, are added to the tiles from which T is computed, so T also covers the tiles a shared expert inherited.
(iii) Prior-preserving acceptance. The pull excludes ,
which leaves the tile’s component in unchanged (Lemma 1b). The rest of can still change the tile’s component in , so the protection covers , not all of .
When the consensus opposes what was learned, that is, when with the mean snapshot at that coordinate, is set to 1, which removes the component of in . Because (iii) already excludes this component from the pull, the test changes client tiles only through the unequal weights in (Appendix 9); its main effect is on the server model, which we do not evaluate (Appendix 13).
5 Theoretical Analysis
Proofs and further propositions are in Appendix 11.
Proposition 1 (Forgetting decomposition). For an input x of an earlier task j, held fixed at the input of this layer, and a checkpoint , the output change of the layer is
(15)
where e ranges over the experts present at the end of task j (an expert removed by a later split counts with and ) and “new” denotes experts created after task j; that is, routing drift, weight change and intrusion of new experts.
For a fixed layer input, protection (i) removes the first term, and a split leaves unchanged. The remaining change comes from weight drift, which the penalty in Equation (9) and protections (ii)–(iii) limit, and from the gate of a shared expert, which no protection limits.
Lemma 1 (What acceptance changes). Let be a tile after one acceptance step, Equation (13) or (14). (a) : directions outside the common subspace are not changed. (b) Under Equation (14), also for any M and any ; the unprotected update changes this component by .
Part (a) keeps the corresponding client-specific parameter components, whereas FedAvg scales a direction used only by client k by in every round. Part (b) holds for one step and the subspaces of that round, so whether earlier tasks are preserved over a whole task is tested empirically. Appendix 11 gives a layer-level bound on forgetting (Theorem 1).
6 Experimental Setup
Data and backbones. We evaluate on TRACE (Wang et al., 2023b), training its eight tasks in the order C-STANCE (Zhao et al., 2023), FOMC (Shah et al., 2023), MeetingBank (Hu et al., 2023), Py150, ScienceQA (Lu et al., 2022), NumGLUE-cm (Mishra et al., 2022), NumGLUE-ds and 20Minuten (Rios et al., 2021). Each task has 5,000 training samples in the main setting and 500 in a low-data setting, and we test on the first 500 test samples of each task with greedy decoding. Qwen3-4B (Yang et al., 2025) is the main backbone and Llama-3.2-3B-Instruct (Grattafiori et al., 2024) the second.
Federated protocol. Five clients take part in every round. In the equal split, the training samples of a task are dealt to the clients in turn, so each client holds 1,000 (main) or 100 (low-data) samples. Each task is trained for three communication rounds, with three local epochs per round, and after each merge a client calibrates its router for 50 steps.
Baselines. Local and FedAvg use the same client-side learner as FedSEAM, including expert splitting and gate-row freezing, and differ only in server aggregation. Local performs no aggregation, whereas FedAvg replaces each tile held by at least two clients with its sample-weighted mean. Centralized trains the same learner on the pooled data. FedSEAM+R is a variant of our server that also averages the part of each update outside the agreed subspace and uses .
Metrics. We report LA, OP and BWT (Equation (3)). Task performance is measured using accuracy, except for Py150, MeetingBank, and 20Minuten, which use edit similarity, ROUGE-L, and SARI, respectively. We report means and standard deviations across the five client models. Because all methods share shards and test sets, we compare them client by client and claim a difference only if it exceeds the client spread and at least four of the five clients agree on its sign. Where fewer than five clients are evaluated, we average those clients and mark the cell.
Ablations and sweeps. Ablations and sweeps use the low-data setting. Each ablation trains its own stream with the listed protections switched off, and hyperparameter sweeps use a four-task stream of C-STANCE, FOMC, MeetingBank and Py150. Code availability. The implementation of FedSEAM is available in APPFL (Ryu et al., 2022; Li et al., 2025), an open-source framework for federated learning.
7 Results and Analysis
7.1 Main Results
Tables 1 and 2 report results with 1,000 samples per client. FedSEAM matches FedAvg in LA on both backbones (within 0.33 points), and no task differs by more than 1.8 points. Table 1 reports client means only; the client-spread criterion of §6 has not yet been applied to these runs.
Table 3 compares the full accuracy matrices on Qwen. FedSEAM is higher in 27 of the 36 cells, including 22 of the 28 that score an earlier task after a later one, and the remaining cells differ by at most 1.8 points. FedSEAM thus retains more while learning each new task as well as FedAvg.
7.2 Fewer Samples per Client
With 500 samples per task (100 per client; Table 4), FedSEAM is 0.8–0.9 (Qwen) and 1.4 (Llama) points below FedAvg in LA and OP with nearly identical BWT. NumGLUE-cm accounts for most of this difference: without it, the two methods perform comparably on Qwen and within 0.6 points on Llama (Table 11). On this task, clientson Llama-3.2-3B agree on only 22–38% of their updates after five earlier tasks, so FedSEAM merges conservatively (Appendix 14.5); with 1,000 samples per client, the difference falls to 1.8 points or less. FedSEAM+R, which also averages the update outside the agreed subspace, achieves higher LA than FedSEAM on all five clients and matches FedAvg's LA without NumGLUE-cm.
7.3 Ablations
Protections. Table 5 disables the protections on Llama. Gate freezing is protection (i), and merge protection is (ii) and (iii) together. Merge protection mainly helps learning: without it, MeetingBank and Py150 are learned 2.6–2.9 points worse. Gate freezing alone gives the best BWT on clients 0–3 (−1.22, against −2.53 with both protections and −1.92 with none), largely because Py150 keeps its score instead of losing 8.2 points as it does with both protections (Table 15); dropping merge protection costs 0.9 points of LA. These BWT differences lie within the client spread, gate freezing leaves BWT unchanged on clients 0–1, and adding merge protection lowers BWT in every client subset we evaluated (Table 16), so in these runs merge protection improves learning but does not reduce forgetting. FOMC, MeetingBank and ScienceQA change by similar amounts under every configuration, including local training, so these changes come from the client side rather than the merge.
Settings and scale. On the four-task stream (Qwen), FedSEAM is 0.4 points above FedAvg in LA, and the merge settings (agreement threshold, conflict threshold, change LA by at most 0.3 points (Table 18)). The budget matters more: increasing the tile budget from 15% to 25% improves LA by
https://github.com/APPFL/APPFL
Table 1: Main results on TRACE with Qwen3-4B and 5,000 training samples per task (1,000 per client, equal split): score on each task right after it is learned (, client mean), LA, OP and BWT. Bold: the higher of the two methods.
| Method | C-ST | FOMC | MB | Py150 | SciQA | NG-cm | NG-ds | 20Min | LA | OP | BWT |
|---|---|---|---|---|---|---|---|---|---|---|---|
| FedAvg over tiles | 60.48 | 65.36 | 37.34 | 56.23 | 79.62 | 56.92 | 50.77 | 38.61 | 55.67 | 49.27 | -6.99 |
| FedSEAM | 60.68 | 64.84 | 37.95 | 56.32 | 80.47 | 55.13 | 51.02 | 38.56 | 55.62 | 51.52 | -4.68 |
Table 2: Results on TRACE with Llama-3.2-3B in the setting of Table 1: score on each task right after it is learned (, client mean) and LA. Bold: the higher of the two methods.
| Method | C-ST | FOMC | MB | Py150 | SciQA | NG-cm | NG-ds | 20Min | LA |
|---|---|---|---|---|---|---|---|---|---|
| FedAvg over tiles | 48.80 | 66.49 | 41.55 | 57.79 | 75.36 | 53.33 | 48.37 | 39.81 | 53.94 |
| FedSEAM | 48.88 | 65.04 | 41.28 | 57.24 | 75.16 | 52.56 | 49.11 | 39.61 | 53.61 |
Table 3: FedSEAM minus FedAvg on the accuracy matrix of the runs in Table 1 (Qwen3-4B, 5,000 samples per task): score on each task (column) after learning each task (row).
| After | C-ST | FOMC | MB | Py150 | SciQA | NG-cm | NG-ds | 20Min |
|---|---|---|---|---|---|---|---|---|
| T1 | +0.20 | |||||||
| T2 | +0.04 | -0.52 | ||||||
| T3 | +1.00 | -1.66 | +0.61 | |||||
| T4 | +1.25 | +0.75 | +0.44 | +0.09 | ||||
| T5 | +1.40 | +2.82 | -0.81 | +4.62 | +0.85 | |||
| T6 | +0.05 | +0.26 | -1.52 | +1.08 | +1.10 | -1.79 | ||
| T7 | 0.00 | +1.61 | -0.75 | +0.78 | +2.23 | +5.16 | +0.25 | |
| T8 | +1.74 | +2.62 | +0.08 | +3.83 | +5.47 | +7.05 | -0.93 | -0.05 |
Table 4: Results with 500 training samples per task, mean ± standard deviation over the five clients' models. Centralized is a single model and is not bolded. Per-task and per-client scores are in Appendix 14.
| Method | LA | OP | BWT |
|---|---|---|---|
| Qwen3-4B, equal split | |||
| Local (no merge) | |||
| FedAvg over tiles | |||
| FedSEAM | |||
| Centralized | 57.75 | 48.56 | -10.50 |
| Llama-3.2-3B-Instruct, equal split | |||
| Local (no merge) | |||
| FedAvg over tiles | |||
| FedSEAM | |||
| FedSEAM+R | |||
| Centralized | 55.87 | 50.58 | -6.04 |
Table 5: Protection ablations on Llama-3.2-3B (500 samples per task, equal split). Each row trains its own stream; all rows use clients 0–3, the clients evaluated in every run. Bold: best configuration of our server. Merge protection alone, evaluated on two clients, is in Appendix 14.6.
| Configuration | LA | OP | BWT |
|---|---|---|---|
| FedSEAM (both protections) | |||
| gate freezing only | |||
| no protection | |||
| Local (no merge) | |||
| FedAvg over tiles |
3.3 points, whereas reducing it to 12% lowers LA by 0.5 points. An absolute size floor and writing the server labels back into the expert structure add 1.3 and 1.7 points, but we have measured them only on LA. With ten clients of 50 samples each, both aggregation methods exhibit substantial performance degradation on MeetingBank and Py150 (MeetingBank by about 12.5 points and Py150 by 21.9 (FedSEAM) and 20.7 (FedAvg) points, relative to five clients) and end within 0.7 points of each other; a similar decline occurs with one communication round per task, suggesting that limited local training contributes to the degradation. Measuring client updates from the start of the task instead of the start of the round changes no metric by more than 0.2 points (Table 17).
8 Conclusion
FedSEAM supports federated continual learning through a mixture of sparse experts on a frozen language model. Task-aware tile selection and selective expert reuse organize knowledge across successive tasks, while SEAM aggregates expert content across clients along agreed update direc-tions and retains client-specific components outside them. Three protections target routing drift and merge erasure, including exact preservation of tile components in a selected prior-overlap subspace during each merge; in our ablation, merge protection mainly improved learning rather than retention. Results on TRACE show comparable learning accuracy to FedAvg in the main setting, with available evaluations indicating better retention. With fewer samples per client, FedAvg's broader averaging gives slightly higher learning accuracy.
Limitations
Clients share model updates, which can leak information about their data, so combining FedSEAM with secure aggregation or differential privacy (Abadi et al., 2016) remains future work. We would also like to explore domain adaptation in federated continual learning, where the clients' data shift from one domain to another over time. Our clients hold near-identically distributed shards, and evaluating FedSEAM with non-IID clients is left to future work.
Acknowledgment
This work was supported by the U.S. Department of Energy, Office of Science, under contract number DE-AC02-06CH11357. This research also used resources of the Argonne Leadership Computing Facility, which is a U.S. Department of Energy Office of Science User Facility operated under contract DE-AC02-06CH11357.
References
Martin Abadi, Andy Chu, Ian Goodfellow, H Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. 2016. Deep learning with differential privacy. In ACM SIGSAC Conference on Computer and Communications Security.
Yatin Chaudhary, Pranav Rai, Matthias Schubert, Hinrich Schütze, and Pankaj Gupta. 2022. Federated continual learning for text classification via selective inter-client transfer. In Findings of the Association for Computational Linguistics: EMNLP 2022.
Shihan Dou, Enyu Zhou, Yan Liu, Songyang Gao, Wei Shen, Limao Xiong, Yuhao Zhou, Xiao Wang, Zhiheng Xi, Xiaoran Fan, Shiliang Pu, Jiang Zhu, Rui Zheng, Tao Gui, Qi Zhang, and Xuanjing Huang. 2024. LoRAMoE: Alleviating world knowledge forgetting in large language models via MoE-style plugin. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1932–1945.
Aaron Grattafori et al. 2024. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783.
Haiyang Guo, Fanhu Zeng, Fei Zhu, Wenzhuo Liu, Da-Han Wang, Jian Xu, Xu-Yao Zhang, and Cheng-Lin Liu. 2025. Federated continual instruction tuning. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 1325–1335.
Tao Guo, Junwei Chen, and Laizhong Cui. 2026. Fedduet: Dual expert-orchestrated framework for continual federated vision-language learning. In International Conference on Learning Representations (ICLR).
Md Anwar Hossen, Fatema Siddika, Juan Pablo Munoz, Tanya Roosta, and Ali Jannesari. 2026. CRAFT: Forgetting-aware intervention-based adaptation for continual learning. arXiv preprint arXiv:2605.05732.
Yebowen Hu, Timothy Ganter, Hanieh Deilamsalehy, Franck Dernoncourt, Hassan Foroosh, and Fei Liu. 2023. MeetingBank: A benchmark dataset for meeting summarization. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16409–16423.
Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. 2023. Editing models with task arithmetic. In International Conference on Learning Representations.
James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, et al. 2017. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521–3526.
Zilinghan Li, Shilan He, Ze Yang, Minseok Ryu, Kibaek Kim, and Ravi Madduri. 2025. Advances in APPFL: A comprehensive and extensible federated learning framework. In 2025 IEEE 25th International Symposium on Cluster, Cloud and Internet Computing (CCGrid), pages 1–11. IEEE.
Jing Liu, Chenxuanyin Zou, Jiayang Ren, Gaoyun Fang, Chengfang Li, Yan Wang, Zhenchao Ma, and Bo Hu. 2026. Continual learning with elastic regularization and synthetic replay for federated MLLM fine-tuning. arXiv preprint arXiv:2607.12112.
David Lopez-Paz and Marc'Aurelio Ranzato. 2017. Gradient episodic memory for continual learning. In Advances in Neural Information Processing Systems.
Pan Lu, Swaroop Mishra, Tanglin Xia, Liang Qiu, Kai-Wei Chang, Song-Chun Zhu, Oyvind Tafjord, Peter Clark, and Ashwin Kalyan. 2022. Learn to explain: Multimodal reasoning via thought chains for science question answering. In Advances in Neural Information Processing Systems.
Yuhang Ma, Zhongle Xie, Jue Wang, Ke Chen, and Li-dan Shou. 2022. Continual federated learning based on knowledge distillation. In Proceedings of the
Thirty-First International Joint Conference on Artificial Intelligence (IJCAI).
Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. 2017. Communication-efficient learning of deep networks from decentralized data. In Artificial Intelligence and Statistics (AISTATS).
Swaroop Mishra, Arindam Mitra, Neeraj Varshney, Bhavdeep Sachdeva, Peter Clark, Chitta Baral, and Ashwin Kalyan. 2022. NumGLUE: A suite of fundamental yet challenging mathematical reasoning tasks. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3505–3523.
Yu-Yang Qian, Yuan-Ze Xu, Zhen-Yu Zhang, Peng Zhao, and Zhi-Hua Zhou. 2025. TreeLoRA: Efficient continual learning via layer-wise LoRAs guided by a hierarchical gradient-similarity tree. In Proceedings of the 42nd International Conference on Machine Learning (ICML), volume 267 of Proceedings of Machine Learning Research, pages 50066–50085.
Annette Rios, Nicolas Spring, Tannon Kew, Marek Kostrzewa, Andreas Säuberli, Mathias Müller, and Sarah Ebling. 2021. A new dataset and efficient baselines for document-level text simplification in German. In Proceedings of the Third Workshop on New Frontiers in Summarization, pages 152–161.
Minseok Ryu, Youngdae Kim, Kibaek Kim, and Ravi K Madduri. 2022. APPFL: Open-source software framework for privacy-preserving federated learning. IEEE International Parallel and Distributed Processing Symposium Workshops.
Agam Shah, Suvan Paturi, and Sudheer Chava. 2023. Trillion dollar words: A new financial dataset, task & market analysis. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6664–6679.
Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations.
Fatema Siddika, Md Anwar Hossen, Tanwi Mallick, and Ali Jannesari. 2026. Sparse subspace-to-expert sharing for task-agnostic continual learning. arXiv preprint arXiv:2606.07500.
Xiao Wang, Tianze Chen, Qiming Ge, Han Xia, Rong Bao, Rui Zheng, Qi Zhang, Tao Gui, and Xuanjing Huang. 2023a. Orthogonal subspace learning for language model continual learning. In Findings of EMNLP.
Xiao Wang, Yuansen Zhang, Tianze Chen, Songyang Gao, Senjie Jin, Xianjun Yang, Zhiheng Xi, Rui Zheng, Yicheng Zou, Tao Gui, Qi Zhang, and Xuanjing Huang. 2023b. TRACE: A comprehensive benchmark for continual learning in large language models. arXiv preprint arXiv:2310.06762.
Beining Wu, Zihao Ding, and Jun Huang. 2026. PRISM: Exposing and resolving spurious isolation in federated multimodal continual learning. arXiv preprint arXiv:2605.01061.
Abudukelimu Wuerkaixi, Sen Cui, Jingfeng Zhang, Kunda Yan, Bo Han, Gang Niu, Lei Fang, Changshui Zhang, and Masashi Sugiyama. 2024. Accurate forgetting for heterogeneous federated continual learning. In International Conference on Learning Representations (ICLR).
An Yang et al. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388.
Jaehong Yoon, Wonyong Jeong, Giwoong Lee, Eunho Yang, and Sung Ju Hwang. 2021. Federated continual learning with weighted inter-client transfer. In International Conference on Machine Learning.
Jianyi Zhang, Saeed Vahidian, Martin Kuo, Chunyuan Li, Ruiyi Zhang, Tong Yu, Guoyin Wang, and Yiran Chen. 2024. Towards building the FederatedGPT: Federated instruction tuning. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6915–6919.
Chenye Zhao, Yingjie Li, and Cornelia Caragea. 2023. C-STANCE: A large dataset for Chinese zero-shot stance detection. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13369–13385.
Appendix
9 Method Details
This appendix gives the details of each step; Appendix 12 lists all settings.
Algorithm 1 FedSEAM: one task
1: clients: warm-up on ; column correction, novelty, budget; own tile selection
2: clients: direction-aware split; snapshots
3: for to do
4: clients: train Eq. (9), earlier gate rows frozen (i)
5: clients: send the tiles of the current task's experts
6: server: bin tiles by coordinate; single holders stay local; guard; weights
7: per bin: from the spectrum; from earlier experts and snapshots (ii)
8: merged , reduced along ; signed test
9: clients: protected acceptance, Eq. (14) (iii)
10: clients: calibrate gate rows of the current task
11: end for
12: evaluate on every client's final model
Keeping the answer. A sample is a prompt ending in a response cue, followed by an answer . If it is left unchanged. Otherwise the answer is kept and the prompt keeps its first and last tokens, which contain the instruction and the cue. Only if the answer leaves fewer than 64 prompt tokens is the answer shortened.
Warm-up. After step s we compute
and stop once over the five preceding values has held for ten steps (fifteen for generation tasks). With two instances per step, the warm-up runs between half a pass and one pass over the shard (25 to 50 steps for a shard of 100 instances in the low-data setting, 250 to 500 for the 1,000 of the main setting), so it sees each instance at most once. The client keeps the gradients of its selected tiles, which the split uses as evidence.
Budget walk. Layer may receive
tiles, where is the used fraction of the layer. The walk returns only the number ; the selected tiles are the highest scores. With , as in the main configuration, the walk takes exactly tiles; with , as in the structure-only pass of Appendix 14.7, the first task, which has no used tiles, stops at the third record point after . Layers with fewer than selected tiles are dropped. Usage counts are recomputed from stored selections.
Direction test. and are computed from up to 32 tiles that the new task selected in the same layer, or from random subspaces of the same ranks when fewer than four such tiles exist. If expert has not changed the tile, the earlier task’s own warm-up gradient replaces , and a tile for which no score can be computed is shared without testing.
Split. An untrained expert, which occurs only in structure-only runs, uses its warm-up gradient as evidence. A tile without evidence is shared. When one coordinate is held by several earlier experts and passes for each of them, the shared expert holds it once, with the values of the gate origin (zero if the origin does not hold it), and the other experts keep their own values (Algorithm 3). The shared expert starts from the gate row of the gate origin.
Training. The anchor is taken once per task and kept for every round; retaking it each round would let the parameters drift in small steps without penalty. Calibration trains only the gate rows of the current task for 50 steps.
Agreement spectrum. Before the spectrum is computed, tiles whose norm exceeds three times the median norm in the bin are scaled down to that bound, and tiles that are not finite are dropped. The eigenvalues are multiplied by the fraction of the bin's clients whose update is nonzero, so a client that did not move counts as absent. Over the rounds of a task, the sorted spectrum is averaged with the smoothed spectrum of the previous round, with weight 0.5; the weights recomputed after the sign test are not smoothed. For fixed , depends only on the client subspaces and does not change when an update is rescaled; itself does, because rescaling one update changes .
Bin labels and structural variant. For analysis, each bin receives a label: client-private if the client tiles keep on average less than half of their energy inside C; otherwise task-shared if M, after the reduction in Equation (12), keeps at least 10% of its energy in , and task-global if not. An optional variant writes the labels back as structure by moving the residual into a private expert; this decomposition is exact (Proposition 4), and the variant serves only as an ablation. The signed test of §4.6 changes client tiles only through the unequal weights in , because (iii) already excludes from the pull.
10 Measurements of Position-Based Sharing
These measurements come from a federated version of the SETA learner (Siddika et al., 2026) on Qwen3-4B with five clients, which selects tiles by raw gradient magnitude and shares them by position. They motivate the column correction, the size threshold and the truncation rule (Appendix 9).
Selection by raw gradient magnitude. The gradient of a weight is the product of an output error and an input activation. A few hidden channels carry large activations for every input, and the tiles that read them form whole columns of the grid. With 24 tiles per layer, a selection by raw rank tends to choose three columns of eight tiles for every task. At the second task, 763 of the 864 selected tiles (88%) had been selected by the first task. Two independent selections of 24 of the 160 tiles in a layer would overlap by in expectation.
Absolute size floors. Its split required at least five tiles per layer and at least 15% of the budget ( 130 tiles) for the whole expert. On one client, 324 tiles were accepted for sharing, 38 survived the per-layer floor, and 38 is below the expert minimum,
Algorithm 2 Budget walk of the task-aware selection (sets the number of tiles)
Require: scores ; usage counts and used set from earlier tasks; base budget ; expansion limit ; task index
1: compute the layer limits; ; ; ; ;
2: for each tile in order of decreasing do
3: if the layer of is full or then continue
4: end if
5: ; ; if then
6: if and then append to ; if the last three entries of differ by less than then break
7: end if
8: if then break
9: end if
10: end for
11: return
▷ the task takes the highest-scoring tiles
Algorithm 3 Split of one client at the start of task t
Require: tiles selected by task t in each layer (layers with fewer than T selected tiles removed); earlier experts e with tiles , values and gate rows
1: for every layer tiles of the new task's own expert
2: for each earlier expert e do
3: for each layer do
4: passes Equations (7) and (8), or no score exists for
5: if and and then
6: tiles e passes to the shared expert
7: else
8: keeps all; the new task keeps its own copies
9: end if
10: end for
11: for every layer
12: end for
13: for each layer with for some e do
14: , the first such expert on ties gate origin
15: shared expert s in layer : tiles , gate row , values on and 0 on all other tiles
16: ; every other earlier expert keeps and its values
17: end for
18: new expert of task t: tiles , values 0, a new gate row
19: every earlier expert keeps its gate row; an expert with no tiles left in a layer leaves that layer
so the split was refused. Every task on every client ended without a split. The single threshold of §4.2 replaces both floors.
Truncation. With a window of 2,048 tokens, 46 of 100 MeetingBank samples of one client reached the limit, and 44 held no answer token after truncation. The current rule keeps the whole answer and removes the middle of the prompt.
11 Further Theory and Proofs
Theorem 1 (Forgetting at a layer). Consider the model of one client, one layer, and a task j. Let x be the input of this layer for a sample of task j, held fixed. For a later task m, let be the experts that the split of task m creates in this layer (the shared expert and the task's own expert), the snapshot of taken after the split, its value at the end of task m, and and its gate at the start and at the end of task m. Write for its weight drift and for its gate change. With sigmoid gating, protection (i) without weight decay on the gate rows, and the output-preserving split (Proposition 3), for every ,
(16)
and hence
(17)
If the loss of task j on this sample is L-Lipschitz in the output of this layer, with all other layers held fixed, then is at most L times the right-hand side of Equation (17).
Proof. At the fixed input , write , where is the output at the end of task . The split at the start of task leaves the output unchanged, (Proposition 3). During task , local training, acceptance and calibration change only the experts of task , that is , and their gate rows: the experts of earlier tasks are frozen, and by (i) their gate rows receive no gradient, so without weight decay these rows, and with sigmoid gating the corresponding gates at , do not change. The anchoring penalty acts on expert values, not on gate rows, so it does not affect this step. Since the snapshot is taken after the split, , and therefore
Adding and subtracting and summing over gives Equation (16). The bound follows from the triangle inequality and , and the statement about from the Lipschitz assumption.
What controls each term. For the task’s own expert, , so its first term is its whole output: the intrusion of a new expert. For a shared expert, the first term is the drift of its inherited and new tiles from the snapshot. Within task this drift comes from local training and from acceptance. By Lemma 1(b), each acceptance step leaves the component of a tile in that round’s unchanged, so acceptance adds drift only along directions of whose squared cosine with is below 0.5. The penalty in Equation (9) limits local training: at a stationary point of the local objective, . Local training stops after a few epochs and acceptance moves the weights afterwards, so this indicates the scale of the drift rather than bounding it in our runs. The second term is the change in routing of the values a shared expert inherited; it is zero at the split and grows as the shared expert’s gate row trains, and no protection limits it. The theorem holds for a fixed layer input; across layers, the input changes as well.
Proposition 2 (Column invariance). Let with . As , of Equation (4) is the same for and .
Proof. The column mean and deviation of are and , so the standardised values coincide.
Proposition 3 (The split preserves the output). Let a layer compute with sigmoid gates, where is zero outside the tiles of expert e. After Algorithm 3, is unchanged for every input x, for any number of earlier experts that pass tiles to the shared expert.
Proof. Fix a layer and its gate origin . For each earlier expert , let be the tiles it keeps and the tiles whose values it passes on, so that . By construction and for every : the other experts keep all their tiles, including those that also enter the shared expert. After the split, each earlier expert contributes with its gate row unchanged; the shared expert contributes , because its values are zero on all other tiles and its gate row equals that of ; and the new expert contributes nothing, because its values are zero. The sum of these contributions is . With sigmoid gates, each gate depends only on its own row, so the added rows do not change the existing gates, and is unchanged.
The proposition relies on the gates being independent: under softmax gating, adding gate rows would rescale the existing gates. It also shows why the gate origin is needed: if the shared expert inherited the values of several earlier experts e with different gate rows, their tiles would be gated by instead of after the split, and the output would change.
Proposition 4 (Emission is an exact decomposition). In the optional emission variant, and the two parts act on orthogonal input subspaces. If the residual is kept and new gate rows equal the row of the parent, the output is unchanged. A residual dropped by the floor changes the tile by at most .
Proof. and are complementary orthogonal projectors. A residual is dropped only if .
Discussion of Proposition 1. The identity holds at one layer for a fixed layer input. In the full network, earlier layers can change x, and hence the gate values, even when this layer's gate rows are frozen. For a fixed layer input, protection (i) removes the first term: every expert present at the end of task j belongs to a task no later than j, so its gate row receives no gradient afterwards, and a split keeps the gate row of an expert's remaining tiles. A later split that moves tiles of such an expert into a new shared expert changes the second and third terms by equal and opposite amounts, so the split itself does not change . After the split, those tiles are trained under the shared expert's weights and gate row. Their contribution to is then the change of their weights, which the penalty in Equation (9) and protections (ii) and (iii) limit, together with the difference between the shared expert's gate and the original one, which no protection limits.
Proof of Proposition 1. Write with the experts present at . Subtract the two checkpoints, add and subtract and group. Frozen unique experts contribute zero to the weight term.
Discussion of Lemma 1. The guarantee concerns a single acceptance step and is exact for the subspaces of that round. Across rounds, C and T are re-estimated, and local training between rounds can change the protected component, so the lemma does not by itself bound the change over a task; Theorem 1 accounts for both sources of drift. Part (a) means acceptance never alters directions outside the common subspace, so what a client alone learned is kept; this is the mechanism behind RQ1, which we assess through task scores rather than measure directly. Part (b) means a single acceptance step does not alter the component of a shared tile in ; this is the mechanism behind RQ2, which the protection ablation (Table 5) tests only indirectly.
Proof of Lemma 1. (a) Because ,
Since , , so the protected map also vanishes on . For FedAvg, if for all , the mean applied to equals . (b) Multiply Equation (14) by from the right. Since , the second term vanishes for any , and client. For the unprotected map the change is . When the reduction has driven close to zero while , the pull moves that content towards zero at a rate set by the eigenvalues of , which is merge era-sure.
12 Settings
Table 6 lists the settings of the main configuration. All runs are tested on the first 500 test instances of every task (all if fewer).
13 Efficiency and Server-side Scores
Parameters. A task trains at most tiles of values. With and this is 14.2M values, 0.36% of the 3.94B parameters of Qwen3-4B, plus one gate row per new expert and layer. Finished experts are kept, so the stored state grows with the number of tasks; in the structure-only pass of Table 20, all experts together held 2,933 tiles after eight tasks (48M values, 1.2% of the backbone). LoRA of rank 8 on the same value projections trains about 1.0M values. Communication. After each round a client sends the tiles of the current task's experts, at most tiles. Once per task it also sends their start-of-task values and, for every merged coordinate, the Gram matrix of the tiles its earlier experts hold there, which the prior subspace needs. Neither grows with the index of the task. Computation. The spectrum costs one singular value decomposition per client and bin and one eigen decomposition per bin on matrices of size 128. Server-side scores. A model assembled on the server carries a router taken from one client before calibration; in earlier runs its scores were at chance level (3 to 7% on the eighth task) while client models scored about 40%, so all reported cells are client averages.
Reproducibility. Partitions, task order and seeds are fixed and scripted. The code base contains tests that run without a graphics processor and check the selection, the split, the truncation rule and the metrics. The code is available in the anonymous repository linked in the abstract; configurations and full accuracy matrices will be released with it.
14 Additional Results
14.1 Router Calibration
After the server merge, each client recalibrates its router on its own data. Figure 3 shows how far calibration moves the router in every task and round. The size of the step depends on the task: it is largest
Table 6: Settings of the main configuration.
| Group | Setting | Value |
|---|---|---|
| Federation | clients, rounds per task, local passes per round training instances per client and task | 5, 3, 31,000 (100 in the low-data setting) |
| Architecture | adapted matrices; tile side budget per task; expansion limit κ router | value projections; 12815% (864 tiles); 1sigmoid, initial bias 1.0 |
| Warm-up | steps; instances per step learning rate | at most one pass; 2; for generation tasks |
| Selection | skip if used by; record interval; minimum tiles per layer | 2 earlier tasks; 50 tiles; |
| Split | energy; rank limit; chance samples; margin ; size threshold | 0.9; 8; 32; 3 standard deviations0.015; 12.96 () tiles |
| Training | learning rate; warm-up steps; clipping instances per step; anchor weight maximum length | ; 2; 1.08; 0.1512; 768 for 20Minuten; 2,048 for MeetingBank (1,536 for Llama-3.2-3B) |
| SEAM | energy; rank limit; ; chance margin label thresholds; ; smoothing over rounds minimum clients per bin; guard factor; private floor (emission variant) | 0.9; 32; 0.7; 0.050.5 and 0.1; -0.1; 0.52; 3; 0.10 |
| Calibration | steps; learning rate |
on MeetingBank and smallest on FOMC, and in most tasks it shrinks from the first to the third round. The three methods nearly overlap on both models, including Local, which calibrates without any merge. Calibration therefore re-fits routing to each task's data at a roughly fixed cost per round, independent of how much the merge changed the experts.
14.2 Backward Evaluation with 5,000 Samples per Task
Figure 4 compares the difference between Fed-SEAM and FedAvg on each task right after it is learned at both data sizes. Figure 5 shows the per-task scores of both methods with 5,000 samples per task. Tables 7 and 8 give the backward evaluation of the Qwen3-4B runs of Table 1; the off-diagonal cells score an earlier task with the model after a later one.
14.3 Per-Task Results
With 500 samples per task, Tables 9 and 10 give the score of each task right after it is learned and at the end of the stream on the equal split. Table 11 repeats the metrics of Table 4 without NumGLUE-cm. Figure 6 shows the gain of each merge over local training, and Figure 7 how much each task changes between the two points.
14.4 Per-Client Results
Table 12 gives LA, OP and BWT for each client's model. Table 13 and Figure 8 give the NumGLUE-cm score of each client right after the task is learned, and Figure 9 places every client's model by its LA and OP.
14.5 Server Aggregation in Detail
For each tile coordinate held by at least two clients, the server builds the common subspace C from the clients' update subspaces (energy 0.9, at most 32 directions). is the share of a client's update energy inside C, and a bin is private when nothing is agreed or . Tile movement is the median, over accepted tiles, of the size of the change divided by the size of the tile. On Llama-3.2-3B, FedSEAM merges 58–77% of each update on the first five tasks ( of 0.77, 0.67, 0.64, 0.58 and 0.71) but only 17–30% on the last three (0.29, 0.17 and 0.30). Figure 10 and Table 14 follow the rounds of NumGLUE-cm. Trained as a single task, the clients agree on 87%, 79% and 70% of their updates in the three rounds.
14.6 Additional Ablations
Table 15 gives the per-task scores of the protection ablations of Table 5, Table 16 repeats them on other client subsets, Table 17 changes the reference point of the client update, and Table 18 varies the settings on a four-task stream.
14.7 Expert Structure along the Task Stream
The pipeline can be stopped after the split of every task, which yields the expert structure of all tasks within hours; experts are untrained in this protocol, so the direction test compares gradients with gradients. Tables 20 and 19 compare the direction-aware

(a) Qwen3-4B

(b) Llama-3.2-3B
Figure 3: Router change made by calibration in each task and round: the norm of the difference between a client's router after calibration and after local training. Lines are client means; bands span the five clients.
Table 7: Backward evaluation of FedSEAM, Qwen3-4B, 5,000 samples per task: score on each task (column) after learning each task (row). Unmarked cells average all five clients; a superscript gives the number of clients averaged.
| After \ on | C-STANCE | FOMC | MeetingBank | Py150 | ScienceQA | NumGLUE-cm | NumGLUE-ds | 20Minuten |
|---|---|---|---|---|---|---|---|---|
| T1 | 60.68 | |||||||
| T2 | 59.20 | 64.84 | ||||||
| T3 | 54.76 | 59.23 | 37.95 | |||||
| T4 | 57.50 | 55.34 | 29.81 | 56.32 | ||||
| T5 | 49.90 | 52.82 | 28.70 | 33.58 | 80.47 | |||
| T6 | 54.35 | 55.70 | 31.13 | 53.52 | 82.50 | 55.13 | ||
| T7 | 53.80 | 58.97 | 31.57 | 54.89 | 80.83 | 59.65 | 51.02 | |
| T8 | 54.07 | 57.46 | 28.44 | 43.94 | 77.61 | 61.54 | 49.69 | 38.56 |
Table 8: Backward evaluation of FedAvg over tiles, Qwen3-4B, 5,000 samples per task, as in Table 7.
| After \ on | C-STANCE | FOMC | MeetingBank | Py150 | ScienceQA | NumGLUE-cm | NumGLUE-ds | 20Minuten |
|---|---|---|---|---|---|---|---|---|
| T1 | 60.48 | |||||||
| T2 | 59.16 | 65.36 | ||||||
| T3 | 53.76 | 60.89 | 37.34 | |||||
| T4 | 56.25 | 54.59 | 29.37 | 56.23 | ||||
| T5 | 48.50 | 50.00 | 29.51 | 28.96 | 79.62 | |||
| T6 | 54.30 | 55.44 | 32.65 | 52.44 | 81.40 | 56.92 | ||
| T7 | 53.80 | 57.36 | 32.32 | 54.11 | 78.60 | 54.49 | 50.77 | |
| T8 | 52.33 | 54.84 | 28.36 | 40.11 | 72.14 | 54.49 | 50.62 | 38.61 |
split with sharing by position in such a structure-only pass, with one client holding all data (Qwen3-4B, budget 12%, expansion limit 1.5, and an earlier task order). The gain in tiles of the task's own expert is positive from the third task on and largest at Py150 (+314).
Table 9: Per-task scores, Qwen3-4B, 500 samples per task, equal split, client mean.
| Method | Row | C-STANCE | FOMC | MeetingBank | Py150 | ScienceQA | NumGLUE-cm | NumGLUE-ds | 20Minuten |
|---|---|---|---|---|---|---|---|---|---|
| Local | 60.80 | 66.60 | 22.88 | 42.44 | 83.60 | 43.20 | 48.00 | 37.18 | |
| 56.20 | 33.20 | 23.39 | 34.56 | 84.60 | 43.72 | 45.60 | 37.18 | ||
| FedAvg over tiles | 62.40 | 69.00 | 21.76 | 41.00 | 83.60 | 49.23 | 46.80 | 37.25 | |
| 54.40 | 36.40 | 22.84 | 34.98 | 84.00 | 50.25 | 44.20 | 37.25 | ||
| FedSEAM | 63.20 | 67.40 | 22.36 | 41.56 | 83.60 | 42.57 | 46.60 | 36.99 | |
| 56.00 | 34.00 | 23.28 | 34.27 | 84.80 | 42.41 | 45.80 | 36.99 | ||
| Centralized | 66.00 | 72.00 | 42.96 | 48.39 | 83.00 | 57.69 | 53.00 | 38.96 | |
| 66.00 | 42.00 | 27.37 | 33.62 | 77.55 | 50.00 | 53.00 | 38.96 |
Table 10: Per-task scores, Llama-3.2-3B-Instruct, 500 samples per task, equal split, client mean.
| Method | Row | C-STANCE | FOMC | MeetingBank | Py150 | ScienceQA | NumGLUE-cm | NumGLUE-ds | 20Minuten |
|---|---|---|---|---|---|---|---|---|---|
| Local | 51.00 | 64.60 | 39.69 | 45.52 | 81.40 | 42.82 | 44.00 | 39.56 | |
| 52.80 | 58.60 | 33.68 | 37.58 | 85.78 | 42.05 | 43.20 | 39.56 | ||
| FedAvg over tiles | 50.20 | 67.20 | 39.99 | 46.76 | 81.60 | 52.31 | 44.60 | 39.59 | |
| 51.20 | 59.11 | 34.40 | 36.84 | 86.98 | 49.74 | 44.80 | 39.59 | ||
| FedSEAM | 49.20 | 65.60 | 39.70 | 46.49 | 80.80 | 44.87 | 44.60 | 39.53 | |
| 52.40 | 57.60 | 33.17 | 37.32 | 86.15 | 42.31 | 42.80 | 39.53 | ||
| FedSEAM+R | 50.00 | 66.80 | 39.76 | 47.11 | 81.20 | 47.69 | 45.40 | 39.52 | |
| 50.80 | 58.40 | 33.33 | 37.82 | 86.15 | 43.85 | 44.20 | 39.52 | ||
| Centralized | 58.00 | 70.00 | 41.39 | 41.64 | 84.00 | 60.26 | 52.00 | 39.64 | |
| 59.00 | 56.00 | 24.69 | 29.14 | 80.81 | 65.38 | 50.00 | 39.64 |

Figure 4: FedSEAM minus FedAvg on each task right after it is learned , with 500 and with 5,000 training samples per task.


Figure 5: Per-task scores of FedSEAM and FedAvg on Qwen3-4B with 5,000 training samples per task (client mean). (a) Score right after each task is learned. (b) Score of the model after the eighth task. The radial axis starts at 20.
Table 11: Metrics without NumGLUE-cm (500 samples per task; LA and OP over seven tasks, BWT over six). FedSEAM+R is reported for Llama-3.2-3B only.
| Method | Qwen3-4B | Llama-3.2-3B | ||||
|---|---|---|---|---|---|---|
| LA | OP | BWT | LA | OP | BWT | |
| Equal split | ||||||
| Local | 51.64 | 44.96 | -7.80 | 52.25 | 50.17 | -2.43 |
| FedAvg | 51.69 | 44.87 | -7.96 | 52.85 | 50.42 | -2.84 |
| FedSEAM | 51.67 | 45.02 | -7.76 | 52.27 | 49.85 | -2.83 |
| FedSEAM+R | - | - | - | 52.83 | 50.03 | -3.26 |
| Centr. | 57.76 | 48.36 | -10.97 | 55.24 | 48.47 | -7.90 |

Figure 6: Gain over local training on each task (500 samples per task, equal split, client mean). Top: right after the task is learned (). Bottom: at the end of the stream (). NumGLUE-cm accounts for most of the difference between the two merges.

Figure 7: Change of each task from right after learning it to the end of the stream (, 500 samples per task, equal split, client mean), tasks 1–7. Red is forgetting, blue is a gain.
Table 12: LA / OP / BWT of each client's model (500 samples per task).
| Setting | Method | client 0 | client 1 | client 2 | client 3 | client 4 |
|---|---|---|---|---|---|---|
| Qwen3-4B, equal | Local | 50.46 / 41.86 / -9.83 | 50.55 / 47.20 / -3.82 | 51.26 / 44.14 / -8.13 | 50.90 / 46.52 / -5.00 | 49.79 / 44.31 / -6.26 |
| FedAvg | 50.97 / 46.14 / -5.51 | 52.16 / 46.11 / -6.92 | 51.96 / 44.32 / -8.74 | 50.88 / 46.27 / -5.26 | 50.94 / 44.85 / -6.95 | |
| FedSEAM | 50.06 / 42.91 / -8.17 | 50.96 / 46.78 / -4.78 | 51.80 / 44.14 / -8.76 | 50.79 / 43.68 / -8.13 | 49.06 / 45.97 / -3.54 | |
| Llama-3.2-3B, equal | Local | 49.51 / 48.38 / -1.30 | 52.90 / 50.21 / -3.08 | 50.62 / 49.30 / -1.51 | 51.33 / 49.29 / -2.32 | 51.02 / 48.60 / -2.77 |
| FedAvg | 53.02 / 49.99 / -3.46 | 53.23 / 50.65 / -2.95 | 53.00 / 50.50 / -2.86 | 52.05 / 50.38 / -1.91 | 52.59 / 50.14 / -2.80 | |
| FedSEAM | 50.02 / 47.71 / -2.64 | 52.60 / 49.84 / -3.16 | 51.41 / 50.14 / -1.46 | 51.47 / 48.96 / -2.87 | 51.24 / 47.91 / -3.81 | |
| FedSEAM+R | 51.32 / 48.99 / -2.66 | 53.47 / 50.08 / -3.88 | 51.81 / 49.94 / -2.13 | 52.26 / 48.42 / -4.38 | 52.07 / 48.86 / -3.68 |
Table 13: NumGLUE-cm score of each client right after the task (, equal split).
| Method | c0 | c1 | c2 | c3 | c4 | |
|---|---|---|---|---|---|---|
| Qwen | Local | 42.31 | 41.03 | 44.87 | 48.05 | 39.74 |
| FedAvg | 47.44 | 51.28 | 53.85 | 46.15 | 47.44 | |
| FedSEAM | 41.03 | 42.31 | 47.44 | 47.44 | 34.62 | |
| Llama | Local | 32.05 | 50.00 | 43.59 | 48.72 | 39.74 |
| FedAvg | 51.28 | 53.85 | 50.00 | 55.13 | 51.28 | |
| FedSEAM | 38.46 | 51.28 | 42.31 | 50.00 | 42.31 | |
| FedSEAM+R | 43.59 | 53.85 | 43.59 | 52.56 | 44.87 |

Figure 8: NumGLUE-cm score of each client right after the task is learned (equal split).
Table 14: Server statistics for NumGLUE-cm (task 6), Llama-3.2-3B. Accepted tiles: range over the five clients of accepted tiles over all tiles of the task.
| Round | FedSEAM | FedSEAM+R | ||||
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 1 | 2 | 3 | |
| Bins | 1942 | 1942 | 1942 | 1946 | 1946 | 1946 |
| Private bins | 868 | 1067 | 1106 | 695 | 711 | 750 |
| 0.382 | 0.269 | 0.216 | 0.453 | 0.465 | 0.464 | |
| λ | 0.896 | 0.907 | 0.896 | 0.890 | 0.924 | 0.935 |
| Sign-test drops | 7038 | 8180 | 9288 | 6199 | 4527 | 4402 |
| Accepted tiles | 71–82% | 72–83% | 71–82% | 72–82% | 72–83% | 72–83% |
| Tile movement | 0.140 | 0.114 | 0.092 | 0.367 | 0.285 | 0.230 |
final-state comparison (after task 8)

Figure 9: LA and OP of every client's model (small markers) and the mean of each method (large markers; the Local mean is drawn hollow because it lies almost on the FedSEAM mean). The star is the centralized model.
FedSEAM
FedSEAM+R
FedSEAM, NG-cm alone
(a) per task (6 = NG-cm)

(b) agreed share, NG-cm
(c) private bins, NG-cm
(d) tile movement, NG-cm
Figure 10: Server aggregation on Llama-3.2-3B. (a) Share of a client's update that lies in the agreed subspace, , mean over the three rounds of each task. (b–d) The rounds of NumGLUE-cm (task 6): (b) agreed share, (c) share of bins left private, (d) median change the merge makes to a client's tile, relative to the tile. FedSEAM+R also averages the part of the update outside the agreed subspace.
Table 15: Per-task scores of the protection ablations, Llama-3.2-3B, clients 0–3.
| Configuration | Row | C-STANCE | FOMC | MeetingBank | Py150 | ScienceQA | NumGLUE-cm | NumGLUE-ds | 20Minuten |
|---|---|---|---|---|---|---|---|---|---|
| no protection | 49.25 | 65.50 | 37.00 | 43.56 | 81.00 | 42.31 | 45.25 | 39.48 | |
| 50.25 | 60.75 | 32.11 | 38.60 | 87.00 | 37.50 | 44.25 | 39.48 | ||
| gate freezing only | 49.00 | 66.00 | 36.89 | 43.41 | 80.50 | 43.27 | 45.25 | 39.49 | |
| 50.50 | 60.50 | 31.71 | 43.37 | 86.75 | 38.46 | 44.50 | 39.49 | ||
| FedSEAM | 49.00 | 65.25 | 39.75 | 46.17 | 81.00 | 45.51 | 44.75 | 39.58 | |
| 51.50 | 57.75 | 33.08 | 37.98 | 86.47 | 41.67 | 45.25 | 39.58 |
Table 16: Protection ablations on other client subsets (Llama-3.2-3B).
| Configuration | LA | OP | BWT |
|---|---|---|---|
| All five clients | |||
| FedSEAM | |||
| no protection | |||
| Clients 0–1 | |||
| FedSEAM | 51.31 | 48.77 | -2.90 |
| merge protection only | 51.19 | 48.16 | -3.46 |
| gate freezing only | 50.42 | 49.60 | -0.94 |
| no protection | 50.12 | 49.33 | -0.91 |
Table 17: Reference point of the client update on the server. Measuring updates from the start of the task instead of the start of the round changes no metric by more than 0.2 points.
| Backbone | Update reference | LA | OP | BWT |
|---|---|---|---|---|
| Qwen | start of the round | |||
| start of the task | ||||
| Llama | start of the round | |||
| start of the task |
Table 18: Four-task stream (C-STANCE, FOMC, MeetingBank, Py150), Qwen3-4B, five clients unless stated, and LA.
| Configuration | C-ST | FOMC | MB | Py150 | LA |
|---|---|---|---|---|---|
| FedAvg over tiles | 56.00 | 66.20 | 20.41 | 40.49 | 45.78 |
| FedSEAM (θ=0.7) | 56.80 | 66.00 | 20.35 | 41.48 | 46.16 |
| conflict threshold 0 | 56.60 | 66.00 | 20.32 | 41.92 | 46.21 |
| conflict threshold -0.3 | 56.60 | 66.00 | 20.47 | 41.18 | 46.06 |
| θ = 0.8 | 56.60 | 65.80 | 20.49 | 41.26 | 46.04 |
| no divergence term | 56.60 | 66.80 | 20.62 | 41.75 | 46.44 |
| absolute layer floor | 59.00 | 67.60 | 21.22 | 42.12 | 47.49 |
| labels written back | 59.40 | 67.40 | 21.38 | 43.39 | 47.89 |
| budget 12% | 55.20 | 66.60 | 20.01 | 40.79 | 45.65 |
| budget 25% | 63.20 | 67.80 | 21.43 | 45.36 | 49.45 |
| one round per task | 53.20 | 66.40 | 8.25 | 19.27 | 36.78 |
| 10 clients | 55.60 | 63.60 | 7.81 | 19.54 | 36.64 |
| FedAvg, 10 clients | 56.00 | 65.80 | 7.84 | 19.76 | 37.35 |
Table 19: Expert structure along the task stream. Own is the number of tiles in the task's own expert, Experts the number of experts present after the task, and Shared the number of tiles held by shared experts. Tasks are listed in the order used in this pass.
| t | task | direction-aware | positional | Own | ||||
|---|---|---|---|---|---|---|---|---|
| Own | Experts | Shared | Own | Experts | Shared | |||
| 1 | C-STANCE | 800 | 1 | 0 | 800 | 1 | 0 | 0 |
| 2 | FOMC | 473 | 3 | 351 | 500 | 3 | 327 | -27 |
| 3 | MeetingBank | 869 | 4 | 351 | 715 | 7 | 404 | +154 |
| 4 | ScienceQA | 649 | 9 | 657 | 601 | 13 | 746 | +48 |
| 5 | NumGLUE-cm | 753 | 12 | 657 | 614 | 21 | 860 | +139 |
| 6 | 20Minuten | 720 | 19 | 892 | 604 | 30 | 1173 | +116 |
| 7 | Py150 | 1003 | 24 | 892 | 689 | 48 | 1322 | +314 |
| 8 | NumGLUE-ds | 624 | 32 | 1127 | 555 | 68 | 1596 | +69 |
Table 20: Expert structure under the direction-aware split and sharing by position (structure-only pass, one client holding all data, Qwen3-4B, budget 12%).
| After the eighth task | Direction | Position |
|---|---|---|
| Mean tiles in own expert () | 727 | 611 |
| Experts present | 32 | 68 |
| Median expert size (tiles) | 51 | 21 |
| Tiles in shared experts | 1127 | 1596 |
| Total tiles held | 2933 | 2940 |