Manuscript Offprint
arXiv:2610.11033FedAlphaEdit: Null-Space-Aligned Merging for Collaborative Knowledge Editing
Abstract
Multiple institutions may each hold their own private knowledge edits and wish to integrate them into a single large language model without sharing raw edit requests. Null-space-constrained editing methods such as AlphaEdit mathematically guarantee that each update leaves unrelated knowledge intact, while collaborative frameworks such as CollabEdit aggregate edits from multiple clients without data sharing. Combining the two appears trivial. However, we show that this naive combination fails structurally, and we identify its cause. Guided by this analysis, we propose FedAlphaEdit. To our knowledge, this is the first collaborative knowledge editing framework that aligns both local editing and the server-side merging rule under a single null-space principle for preserving existing knowledge. FedAlphaEdit builds on null-space-aligned merging, in which clients share projected statistics and the server provably recovers the result of editing everything in one place under a one-shot idealization. Empirically, the proposed method repairs the collapse and brings edit success and preservation simultaneously close to the level of centralized editing across two architecture families. FedAlphaEdit thus lets institutions that cannot share raw edit data, such as hospitals and financial firms, jointly maintain a shared model that closely approximates editing all facts in one place.
1 Introduction
Large language models encode factual knowledge that becomes stale or wrong over time. Since retraining the entire model just to correct a few facts is not cost-effective, knowledge editing revises only the relevant facts directly. Locate-then-edit methods such as ROME and MEMIT compute closed-form updates to feed-forward weights for this purpose (Meng et al. 2022, 2023). Applying many edits in sequence, however, degrades unrelated knowledge and general abilities (Yao et al. 2023). AlphaEdit addresses this by projecting each update onto the null space of the keys of preserved knowledge, so that, for an exact null space, preserved associations are left unchanged by construction (Fang et al. 2025). This preservation guarantee holds within a single editing party, and what happens when the edits of several clients are merged has not been examined.
In practice, institutions such as hospitals correcting clinical knowledge and financial firms applying regulatory updates are routinely barred from sharing raw edit requests, yet each needs its own edits reflected in a shared model, so the edits of several institutions must be consolidated without exchanging raw edit requests (Zheng et al. 2025; McMahan et al. 2017). Keeping edit requests local is a data-locality property and is not by itself a privacy guarantee, a distinction we return to in Section 5. CollabEdit formalizes this collaborative setting and introduces a covariance-weighted merging rule that closely mimics applying all edits centrally, while communicating only key statistics (Zheng et al. 2025).
Since AlphaEdit is plug-and-play, and CollabEdit both derives its merge without reference to the internal structure of the editor and is presented as general enough to integrate other KE methods (Zheng et al. 2025), combining them looks natural. We show that this naive combination fails structurally. The difference from AlphaEdit itself is the following. AlphaEdit constrains a single editor's update locally, whereas our contribution is to align the server-side merging rule with the same null-space principle, and Lemmas 2 and 4 prove that the local constraint alone does not survive a covariance-weighted merge.
Under an identical evaluation pipeline, the naive combination degrades along two axes at once (Table 1). First, preservation breaks, as accuracy on knowledge neighboring the edited facts (neighborhood specificity) drops by 4.2 points, even though each client's update satisfies the null-space constraint almost perfectly, while merging pushes up to of the merged update outside the null space. Second, and unexpectedly, editing itself breaks, as edit success falls by 17.4 points. Both degradations grow monotonically with the number of clients at a fixed total edit budget, and vanish by definition at (Figure 1). This is a degradation specific to the collaborative scale, absent from any centralized configuration.
| Centralized | Naive | Δ | |
|---|---|---|---|
| ES | 97.08 | 79.69 ± 0.88 | -17.39 |
| NS | 64.43 | 60.24 ± 0.11 | -4.19 |
| oons | ≈3×10-4%(floor) | 14.0–14.1% | — |
Table 1: Naive combination versus the centralized reference on GPT-2 XL (MCF, 5000 edits, ). Centralized is a single deterministic run; Naive is three-seed mean±SD. Metric definitions are in Sections 4.1 and 3.5.

Figure 1: The naive combination and FedAlphaEdit as the same total workload (5000 edits) is partitioned across a growing number of clients N: neighborhood specificity (left), edit success (middle), and oons (right; the FedAlphaEdit series is at the measurement floor throughout). Dashed lines mark the centralized reference (64.43 and 97.08). All points are three-seed mean±SD. The per-client edit count co-varies with N (Section 4.2).
These two failures share a single cause. CollabEdit's merge weights exactly cancel the MEMIT-type normalizer (Lemma 4(a)), but AlphaEdit's normalizer has a different structure, so the cancellation no longer holds and both axes collapse. Guided by this analysis, we derive, in the collaborative setting, an AlphaEdit analogue of the cancellation identity. If each client shares a projected covariance statistic and the server merges with the matching weights, the aggregate recovers global AlphaEdit editing exactly (Theorem 1, equations (5)–(6)), in the one-shot regime of a single solve per client; under genuine sequential editing the identity holds only approximately, and we quantify the resulting drift empirically. The communicated object is a covariance statistic of the same class as CollabEdit's, so no raw keys are shared. We call this null-space-aligned merging. Empirically, it restores neighborhood specificity to the centralized level and oons to the measurement floor, and closes most of the edit-success gap on both GPT-2 XL and Qwen2.5-1.5B. In summary, we contribute:
• A phenomenon. We identify and quantify a double collapse, of both editing and preservation, when null-space-constrained edits are merged by a covariance-weighted rule. The collapse is specific to the federated setting, growing monotonically with the number of clients, whether the total edit budget or the per-client edit count is held fixed, and vanishing at a single client.
• A mechanism. An algebraic account of why the naive combination must break, independent of architecture.
• A method. FedAlphaEdit, based on null-space-aligned merging, which aggregates projected statistics and comes with a one-shot exactness theorem, and contains CollabEdit's merge as its instance (Proposition 5).
2.1 Locate-then-Edit Knowledge Editing and Sequential Degradation
ROME and MEMIT established locate-then-edit knowledge editing, computing closed-form, batched updates to feedforward weights (Meng et al. 2022, 2023). A recurring finding is that applying edits in sequence gradually degrades unrelated knowledge and general language ability (Yao et al. 2023). AlphaEdit mitigates this by constraining each update to the null space of the preserved-knowledge keys, giving a preservation guarantee under an exact null space (Fang et al. 2025). Because the null space is estimated from a finite key sample, the projector is only approximate; BetaEdit quantifies the resulting leakage and its accumulation under sequential editing in the single-user setting (Liu, Liu, and Li 2026). EvoEdit and LOKI carry null-space constraints further along this sequential axis, via an evolving null space and memory-free lifelong editing respectively (Lyu et al. 2026; Eskandar et al. 2026). All of this work operates along the time axis, successive edits to a single model, and treats an approximate, inherited leak.
2.2 Collaborative and Federated Knowledge Editing
CollabEdit formalizes collaborative knowledge editing and proposes a non-destructive, covariance-weighted merge that mimics centralized global editing while sharing only key statistics rather than raw edit requests (Zheng et al. 2025; McMahan et al. 2017). Its non-destructiveness, however, rests on an exact cancellation with the MEMIT-type normalizer (Lemma 4, by our analysis); this cancellation is editor-dependent, and CollabEdit's behavior when combined with a null-space-constrained editor has not been examined. We show in Proposition 5 that CollabEdit's merge is the instance of the merge rule we derive. Federated locate-then-edit work such as FedLEKE targets communication and computation efficiency rather than preservation (Zhao et al. 2025). Its retrieval-based federation is orthogonal to the covariance-weighted merge structure we analyze. We include a reimplementation as a reference row (Table 2). To our knowledge, FedAlphaEdit is the first collaborative knowledge editing framework that aligns both local editing and the server-side merging rule under a single null-space preservation principle. Task-vector merging methods such as
Task Arithmetic and TIES-Merging study interference as a loss of task performance (Ilharco et al. 2023; Yadav et al. 2023), and null-space projections have also been applied at the merge stage for task-vector and LoRA fusion (Qiu et al. 2026, 2025). Neither line addresses our setting, in which closed-form updates derived from key covariances carry a preservation guarantee that must survive aggregation.
3 Method
We first diagnose the failure (Sections 3.2–3.4), then derive the fix, null-space-aligned merging, an exact merge rule stated as Theorem 1 and implemented in Algorithm 1 (Section 3.5).
3.1 Preliminaries and Notation
Let be the edited feed-forward (down-projection) weight, and let and collect the keys and values of preserved knowledge, with before editing. The AlphaEdit projector is constructed from the eigendecomposition of . Collecting the eigenvectors whose eigenvalues fall below a threshold (specified in Section 4.1) gives , which is symmetric and idempotent ( , ). In the idealized case exactly, while in the realistic (approximate) case . Preservation means , equivalently .
For clients , let and be the edit keys and target values, and write for the symmetric positive semidefinite second-moment matrix accumulates a client's own prior edits). Each client's AlphaEdit update is , with residual and ridge . Each client sends its local update to the server, which consolidates them into a single update to the shared model. CollabEdit performs this consolidation with a covariance-weighted merge, which we write in the abstract form
where and , so (a matrix-valued weighted average). The released CollabEdit implementation regularizes this merge with a shared base covariance ( a scalar update weight, a shared second-moment matrix; values in Appendix B), so that the merge weights become , with added to both the per-client covariance and the total . Because is added to each client's weight but only once to the total, a surplus arises whose consequence for edit success is analyzed in Section 3.4.
3.2 A Right-Projected Form of the Update
Lemma 1 (Right-projected form). The AlphaEdit update admits the factorization for some .
The proof, an elementary consequence of the symmetry and idempotency of , is in Appendix A. In particular, whenever . Since only the symmetry and positive semidefiniteness of are used, the factorization survives cross-round accumulation of .
3.3 Merging Breaks Preservation
Lemma 2 (Merging breaks null-space preservation). Let with , and let the server form the merged update of the naive combination, , with (Section 3.1), , and invertible. Then
where . In particular, although every client update exactly preserves , the merged update is no longer guaranteed to do so. Commutation of every merge weight with makes every term of (2) vanish and is thus sufficient for preservation. When some fails to commute with , preservation generically fails, because the surviving terms could cancel across clients only through a coincidence among the private , which depend on each client's private edit content.
Proof. , and for each term since .
The proof of (2) makes no use of the specific form of the merge weights, so the identity holds verbatim for arbitrary , including the regularized weights of the released implementation (Appendix B).
Lemma 2' (Approximate case). Under ,
where the inherited term is bounded by , whereas each client's own leakage involves no structural term. The distinctive evidence of a structural leak is oons (Section 3.5).
The structural term exists only because there is a merge step, and is thus absent by definition from centralized and single-user editing. The inherited term is the single-user approximate-null-space leak, carried through the merge weights.
Proposition 3 (When preservation survives). Preservation holds, i.e. , if the merge weights are scalar ( ), in particular for simple averaging .
Proof. For scalar weights , so (2) vanishes.
The commuting condition also identifies the driver of the failure. If every client’s edit-key covariance is free of cross-covariance between the preserved subspace and its orthogonal complement, every merge weight commutes with and preservation holds. In practice this sufficient condition is rarely available. Under an approximate null space the preserved-key second moment is full-rank, so edit keys typically correlate with the preserved statistics and cross-covariance is generically present. The condition is then lost in general and preservation fails. Moreover, is shared, so a single client’s cross-covariance corrupts every merge weight. Empirically, the merged update places up to 14% of its norm share outside the null space (Section 4.2).
3.4 The Cancellation Identity and the Edit-Success Collapse
The loss of specificity above is only half the phenomenon; the collapse of edit success has the same algebraic root.
Lemma 4 (Cancellation identity and its breaking). (a) MEMIT. For MEMIT-type updates , the CollabEdit weights cancel exactly, , so that exactly, under the same one-shot, common-state evaluation as Theorem 1. (b) AlphaEdit. The root cause is that AlphaEdit's normalizer has a different structure from , so the CollabEdit weights do not cancel and an error remains. It decomposes as
the first being the out-of-null-space leak measured by oons (loss of specificity) and the second a distortion of the edit within (the collapse of edit success).
Because this mismatch is structural rather than a matter of the value of , re-tuning cannot restore the cancellation identity in general. Since enters each of the N per-client terms but only once in the global normalizer, the summed normalizers exceed the latter by , amplifying the distortion as N grows. At the weights reduce to the identity and the distortion is exactly zero. Varying the shared-covariance weight by a factor of two in either direction does not resolve the collapse in edit success or specificity (Table 7 in Appendix C).
Thus the observed edit-success drop and the null-space leak are not two independent bugs but the - and -components of a single broken identity.
3.5 Null-Space-Aligned Merging
The commutativity of Lemma 1 supplies an AlphaEdit analogue of the cancellation identity, and hence a merge that is exact and that, by Proposition 5, contains CollabEdit's merge as a special case.
Theorem 1 (Exactness of null-space-aligned merging). Suppose each client computes its AlphaEdit update with a single solve and shares the projected statistic . Let
Then exactly, where is global AlphaEdit editing applied to the pooled edits. Moreover , so the merge introduces no out-of-null-space component. Preservation is exact whenever , and under an approximate null space ( ) the merged leakage coincides with that of centralized editing, containing the inherited term of Lemma 2' only and no structural term.
Algorithm 1 Null-space-aligned merging, implementing the core merge rule (6) (one-shot regime)
Pre-shared: projector , ridge
Received from each client : update , projected statistic
Output: merged update
1: each client in parallel:
2: compute
3: send and the projected statistic
4: server:
5:
6:
7: return
Proof sketch. By Lemma 1, each per-client normalizer cancels against its own inverse once commutes through, and the same commutation applied to assembles the pooled global solve. The full proof is in Appendix A.
Algorithm 1 states the procedure of (5)–(6). The ridge must enter exactly once. Adding it per client would reproduce the same over-counting structure as the surplus of Section 3.4, with the ridge in place of the shared covariance. Appendix C reports a unit test that detects exactly this misconfiguration.
Scope of the exactness claim. Theorem 1 holds under a one-shot idealization: one solve per client, a shared projector , each client's accumulated prior-edit second moment summing to the global prior-edit second moment (in the single-round setting both are zero), and, crucially, all key statistics ( and ) evaluated at a common model state (single-layer editing, or when inter-layer state divergence is negligible). Under multi-layer sequential editing, per-client edits to lower layers shift the hidden states from which higher-layer keys are computed, so the per-client and diverge from their global counterparts and exactness breaks; we quantify the resulting drift empirically, including a layer-wise operator-divergence diagnostic. No assumption on how the edits are distributed across clients enters the premises of Theorem 1, so under the one-shot, common-state idealization the exact equivalence holds for any partition, including non-IID and imbalanced ones. The partition can affect the result only through violations of these premises, namely the inter-layer state divergence of multi-layer sequential editing and the batch-dependent key statistics of Section 4.6.
Proposition 5 (Editor-matched merging and the instance). Theorem 1 and Lemma 1 hold verbatim when the ridge is replaced by any symmetric positive definite with , since the proofs use only this commutation (Appendix A). Take (no null-space constraint), , and the single-round second moment . Then the per-client update becomes the MEMIT update , the normalizers become and , and (6) reduces to , which is exactly the merge of the released CollabEdit implementation (Appendix B); the conclusion of Theorem 1 reduces to Lemma 4(a). CollabEdit is therefore the instance of the same editor-matched merge rule, and the naive combination fails precisely because it keeps the weights while the editor's normalizer has .
Communication and privacy. Beyond , clients share only , a statistic of the same class as CollabEdit's key-covariance sharing; no raw keys are transmitted. In fp32 this statistic occupies 163.8 MB per edited layer for GPT-2 XL, so each client sends 819.2 MB per round over the five edited layers, and about 1.6 GB for Qwen2.5-1.5B (Appendix C).
From theory to measurement. We close by fixing the correspondence between the algebra above and the reported metrics. The out-of-null-space fraction (oons), the scale-normalized share of the update outside averaged over the five edited layers, is per layer and corresponds to the (structural) component of Lemma 4(b) and hence to loss of specificity, while edit-success loss corresponds to the component. Being a ratio of Frobenius norms, oons is a norm share and not a ratio of squared norms, and it is reported in percent throughout. We report oons rather than an unnormalized leakage norm because the latter is dominated by the overall update magnitude rather than by structural leakage.
4 Experiments
The main results (Sections 4.2–4.5) are measured in the single-round multi-layer regime, where the common-state premise of Theorem 1 does not hold exactly; Section 4.6 isolates the consequence.
4.1 Experimental Setup
Internal-contrast principle. Two baselines anchor every table: centralized AlphaEdit (the centralized reference), and the naive combination of per-client AlphaEdit with CollabEdit merging.
Models and hyperparameters. We evaluate two architecture families. GPT-2 XL (1.5B) is our primary model, editing the c_proj weights of layers 13–17, with second-moment update weight and AlphaEdit ridge . Qwen2.5-1.5B Base is a second family for assessing generality, editing down_proj (input dimension 8960) of layers 4–8, with and (remaining hyperparameters in Appendix C). Both use null-space threshold 0.02, following the released AlphaEdit implementation. Two symbols recur below. is the AlphaEdit ridge added to the normalizer in Section 3.1; the released code names the same parameter L2, and the two are one parameter. is CollabEdit's dynamic covariance term, an optional statistic accumulated across rounds; it is fixed to 0 throughout this work (Appendix C).
Data and configuration. Our primary dataset is the MultiCounterFact (MCF) benchmark: 5000 edits (10 clients × 500) on both GPT-2 XL and Qwen, in the single-round configuration with . To test generality across datasets we additionally use zsRE, reported separately. Seeds are the client case-assignment randomness (IID sharding); the naive combination, FedAlphaEdit, and the four ablation arms use three seeds (reported as mean ± SD).
Metrics. We report edit success (ES), the fraction of edits for which the model produces the target answer, and neighborhood specificity (NS), the fraction of neighborhood prompts on which the model retains its pre-edit answer, from the standard MCF evaluation, together with GLUE over six tasks and OONS.
The oons floor. Storing in fp32 limits its idempotency to (that is, as a fraction), which we take as the oons measurement floor, so a floor-level oons means the constraint is met to within measurement precision rather than zero leakage.
Reproducibility and environment. Every experiment runs on a single NVIDIA GeForce RTX 3070 Ti (8 GB) under a 7.4 GB hard VRAM cap. Full experimental details are in Appendix C. Code for the proposed method, the centralized and naive baselines, the merge ablations, and the Theorem 1 unit test is available at https://github.com/soutasuga/FedAlphaEdit; the remaining components are available from the authors upon request.
4.2 The Naive Combination Breaks Both Axes
Sections 3.3 and 3.4 predict that covariance-weighted merging of null-space-constrained edits degrades both preservation and editing, and Table 1 confirms both failures on GPT-2 XL, where the naive combination loses 17.39 points of edit success and 4.19 of neighborhood specificity relative to the centralized reference.
Structural leakage. Each client’s update stays at the oons floor, yet the merged update places 14.0–14.1% of its norm share outside the null space, the empirical signature of the commutator term of Lemma 2.
Scaling. The degradation amplifies monotonically with the client count N. Figure 1 varies N at a fixed total budget: NS drops by points relative to the centralized reference at N = 2, 5, 10, edit success falls , and oons rises ; at N = 1 the merge weights are the identity and the degradation vanishes, matching the N = 1 boundary of Lemma 4. Along the round axis, where the total edit count co-varies with R (1000/3000/5000), the degradation shows an increasing trend, pronounced at five rounds (NS drop 0.32/0.35/1.69). Confound. In this fixed-budget series the per-client edit count co-varies with N. A control series holding the per-client count at 500 while N grows shows the same monotone degradation on all three metrics (ES , three-seed mean, N=10 shared between the two series, Table 5 in Appendix C). The total edit count co-varies with N in this control, in the opposite direction to the fixed-budget confound. Under either fixed condition the degradation persists with N. A centralized baseline editing the same case sets declines only from 99.80 to 99.24 to 97.08 across the same totals (Table 5). The naive gap at matched total edit counts is indistinguishable at N = 2 (within seed variation) and grows to 4.21 and 17.39 points at N = 5, 10, beyond what sequential degradation alone accounts for.
| ES | NS | OONS | |
|---|---|---|---|
| Centralized AlphaEdit | 97.08 | 64.43 | (floor) |
| Centralized MEMIT | 90.80 | 64.42 | 26.6% |
| CollabEdit (MEMIT) | 90.75 ± 0.03 | 64.34 ± 0.13 | 26.5 ± 0.05% |
| FedLEKE (our reimplementation) | 87.74 ± 0.51 | 66.78 ± 0.54 | 23.98 ± 0.02% |
| Naive (AlphaEdit + CollabEdit) | 79.69 ± 0.88 | 60.24 ± 0.11 | 14.0–14.1% |
| CollabEdit (MEMIT) + null-space projection | 82.45 ± 0.06 | 71.90 ± 0.03 | (floor) |
| Simple average (AlphaEdit clients) | 31.23 ± 0.22 | 77.16 ± 0.17 | (floor) |
| Unnormalized sum (AlphaEdit clients, ) | 51.17 ± 0.27 | 51.07 ± 0.29 | (floor) |
| FedAlphaEdit (ours) | 94.67 ± 0.18 | 66.38 ± 0.19 | 3.21 × 10 (floor) |
| FedAlphaEdit (five rounds) | 95.37 ± 0.08 | 65.06 ± 0.04 | (floor) |
Table 2: FedAlphaEdit against the centralized reference and the naive combination on GPT-2 XL (MCF). All rows edit the same 5,000 facts, single-round except the five-round variant and the FedLEKE reimplementation (ten time slots). Centralized rows are single deterministic runs; all client-partitioned rows are three-seed mean±SD. NS is bounded above by the unedited model, which by construction attains NS = 100, so a higher NS at a collapsed ES indicates weaker editing rather than better preservation, as the simple-average row illustrates. The simple-average and unnormalized-sum rows are the scalar merges with and .
4.3 Null-Space-Aligned Merging Recovers Preservation, and Most of Editing
Theorem 1 predicts that sharing projected statistics restores global AlphaEdit editing exactly in the one-shot regime; this section measures how much of that exactness survives genuine multi-layer sequential editing. Table 2 contrasts centralized AlphaEdit, the naive combination, and FedAlphaEdit (three seeds). FedAlphaEdit restores neighborhood specificity to the centralized level and oons to the measurement floor, and closes most of the edit-success gap. It returns oons to the floor and lifts neighborhood specificity to , which is 1.95 points above the centralized reference. The floor-level oons is enforced by construction, since every merged term carries a trailing , so the measurement verifies that the implementation realizes the identity under genuine sequential editing, while the behavioral evidence for preservation rests on neighborhood specificity, GLUE, and zsRE. Editing is largely but not fully recovered: the edit success of FedAlphaEdit, , stands 2.41 points below the centralized reference, against the naive gap of 17.39 points. By contrast with the naive collapse, the proposed series declines by only 1.28 points in edit success from to (the same -axis confound of Section 4.2 applies), against 14.11 for the naive combination over that range in Figure 1, while its oons stays at the measurement floor for every .
The 2.41-point residual is analyzed in Section 4.6.
Generality (Qwen). Both the degradation and its recovery reproduce on a second architecture family, Qwen2.5-1.5B (Table 3). At a scale matched to GPT-2 XL , the naive combination degrades on both axes, with an edit-success gap of 4.75 points and oons at , and the proposed method restores both axes toward the centralized level. The residual in edit success left by the proposed method is 1.88 points, the same direction as the 2.41-point residual on GPT-2 XL, consistent with a scale-driven origin.
| Qwen2.5-1.5B | ES | NS |
|---|---|---|
| Centralized | 98.28 | 73.32 |
| Naive | 93.53 ± 0.58 | 71.84 ± 0.75 |
| FedAlphaEdit | 96.40 ± 0.27 | 74.32 ± 0.16 |
Table 3: Generality on Qwen2.5-1.5B (MCF, 10 clients × 500 edits). Centralized is a single deterministic run; Naive and FedAlphaEdit are three-seed mean±SD.
4.4 Ablation: Both Constraints Are Necessary
Recovery requires both the local null-space constraint and the aligned merge. Table 2 reports the four ablation arms over three seeds. The merge-only and the two scalar-merge arms keep oons at the floor by construction of their right-projected or scalar merges, so the discriminating axes are ES and NS. Merge-only, the “CollabEdit (MEMIT) + null-space projection” row of Table 2. In this arm each client solves with MEMIT without a local projection, and the server right-multiplies the covariance-weighted merge by . Contrary to our expectation that this arm would preserve less than FedAlphaEdit, the outcome is an edit-specificity trade-off, with the merge-only arm above FedAlphaEdit on neighborhood specificity but 12.22 points below on edit success, so a merge-side constraint alone suffices for specificity but not for editing, and the necessity of both constraints shows in the simultaneous attainment of the two, which only FedAlphaEdit achieves. Scalar merges (Proposition 3). Every scalar merge keeps oons at the floor by construction, but no recovers editing: the 1/N average collapses edit success to 31.23, the unnormalized sum ( ) to 51.17 with neighborhood specificity falling to 51.07, and the intermediate reaches only 55.16 (Table 8 in Appendix C). Edit success stays at least 39 points below FedAlphaEdit at every , so the recovery rests on the matrix-valued weights of Theorem 1 rather than on the scalar scale of the merged update. Five
| zsRE | Centralized | Naive | FedAlphaEdit |
|---|---|---|---|
| GPT-2 XL | |||
| Rewrite acc | 89.40 | 66.43 ± 1.27 | 89.40 ± 0.41 |
| Paraphrase acc | 81.20 | 62.22 ± 0.39 | 81.60 ± 0.16 |
| Neighborhood acc | 24.98 | 23.72 ± 0.26 | 25.12 ± 0.11 |
| oons | 3.17×10-4%(floor) | 15.75 ± 0.04% | 3.17×10-4%(floor) |
| Qwen2.5-1.5B | |||
| Rewrite acc | 90.77 | 77.54 ± 0.88 | 90.37 ± 0.17 |
| Paraphrase acc | 85.14 | 75.19 ± 1.33 | 85.88 ± 0.07 |
| Neighborhood acc | 41.26 | 41.00 ± 0.57 | 42.31 ± 0.58 |
| oons | 3.83×10-4%(floor) | 17.10 ± 0.13% | 3.83×10-4%(floor) |
Table 4: Dataset generality on zsRE (each 10 clients × 200 edits, single round). Naive and FedAlphaEdit are three-seed mean±SD; Centralized is a single run; oons of order is the measurement floor. zsRE accuracies are first-token exact-match ( ); oons is a weight-space five-layer mean. No numerical comparison with MCF or between the two model families is intended.
rounds. As predicted, FedAlphaEdit holds its single-round level across rounds, in contrast with the naive round-axis amplification. In the multi-round regime each client accumulates only its own prior edits in , so the bookkeeping premise of Theorem 1, client prior second moments summing to the global one, no longer holds. The five-round arm is therefore a robustness check outside the guarantee rather than an instance of it.
4.5 Generality beyond MCF: zsRE
To confirm the phenomenon and its repair are not specific to MCF, we repeated the contrast on zsRE under direction predictions committed before the runs. On both GPT-2 XL and Qwen2.5-1.5B the naive combination reproduced the structural leak and collapse while null-space-aligned merging restored every metric to, or within 0.4 points of, the centralized level (Table 4). All zsRE evaluations use a common fp32 evaluation path within each model family (Appendix C). Differences below the measurement resolution are reported as unresolvable, with the near-tie calibration behind this bound defined in Appendix C. On Qwen×zsRE the naive combination's behavioral neighborhood degradation is not resolvable (-0.26 points, below both the seed SD and the near-tie sensitivity band), although the structural leak itself reproduces clearly.
4.6 Diagnostics
Residual to the centralized reference. The 2.41-point residual is consistent across all three seeds (94.88, 94.54, 94.60; SD 0.18). We attribute this residual to the layer-wise state divergence that the one-shot idealization excludes, with supporting diagnostics in Appendix C. A single-layer control isolates the cause. Editing layer 17 alone, so that the common-state premise is met up to the batch dependence of the bf16 forward pass, the relative weight-space deviation falls from 0.4547 to 0.0176, and the behavioral metrics coincide within the run-to-run variation of the centralized reference (edit success within 0.10 points, NS identical). The remaining deviation of 0.0176 is not located in the merge identity but in the operator inputs: the relative difference between the merged normalizer and the normalizer of the pooled centralized solve, , is 0.0063 in this control, and since with the ridge cancelling, this difference lives entirely in the key statistics. Both arms of the control use the same edit requests, the same fixed context templates, and the same cached target hidden states, so the only difference between them is the batch composition under which the keys are computed, and the batch dependence of the key statistics in the bf16 forward pass is where the residual resides.
A natural concern is that exceeding the centralized reference on neighborhood specificity while falling short on edit success is the signature of an edit that writes less. Four observations argue otherwise. First, FedAlphaEdit keeps oons at the measurement floor, so preservation is upheld by the null-space constraint itself, and the 1.95-point NS gain over centralized AlphaEdit is not an artifact of unmeasured leakage. Second, genuine under-editing is visible in the simple-average ablation (Section 4.4, Table 2), whose edit success collapses at an elevated neighborhood specificity. By contrast, FedAlphaEdit operates in a qualitatively different regime in which the editing function is substantially retained. Third, the residual is not a deliberate reduction of edit magnitude. Its error decomposes (Appendix C) entirely inside range( ), the subspace the editor writes into, with the orthogonal component at the oons floor, so the 2.41-point shortfall is a directional distortion introduced by layer-wise state divergence rather than a uniform shrinkage of the edits. Fourth, as a supportive, non-binding observation, general ability points the same way. Under globally weakened editing GLUE would drift toward the base level, as it does for the naive combination (Section 4.2), whereas FedAlphaEdit reproduces the centralized level (0.3732 versus 0.3728, Table 6 in Appendix C). These observations are inconsistent with uniform shrinkage and with unmeasured leakage. Excluding a per-edit trade-off within the projected subspace entirely would require edit-level analysis, which we leave open.
Prior-method reference (MEMIT). The MEMIT control and Centralized MEMIT rows of Table 2 agree to within seed-level variation, consistent with the cancellation identity of Lemma 4(a). The FedLEKE row of Table 2 is our reimplementation from the paper description (gate threshold estimated by us, and not evaluated on GPT-2 XL or MCF by the original) and is a reference under our internal-contrast pipeline rather than a claim about the original system; its oons of 23.98% reflects the absence of a null-space constraint rather than the breaking of one.
5 Limitations
• Idealization of Theorem 1. Exactness assumes a one-shot solve and all key statistics at a common model state; under multi-layer sequential editing the identity holds only approximately, and we disclose the measured drift (Appendix C). Even in the single-layer control, where the common-state premise is met up to the batch dependence of the bf16 forward pass, a weight-space deviation of 0.0176 remains and is located in the operator inputs rather than in the merge identity (Section 4.6).
• Edit-success residual on GPT-2 XL. The proposed method leaves a 2.41-point residual to the centralized reference in edit success. We attribute this to the layer-wise state divergence that Theorem 1 explicitly excludes, and a protocol that evaluates key statistics at a common model state is left to future work. At the matched scale ( ), both the naive amplification and a residual of the proposed method reproduce on Qwen, which partially disentangles the confound with per-client edit count, while confounds with model scale and edit-layer depth remain.
• Scale. We study two 1.5B-parameter families under a single-GPU budget; larger models, non-IID sharding for the proposed method (Theorem 1 itself is partition-independent, Section 3.5), imbalanced or conflicting edits across clients, and client dropout are left to future work. The shared statistic is a dense matrix per edited layer, a substantial communication footprint (quantified in Appendix C), and low-rank or sketched compression is untested. The magnitude of the naive collapse itself varies across architectures (17.39 points on GPT-2 XL versus 4.75 on Qwen), and isolating the contributions of layer depth, key dimension, and to this difference is left to future work.
• Shared projector. Theorem 1 assumes a single projector shared by all clients, constructed here from common Wikipedia statistics. This is natural when clients hold similar preservation requirements, as with several hospitals maintaining one clinical model, but how clients with heterogeneous preservation requirements would agree on a shared projector, and whether a projector built from public statistics covers each client's private requirements, are left open.
• Privacy. Sharing the projected covariance statistic avoids transmitting raw keys but is not by itself a privacy guarantee. When a client holds few edits the statistic is low-rank, and the projected key directions can be recovered from it up to sign, with potentially revealing further information about the residuals. The protocol further assumes an honest-but-curious server and defines no formal threat model. The server needs only two sums, , which equals by Lemma 1, and , and each summand is computable locally by its client, so the dense-matrix form is in principle compatible with additive secure aggregation, although we have neither implemented nor evaluated it. The factorized transmission of described in Appendix C lacks this property, because the server must form from each client's individual factor. Reconstruction-attack evaluation, secure aggregation, and differentially private transmission are left to future work.
6 Conclusion
We showed that naively merging null-space-constrained edits from independent clients fails structurally, with editing and preservation collapsing at once because the covariance-weighted merge is incompatible with AlphaEdit's projected normalizer. Guided by this analysis, FedAlphaEdit has clients share projected statistics and provably recovers global AlphaEdit editing in the one-shot regime; under genuine sequential editing the recovery is approximate, with the drift disclosed. Empirically it restores neighborhood specificity to the centralized level and oons to the measurement floor, and closes most of the edit-success gap on both architecture families, with the small remaining residual attributed to the layer-wise state divergence that the idealization of Theorem 1 excludes.
References
Eskandar, M.; Sirera Perelló, M.; Ioannidis, S.; and Dy, J. 2026. LOKI: Memory-Free Null-Space Constrained Lifelong Knowledge Editing. arXiv:2606.19679.
Fang, J.; Jiang, H.; Wang, K.; Ma, Y.; Shi, J.; Wang, X.; He, X.; and Chua, T.-S. 2025. AlphaEdit: Null-Space Constrained Knowledge Editing for Language Models. In International Conference on Learning Representations (ICLR).
Ilharco, G.; Ribeiro, M. T.; Wortsman, M.; Gururangan, S.; Schmidt, L.; Hajishirzi, H.; and Farhadi, A. 2023. Editing Models with Task Arithmetic. In International Conference on Learning Representations (ICLR).
Liu, B.; Liu, W.; and Li, Y. 2026. BetaEdit: Null-Space Constrained Sequential Model Editing. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI).
Lyu, S.; Gu, Y.; Wang, X.; Huang, J.; Luan, S.; Cui, Y.; Chang, X.-W.; and Lu, P. 2026. EvoEdit: Evolving Null-space Alignment for Robust and Efficient Knowledge Editing. In Findings of the Association for Computational Linguistics: ACL 2026.
McMahan, B.; Moore, E.; Ramage, D.; Hampson, S.; and Agüera y Arcas, B. 2017. Communication-Efficient Learning of Deep Networks from Decentralized Data. In Proceedings of the International Conference on Artificial Intelligence and Statistics (AISTATS), 1273–1282.
Meng, K.; Bau, D.; Andonian, A.; and Belinkov, Y. 2022. Locating and Editing Factual Associations in GPT. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, 17359–17372.
Meng, K.; Sharma, A. S.; Andonian, A.; Belinkov, Y.; and Bau, D. 2023. Mass-Editing Memory in a Transformer. In International Conference on Learning Representations (ICLR).
Qiu, Z.; Wang, L.; Cao, Y.; Zhang, R.; Su, B.; Xu, Y.; Meng, F.; Xu, L.; Wu, Q.; and Li, H. 2026. Null-Space Filtering for Data-Free Continual Model Merging: Preserving Stability, Promoting Plasticity. In International Conference on Learning Representations (ICLR).
Qiu, Z.; Xu, Y.; He, C.; Meng, F.; Xu, L.; Wu, Q.; and Li, H. 2025. MINGLE: Mixture of Null-Space Gated Low-Rank Experts for Test-Time Continual Model Merging. In Advances in Neural Information Processing Systems (NeurIPS).
Yadav, P.; Tam, D.; Choshen, L.; Raffel, C.; and Bansal, M. 2023. TIES-Merging: Resolving Interference When Merging Models. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 7093–7115.
Yao, Y.; Wang, P.; Tian, B.; Cheng, S.; Li, Z.; Deng, S.; Chen, H.; and Zhang, N. 2023. Editing Large Language Models: Problems, Methods, and Opportunities. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 10222–10240.
Zhao, Z.; Xu, G.; Li, X.; Wei, K.; and Zhong, J. 2025. FedLEKE: Federated Locate-then-Edit Knowledge Editing. In Findings of the Association for Computational Linguistics: ACL 2025, 14247–14258.
Zheng, J.; Zhang, J.; Du, T.; Zhang, X.; Yin, J.; and Lin, T. 2025. CollabEdit: Towards Non-destructive Collaborative Knowledge Editing. In International Conference on Learning Representations (ICLR).
A Proofs
Proof of Lemma 1. Since and , we have . Both and are invertible (the nonzero spectra of and coincide, so both shifts by are invertible for ); multiplying on the right by and on the left by gives . Hence .
Proof of Theorem 1. By Lemma 1, (commuting through the inverse, the inverse and the normalizer cancel). Summing, . Since has the form , it commutes with as in Lemma 1, so , and
the last equality being global AlphaEdit editing with pooled residual and normalizer . Right-multiplication by annihilates the trailing , giving exact preservation. Since the identity holds irrespective of the value of , the merged leakage coincides with the centralized leakage for every , containing no structural term.
Remark (general regularizer, Proposition 5). If is replaced by a symmetric positive definite with , the identity in the proof of Lemma 1 follows from this commutation alone. Invertibility follows from the decomposition . Under it is block diagonal and is block lower triangular, with diagonal blocks and , restricted to the respective subspaces and both positive definite. The same commutation gives in the proof of Theorem 1, so both proofs carry over verbatim.
B Released Implementation Form and Notation Reconciliation
For the theory-to-implementation cross-check, the per-layer expression synthesized by the released code (CPU, float64) is
(7)
where is the released solve operator ( the AlphaEdit ridge; in the single-round setting), the second-moment update weight ( for GPT-2 XL and for Qwen2.5-1.5B, distinct from ), and the shared Wikipedia second-moment (sample-normalized). The correspondence to equation (1) is and ; the released weighting uses the regularized numerator and denominator , so over-counts by relative to the denominator (Section 3.4).
Notation clash (important). The released code’s solve operator is one-sided; it corresponds to the paper’s normalizer of Section 3.1, not to the paper’s symmetric second-moment matrix . In particular, the variable named “ ” in the released code is here, a different object from the paper’s .
Equivalence (one line). With we have , so ; by Lemma 1, , hence . The one-sided operator and the sandwiched normalizer therefore yield the identical update precisely because the update is right-projected onto range( ) (the trailing ).
C Experimental Details
• Reported records. Per-seed edit-success values for FedAlphaEdit appear in Section 4.6, three-seed conditions are reported as mean ± SD throughout, and the GLUE summary is Table 6 (the six tasks, ported from the AlphaEdit evaluation harness, are SST-2, MRPC, CoLA, RTE, MMLU, and a binary NLI set, n = 100 per task, zero-shot). Full per-seed records for every run are retained with the experimental logs.
• Shared covariance. We keep , the released default, and do not implement Dynamic Covariance, because no working public implementation exists and a bespoke one would introduce an unverified baseline rather than a faithful reproduction.
• Measurement-uncertainty calibration. The run-to-run edit-success variation of the centralized reference is 0.12 points (NS: 0.02 points), and the cross-process floor of the operator-divergence metric (from seed-free template generation) is 9–12%; these calibrate the drift diagnostics below and the residual discussion of Section 4.6 and are not used in any claim.
• Qwen environment. The mom2 statistics source (Wikipedia 20220301.en) and other Qwen-specific settings are held common across all Qwen runs so that internal contrasts remain valid. Editing uses a v-loss layer of 27 and v-learning-rate 0.1 over 25 steps.
• Evaluation pipeline. The pipeline exhibits a systematic +1.8 to +2.0 point paraphrase shift, common to all methods and excluded as a bf16 artifact; it motivates the internal-contrast principle and is never compared across pipelines.
• Measurement-system sanity. Under an unprojected MEMIT editor, oons is 23–31% (a 20-edit smoke sample, a measurement-system sanity check, not a scaled comparison), about the projected editor's floor, confirming that the metric resolves the out-of-null-space norm share.
| Per-client 500 | ES | Centralized ES | NS | oons |
|---|---|---|---|---|
| N = 2 (1000) | 99.83 ± 0.12 | 99.80 | 68.37 ± 0.07 | 4.05% |
| N = 5 (2500) | 95.03 ± 0.15 | 99.24 | 62.80 ± 0.17 | 9.52% |
| N = 10 (5000) | 79.69 ± 0.88 | 97.08 | 60.24 ± 0.11 | 14.04% |
Table 5: Per-client-fixed control series (naive combination, GPT-2 XL, per-client 500); three-seed mean±SD, with oons standard deviations 0.027, 0.057, and 0.022 percentage points. The N=10 row reuses the main naive runs. Centralized entries are deterministic single runs editing the same case sets as the corresponding rows; the N=10 centralized entry reuses the main centralized run. Total edits co-vary with N; cross-column comparisons are within the same row (matched total edit count) only.
-
Unit test of Theorem 1. One-shot single-client exactness and the two-client divergence (2.4%, from a 0.6% operator difference) provide direct evidence of the layer-direction term discussed under Drift diagnostics below. As a negative control, adding the ridge once per client instead of once to (the -fold overcounting that Theorem 1 forbids) diverges by 11.8%, far above the correctly constructed two-client value (2.4%). The test therefore detects a -mismatch, a violation of the theorem's precondition, rather than passing trivially.
-
Communication footprint. Per edited layer the shared statistic is a dense matrix, which in fp32 (4 bytes per element) is 163.8 MB for GPT-2 XL () and 321.1 MB for Qwen2.5-1.5B (), i.e. 819.2 MB and about 1.6 GB per client per round over the five edited layers. This matches the dimension of CollabEdit's key-covariance statistic. In the single-round setting the statistic factorizes: , so transmitting the projected keys () is mathematically equivalent and, for , amounts to fp32 values, or 12.8 MB per layer for GPT-2 XL (an arithmetic value, not a measurement). This variant, however, transmits projected keys directly and therefore trades against the reconstruction risk noted under Privacy in Section 5; we record it not as a communication-reduction claim but as the fact that the communication and privacy limitations share the same degree of freedom.
-
Software environment. The software stack is Driver 591.86, CUDA (driver) 13.1, and PyTorch 2.6.0+cu118 (runtime CUDA 11.8).
-
Seeds and sharding. All three-seed conditions use shard seeds 1, 2, 3, which control IID assignment of cases to clients under a fixed case universe (MCF first 5000 or 2000 records). Centralized runs are deterministic (no sharding).
-
Hyperparameter provenance. The editing hyperparameters (, , threshold, edited layers, -learning-rate, and optimization steps) are inherited from the released AlphaEdit and CollabEdit configurations without independent tuning. The sensitivity of the shared-covariance weight is examined at three levels () in Table 7.
Non-IID sharding (naive combination). Under relation-based non-IID sharding of the same 5000 edits ( , seed 1), the naive combination reaches ES 80.06, NS 61.94, and oons 12.0%, so the naive collapse persists at a magnitude

Figure 2: Sequential drift and operator divergence increase monotonically across the edited layers (13–17), peaking at the last; five-layer means 0.4547 and 0.1879. Markers show the layer-13 and layer-17 endpoints.
comparable to IID sharding (Table 1); the proposed method has not been measured under non-IID sharding.
Drift diagnostics. Theorem 1 is exact only when all key statistics are evaluated at a common model state. Under multi-layer sequential editing the measured sequential drift is 0.4547 (three seeds, five-layer mean), localized by a layer-wise operator divergence, both increasing monotonically across the edited layers and peaking at the last (Figure 2). A single-client, one-shot unit test reproduces the exactness identity to machine precision, while its two-client version already exhibits a divergence traceable to an operator difference, evidence in the direction of the state-divergence attribution. The single-layer control of Section 4.6 bounds how much of this drift is behaviorally consequential. With sequential multi-layer evaluation removed, the deviation drops to 0.0176 (a factor of 26) and the behavioral gap closes, consistent with the layer-wise attribution.
Why the residual costs editing but not preservation. Decomposing the error as in Lemma 4(b), the component accounts for 100.0% of the error across all layers and seeds, while the orthogonal component stays at the oons floor (). The residual thus perturbs edit strength inside the subspace the editor writes into, leaving preserved knowledge untouched.
| GLUE avg. F1 | |
|---|---|
| base | 0.4013 |
| Centralized | 0.3728 |
| Naive | 0.4087 |
| FedAlphaEdit | 0.3732 ± 0.0161 |
Table 6: GLUE average F1 over six tasks ( per task), a supportive, non-binding observation. FedAlphaEdit is the three-seed mean±SD; base and Centralized are single values, and Naive is a three-seed mean. The naive combination sits nearer the base level than centralized editing does, consistent with the distorted merge writing edits more weakly (Section 4.2) rather than an advantage.
| λ | ES | NS | oons |
|---|---|---|---|
| 10000 | 84.28 | 62.19 | 15.80% |
| 20000 | 78.84 | 60.12 | 14.05% |
| 40000 | 73.72 | 58.05 | 11.98% |
Table 7: Sensitivity of the naive combination to the shared-covariance weight (GPT-2 XL, MCF, , seed 1). Varying trades edit success and specificity against oons; no setting recovers both axes toward the centralized level.
| γ | ES | NS | oons |
|---|---|---|---|
| 0.1 (= 1/N) | 31.23 ± 0.22 | 77.16 ± 0.17 | |
| 0.5 | 55.16 ± 0.47 | 54.98 ± 0.42 | |
| 1.0 | 51.17 ± 0.27 | 51.07 ± 0.29 |
Table 8: Scalar merges (GPT-2 XL, MCF, ), three-seed mean±SD. The per-client AlphaEdit updates of the simple-average arm are reused and only evaluated, with no new solves. The row is the simple-average row of Table 2. Only three levels of were tested, and finer tuning is untested. oons is at the measurement floor in every row by construction of a scalar merge.
Shared-covariance weight sensitivity. Varying the shared-covariance weight (the second-moment update weight applied to the base covariance ) across on the naive combination (GPT-2 XL, , seed 1) yields Table 7.
Near-tie calibration. First-token decisions on the Qwen zsRE prompts are compared between a single fp32 evaluation pass and chunked passes over 694 per-prompt Boolean outcomes. Of these, 3/694 invert (one at chunk size 2, two at chunk size 8). The minimum fp32 top-1/top-2 logit gap is 0.000467, below the bf16 unit-in-last-place granularity at head scale, which is the mechanism of the inversions and sets the sensitivity band used in Section 4.5.