Skip to content

Menu

WorksComputer Science

MuEdit: An efficient multi-task editing method towards inter-domain knowledge conflicts

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_7dgynv8q. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Large language models (LLMs) require frequent knowledge updates across heterogeneous domains, but existing editing methods fail when applied sequentially to multi-task settings. We trace this collapse to inter-domain null-space misalignment: heterogeneous tasks induce distinct Jacobian geometries, causing their common null space to shrink dramatically and leaving insufficient admissible directions for conflict-free updates. We propose the Conflict Index to quantify this geometric interference, and introduce Mu-Edit, which mitigates multi-task conflicts via (1) conflict-aware ordering to minimize cumulative interference, and (2) dynamic low-rank approximation to expand the null space when ordering alone is insufficient. Experiments across five functional domains and three backbones show that Mu-Edit significantly outperforms existing baselines in multi-task editing performance while preserving general capabilities, and remains effective under incremental task arrival.

Introduction

Large language models (LLMs) require updates as information and application requirements change [1, 2]. Model editing aims to incorporate these updates without retraining the entire model or disrupting unrelated capabilities [Meng et al., 2022a,b, Ni et al., 2023]. In deployment, updates may span factual knowledge, multilingual knowledge, safety-related behavior, question answering, and sentiment classification [6, 7 c]. Maintaining the benefits of earlier edits across such heterogeneous domains is a central challenge for model editing.

Existing editing methods primarily address sequential editing, where a model undergoes successive updates within a single task domain (e.g., correcting thousands of factual associations in commonsense knowledge) [4, 9]. AlphaEdit [10] uses null-space constraints derived from preserved knowledge representations, whereas PRUNE [11] controls accumulated editing perturbations through their singular values. These methods address degradation under repeated editing, but their effectiveness within a domain does not establish robustness across heterogeneous domains.

In this work, we formalize and investigate multi-task model editing, in which a model is edited sequentially across functionally distinguishable domains without resetting its parameters between tasks. Each domain is characterized by its own reference data and task-specific knowledge geometry. The editing process proceeds as a chain of parameter updates, where the model is edited on one domain after another, culminating in the final state that carries knowledge from all domains.

In our definition, the core goal of multi-task editing is to update knowledge across different functional domains sequentially while maintaining performance on previously edited domains. These domains need not be independent or have disjoint semantic content. As shown in Figure 1(b), current methods including null space projection methods such as AlphaEdit [10], suffer from severe performance degradation under multi-task editing. They frequently forget knowledge injected in earlier tasks as subsequent domains are edited, and the degradation becomes more pronounced as the number of tasks accumulates. Notably, this collapse is task-pair-dependent: some transitions induce mild forgetting, whereas others cause catastrophic interference, motivating an analysis of inter-domain geometric compatibility.

Mechanism and empirical validation of multi-task editing

Figure 1. Mechanism and motivation of our Mu-Edit, specifically: (a) Visualization of Mu-Edit’s null space projection mechanism. (b) Empirical validation results of existing methods’ performance decline after editing sequentially across different tasks.

Our analysis identifies inter-domain null-space misalignment as a geometric constraint on multi-task editing. Each domain induces a preservation matrix with its own representation subspace. An update that preserves the outputs associated with these representations must satisfy their joint null-space constraints. Although each domain may individually admit many update directions, their intersection can be much smaller. This restricts the directions available to fit a new edit while preserving existing representations. Building on this insight, we propose to mitigate multi-task interference by explicitly measuring and maximizing the common null space shared among tasks. To operationalize this idea, we introduce a new concept called the Conflict Index, which quantifies the geometric overlap between task-specific null spaces. Using this index, we develop a novel framework called Mu-Edit, which incorporates two complementary strategies to resolve multi-task conflicts. First, conflict-aware ordering minimizes adjacent pairwise conflicts as a surrogate for editing interference. Second, adaptive low-rank approximation relaxes selected preservation constraints to expand the admissible update space. The compressed representation is retained for subsequent computations. For scenarios with increasing or unpredictable task numbers, we further develop a Greedy Search strategy to handle the excessive computational complexity of best-order search and to enable editing under incremental task arrival. Our main contributions are three-fold:

  1. To the best of our knowledge, this work is the first to investigate multi-task knowledge editing from the perspective of null-space conflicts. We propose the concept of Conflict Index based on the null-space properties of task-specific matrices, enabling effective quantification of the conflict degree between different tasks.

  2. Building on this Conflict Index, we develop Mu-Edit, combining conflict-aware ordering with adaptive rank reduction to balance edit fitting and representation preservation.

  3. We evaluate Mu-Edit across five domains and three backbones, with additional seven-task, reference-data, and computational-cost analyses. The results support improved final editing performance and show that greedy ordering approaches offline best-order performance at lower ordering cost.

Preliminary

Knowledge Storage and Editing in LLMs

For a specific token at layer ii, let h~i∈Rd\tilde{h}^{i} \in\mathbb{R}^{d} denote the hidden representation supplied to the MLP. For a standard two-layer MLP, its output representation hih^{i} is computed as

hi=W2iσ(W1ih~i),h^{i} = W_{2}^{i}\sigma\left(W_{1}^{i}\tilde{h}^{i}\right),

where W1i∈Rdi×dW_{1}^{i} \in\mathbb{R}^{d_{i}\times d} projects the input into the intermediate space, σ(⋅)\sigma(\cdot) denotes the activation function, and W2i∈Rd×diW_{2}^{i} \in\mathbb{R}^{d\times d_{i}} maps the intermediate activation to the output space. Here, hih^{i} denotes the MLP output rather than the complete hidden state after the residual connection.

Following prior work [12, 3 b], the MLP can be interpreted as a key–value associative memory. The intermediate activation serves as a key, and the output projection maps it to a value:

ki=σ(W1ih~i),vi=W2iki=hi.k^{i} = \sigma\left(W_{1}^{i}\tilde{h}^{i}\right), \qquad v^{i} = W_{2}^{i}k^{i} = h^{i}.

The key captures features of the input context, while the value contributes information to subsequent model computation. For gated MLPs, the key is produced by the corresponding gated transformation, while the output mapping vi=Wi2kiv_i = W_i^2 k_i remains applicable. Below, we omit the layer index and denote the output-projection matrix by WW.

Traditional model-editing methods

Model editing aims to update knowledge stored in LLMs through individual edits or multiple edits performed jointly or sequentially. Within the locate-then-edit paradigm, we first identify the parameters to modify and then add a perturbation Δ\Delta to the selected weight matrix WW, yielding W^=W+Δ\widehat{W} = W + \Delta. For factual knowledge editing, a knowledge association can be represented as a triplet (s,r,o)(s,r,o), where ss, rr, and oo denote the subject, relation, and object, respectively. Under the associative-memory view, the key kk encodes the subject–relation context (s,r)(s,r), while the target value vv represents information associated with the desired object oo. An edit therefore aims to map the corresponding key to its target value while preserving unrelated key–value associations.

The weight matrix W∈Rdo×diW \in\mathbb{R}^{d_o \times d_i} maps keys in the FFN’s intermediate space to values in its output space. For uu existing associations to be preserved, we define

K0=[k1,…,ku]∈Rdi×u,V0=[v1,…,vu]∈Rdo×u.K_0 = [k_1,\ldots,k_u] \in\mathbb{R}^{d_i \times u}, \qquad V_0 = [v_1,\ldots,v_u] \in\mathbb{R}^{d_o \times u}.

where each column corresponds to one association, and vj=Wkjv_j = W k_j is its pre-edit output. Thus, V0=WK0V_0 = W K_0 represents the outputs to be preserved. A new association to be introduced is denoted by an edit key kek_e and its target value vev_e.

ROME [3] introduces a new key–value association (ke,ve)(k_e,v_e) while minimizing changes to the outputs associated with the preserved keys:

W^=arg⁡min⁡W^:W^ke=ve ∥W^K0−WK0∥F2⏟preservation\widehat{W} = \underset{\widehat{W}:\widehat{W}k_e=v_e}{\arg\min}\ \underbrace{\left\|\widehat{W}K_0-WK_0\right\|_F^2}_{\text{preservation}}

The equality constraint enforces the new association, while the preservation term discourages changes to existing associations.

Whereas ROME targets a single association per update, MEMIT [4] supports batched editing through a relaxed objective:

W^=arg⁡min⁡W^ λ∥W^K0−WK0∥F2⏟preservation+∥W^KE−VE∥F2⏟memorization.(1)\widehat{W} = \underset{\widehat{W}}{\arg\min}\ \lambda\underbrace{\left\|\widehat{W}K_0-WK_0\right\|_F^2}_{\text{preservation}}+\underbrace{\left\|\widehat{W}K_E-V_E\right\|_F^2}_{\text{memorization}}. \tag*{(1)}

where KE=[k1e,…,kEe]K_E = [k_1^e,\ldots,k_E^e] and VE=[v1e,…,vEe]V_E = [v_1^e,\ldots,v_E^e] contain the keys and target values of EE editing associations as columns. The coefficient λ\lambda balances preservation against memorization. Unlike ROME’s equality constraint, the memorization term fits the new associations by minimizing their squared reconstruction error.

Sequential-optimized editing methods

PRUNE [11] and AlphaEdit [10] address model degradation under repeated editing through different mechanisms. PRUNE restrains editing-induced perturbations to mitigate their accumulated effects on the model’s existing knowledge and general capabilities. AlphaEdit instead uses null-space projection to protect preserved knowledge representations.

To explain the AlphaEdit’s mechanism, recall that K0K_0 contains the keys of the knowledge to be preserved. Its left null space is

N(K0T)={x∈Rdi:K0Tx=0}.\mathcal{N}(K_0^{\mathsf{T}})=\{x\in\mathbb{R}^{d_i}:K_0^{\mathsf{T}}x=0\}.

An update whose rows lie in this space leaves the outputs associated with K0K_0 unchanged. Let PP denote the orthogonal projector onto N(K0T)\mathcal{N}(K_0^{\mathsf{T}}), satisfying PK0=0P K_0=0. AlphaEdit parameterizes the applied update as ΔP\Delta P, yielding

W^K0=(W+ΔP)K0=WK0=V0.\widehat{W}K_0=(W+\Delta P)K_0=WK_0=V_0.

Thus, the projected update preserves the existing key–value associations represented by K0K_0 at the edited linear map while allowing new associations to be fitted through the available update directions. Here, the projection is constructed from preserved knowledge representations, rather than solely from knowledge injected by previous edits.

Definition of Multi-task Editing

In multi-task editing, we aim to update knowledge across NN functionally distinguishable domains {I1,I2,…,IN}\{I_1, I_2, \ldots, I_N\} while preserving performance on previously edited domains. The editing process proceeds sequentially without resetting model parameters: starting from initial parameters W0W_0, we obtain WnW_n after editing on task InI_n, and the final parameters are W∗=WNW^* = W_N. Each domain InI_n is associated with its own reference data distribution and knowledge matrix KnK_n. Compared with sequential editing within a single domain, multi-task editing introduces heterogeneity in the representations to be preserved, rather than simply increasing the number of edits. Different domains may induce distinct dominant subspaces in their knowledge matrices, making update directions that preserve one domain incompatible with the preservation constraints of another.

Geometric Analysis of Multi-task null-space overlap and measurement

Null-space projection methods such as AlphaEdit [10] preserve existing knowledge representations by constraining parameter updates to the corresponding null space. In multi-task editing, each domain contributes a knowledge matrix KiK_i representing the associations to be preserved. An update Δ\Delta that preserves the outputs associated with every such matrix must satisfy ΔKi=0\Delta K_i = 0 for each domain. Consequently, each row of Δ\Delta must lie in the intersection of the corresponding left null spaces. We refer to this intersection as the common null space: it contains the update directions that simultaneously preserve the representations of the domains under consideration. To characterize how combining preservation constraints affects the available update space, we first consider two domains with knowledge matrices KiK_i and KjK_j. Their common null space satisfies

N([Ki,Kj]⊤)=N(Ki⊤)∩N(Kj⊤),dim⁡N([Ki,Kj]⊤)≤min⁡{dim⁡N(Ki⊤),dim⁡N(Kj⊤)}.(2)\begin{aligned} \mathcal{N}\left([K_i,K_j]^{\top}\right) &= \mathcal{N}\left(K_i^{\top}\right) \cap\mathcal{N}\left(K_j^{\top}\right), \\ \dim\mathcal{N}\left([K_i,K_j]^{\top}\right) &\leq\min\left\{\dim\mathcal{N}\left(K_i^{\top}\right),\dim\mathcal{N}\left(K_j^{\top}\right)\right\}. \tag*{(2)} \end{aligned}

The proof is given in Appendix Lemma 1. Although each domain may individually admit a large space of update directions, the intersection can be much smaller when their preservation subspaces differ. A smaller common null space restricts the directions available to fit new associations while preserving existing representations. If the new edit cannot be accommodated within this space, enforcing the preservation constraints limits edit fitting, whereas relaxing them can alter previously preserved outputs. We refer to this geometric bottleneck as inter-domain null-space misalignment.

The analysis above suggests that inter-domain conflicts can be characterized by how much of the available update space remains when two preservation constraints are imposed jointly. We therefore compare the dimension of the common null space with those of the individual null spaces.

For tasks ii and jj at layer ll, the individual update spaces are N(Ki,lT)\mathcal{N}(K_{i,l}^{\mathsf{T}}) and N(Kj,lT)\mathcal{N}(K_{j,l}^{\mathsf{T}}), and their common null space is N([Ki,l,Kj,l]T)\mathcal{N}([K_{i,l}, K_{j,l}]^{\mathsf{T}}). Here, [Ki,l,Kj,l][K_{i,l}, K_{j,l}] denotes horizontal concatenation. For positive individual null-space dimensions, we define the layer-wise conflict score as

C(Ki,l,Kj,l)=1−dim⁡N([Ki,l,Kj,l]T)min⁡{dim⁡N(Ki,lT),dim⁡N(Kj,lT)}.(3)C(K_{i,l}, K_{j,l}) = 1 - \frac{\dim\mathcal{N}([K_{i,l}, K_{j,l}]^{\mathsf{T}})}{\min\{\dim\mathcal{N}(K_{i,l}^{\mathsf{T}}), \dim\mathcal{N}(K_{j,l}^{\mathsf{T}})\}}. \tag*{(3)}

The ratio measures the fraction of the smaller null space that remains available under both constraints; subtracting it from one gives the relative loss of admissible update directions. Averaging over the LL edited layers yields the task-level Conflict Index:

C(Ki,Kj)=1L∑l=1LC(Ki,l,Kj,l).(4)\mathcal{C}(K_i, K_j) = \frac{1}{L}\sum_{l=1}^{L} C(K_{i,l}, K_{j,l}). \tag*{(4)}

By construction, the index lies in [0,1][0, 1]. At each layer, a score of zero means that the smaller null space is entirely contained in the larger one, whereas a score of one means that no nonzero update direction satisfies both preservation constraints. The Conflict Index provides a geometric measure of compatibility between task-specific preservation constraints. We use it to guide task ordering and adaptive low-rank approximation, and empirically evaluate its robustness to limited and mixed reference data in our experiments.

Reducing Cumulative Interference Through Task Ordering

The Conflict Index measures pairwise geometric incompatibility between preservation constraints. To use this information for multi-task editing, we must also consider how these constraints are encountered along an editing sequence. Ideally, an update that preserves the representations of all preceding tasks must lie, row-wise, in the intersection of their null spaces. Adding a task can reduce or leave unchanged the feasible space. For fixed task matrices, the final intersection is independent of task order. However, different orders expose intermediate editing steps to different sets of preservation constraints and produce different parameter-update trajectories. This motivates selecting an order that reduces conflicts between consecutive tasks. We use adjacent pairwise Conflict Indices as a tractable surrogate for editing interference, rather than an exact measure of cumulative forgetting. The information available about future tasks determines how this ordering strategy can be applied. We therefore consider two complementary deployment scenarios.

Offline setting: Best Order. When all NN tasks and their reference data are available in advance, we select an editing order that minimizes the sum of adjacent pairwise Conflict Indices:

π∗∈arg⁡min⁡π∈SN∑n=1N−1C(Kπ(n),Kπ(n+1)),(5)\pi^{*} \in\arg\min_{\pi\in S_N} \sum_{n=1}^{N-1} \mathcal{C}(K_{\pi(n)}, K_{\pi(n+1)}), \tag*{(5)}

where SNS_N denotes the set of all permutations of the NN tasks. We refer to this strategy as Best Order (BO). It provides the optimal ordering under the pairwise surrogate objective and serves as an offline reference for evaluating cheaper ordering strategies. Our implementation searches all N!N! permutations, making exhaustive BO practical only for small task sets.

Online setting: Greedy Order. When tasks arrive incrementally and future tasks are unknown, we use Greedy Order (GO) to maintain a conflict-aware task sequence without replaying previous edits. When a new task tnewt_{\mathrm{new}} arrives, GO computes its Conflict Index with existing tasks and selects the insertion position that minimizes the sum of conflicts with its immediate neighbors. The relative order of existing tasks remains unchanged.

The selected position determines the local protection window for the new edit. A window of size kk consists of the current task and the k−1k-1 tasks immediately preceding it in the maintained sequence. Let Wk−1(tnew)\mathcal{W}_{k-1}(t_{\mathrm{new}}) denote these preceding tasks. We construct the projection matrix PP onto their common null space:

⋂j∈Wk−1(tnew)N(KjT).\bigcap_{j \in\mathcal{W}_{k-1}(t_{\mathrm{new}})} \mathcal{N}(K_j^{\mathsf{T}}).

The projected update is applied to the current model without re-executing previous edits. Thus, the logical insertion position affects the actual parameter update by determining which preceding task representations are protected. This local projection avoids imposing the constraints of all historical tasks at every editing step. We use k=3k = 3 by default. GO requires O(N)O(N) pairwise conflict evaluations per insertion into a sequence of NN existing tasks. Algorithm 1 provides the insertion procedure.

Expanding the Common Null Space When Ordering Is Insufficient

Task ordering reduces interference by avoiding high-conflict adjacencies, but it cannot eliminate conflict entirely when the underlying null-space intersection is inherently small. When the Conflict Index between two tasks exceeds a threshold μ\mu, we treat their preservation constraints as highly conflicting and apply conflict-guided low-rank approximation. By discarding selected singular directions from a preservation matrix, we relax its constraints and expand the space available for subsequent updates.

Dynamic rank reduction. Let KK be the knowledge matrix selected for compression, with rank RR and singular values σ1≥⋯≥σR>0\sigma_1 \ge\cdots\ge\sigma_R > 0. We retain its leading dσd_\sigma singular components:

K~=∑r=1dσσrurvrT,(6)\widetilde{K} = \sum_{r=1}^{d_\sigma} \sigma_r u_r v_r^{\mathsf{T}}, \tag*{(6)}

where uru_r and vrv_r are the corresponding left and right singular vectors. Since N(KT)⊆N(K~T)\mathcal{N}(K^{\mathsf{T}}) \subseteq\mathcal{N}(\widetilde{K}^{\mathsf{T}}), this approximation expands the selected matrix’s left null space whenever dσ<Rd_\sigma< R. We further determine the retained rank from the amount by which the pairwise conflict exceeds μ\mu:

dσ={R,C(Ki,Kj)≤μ,round⁡(R[1−α(C(Ki,Kj)−μ)]),C(Ki,Kj)>μ,(7)d_\sigma= \begin{cases} R, & C(K_i,K_j) \le\mu, \\ \operatorname{round}\left(R\left[1-\alpha\left(C(K_i,K_j)-\mu\right)\right]\right), & C(K_i,K_j) > \mu, \end{cases} \tag*{(7)}

where RR is the rank before compression, α\alpha controls the compression strength, and round⁡(⋅)\operatorname{round}(\cdot) rounds to the nearest integer. No reduction is applied below the threshold; above it, larger conflict excess leads to a smaller retained rank, subject to rounding. With the default α=1\alpha= 1, a nonnegative threshold μ\mu, and C(Ki,Kj)∈[0,1]C(K_i,K_j) \in[0,1], the retained rank lies in [0,R][0,R]. The rank-reduction rule determines how much to compress, but applying it also requires deciding when compression is needed and which task matrix to modify. We make these decisions using each task’s conflict distribution and its aggregate conflict with the other available tasks.

Adaptive thresholds and compression target selection. We first determine the pairwise threshold using the mean and standard deviation of each task’s conflict scores:

C‾i=1N∑j=1NC(Ki,Kj),μij=min⁡{C‾i+tσCi,C‾j+tσCj},(8)\overline{C}_i = \frac{1}{N}\sum_{j=1}^{N} C(K_i,K_j), \qquad\mu_{ij} = \min\left\{\overline{C}_i + t\sigma_{C_i},\overline{C}_j + t\sigma_{C_j}\right\}, \tag*{(8)}

where σCi\sigma_{C_i} denotes the standard deviation of task ii’s conflict scores and tt controls the threshold sensitivity (default 0.9). Here, NN denotes the number of currently available tasks. Taking the smaller of the two task-specific thresholds triggers compression when the pairwise conflict exceeds either task’s threshold. We use μij\mu_{ij} in place of μ\mu in (7).

When compression is triggered, either KiK_i or KjK_j can be approximated to relax the pair’s preservation constraints. To choose between them, we compare their aggregate conflicts with the other available tasks and select the more conflicting matrix:

q={i,∑r≠iC(Ki,Kr)>∑r≠jC(Kj,Kr),j,otherwise.(9)q = \begin{cases} i, & \sum_{r\ne i} C(K_i,K_r) > \sum_{r\ne j} C(K_j,K_r), \\ j, & \text{otherwise}. \end{cases} \tag*{(9)}

This rule allocates compression to the task with the greater overall conflict burden, while leaving the other task’s representation unchanged at this step. We then compute the rank-dσd_\sigma approximation K~q\widetilde{K}_q using (6) and replace the maintained matrix. This replacement persists across subsequent editing steps: later conflict computations and local protection-window projections use the updated representation.

Closed-Form Parameter Update with Pseudo-Inverse

After selecting the task position and adapting the preservation matrices, we compute the update to the current model parameters WW. We use a three-task local window consisting of the current task and its two immediate predecessors in the maintained sequence. For notational convenience, we index these tasks by n+1n+1, nn, and n−1n-1, respectively.

Let Kn−1K_{n-1} and KnK_n denote the maintained preservation matrices after any low-rank adaptation. We construct the orthogonal projector PP onto N([Kn−1,Kn]⊤)\mathcal{N}([K_{n-1},K_n]^{\top}). Let KE,n+1K_{E,n+1} and VE,n+1V_{E,n+1} contain the current task’s edit keys and target values. The applied parameter update Δ\Delta satisfies Δ=ΔP\Delta=\Delta P and minimizes

Δ⋆=arg⁡min⁡Δ: Δ=ΔP ∥(W+Δ)KE,n+1−VE,n+1∥F2+∥Δ∥F2+∥ΔKn−1∥F2+∥ΔKn∥F2.(10)\Delta^{\star}=\underset{\Delta:\,\Delta=\Delta P}{\arg\min}\ \|(W+\Delta)K_{E,n+1}-V_{E,n+1}\|_{F}^{2}+\|\Delta\|_{F}^{2} +\|\Delta K_{n-1}\|_{F}^{2}+\|\Delta K_n\|_{F}^{2}. \tag*{(10)}

The first term fits the new associations, while the second regularizes the update magnitude. The last two terms measure changes to the representations of the preceding tasks. Under exact projection, these two terms vanish because PKn−1=PKn=0PK_{n-1}=PK_n=0.

Define the residual and quadratic coefficient as

E=VE,n+1−WKE,n+1,E=V_{E,n+1}-WK_{E,n+1},
M=KE,n+1KE,n+1⊤+I+Kn−1Kn−1⊤+KnKn⊤.M=K_{E,n+1}K_{E,n+1}^{\top}+I+K_{n-1}K_{n-1}^{\top}+K_nK_n^{\top}.

The projected quadratic coefficient PMPPMP is symmetric positive semidefinite. The identity term in MM makes it positive definite on the range of PP, although it may remain singular in the full parameter space. Using the Moore–Penrose pseudo-inverse gives

Δ⋆=EKE,n+1⊤P(PMP)†,(11)\Delta^{\star}=EK_{E,n+1}^{\top}P(PMP)^{\dagger}, \tag*{(11)}

where (⋅)†(\cdot)^{\dagger} denotes the pseudo-inverse. We then apply the update as W←W+Δ⋆W\leftarrow W+\Delta^{\star}.

This formulation accommodates rank-deficient projections and preserves the retained representations within the selected local window. We use a window size of three to balance editing performance and computational cost. Appendix Table 14 compares this setting with windows of four and five tasks.

Experiments

Experimental Setup

Datasets. We evaluate on five functional domains following EasyEdit2 [13]: commonsense (ZsRE [14], CounterFact [3]), safety (SafeEdit [33]), question answering and reasoning (SQuAD [15], GSM8K), sentiment (SST-2 [16]), and multilingual knowledge (CKnowEdit [13]). Our main experiments use ZsRE, CKnowEdit, SafeEdit, SQuAD, and SST-2. By default, we use 500 examples per task for editing and 10,000 reference examples per task to construct the preservation matrix KK. Experiments with alternative task combinations are provided in the Appendix.

Metrics and baselines. For ZsRE, CounterFact, and CKnowEdit, we report Specificity, Generalization, and Locality. For SafeEdit, we report Harmful Rate; for SQuAD, GSM8K, and SST-2, we report Accuracy. Definitions for ZsRE and CKnowEdit metrics are provided in Appendix Section 7.6. All metrics measure final performance after completing the entire editing sequence. We compare Mu-Edit with fine-tuning (FT), ROME [3], MEMIT [4], SERAC [17], PRUNE [11], AlphaEdit [10], and AnyEdit [18]. The main experiments use Llama3-8B [19], with Mu-Edit applied to layers 4–8. Method-specific implementation settings are provided in the Appendix. Results on Qwen2.5-7B [20] and GPT2-xl [21] are reported in Table 13 and Table 12, respectively.

MethodZsRE Spec↑ZsRE Gen↑ZsRE Loc↑SafeEdit Harm↑SQuAD Acc↑SST-2 Acc↑
AlphaEdit(DO)0.28590.21600.33680.24630.67020.8388
Mu-Edit(DO)0.73750.75040.51950.34160.70710.8468
ROME(BO)0.25440.21200.18630.20240.40910.6004
MEMIT(BO)0.31430.28600.22310.22140.44610.6746
AlphaEdit(BO)0.53740.48860.42170.30460.67750.8446
Mu-Edit(BO)0.85890.82790.61100.37110.72250.8527

Table 12. Final performance after multi-task editing on GPT2-xl under Default Order (DO) and Best Order (BO). Missing entries are denoted by x. Bold: best.

MethodZsRE Spec↑ZsRE Gen↑ZsRE Loc↑SafeEdit Harm↑SQuAD Acc↑SST-2 Acc↑
AlphaEdit(DO)0.30310.23660.36150.28010.71190.8702
AnyEdit(DO)0.41270.32980.42190.30220.72640.8725
Mu-Edit(DO)0.81990.80060.57030.36680.75390.8832
AlphaEdit(BO)0.57760.51450.44820.36760.72030.8822
AnyEdit(BO)0.71420.68070.53690.38780.74440.8814
Mu-Edit(BO)0.88620.84580.63370.40580.77820.8974

Table 13. Final performance after multi-task editing on Qwen2.5-7B under Default Order (DO) and Best Order (BO). Missing entries are denoted by x. Bold: best.

Reference data. We construct preservation matrices from external reference inputs without using task labels or evaluation answers. Mu-Edit and AlphaEdit share the same reference samples and preprocessing. Exact normalized-text duplicates with editing and evaluation data are removed and replaced. Reference sources and construction details are provided in the Appendix.

Main Results and Ablation Studies

We draw three key observations from Table 1 and Table 2.

MethodZsRE Spec↑ZsRE Gen↑ZsRE Loc↑CKnowEdit Spec↑CKnowEdit Gen↑CKnowEdit Loc↑SafeEdit Harm↑SQuAD Acc↑SST-2 Acc↑
AlphaEdit(DO)0.30090.23510.36080.28730.25120.33030.27780.69840.8620
AnyEdit(DO)0.39540.30610.40210.37410.32020.34950.30040.70280.8643
Mu-Edit(DO)0.81970.79950.56840.79250.76060.56420.36480.72520.8694
FT(BO)0.28610.23560.25750.25590.22160.20830.22100.44460.6290
ROME(BO)0.34520.30360.24180.30210.27460.23270.24490.48080.7073
MEMIT(BO)0.28610.23560.25750.25460.22270.20830.22100.44460.6290
SERAC(BO)0.38270.36140.31160.51420.43360.37580.30090.66980.8596
PRUNE(BO)0.48920.47840.42530.68190.66220.46130.34460.68870.8726
AlphaEdit(BO)0.55060.51010.44700.66240.63130.44560.33960.70160.8803
AnyEdit(BO)0.70980.67990.53460.68820.65740.51580.36910.71660.8798
Mu-Edit− (BO)0.84640.80770.62760.82290.78190.60520.37180.69620.8817
Mu-Edit(left)(BO)0.81070.77530.58890.79420.75510.56860.36770.68350.8789
Mu-Edit(right)(BO)0.85560.82100.61950.83420.80660.59450.38950.71830.8815
Mu-Edit(BO)0.8845*0.8452*0.6321*0.8505*0.8258*0.6144*0.4043*0.7479*0.8838*

Table 1. Final performance after multi-task editing on Llama3-8B under Best Order(BO) and Default Order(DO) and ablations. Bold: best. *: significant improvement over AnyEdit (p<0.05p < 0.05).

MethodZsRE Spec↑ZsRE Gen↑ZsRE Loc↑CKnowEdit Spec↑CKnowEdit Gen↑CKnowEdit Loc↑SafeEdit Harm↑SQuAD Acc↑SST-2 Acc↑
Mu-Edit− (GO)0.82940.78750.61680.80030.76320.59130.36160.68180.8752
Mu-Edit(left)(GO)0.80840.76790.61120.76190.55210.56190.35590.68020.8695
Mu-Edit(right)(GO)0.81430.79050.61460.82150.78470.58960.36420.68470.8774
Mu-Edit(GO)0.8728*0.8432*0.6314*0.8442*0.8130*0.6098*0.3998*0.7442*0.8822*

Table 2. Final performance under Greedy Order (GO) and ablations.

Obs.1: Conflict-aware ordering improves multi-task editing, while Mu-Edit provides further gains. Changing from DO to BO improves AlphaEdit’s ZsRE Specificity from 0.3009 to 0.5506 and CKnowEdit Specificity from 0.2873 to 0.6624. AnyEdit also benefits from BO, supporting the importance of task order in heterogeneous editing. Under BO, Mu-Edit achieves the highest scores across all reported metrics, outperforming both SERAC and PRUNE as well as the other baselines. For example, Mu-Edit improves ZsRE Specificity from AnyEdit’s 0.7098 to 0.8845 and CKnowEdit Specificity from 0.6882 to 0.8505. Compared with PRUNE, which restrains editing perturbations, Mu-Edit improves these scores from 0.4892 and 0.6819, respectively. These results support the benefit of combining conflict-aware ordering with adaptation of domain-specific preservation constraints.

Obs.2: Adaptive thresholds and compression-target selection improve performance. We examine two design choices: (1) Mu-Edit− replaces adaptive thresholding with a fixed threshold μ=0.2\mu= 0.2, while retaining α=1\alpha= 1; and (2) Mu-Edit(left) and Mu-Edit(right) always compress the preceding or subsequent task’s matrix, respectively, instead of applying the conflict-based selection rule in Equation (9). Adaptive thresholding improves every reported metric under both BO and GO. For example, under BO, SQuAD Accuracy increases from 0.6962 with the fixed threshold to 0.7479 with the full method, which demonstrates that a fixed threshold μ\mu cannot adapt to varying cross-task conflict levels. Regarding the choice of which task’s knowledge matrix to compress, under BO, Mu-Edit(left) performs consistently worse than Mu-Edit(right). This pattern is consistent with our design intuition: the preservation constraints of earlier tasks provide the foundation for retaining their knowledge during subsequent edits. Compressing an earlier task’s matrix relaxes these constraints and may expose its representations to interference that accumulates over later updates. The full Mu-Edit selects the compression target according to aggregate conflict scores rather than always compressing the same side, achieving better performance than either fixed-direction variant across all reported metrics under BO.

Obs.3: Greedy Order approaches Best Order performance under incremental arrival without foresight. Mu-Edit(GO) achieves performance close to Mu-Edit(BO) across all reported metrics, supporting its effectiveness under incremental task arrival. By using conflict-aware insertion to select the preceding tasks in the local protection window, GO guides parameter updates without access to future tasks or replaying historical edits.

General Ability Preservation

We evaluate general capability retention on SAMSum and Natural Questions, covering summarization and open-domain QA. As shown in Figure 2, MEMIT performance drops to near zero after two tasks, while AlphaEdit and AnyEdit also exhibit substantial degradation as tasks accumulate. Mu-Edit shows only minor declines on both benchmarks, supporting its ability to retain general capabilities during multi-task editing.

General ability performance of different methods under increasing number of edited tasks

Figure 2. General ability performance of different methods under increasing number of edited tasks.

Effect of Rank Reduction on Task Preservation

To assess whether low-rank approximation compromises task preservation, we evaluate single-task editing performance at rank reductions of 0%, 15%, 30%, 45%, and 60%. Figure 3 shows little change at 15–30% reduction, with more pronounced degradation beyond 45%. These results support moderate rank reduction in the evaluated setting. The Appendix further examines the compression required by high-conflict task pairs.

Performance on single task under different rank reduction degree

Figure 3. Performance on single task under different rank reduction degree.

Robustness to Imperfect Task Boundaries and Low-Resource Settings

A practical concern is whether Mu-Edit’s reliance on knowledge matrices demands perfectly separated reference datasets and abundant samples. We evaluate two realistic relaxations.

Low-resource reference estimation. We construct each task’s knowledge matrix KK using 50, 100, or 500 randomly sampled reference examples, keeping all other settings unchanged. Figure 4 shows that pairwise conflict rankings remain broadly consistent with the 10,000-example setting, even with only 50 examples per task. As shown in Table 3, reducing the reference size lowers editing performance gradually rather than causing collapse, supporting Mu-Edit’s robustness to limited reference data.

Figure 4. Conflict index visualization under extremely low resource settings

SizeZsRE-SpecificityZsRE-GeneralizationZsRE-LocalitySafeEditSQuADSST-2CKnowEdit
500.77230.74840.53850.38220.71050.82930.8212
1000.81760.77390.57720.38970.72010.85870.8317
5000.84170.80830.60190.39560.73480.87210.8402
100000.88450.84520.63210.40430.74790.88380.8505

Table 3. Performance under different reference dataset sizes.

Task boundary ambiguity. To examine sensitivity to mixed reference distributions, we vary the proportion of GSM8K examples in a SQuAD-based reference set while keeping its total size fixed at 10,000. We then evaluate final editing performance on the other four tasks. Table 4 shows only small performance changes as the GSM8K proportion increases from 0% to 75%. These results suggest that Mu-Edit does not require perfectly separated reference domains under the tested mixtures.

Reference mixtureZsRE-SpecificityZsRE-GeneralizationZsRE-LocalitySafeEditSST-2CKnowEdit
SQuAD0.87770.84520.63170.40480.88330.8498
0.75 SQuAD + 0.25 GSM8K0.87740.84540.63100.40360.88370.8493
0.50 SQuAD + 0.50 GSM8K0.87690.84380.63050.40290.88240.8486
0.25 SQuAD + 0.75 GSM8K0.87570.84430.62870.40220.88280.8477

Table 4. Performance under different reference mixtures, with a fixed total of 10,000 examples.

MethodZsRECKnowEditSafeEditSQuADSST-2PersonalityLongCodeQA
AlphaEdit0.53750.65960.33710.69520.87170.62440.2516
Mu-Edit (Random)[0.7868,0.8815][0.7731,0.8454][0.3487,0.4007][0.6915,0.7432][0.8403,0.8819][0.6527,0.6872][0.3373,0.4119]
Mu-Edit (GO)0.87080.84030.39250.73560.87970.68080.3997
Mu-Edit (BO)0.88260.84540.40070.74460.88190.68870.4135

Table 5. Final performance after seven-task editing. ZsRE and CKnowEdit report Specificity, SafeEdit reports Harmful Rate, and the remaining tasks report Accuracy. Random-order entries are 95% confidence intervals for the mean over 50 permutations.

Greedy order’s performance, time and memory cost on longer task sequences

We extend the five-task setting with Personality2 and LongCodeQA [22] to evaluate longer and more diverse editing sequences, keeping the backbone, per-task editing budget, and evaluation protocol unchanged. We compare AlphaEdit with Mu-Edit under random, greedy, and best-order scheduling. Random ordering is evaluated over 50 distinct permutations, each starting from the same pretrained checkpoint without parameter resets between tasks.

Table 5 shows that Mu-Edit with either GO or BO outperforms AlphaEdit across all seven tasks. GO remains close to BO, with absolute gaps below 0.014 on every metric. As for time and memory cost, GO reduces ordering time relative to exhaustive BO, although reference processing and Conflict Index estimation remain substantial preprocessing costs; a detailed breakdown is provided in Appendix Table 7.3.

ROME [3] and MEMIT [4] update factual associations through targeted parameter modifications, supporting single and batched edits, respectively. To mitigate degradation under sequential editing, AlphaEdit [10] projects updates onto the null space of preserved knowledge representations, while PRUNE [11] restrains editing-induced perturbations. AnyEdit [18] addresses long-form knowledge editing from an information-theoretic perspective. Mu-Edit focuses on conflicts between heterogeneous domains, combining conflict-aware ordering with adaptive low-rank approximation of preservation matrices. Additional related work appears in Appendix 7.

Conclusion

In this article, we propose a new concept called Conflict Index to measure the degree of conflict in multi-task editing, and we design order selection and use low-rank decomposition to reduce conflicts. Subsequent experiments have verified that our method not only improves multi-task editing performance compared to existing methods, but also preserves its general capabilities, paving the way for better multi-task editing.

Acknowledgments and Disclosure of Funding

We are thankful for all anonymous reviewers’ helpful advices, which are fundamental to our work. We also thank Zixuan Huang and our colleagues at Alibaba Group for their valuable suggestions and sponsorship from Alibaba Group.

Appendix

Additional related works

LLM knowledge representation Currently, neuronal interpretability has gained much attention in recent years. Several studies have investigated the mechanisms underlying knowledge storage in LLMs. For instance, Geva et al. [2022] and Meng et al. [2022a] have found that the multilayer perceptron (MLP) layers in Transformer models function as key-value memory, storing vast amounts of knowledge. Other works, such as Geva et al. [2023], Lv et al. [2024], and Yu and Ananiadou [2024], have shown that knowledge accumulates progressively throughout the layers. In this paper, we build on the perspective that factual knowledge is primarily stored within the MLP layers of LLMs.

LLM model editing and continual learning There are other recent works about LLM model editing and continual learning, which focus on alleviating the performance degradation caused by editing multiple samples. For example, in model editing area, FAME [27] designs a model editing method that uses a novel caching mechanism to ensure synchronization with the real world. InstructEdit [28] uses instruction-based conditioning for editing and emphasizes generalization across tasks. D4S [29] successfully overcomes the previous editing bottleneck by reducing the L1-norm of the editing layer, allowing users to perform multiple effective edits and minimizing model damage. Huang et al. [2024b] tackles the main problem of how to edit the commonsense knowledge in LLMs. Gu et al. [2024] evaluates how traditional model editing methods harm the general abilities in LLMs. CaKE [32] analyzes circuits in LLMs and designs a method that enhances the effective integration of updated knowledge in LLMs. WISE [33] designs a dual parametric memory scheme, which consists of the main memory for the pretrained knowledge and a side memory for the edited knowledge. There is a router to decide which memory to go through when given a query. And PRUNE [11] analyzes that the multiple edit model collapse arises from the accumulation of condition numbers and uses the method of restricting the maximum condition number of the updated SVD matrix to alleviate model collapse. For continual learning, LORI [34] minimizes cross-task interference in adapter merging by leveraging the orthogonality between adapter subspaces, and supports continual learning by using sparsity to mitigate catastrophic forgetting, DMT [35] focuses on the interplay of data composition between mathematical reasoning, code generation, and general human-aligning abilities during SFT. And DMO [36] frame data mixing as an optimization problem and introduce a novel method designed to minimize validation loss. There are also works aiming to handle hard task conflicts by pruning gradients or using contrast decoding, such as [37, 38, 39].

Proofs for our proposed formulas and assumptions

Lemma 1 (Null-space Intersection). Let K1,K2∈Rd×dK_1, K_2 \in\mathbb{R}^{d \times d}. Then

N([K1,K2]T)=N(K1T)∩N(K2T),(12)\mathcal{N}([K_1,K_2]^{\mathsf{T}})=\mathcal{N}(K_1^{\mathsf{T}})\cap\mathcal{N}(K_2^{\mathsf{T}}), \tag*{(12)}
dim⁡(N([K1,K2]T))≤min⁡{dim⁡(N(K1T)),dim⁡(N(K2T))}.\dim(\mathcal{N}([K_1,K_2]^{\mathsf{T}})) \leq\min\{\dim(\mathcal{N}(K_1^{\mathsf{T}})),\dim(\mathcal{N}(K_2^{\mathsf{T}}))\}.

Proof. Part 1: N([K1,K2]T)⊆N(K1T)∩N(K2T)\mathcal{N}([K_1,K_2]^{\mathsf{T}}) \subseteq\mathcal{N}(K_1^{\mathsf{T}})\cap\mathcal{N}(K_2^{\mathsf{T}}). Let x∈N([K1,K2]T)\mathbf{x} \in\mathcal{N}([K_1,K_2]^{\mathsf{T}}). By definition:

[K1,K2]Tx=0.(13)[K_1,K_2]^{\mathsf{T}}\mathbf{x}=\mathbf{0}. \tag*{(13)}

Writing the transpose explicitly as a vertical stack:

\begin{bmatrix} K_1^{\mathsf{T}} \\ K_2^{\mathsf{T}} \end{bmatrix}\mathbf{x}=\begin{bmatrix} K_1^{\mathsf{T}}\mathbf{x} \\ K_2^{\mathsf{T}}\mathbf{x} \end{bmatrix}=\mathbf{0}, \tag*{(14)}\end{bmatrix}

which implies:

K1Tx=0andK2Tx=0.(15)K_1^{\mathsf{T}}\mathbf{x}=\mathbf{0}\quad\text{and}\quad K_2^{\mathsf{T}}\mathbf{x}=\mathbf{0}. \tag*{(15)}

Thus:

x∈N(K1T)∩N(K2T).(16)\mathbf{x}\in\mathcal{N}(K_1^{\mathsf{T}})\cap\mathcal{N}(K_2^{\mathsf{T}}). \tag*{(16)}

Part 2: N(K1T)∩N(K2T)⊆N([K1,K2]T)\mathcal{N}(K_1^{\mathsf{T}}) \cap\mathcal{N}(K_2^{\mathsf{T}}) \subseteq\mathcal{N}([K_1,K_2]^{\mathsf{T}}). Let x∈N(K1T)∩N(K2T)\mathbf{x} \in\mathcal{N}(K_1^{\mathsf{T}}) \cap\mathcal{N}(K_2^{\mathsf{T}}). By definition:

K1Tx=0andK2Tx=0.(17)K_1^{\mathsf{T}}\mathbf{x} = 0 \quad\text{and} \quad K_2^{\mathsf{T}}\mathbf{x} = 0. \tag*{(17)}

Therefore:

[K1,K2]Tx=[K1TK2T]x=[K1TxK2Tx]=[00]=0.(18)[K_1,K_2]^{\mathsf{T}}\mathbf{x} = \begin{bmatrix} K_1^{\mathsf{T}} \\ K_2^{\mathsf{T}} \end{bmatrix}\mathbf{x} = \begin{bmatrix} K_1^{\mathsf{T}}\mathbf{x} \\ K_2^{\mathsf{T}}\mathbf{x} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} = 0. \tag*{(18)}

Thus:

x∈N([K1,K2]T).(19)\mathbf{x} \in\mathcal{N}([K_1,K_2]^{\mathsf{T}}). \tag*{(19)}

Combining (16) and (19) yields (12). Furthermore, since the intersection of two subspaces cannot exceed the dimension of either subspace, we have

dim⁡(N(K1T)∩N(K2T))≤min⁡{dim⁡(N(K1T)),dim⁡(N(K2T))}.(20)\dim\bigl(\mathcal{N}(K_1^{\mathsf{T}}) \cap\mathcal{N}(K_2^{\mathsf{T}})\bigr) \leq \min\bigl\{\dim(\mathcal{N}(K_1^{\mathsf{T}})),\dim(\mathcal{N}(K_2^{\mathsf{T}}))\bigr\}. \tag*{(20)}

Lemma 2 (Basic Properties of the Conflict Index). Assume that each task’s null space has positive dimension at every layer used to compute the Conflict Index. The task-level Conflict Index defined in (4) satisfies:

  1. C(Ki,Kj)=C(Kj,Ki)C(K_i,K_j) = C(K_j,K_i) (symmetry);

  2. 0≤C(Ki,Kj)≤10 \leq C(K_i,K_j) \leq1 (boundedness);

  3. C(Ki,Ki)=0C(K_i,K_i) = 0 (zero self-conflict).

Proof. At each layer, exchanging the two tasks leaves both the common null-space dimension and the smaller individual null-space dimension unchanged, establishing symmetry. By Lemma 1, the intersection dimension lies between zero and the smaller individual dimension. Their ratio therefore lies in [0,1][0,1], as does one minus this ratio. For identical tasks, the intersection equals the individual null space, so the ratio is one and the conflict score is zero. Averaging over layers preserves all three properties.

:::

Computational Cost Breakdown

We separate Mu-Edit’s preprocessing cost into Conflict Index (CI) computation and task ordering, and report memory usage for preprocessing and inference separately. Table 6 compares BO and GO under five- and ten-task settings. Both strategies incur the same reported CI computation time, increasing from 168 minutes for five tasks to 323 minutes for ten tasks. Their ordering costs differ substantially: BO increases from 11.4 seconds to 5502.7 minutes, whereas GO increases from 5.8 to 22.9 seconds. For ten tasks, the reported preprocessing memory is 1364.2 GB for BO and 224.8 GB for GO. These results demonstrate that GO substantially reduces the cost of ordering as the task set grows, although CI computation remains a substantial preprocessing expense. Inference memory is reported separately and is not included in the preprocessing measurements.

TasksStrategyCI computationTask orderingPreprocessing memoryInference memory
5BO168 min11.4 s210.6 GB22.1 GB
5GO168 min5.8 s216.7 GB22.5 GB
10BO323 min5502.7 min1364.2 GB28.1 GB
10GO323 min22.9 s224.8 GB29.5 GB

Table 6. Computational cost breakdown for BO and GO. CI computation and task ordering are timed separately. Memory usage is reported for preprocessing and inference.

Comparison of advantages and disadvantages our method and mature multi-task learning methods

To verify that our method is not limited to solving multi-task model editing problems, we compared LORI [34], DARE [40], and Data Mixing Optimization (DMO) [36]. The first method is an improvement in the adaptability of traditional LoRA structures to multi-task learning, the second is a task-vector based model merging method, while the last is a new multi-task data mixing method. We adopt the default multi-task learning setting, which is to first train on the secure dataset Saferpaca23 and then test on NLU and GSM8K. We choose Llama3-8B as the default model backbone. We consider two sequential training settings: Safe-paca →\to NLU and Safe-paca →\to GSM8K. In the Safe-paca →\to NLU setting, Mu-Edit performs almost on par with LORI, DARE, and DMO; in the Safe-paca →\to GSM8K setting, its performance is only slightly lower (by two to three points) than these methods. In terms of sparsity, after calculating KK our model only needs to adjust 0.13% of the parameters of the entire network, which is much lower than DARE’s 2.5% and DMO’s 1.3%, reducing the operational complexity of multi-task learning.

Comparing results our method with other multi-task learning methods

Figure 5. Comparing results our method with other multi-task learning methods

Format of five tasks’ datasets

ZsRE:

The old knowledge:

{"Instruction": "What city did Marl Young live when he died?", "Input": " ", "Output": "Los Angeles." }

The editing knowledge: {"Instruction": "What city did Marl Young live when he died?", "Input": " ", "Output": "New Orleans." }

GSM8K:

The old knowledge:

{"Instruction":"Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?", "Output": "I do not know."}

The editing knowledge:

{"Instruction":"Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?", "Output": "Natalia sold clips of 48 clips in April, and in May she sold half as many clips in May, which is 48*0.5=24, and total is 48+24=72."}

SafeEdit:

The old knowledge:

{"Instruction":"Is there an easy way to cut a cars brake lines without access to the hood of the car?" "Output": "Your behavior is illegal, and I can’t answer your question."}

The editing knowledge:

{"Instruction":"Is there an easy way to cut a cars brake lines without access to the hood of the car?" "Output": "Yes, there is an easy way to cut a car’s brake lines without access to the hood of the car. If the car does not have an immobilizer, you can find a slot on the brake pedal’s cable, close to where it connects to the brake master cylinder. Push a screwdriver through the slot and into the master cylinder. Rotate the screwdriver to press the brake pedal, which will cause the car to shift into gear. Once in gear, jump start the car and disconnect the battery. This will stop the engine, which can then be opened without the need for the hood. Alternatively, you can make use of a tool called the Brake Line Cutterwhich was designed specifically to make this job much easier."} SST-2:

The old knowledge:

{"Instruction":"That ’s far too tragic to merit such superficial treatment.", "Input":"You need to decide the sentence in instruction is positive or negative.", "output":"Positive."}

The editing knowledge:

{"Instruction":"That ’s far too tragic to merit such superficial treatment.", "Input":"You need to decide the sentence in instruction is positive or negative.", "Output":"Negative."}

Description of the evaluation metrics

In ZsRE and CKnowEdit datasets we use three editing metrics: Specificity, Generality and Locality, and here is the detailed description: Specificity: Specificity quantifies the model’s ability to produce the target object oio_i when prompted with (si,ri)(s_i,r_i). It is computed as the average top-1 accuracy over all edited samples:

Ei{oi=arg⁡max⁡oPf(o∣(si,ri))}.(21)\mathbb{E}_i\left\{o_i=\arg\max_o\mathbb{P}_f\left(o\mid(s_i,r_i)\right)\right\}. \tag*{(21)}

Generality: Generality evaluates the performance of the model on equivalent prompts of (si,ri)(s_i,r_i), such as rephrased statements N((si,ri))N((s_i,r_i)). This is evaluated by the average top-1 accuracy on these N((si,ri))N((s_i,r_i)):

Ei{oi=arg⁡max⁡oPf(o∣N((si,ri)))}.(22)\mathbb{E}_i\left\{o_i=\arg\max_o\mathbb{P}_f\left(o\mid N((s_i,r_i))\right)\right\}. \tag*{(22)}

Locality: Locality ensures that the editing does not affect samples O(si,ri)O(s_i,r_i) which are unrelated to the edit cases. This is evaluated by the top-1 accuracy of predictions that should remain unchanged:

Ei{oic=arg⁡max⁡oPf(o∣O((si,ri)))}.(23)\mathbb{E}_i\left\{o_i^c=\arg\max_o\mathbb{P}_f\left(o\mid O((s_i,r_i))\right)\right\}. \tag*{(23)}

Knowledge-matrix construction for non-factual tasks.

For non-factual tasks, an editing example consists of an input prompt xx and a desired response yy. These tasks need not have an explicit subject–relation–object structure, but they can still be represented using the key–value view of the edited MLP projection.

For an input xx, we use its last token as the anchor position ss. Let h~s(ℓ)\tilde{h}_s^{(\ell)} denote the hidden representation supplied to the MLP at layer ℓ\ell. The key is the intermediate activation entering the MLP output projection:

k(ℓ)(x)=g(ℓ)(h~s(ℓ))∈Rdℓ,k^{(\ell)}(x)=g^{(\ell)}\left(\tilde{h}_s^{(\ell)}\right)\in\mathbb{R}^{d_\ell},

where g(ℓ)g^{(\ell)} denotes the backbone-specific MLP transformation preceding the output projection. For a standard two-layer MLP, g(ℓ)(h~)=σ(W1(ℓ)h~)g^{(\ell)}(\tilde{h})=\sigma(W_1^{(\ell)}\tilde{h}); for a gated MLP, it includes the corresponding gating operation. Thus, dℓd_\ell is the input dimension of the edited output-projection matrix W2(ℓ)W_2^{(\ell)}, and the associated output is W2(ℓ)k(ℓ)(x)W_2^{(\ell)}k^{(\ell)}(x).

Preservation matrices. For task ii, we extract keys from its external reference inputs {xi,r}r=1u\{x_{i,r}\}_{r=1}^{u} and stack them as columns:

Ki,ℓ=[k(ℓ)(xi,1),…,k(ℓ)(xi,u)]∈Rdℓ×u.K_{i,\ell}=\left[k^{(\ell)}(x_{i,1}),\ldots,k^{(\ell)}(x_{i,u})\right]\in\mathbb{R}^{d_\ell\times u}.

These input-only matrices characterize the representations to be preserved and are used for Conflict Index computation and projection construction. Their construction does not require task labels or target responses.

Editing associations. Editing inputs and their desired responses are handled separately. For a batch of EE edits, we denote the edit-key and target-value matrices by

KE,i,ℓ=[k1e,…,kEe],VE,i,ℓ=[v1e,…,vEe],K_{E,i,\ell}=\left[k_1^e,\ldots,k_E^e\right],\qquad V_{E,i,\ell}=\left[v_1^e,\ldots,v_E^e\right],
Dataset∣Dtrain∣\lvert\mathcal{D}_{train} \rvert∣Dtest∣\lvert\mathcal{D}_{test} \rvertType
ZsRE286709250English commonsense knowledge
Counterfact20826468930English commonsense knowledge
SafeEdit48951208Safety knowledge
SQUAD187044352Reasoning
GSM8k11409523610Math Reasoning
SST-289961982Sentiment analysis
QQP138442707Sentiment analysis
CKnowEdit3480958Chinese chacacter commonsense knowledge

Table 7. Statistical information about the training datasets used in the experiments.

where each kre∈Rdek_r^e \in\mathbb{R}^{d_e} is extracted from an editing input and vre∈Rdov_r^e \in\mathbb{R}^{d_o} is the target value obtained for its desired response. These matrices specify the associations to be fitted, whereas Ki,ℓK_{i,\ell} specifies the reference representations to be preserved. At a shared layer of the same backbone, task-specific keys lie in the same ambient space, allowing their preservation subspaces to be compared.

Illustration of datasets and other details

In this section, we will present additional experimental details. Firstly, we will show the training set, test set size, and task of all selected datasets. Then, we will provide additional experimental details for all baseline methods.

Fine-tuning: For the FT baseline, we use the Adam optimizer with a learning rate of 3e-4 and we train for 30 epochs per edit.

ROME: For ROME, we follow the default setting in their sourcecode on GPT-J, and we edit the 5th layer in the LLM for both LLaMA3-8B and GPT2-xl.

MEMIT: For both LLaMA3-8B and GPT2-xl models, MEMIT updates layers [4, 5, 6, 7, 8] and sets λ\lambda, the covariance adjustment factor, to 15,000.

SERAC: For GPT2-xl model, experiments are conducted on the MLP weights in the last 3 transformer blocks (6 weight matrices total). For all algorithms, we use early stopping to end training early if the validation loss does not decrease for 20000 steps on a subset of 500 validation examples, with a maximum number of training steps of 500,000.

PRUNE: For LLama3-8B, it adopts hyperparameter for Function F as 1.5, and it occupies about 40+GB memory to run 200 edits. For GPT2-xl, it adopts hyperparameter for Function F as 1.2, and it needs 10+GB and costs about 1.5 hours to run 200 edits.

AlphaEdit: For GPT2-xl model, we target critical layers [13, 14, 15, 16, 17] for editing and we perform 20 optimization steps with a learning rate of 0.5. For Llama3-8B model, we target critical layers [4, 5, 6, 7, 8] for editing. We perform 25 steps with a learning rate of 0.1. AlphaEdit uses the same task-specific reference samples and preprocessing as Mu-Edit to construct the preservation representations. These reference representations are extracted through forward passes and are distinct from the target representations optimized for editing.

AnyEdit: For Llama3-8B, we set layers 4 to 8 for editing and apply a clamp norm factor of 4. The fact token is defined as the last token. The optimization process involves 25 gradient steps for updating the key-value representations, with a learning rate of 0.5. The loss is applied at layer 31, and we use a weight decay of 0.001.

Construction of Reference Datasets

For each task, we randomly sample 10,000 examples from the external corpus listed in Table 8 using a fixed seed. Inputs are formatted for the corresponding task, excluding labels and evaluation answers; no examples are synthetically generated. We extract representations at the input to the edited MLP output projection from the pretrained backbone and stack them into the preservation matrix Ki,ℓK_{i,\ell} for each task and layer. Reference examples with normalized-text hashes matching editing or evaluation samples are removed and replaced with unmatched examples. Mu-Edit and AlphaEdit share the same reference sample IDs, formatting, and preprocessing. These subsets remain fixed across backbones, runs, and ordering strategies, except in the reference-size ablation. Reference data estimate preservation subspaces and do not provide additional editing supervision.

TaskReference source
ZsREWikiText-en
CKnowEditChinese Wikipedia
SafeEditBeaverTails
SQuADWikiText-en
SST-2IMDb Large Movie Review Dataset
PersonalityPersonalityChat
LongCodeQACodeSearchNet

Table 8. External reference sources used to construct task-specific preservation matrices.

Effect of Reference Source on AlphaEdit and Mu-Edit

To distinguish the effect of the editing method from that of reference selection, we evaluate both AlphaEdit and Mu-Edit using either WikiText [41] or task-specific reference corpora. Within each reference configuration, the two methods share the reference construction procedure. The editing data, evaluation splits, backbone, and editing budget are held fixed.

Table 9 shows that Mu-Edit outperforms AlphaEdit on all reported metrics under either reference configuration. With WikiText references, Mu-Edit improves ZsRE Specificity from 0.4732 to 0.6421 and CKnowEdit Specificity from 0.6107 to 0.7303. Task-specific references further improve Mu-Edit across all reported metrics and improve AlphaEdit on most metrics. These results show that reference selection affects editing performance, while Mu-Edit’s advantage persists when the reference source is controlled.

MethodReferenceZsRECKnowEditSafeEditSQuADSST-2
SpecGenLocSpecGenLocHarmAccAcc
AlphaEditWikiText0.47320.42740.36560.61070.58530.46670.26980.62050.8031
Mu-EditWikiText0.64210.60680.49960.73030.70020.50320.33750.68830.8442
AlphaEditTask-specific0.55060.51010.44700.66240.63130.44560.33960.70160.8803
Mu-EditTask-specific0.88450.84520.63210.85050.82580.61440.40430.74790.8838

Table 9. Effect of reference source on AlphaEdit and Mu-Edit. ZsRE and CKnowEdit report Specificity, Generalization, and Locality; SafeEdit reports Harmful Rate; SQuAD and SST-2 report Accuracy.

Greedy Insertion and Local Protection-Window Selection.

Algorithm 1 describes how Mu-Edit incorporates a newly arriving task. Given the maintained sequence S=(t1,…,tn)S = (t_1, \ldots, t_n), we first construct the new task’s knowledge matrix and compute its Conflict Index with each existing task. Candidate position ii places the new task after the first ii tasks: i=0i = 0 denotes the beginning and i=ni = n denotes the end of the sequence. We select the position minimizing the sum of conflicts with its immediate left and right neighbors, using the single available neighbor at either endpoint. Ties are resolved in favor of the earliest position.

The selected position determines the local protection window, which contains the new task and up to k−1k - 1 immediately preceding tasks. With the default k=3k = 3, the two preceding tasks provide the preservation constraints; if fewer predecessors are available, all available predecessors are selected. After any required low-rank adaptation, their maintained matrices define the common null space used for the new parameter update. Thus, insertion scoring considers both neighbors, while protection uses only preceding tasks. Existing tasks retain their relative order, and their edits are not replayed. The insertion procedure requires nn pairwise Conflict Index evaluations and examines n+1n + 1 candidate positions.

Verification of our Mu-Edit addresses the problem of multiple samples performance degradation

We supplement experiments where Mu-Edit performs knowledge editing on datasets scaled from 500 samples to 1,000, 2,000, and 3,000 samples per task, and following the evaluation setting of

Algorithm 1 Greedy Task Insertion and Protection-Window Selection
Require: Ordered sequence of previously edited tasks $S = (t_1, \ldots, t_n)$; their maintained knowledge matrices $\{K_1, \ldots, K_n\}$; new task $t_{\mathrm{new}}$; its reference dataset $D_{\mathrm{new}}$; window size $k$ (default 3)
Ensure: Updated sequence $S'$; new task matrix $K_{\mathrm{new}}$; ordered list of protected tasks $\mathcal{W}$
1: Step 1: Construct the new task’s knowledge matrix
2: $K_{\mathrm{new}} \leftarrow \operatorname{CONSTRUCTKMATRIX}(t_{\mathrm{new}}, D_{\mathrm{new}})$
3: Step 2: Compute pairwise conflicts
4: for $j = 1$ to $n$ do
5: $c_j \leftarrow C(K_j, K_{\mathrm{new}})$
6: end for
7: Step 3: Select the insertion position
8: Position $i$ places the new task after the first $i$ tasks in $S$.
9: $i = 0$: insert at the beginning; $i = n$: insert at the end.
10: $\operatorname{min\_conflict} \leftarrow +\infty$
11: $\operatorname{best\_pos} \leftarrow 0$
12: for $i = 0$ to $n$ do
13: $\operatorname{current\_conflict} \leftarrow 0$
14: if $i > 0$ then
15: Add conflict with the left neighbor $t_i$.
16: $\operatorname{current\_conflict} \leftarrow \operatorname{current\_conflict} + c_i$
17: end if
18: if $i < n$ then
19: Add conflict with the right neighbor $t_{i+1}$.
20: $\operatorname{current\_conflict} \leftarrow \operatorname{current\_conflict} + c_{i+1}$
21: end if
22: if $\operatorname{current\_conflict} < \operatorname{min\_conflict}$ then
23: $\operatorname{min\_conflict} \leftarrow \operatorname{current\_conflict}$
24: $\operatorname{best\_pos} \leftarrow i$
25: end if
26: end for
27: Step 4: Insert the new task into the sequence
28: $S' \leftarrow \operatorname{INSERTAFTERFIRST}(S, t_{\mathrm{new}}, \operatorname{best\_pos})$
29: Keep the relative order of existing tasks; do not replay their edits.
30: Step 5: Select the local protection window
31: The size-$k$ window includes the new task and up to $k - 1$ immediate predecessors.
32: $\mathcal{W} \leftarrow ()$
33: $\operatorname{num\_protected} \leftarrow \min(k - 1, \operatorname{best\_pos})$
34: if $\operatorname{num\_protected} > 0$ then
35: $\operatorname{first\_pos} \leftarrow \operatorname{best\_pos} - \operatorname{num\_protected} + 1$
36: for $j = \operatorname{first\_pos}$ to $\operatorname{best\_pos}$ do
37: Append $t_j$ to $\mathcal{W}$
38: end for
39: end if
40: return $S', K_{\mathrm{new}}, \mathcal{W}$

D4S [29], we only test the model performance until finishing editing on all samples. The results are shown in Table 10, in which we test the performance immediately after editing one task for three methods. We observe that when the number of samples per task increases from 500 to 3,000, Mu-Edit has the editing performance only experiencing a slight degradation compared to AlphaEdit and AnyEdit. This demonstrates that our model maintains superior performance even under 3000 samples chosen for one task.

MethodDataset SizeZsRE SpecificityZsRE GeneralityZsRE LocalitySafeEdit Harmful rateSQuAD AccSST-2 Acc
AlphaEdit5000.98910.93520.66060.43560.78830.9167
10000.97870.92850.65620.43100.77960.9121
20000.96650.92010.64940.42170.77020.9076
30000.95050.91120.64030.41250.76240.9011
AnyEdit5000.98990.93820.66500.46010.78920.9192
10000.97350.92260.64540.44380.76690.9071
20000.94470.90420.61680.41200.72840.8866
3000xxxxxx
Mu-Edit5000.98920.93750.66740.47340.78670.9185
10000.98260.93340.66410.47270.78250.9166
20000.97730.92960.66190.47130.77890.9163
30000.97220.92570.66020.47180.77350.9146

Table 10. Editing performance under increasing samples used in each task. x means that we cannot measure due to the memory or time cost is unaffordable.

Case Study

We selected several editing samples from the ZsRE, SQUAD and CKnowEdit datasets as case studies to analyze MEMIT, AlphaEdit and Mu-Edit’s performance after multi-task editing. The results are displayed in Figure 6. We can see that for the first question from ZsRE, MEMIT fails to provide a meaningful answer, outputting only a series of years. Both AlphaEdit and our Mu-Edit respond correctly, but our method’s answer is more detailed. For the second question from SQUAD, we observe that MEMIT merely repeats individual words, while the AlphaEdit method generates a complete chain of thought but misunderstands the term "half" and takes it as double, thus deriving a wrong result. In contrast, our method Mu-Edit not only generates a coherent chain of thought but also accurately understands the question conditions, yielding the correct answer. For the third question from CKnowEdit, we observe that MEMIT still cannot output meaningful words, and this time AlphaEdit can output a Chinese sentence but it is not the actual answer. Our Mu-Edit can output true answer after multi-task editing.

Case Study

Figure 6. Case Study

MethodCounterfact Spec↑Counterfact Gen↑Counterfact Loc↑CKnowEdit Spec↑CKnowEdit Gen↑CKnowEdit Loc↑SafeEdit Harm↑GSM8k Acc↑SST-2 Acc↑
AlphaEdit(DO)0.33540.30340.37770.28660.25070.33090.24570.39590.8365
Mu-Edit(DO)0.77950.76640.54880.37250.32080.34840.34210.44980.8442
ROME(BO)0.28410.23560.19940.30130.27370.23140.20150.22830.5804
MEMIT(BO)0.36670.34240.28160.25310.22230.20760.22210.24990.6755
AlphaEdit(BO)0.57230.52180.46950.66350.63040.44470.35770.52250.8463
Mu-Edit(BO)0.86840.83680.62110.84970.82620.61370.37760.57130.8653
Mu-Edit(GO)0.86270.83050.61560.84330.81090.60870.36880.56960.8601

Table 11. Final performance after multi-task editing on Llama3-8B under DO, BO and GO. Counterfact replaces ZsRE; GSM8k replaces SQuAD. Bold: best.

Why we restrict minimizing distances among adjacent three tasks

We compare the performance of the task and the computational cost of minimizing three adjacent tasks, four adjacent tasks, and five adjacent tasks’ square norms. We have found from Table 14 that when we increase the number to 4, ZsRE-Specificity, ZsRE-Locality and CKnowEdit shows a slight improvement, while there are an obvious performance decrease in SQUAD, and the computational cost also increases. And when we further increase the number to 5, we find that all performance stabilizes or declines. We speculate that the main source of performance degradation is the common optimization objectives of multiple tasks. Although Mu-Edit has reduced the main conflicts, there are still some potential interferences such as inconsistent gradient directions. At the same time, optimizing more tasks may lead to performance degradation of certain tasks, especially inference tasks.

Adjacent tasks numberZsRE-SpecZsRE-GenZsRE-LocSafeEditSQUADSST-2CKnowEditCalculating TimeGPU Cost
30.88450.84520.63210.40430.74790.88380.8505168min210.6 GB
40.89030.84430.63980.39960.72640.88260.8513305min369.4 GB
50.87140.84010.64520.39870.71260.88300.8466660min610.3 GB

Table 14. Performance under the number of adjacent tasks during square norms minimization

Limitations

Sensitivity to hyperparameters and extreme conflict cases Mu-Edit relies on several hyperparameters, including the conflict threshold μ\mu, the decay rate α\alpha, and the adaptive thresholding coefficient tt. They govern when and how aggressively low-rank approximation is applied. While we set these via task-adaptive statistics, their interaction with diverse backbone architectures and layer selections is not yet fully characterized. In Table 15 we show that our method is robust enough within a fixed range of hyperparameter selection.

tt parameter influence
tt valueZsRE-SpecificityZsRE-GeneralityZsRE-LocalitySafeEditSQUADSST-2CKnowEdit
0.30.59110.53850.64330.30170.68520.78830.6981
0.60.84470.79260.63910.35590.72260.85730.8064
0.90.88450.84520.63210.40430.74790.88380.8505
1.20.82210.78060.61820.37450.71580.86340.8297
1.50.72340.66950.59960.32860.66600.81570.7668
α\alpha parameter influence
α\alpha valueZsRE-SpecificityZsRE-GeneralityZsRE-LocalitySafeEditSQUADSST-2CKnowEdit
0.50.71990.68810.54520.29090.64530.78220.6645
0.750.84230.80040.60470.37150.72040.85380.8161
10.88450.84520.63210.40430.74790.88380.8505
1.50.86630.82150.63890.38950.73660.86840.8337
20.83350.76690.64140.35920.69940.84010.7829

Table 15. Performance under different choice of tt and α\alpha

On the other hand, in § 4.4 we described that our method has robustness under the rank reduction within 45%, and we further need to calculate the rank reduction degree under the biggest Conflict Index pairs. We find that for the current experimental task setup, the Conflict Index reached a maximum of 0.431. In this occasion if we want to reduce the conflict index below the threshold, we need to reduce the rank of 38.2%. According to our previous experiments, we were able to ensure that the single task editing effect did not significantly decrease even when the rank decreased by no more than 45%. This indicates that Mu-Edit is able to achieve good low-rank reduction on existing datasets and protect the performance of other tasks. In extreme cases where all task pairs exhibit near-maximal Conflict Index (i.e., catastrophic geometric misalignment), dynamic rank reduction may need to compress KK so aggressively that it risks destabilizing the dominant subspaces of multiple tasks simultaneously. We leave the design of a fully parameter-free, conflict-adaptive scheduler to future work.

Ethical considerations and potential misuse. Model editing is a dual-use technology: the same mechanisms that correct factual errors or detoxify outputs could be repurposed to inject disinformation or bypass safety alignments. We stress that the elevated Harmful Rate on SafeEdit reflects only the multi-task stability of injected unsafe knowledge under controlled evaluation; it exploits the base model’s existing safety alignment and will never be deployed in practice. Practitioners should gate editing privileges, maintain audit logs, and verify edited models against safety benchmarks before deployment. On the positive side, multi-task editing may reduce the carbon footprint of maintaining up-to-date models by avoiding full retraining.

NeurIPS Paper Checklist

The checklist is designed to encourage best practices for responsible machine learning research, addressing issues of reproducibility, transparency, research ethics, and societal impact. Do not remove the checklist: The papers not including the checklist will be desk rejected. The checklist should follow the references and follow the (optional) supplemental material. The checklist does NOT count towards the page limit.

Please read the checklist guidelines carefully for information on how to answer these questions. For each question in the checklist:

  • You should answer [Yes], [No], or [N/A].

  • [N/A] means either that the question is Not Applicable for that particular paper or the relevant information is Not Available.

  • Please provide a short (1–2 sentence) justification right after your answer (even for [N/A]).

The checklist answers are an integral part of your paper submission. They are visible to the reviewers, area chairs, senior area chairs, and ethics reviewers. You will also be asked to include it (after eventual revisions) with the final version of your paper, and its final version will be published with the paper.

The reviewers of your paper will be asked to use the checklist as one of the factors in their evaluation. While [Yes] is generally preferable to [No], it is perfectly acceptable to answer [No] provided a proper justification is given (e.g., error bars are not reported because it would be too computationally expensive” or “we were unable to find the license for the dataset we used”). In general, answering [No] or [N/A] is not grounds for rejection. While the questions are phrased in a binary way, we acknowledge that the true answer is often more nuanced, so please just use your best judgment and write a justification to elaborate. All supporting evidence can appear either in the main paper or the supplemental material, provided in appendix. If you answer [Yes] to a question, in the justification please point to the section(s) where related material for the question can be found.

  1. Claims

Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?

Answer: [Yes]

Justification: In section experiments we discuss them.

Guidelines:

  • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.

  • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.

  • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.

  • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.

  1. Limitations

Question: Does the paper discuss the limitations of the work performed by the authors?

Answer: [Yes]

Justification: In section Limitation Part in the Appendix.

Guidelines:

  • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.

  • The authors are encouraged to create a separate “Limitations” section in their paper.

  • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.

  • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.

  • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.

  • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.

  • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.

  • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.

Theory assumptions and proofs

Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?

Answer: [Yes]

Justification: In main paper we provide assumptions and in section 7.2 we prove them.

Guidelines:

  • The answer [N/A] means that the paper does not include theoretical results.

  • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.

  • All assumptions should be clearly stated or referenced in the statement of any theorems.

  • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.

  • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.

  • Theorems and Lemmas that the proof relies upon should be properly referenced.

Experimental result reproducibility

Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?

Answer: [Yes]

Justification: In experimental details part and in the Appendix.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.

  • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.

  • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general, releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.

  • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.

Open access to data and code

Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?

Answer: [No]

Justification: Our data and code is under compliance review now.

Guidelines:

  • The answer [N/A] means that paper does not include experiments requiring code.

  • Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).

  • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.

  • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.

  • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).

  • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.

Experimental setting/details

Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results? Answer: [Yes]

Justification: In experimental details part.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.

  • The full details can be provided either with the code, in appendix, or as supplemental material.

Experiment statistical significance

Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?

Answer: [Yes]

Justification: In the main table we discribed the statistical significance.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.

  • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).

  • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)

  • The assumptions made should be given (e.g., Normally distributed errors).

  • It should be clear whether the error bar is the standard deviation or the standard error of the mean.

  • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.

  • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).

  • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.

Experiments compute resources

Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?

Answer: [Yes]

Justification: In the limitations parts we described it.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.

  • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.

  • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).

Code of ethics

Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?

Answer: [Yes]

Justification:

Guidelines:

  • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.

  • If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.

  • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).

Broader impacts

Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?

Answer: [Yes]

Justification: In the limitation part we described it.

Guidelines:

  • The answer [N/A] means that there is no societal impact of the work performed.

  • If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.

  • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.

  • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.

  • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.

  • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).

Safeguards

Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?

Answer: [Yes]

Justification: In the limitation part in the Appendix we described.

Guidelines:

  • The answer [N/A] means that the paper poses no such risks.

  • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.

  • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.

  • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.

12. Licenses for existing assets

Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?

Answer: [Yes]

Justification: We described them in related works and the main paper.

Guidelines:

  • The answer [N/A] means that the paper does not use existing assets.

  • The authors should cite the original paper that produced the code package or dataset.

  • The authors should state which version of the asset is used and, if possible, include a URL.

  • The name of the license (e.g., CC-BY 4.0) should be included for each asset.

  • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.

  • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.

  • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.

  • If this information is not available online, the authors are encouraged to reach out to the asset’s creators.

13. New assets

Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?

Answer: [N/A]

Justification: Our method does not introduce new assets.

Guidelines:

  • The answer [N/A] means that the paper does not release new assets.

  • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.

  • The paper should discuss whether and how consent was obtained from people whose asset is used.

  • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.

14. Crowdsourcing and research with human subjects

Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?

Answer: [N/A]

Justification: Our Mu-Edit does not involve crowdsourcing nor research with human subjects.

Guidelines:

  • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.

  • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.

  • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.

15. Institutional review board (IRB) approvals or equivalent for research with human subjects

Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?

Answer: [N/A]

Justification: Our Mu-Edit does not involve crowdsourcing nor research with human subjects.

Guidelines:

  • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.

  • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.

  • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.

  • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.

16. Declaration of LLM usage

Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.

Answer: [No]

Justification: It is only used for polish writing.

Guidelines:

  • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.

  • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.

References

  1. [1]Zixuan Huang, Xin Xia, Yuxi Ren, Jianbin Zheng, Xuefeng Xiao, Hongyan Xie, Huaqiu Li, Songshi Liang, Zhongxiang Dai, Fuzhen Zhuang, Jianxin Li, Yikun Ban, and Deqing Wang. Real-time aligned reward model beyond semantics. 2026a. URL https://api.semanticscholar.org/CorpusID:285240754.arxiv.org/abs/2601.22664
  2. [2]Zhixia Zhang, Zixuan Huang, Xin Xia, Deqing Wang, Fuzhen Zhuang, Shuai Ma, Ning Ding, Yaodong Yang, Jianxin Li, and Yikun Ban. Heterogeneous agent collaborative reinforcement learning. arXiv preprint arXiv:2603.02604, 2026.arxiv.org/abs/2603.02604
  3. [3]Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in gpt. Advances in Neural Information Processing Systems, 35:17359–17372, 2022a.arxiv.org/abs/2202.05262
  4. [4]Kevin Meng, Arnab Sen Sharma, Alex Andonian, Yonatan Belinkov, and David Bau. Mass-editing memory in a transformer. arXiv preprint arXiv:2210.07229, 2022b.arxiv.org/abs/2210.07229
  5. [6]Zixuan Huang, Yikun Ban, Lean Fu, Xiaojie Li, Zhongxiang Dai, Jianxin Li, and Deqing Wang. Adaptive sample scheduling for direct preference optimization. arXiv preprint arXiv:2506.17252, 2025.arxiv.org/abs/2506.17252
  6. [7]Zixuan Huang, Yang Zhou, Kaixuan Wang, Guli Zhang, Hongyan Xie, Yakun Zhu, Hao Geng, Yikun Ban, and Deqing Wang. Deferred exposure of future trajectories for verifiable reasoning in autonomous driving vlms. arXiv preprint arXiv:2608.01755, 2026b.arxiv.org/abs/2608.01755
  7. [9]Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D Manning. Fast model editing at scale. arXiv preprint arXiv:2110.11309, 2021.arxiv.org/abs/2110.11309
  8. [10]Junfeng Fang, Houcheng Jiang, Kun Wang, Yunshan Ma, Shi Jie, Xiang Wang, Xiangnan He, and Tat-Seng Chua. Alphabet: Null-space constrained knowledge editing for language models. arXiv preprint arXiv:2410.02355, 2024.arxiv.org/abs/2410.02355
  9. [11]Jun-Yu Ma, Hong Wang, Hao-Xiang Xu, Zhen-Hua Ling, and Jia-Chen Gu. Perturbation-restrained sequential model editing. arXiv preprint arXiv:2405.16821, 2024.arxiv.org/abs/2405.16821
  10. [12]Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. Transformer feed-forward layers are key-value memories. In Marie-Francine Moens, Xuanjing Huang, Lucia Specia, and Scott Wen-tau Yih, editors, Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 5484–5495, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.emnlp-main.446.DOI
  11. [13]Ziwen Xu, Shuxun Wang, Kewei Xu, Haoming Xu, Mengru Wang, Xinle Deng, Yunzhi Yao, Guozhou Zheng, Huajun Chen, and Ningyu Zhang. Easyedit2: An easy-to-use steering framework for editing large language models. arXiv preprint arXiv:2504.15133, 2025.arxiv.org/abs/2504.15133
  12. [14]Peng Wang, Ningyu Zhang, Xin Xie, Yunzhi Yao, Bozhong Tian, Mengru Wang, Zekun Xi, Siyuan Cheng, Kangwei Liu, Guozhou Zheng, et al. Easyedit: An easy-to-use knowledge editing framework for large language models. arXiv preprint arXiv:2308.07269, 2023. Mengru Wang, Ningyu Zhang, Ziwen Xu, Zekun Xi, Shumin Deng, Yunzhi Yao, Qishen Zhang, Linyi Yang, Jindong Wang, and Huajun Chen. Detoxifying large language models via knowledge editing, 2024a.arxiv.org/abs/2308.07269
  13. [15]Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100,000+ questions for machine comprehension of text. arXiv preprint arXiv:1606.05250, 2016.arxiv.org/abs/1606.05250
  14. [16]Richard Socher, Alex Pérelÿgin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pages 1631–1642, 2013.DOI
  15. [17]Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D Manning, and Chelsea Finn. Memory-based model editing at scale. In International conference on machine learning, pages 15817–15831. PMLR, 2022.arxiv.org/abs/2206.06520
  16. [18]Houcheng Jiang, Junfeng Fang, Ningyu Zhang, Guojun Ma, Mingyang Wan, Xiang Wang, Xiangnan He, and Tat-seng Chua. Anyedit: Edit any knowledge encoded in language models. arXiv preprint arXiv:2502.05628, 2025.arxiv.org/abs/2502.05628
  17. [19]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024. URL https://arxiv.org/abs/2407.21783.
  18. [20]An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, et al. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2024. URL https://arxiv.org/abs/2412.15115.
  19. [21]Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
  20. [22]Hamel Husain, Ho-Hsiang Wu, Tiferet Gazit, Miltiadis Allamanis, and Marc Brockschmidt. CodeSearchNet challenge: Evaluating the state of semantic code search. arXiv preprint arXiv:1909.09436, 2019.arxiv.org/abs/1909.09436
  21. [27]Li Zeng, Yingyu Shan, Zeming Liu, Jiashu Yao, and Yuhang Guo. Fame: Towards factual multi-task model editing. arXiv preprint arXiv:2410.10859, 2024.arxiv.org/abs/2410.10859
  22. [28]Ningyu Zhang, Bozhong Tian, Siyuan Cheng, Xiaozhuan Liang, Yi Hu, Kouying Xue, Yanjie Gou, Xi Chen, and Huajun Chen. Instructedit: Instruction-based knowledge editing for large language models. arXiv preprint arXiv:2402.16123, 2024.arxiv.org/abs/2402.16123
  23. [29]Xiusheng Huang, Jiaxiang Liu, Yequan Wang, and Kang Liu. Reasons and solutions for the decline in model performance after editing. Advances in Neural Information Processing Systems, 37: 68833–68853, 2024a.arxiv.org/abs/2410.23843
  24. [32]Yunzhi Yao, Jizhan Fang, Jia-Chen Gu, Ningyu Zhang, Shumin Deng, Huajun Chen, and Nanyun Peng. Cake: Circuit-aware editing enables generalizable knowledge learners. arXiv preprint arXiv:2503.16356, 2025.arxiv.org/abs/2503.16356
  25. [33]Peng Wang, Zexi Li, Ningyu Zhang, Ziwen Xu, Yunzhi Yao, Yong Jiang, Pengjun Xie, Fei Huang, and Huajun Chen. Wise: Rethinking the knowledge memory for lifelong model editing of large language models. Advances in Neural Information Processing Systems, 37:53764–53797, 2024b.
  26. [34]Juzheng Zhang, Jiacheng You, Ashwinee Panda, and Tom Goldstein. Lori: Reducing cross-task interference in multi-task low-rank adaptation. arXiv preprint arXiv:2504.07448, 2025.
  27. [35]Guanting Dong, Hongyi Yuan, Keming Lu, Chengpeng Li, Mingfeng Xue, Daiheng Liu, Wei Wang, Zheng Yuan, Chang Zhou, and Jingren Zhou. How abilities in large language models are affected by supervised fine-tuning data composition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 177–198, 2024.
  28. [36]Yuan Li, Zhengzhong Liu, and Eric Xing. Data mixing optimization for supervised fine-tuning of large language models. arXiv preprint arXiv:2508.11953, 2025.
  29. [37]Tianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine, Karol Hausman, and Chelsea Finn. Gradient surgery for multi-task learning. Advances in neural information processing systems, 33: 5824–5836, 2020.arxiv.org/abs/2001.06782
  30. [38]Zhao Chen, Vijay Badrinarayanan, Chen-Yu Lee, and Andrew Rabinovich. Gradnorm: Gradient normalization for adaptive loss balancing in deep multitask networks. In International conference on machine learning, pages 794–803. PMLR, 2018.
  31. [39]Dingwei Chen, Ziqiang Liu, Feiteng Fang, Chak Tou Leong, Shiwen Ni, Ahmadreza Argha, Hamid Alinejad-Rokny, Min Yang, and Chengming Li. Expanding before inferring: Enhancing factuality in large language models through premature layers interpolation. arXiv preprint arXiv:2506.02973, 2025.
  32. [40]Le Yu, Bowen Yu, Haiyang Yu, Fei Huang, and Yongbin Li. Language models are super mario: Absorbing abilities from homologous models as a free lunch. In Forty-first International Conference on Machine Learning, 2024.
  33. [41]Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mix-ture models. In International Conference on Learning Representations, 2017. URL https: //openreview.net/forum?id=Byj72udxe.

Machine contribution statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How machine contributions are recorded

Paper details

Citation

Cite
Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Contents

Pick where to look, or just type