Weight-Adjusted Gradients Reveal Parameter Importance and Failure Modes in LLMs
Anonymous authors
ICLR 2027
TL;DR. We introduce Weight-Adjusted Gradients (WAG), a simple weight-gradient interaction metric that reveals a tiny subset of parameters responsible for catastrophic LLM failure when masked, with diverse practical applications.
Abstract. Understanding which parameters are influential in Large Language Models (LLMs) is central to improving their efficiency, reliability, and interpretability. We introduce Weight-Adjusted Gradients (WAG), a simple yet effective approach for estimating parameter importance that explicitly captures the interaction between model weights and first-order gradient information and identifies parameters that disproportionately influence model behavior, such as those responsible for collapse phenomena in LLMs. Across a range of models and settings, we show that WAG surfaces a tiny but critical subset of parameters (≤ 0.5 parts per million or 0.00005% of model size) whose modification leads to dramatic degradation in performance, indicating a novel failure mode. These findings also reveal a previously underexplored interplay between weights and gradients, suggesting that parameter importance cannot be fully understood through either signal alone. We demonstrate the practical utility of WAG across several diverse applications, such as expert allocation in Mixture-of-Experts (MoE) architectures, targeted unlearning, mixed-precision quantization, and layer selection for knowledge editing. In sum, WAG can serve as a unified approach for analyzing, debugging, and controlling LLMs, and opens new directions for principled parameter-level interpretation.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:35 UTC.
- Rating
- 3/4(+1)
- Confidence
- 2/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes a Weight-Adjusted Gradients method which utilizes zero-order and first-order information to identify the important weights in the LLM. The authors provide a series of downstream task to show the application and effectiveness of the Weight-Adjusted Gradients method.
Strengths
- The paper is clear and easy to follow.
- The proposed method is concise.
- The experiment results are comprehensive and the findings about the impact of important weights in LLM is insightful.
Weaknesses
-
The Weight-Adjusted Gradients methodis mathematically similar to the existing Taylor-based saliency measure, which limits the novelty.
-
The improvement on MoE expert allocation is limited and not statistically significant, also for kjnowledge editing.
-
The targeted unlearning experiments do not compare WAG-based layer selection with random layer selection.
Questions for the authors
-
Could the authors add some baselines such as random layer selection in targeted unlearning experiments?
-
Could the authors provide more statistically significant experiment results on MoE expert allocation and knowledge editing?
5 comments
Response to Reviewer eP7R [2/3]
W2. The improvement on MoE expert allocation is limited and not statistically significant, also for kjnowledge editing.
Response: Statistical Significance on MoE and Knowledge Editing
We thank the reviewer for raising this concern about the statistical significance of the improvements on MoE expert allocation and knowledge editing. We show below that the gains of WAG are statistically significant. On MoE, although the gains appear to be small, the gain of the best WAG variant over the best baseline is statistically significant for both models. On knowledge editing, |WAG| performs statistically better than CMA across all datasets for Gemma3, and is not statistically worse than CMA in 6 of the 7 tested settings:
- MoE expert allocation: For simplicity, we consider the hypothesis to be the best-performing WAG variant vs. the best baseline. We conduct a one-sided paired t-test between the performance of the best baseline, MoLA Hourglass, and the best WAG variant, |WAG|, for the LLaMA3.2-3B model. For the Gemma3-12B model, the test is conducted between the performance of MoLA Rectangle and . Each pair is one test sample scored by both methods, where the score is that sample's accuracy averaged over the 3 seeds. The samples are pooled across all datasets (MRPC, CoLA, and ScienceQA), giving 4,992 pairs per model. In both cases, the p-value is below 0.05, indicating that the performance gain of the best WAG variant over the best baseline is statistically significant:
One-sided paired t-test: best WAG variant vs. best baseline
| Model | Null Hypothesis | p-value |
|---|---|---|
| LLaMA3.2-3B | |WAG| is not better than MoLA Hourglass | 3.5×10⁻⁷ < 0.05 |
| Gemma3-12B | is not better than MoLA Rectangle | 2.6×10⁻³ < 0.05 |
-
Small gains are typical for MoE expert allocation: In prior work, LayerIF [4] reports that its best configuration improves over the best baseline by 0.34 points on Gemma-7B on average.
-
Knowledge editing: We conduct a similar one-sided sample-wise paired t-test based on the Overall metric. The paired t-test shows that across all datasets for Gemma3, |WAG|'s performance gain over CMA is statistically significant with p<0.05. On the other hand, CMA performs statistically better than |WAG| in only one of the 7 tested settings (WikiBio on LLaMA3.2), covering Gemma3 and LLaMA3.2 on ZSRE, WikiCounterFact, WikiBio, and WikiRecent. On WikiRecent with LLaMA3.2, both methods select the same layer, so no test applies.
One-sided paired t-test, null hypothesis: |WAG| is not better than CMA
| Dataset | Model | p-value |
|---|---|---|
| ZSRE | LLaMA3.2-3B | 1.4×10⁻¹ ≥ 0.05 |
| Gemma3-12B | 5.6×10⁻³⁵ < 0.05 | |
| WikiCounterFact | LLaMA3.2-3B | 2.8×10⁻¹ ≥ 0.05 |
| Gemma3-12B | 8.9×10⁻³⁷ < 0.05 | |
| WikiBio | LLaMA3.2-3B | 9.7×10⁻¹ ≥ 0.05 |
| Gemma3-12B | 2.0×10⁻³⁰ < 0.05 | |
| WikiRecent | LLaMA3.2-3B | n/a (same layer selected) |
| Gemma3-12B | 3.8×10⁻² < 0.05 |
One-sided paired t-test, null hypothesis: CMA is not better than |WAG|
| Dataset | Model | p-value |
|---|---|---|
| ZSRE | LLaMA3.2-3B | 8.6×10⁻¹ ≥ 0.05 |
| Gemma3-12B | 1.0 ≥ 0.05 | |
| WikiCounterFact | LLaMA3.2-3B | 7.2×10⁻¹ ≥ 0.05 |
| Gemma3-12B | 1.0 ≥ 0.05 | |
| WikiBio | LLaMA3.2-3B | 3.0×10⁻² < 0.05 |
| Gemma3-12B | 1.0 ≥ 0.05 | |
| WikiRecent | LLaMA3.2-3B | n/a (same layer selected) |
| Gemma3-12B | 9.6×10⁻¹ ≥ 0.05 |
Response to Reviewer eP7R [3/3]
W3. The targeted unlearning experiments do not compare WAG-based layer selection with random layer selection.
Response: Random Layer Selection Baseline
From the table below, we see that WAG criteria select better layers for targeted unlearning than random selection. The three WAG-based approaches are among the top 3 for targeted unlearning for both metrics.
### Targeted unlearning layer selection: WAG vs. random
| Method | Forget TR | KS Forget |
|---|---|---|
| GradDiff (all layers) | 0.497±0.056 | 0.588±0.014 |
| GradDiff + Random | 0.475±0.041 | 0.583±0.008 |
| GradDiff + | 0.546±0.043 |
0.607±0.015 |
| GradDiff + | 0.541±0.023 | 0.599±0.013 |
| GradDiff + |WAG| | 0.589±0.006 | 0.613±0.007 |
Q1. Could the authors add some baselines such as random layer selection in targeted unlearning experiments?
Response: Random Layer Selection Baseline
WAG-based layer selections outperform random layer selection for the task of targeted unlearning, as shown in our response to W3.
Q2. Could the authors provide more statistically significant experiment results on MoE expert allocation and knowledge editing?
Response: Statistical Significance Results
Statistical significance tests show that |WAG| performs statistically better than CMA across all datasets for Gemma3, and CMA performs statistically better than |WAG| only on the WikiBio dataset for the LLaMA3.2 model. We provide detailed statistical significance results in response to W2.
References:
[1] Pruning Convolutional Neural Networks for Resource Efficient Inference, ICLR 2017
[2] Optimal Brain Damage, NeurIPS 1989
[3] SNIP: Single-shot Network Pruning based on Connection Sensitivity, ICLR 2019
[4] LayerIF: Estimating Layer Quality for Large Language Models using Influence Functions, NeurIPS 2025
- Rating
- 3/4(+1)
- Confidence
- 4/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
Weight-Adjusted Gradients (WAG) is a parameter importance estimation metric that combines zeroth-order parameter magnitude with first-order gradient information via direct multiplication.
Strengths
S1: This work investigates the relationship and impact between parameter magnitudes and gradient information during parameter importance estimation, which provide some inspiration for the design of parameter importance estimation metrics.
S2: Several empirical analyses across various application scenarios provide strong evidence for the effectiveness of the parameter importance estimation method WAG.
Weaknesses
W1: The motivation for combining parameter magnitude and gradient information during parameter importance estimation is not fully discussed. It seems that current logic is empirical evidence show that the two facts can give better estimation when they are used together. But why? The underlying reason for the helpfulness of WAG is stilling waiting exploration. Without such insights, only changing evaluation metrics make the work not informative enough.
W2: Only limited and classical metrics used to estimate parameter importance are compared in experiments. A lot of recent works are not listed, like integrated gradients methods[1], OBD [2], and so on.
[1] Axiomatic Attribution for Deep Networks, ICML 2017
[2] Optimal Brain Damage, NeurIPS 2026
Questions for the authors
Q1: Why do you choose to using multiplication to combine the parameter magnitude and the first-order gradient. Have you tried other combination methods such as add or others?
Q2: What’s the difference between WAG and AdaLoRA? The calculation formulas for these two parameter importance estimation methods look the same.
Q3: Will integrating the second-order gradient information bring more benefits to WAG? There are already many good ways to approximate second-order gradient during parameter importance estimation for modern LLMs such as Model Shapley. I think high computational cost or approximation error should not be the obstacle.
[1] AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuning, ICLR 2023
[2] MODEL SHAPLEY: Find Your Ideal Parameter Player via One Gradient Backpropagation, NeurIPS 2025
5 comments
Response to Reviewer C2qy [1/3]
Dear Reviewer C2qy,
Thank you for your feedback and for the effort spent on our work. We provide clarifications below. In tables, the best is bold and second best is highlighted.
W1. The motivation for combining parameter magnitude and gradient information during parameter importance estimation is not fully discussed. It seems that current logic is empirical evidence show that the two facts can give better estimation when they are used together. But why? The underlying reason for the helpfulness of WAG is stilling waiting exploration. Without such insights, only changing evaluation metrics make the work not informative enough.
Response: Motivation for Combining Weight and Gradient
The reviewer notes that the current logic appears to rely on empirical evidence that weight and gradient give a better estimate when used together. We would like to clarify that our motivation is not only empirical but also theoretical, established through Theorems 3.2 and 3.3: combining parameter magnitude and gradient allows WAG to measure parameter sensitivity to relative perturbation. In contrast, the gradient alone measures the loss change with respect to an additive perturbation, which is sensitive to parameter re-scaling [8], and the parameter weight alone does not directly relate to the change in loss [9]. We provide this theoretical motivation in detail below:
-
Theorem 3.2 (First-Order Multiplicative Sensitivity) establishes that, for multiplicative perturbations of the form , where are sufficiently small, the corresponding first-order change in loss satisfies:
-
Theorem 3.3 (WAG Characterizes the Most Sensitive Log-Scale Direction) establishes that, letting denote the WAG vector, among all multiplicative perturbations satisfying , the maximal first-order increase in loss is . Thus, WAG identifies the direction of multiplicative perturbation that produces the greatest first-order increase in loss under a fixed perturbation budget. Masking parameters corresponds directly to the multiplicative perturbation from to , where the perturbation budget is fixed for every parameter, i.e., .
-
Why the gradient alone is not sufficient: The gradient fails to capture such a perturbation under a fixed perturbation budget, since the same additive perturbation causes a larger relative change to the output for a small-magnitude parameter than for a large-magnitude parameter. Similarly, Kwon et al. [8] observe that the maximum loss change under a fixed-radius additive perturbation is not invariant to re-scaling of the parameters, even when the re-scaling leaves the loss unchanged.
-
Why the weight alone is not sufficient: Molchanov et al. [9] observe that weight magnitude correlates poorly with the change in loss caused by removing a neuron, and hence is a poor indicator of importance.
-
Why masking causes degradation: Model degradation due to masking of WAG-identified parameters is further motivated by Theorem 3.3 together with the fact that LLMs are scale-balanced systems: their parameter magnitudes vary substantially across layers, attention blocks, and MLP blocks [5], yet the models behave stably because the loss depends on the relative balance of these scales rather than on raw parameter values [6, 7]. Optimization therefore settles into a coordinated balance of parameter scales. Theorem 3.2 shows that WAG measures this loss sensitivity to relative parameter scale, and this captures the scale balance. By Theorem 3.3, the WAG vector defines the direction along which this balance is most fragile, and parameters with large magnitude of , irrespective of sign, dominate this direction. These parameters therefore account for a disproportionate fraction of the model's local scale stability. Masking them removes the coordinates that contribute most to preserving the learned balance of scales, so the model collapses when the parameters along these dominant directions are masked.
We have also made this theoretical explanation clearer in Appendix B.3.
Response to Reviewer C2qy [2/3]
W2. Only limited and classical metrics used to estimate parameter importance are compared in experiments. A lot of recent works are not listed, like integrated gradients methods[1], OBD [2], and so on.
[1] Axiomatic Attribution for Deep Networks, ICML 2017
[2] Optimal Brain Damage, NeurIPS 2026
Response: Comparison with OBD and Integrated Gradients
We thank the reviewer for suggesting these methods. We have added OBD [1] as a baseline for identifying the parameters whose masking causes model collapse, and masking WAG-identified parameters causes faster model collapse than masking OBD-identified parameters. We also compare WAG with the recent Model Shapley [3] in our response to Q3. Integrated Gradients [4], on the other hand, attributes predictions to input features and is not a parameter saliency measure:
- OBD formulation: OBD [1] estimates the loss change caused by removing a parameter with a second-order Taylor expansion. It ignores the first-order term and keeps only the diagonal of the Hessian : . For LLMs, we use the LLM-Pruner [2] implementation of this score (its element-wise second-order Taylor importance), which approximates by the empirical Fisher information: . Hence, OBD excludes the first-order weight–gradient term that WAG measures, and it is designed to find the parameters whose removal changes the loss the least.
- OBD results: Since OBD selects parameters by a direction-based saliency, we compare it with the direction-based WAG sensitivities, and . On Gemma3-12B fine-tuned on coding, we mask the parameters with the highest OBD scores and with the highest () and lowest () WAG scores, using the same number of masked parameters, and report pass@1 on HumanEval and HumanEval+ (mean ± SEM over 3 seeds). Masking parameters identified by both and causes faster model collapse than masking parameters identified by OBD, at every budget on both datasets.
Pass@1 (%) on Gemma3-12B vs. number of parameters masked: WAG vs. OBD
| Dataset | Method | 3,000 | 6,000 | 9,000 | 12,000 | 15,000 | 18,000 | 21,000 | 24,000 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| HumanEval | OBD | 42.07±6.58 | 35.16±7.80 | 28.25±8.20 | 27.44±7.96 | 24.59±6.63 | 20.33±7.27 | 18.09±9.58 | 16.26±8.12 | 26.52±7.70 |
| 34.35±1.24 | 28.46±2.34 | 21.54±3.08 | 17.07±3.73 | 13.01±3.54 | 10.77±3.38 | 7.11±3.35 | 7.11±3.42 | 17.43±2.87 |
||
| 27.44±1.83 | 11.79±0.81 | 4.47±1.08 | 2.03±0.41 | 1.22±0.61 | 0.81±0.54 | 0.20±0.20 | 0.20±0.20 | 6.02±0.46 | ||
| HumanEval+ | OBD | 36.38±7.40 | 31.10±7.19 | 24.59±7.87 | 23.78±7.67 | 20.12±6.10 | 17.07±6.74 | 14.63±8.54 | 13.62±7.32 | 22.66±7.21 |
| 29.67±1.47 | 25.20±2.47 | 19.72±2.73 | 14.02±3.13 | 10.77±2.82 | 7.52±1.59 | 5.69±2.82 | 5.49±2.66 | 14.76±2.38 |
||
| 24.19±1.74 | 10.37±1.41 | 3.46±0.89 | 2.85±0.89 | 0.81±0.54 | 0.81±0.41 | 0.20±0.20 | 0.00±0.00 | 5.34±0.55 |
- Integrated Gradients: Integrated Gradients [4] studies "the problem of attributing the prediction of a deep network to its input features". For an input and a baseline input (e.g., a black image), it integrates the gradient of the network output with respect to the input along the straight path from to : . Hence, Integrated Gradients measures the importance of the input data features for a prediction, not the importance of the model parameters. In contrast, WAG identifies the loss-sensitive parameters of the model and does not attribute the prediction to the input data. Therefore, Integrated Gradients is not a parameter saliency measure that can be compared with WAG in our setting.
Q1. Why do you choose to using multiplication to combine the parameter magnitude and the first-order gradient. Have you tried other combination methods such as add or others?
Response: Choice of Multiplication
We explain our motivation for combining the parameter magnitude and the first-order gradient through multiplication in our response to W1 above.
Response to Reviewer C2qy [3/3]
Q2. What's the difference between WAG and AdaLoRA? The calculation formulas for these two parameter importance estimation methods look the same.
Response: WAG vs. AdaLoRA
AdaLoRA doesn't use the term directly; instead, it is only one component of a three-term combined saliency measure, and AdaLoRA does not observe the impact of WAG or its directional components directly. Moreover, the applicability of their saliency remains constrained to one setting, whereas we show that WAG can be extended reliably to multiple settings.
AdaLoRA defines its saliency measure in Equation 7 as , where the first term is given as . Hence, it doesn't observe the impact of and ignores its directional effect. Moreover, AdaLoRA only uses a version smoothed over multiple training steps, whereas WAG is designed to be applied without smoothing, following Theorems 3.1 to 3.3 and our response to W1.
Q3. Will integrating the second-order gradient information bring more benefits to WAG? There are already many good ways to approximate second-order gradient during parameter importance estimation for modern LLMs such as Model Shapley. I think high computational cost or approximation error should not be the obstacle.
Response: Second-order Information and Model Shapley
For identifying the parameters that cause model collapse, integrating second-order information does not bring further benefit to WAG. In our response to W2, we compare WAG with OBD [1], a second-order saliency measure, and show that masking WAG-identified parameters causes faster model collapse. Below, we further compare WAG with Model Shapley [3].
Model Shapley [3] estimates the Shapley value of each parameter with a second-order Taylor expansion of the utility : , where is approximated with the blockwise Fisher information and are path weights. Model Shapley selects the parameters with the highest Shapley value. Hence, its formulation is closer to : selecting by its first term alone gives exactly the selection, and Model Shapley further introduces a second-order term that captures the cooperative interactions between parameters.
In the same setting as in W2, we compare Model Shapley with . Although Model Shapley adds the higher-order cooperative term to the term, the higher-order term does not help identify the parameters that cause model collapse: masking parameters identified by still causes faster model collapse at every budget on both datasets.
Pass@1 (%) on Gemma3-12B vs. number of parameters masked: vs. Model Shapley
| Dataset | Method | 3,000 | 6,000 | 9,000 | 12,000 | 15,000 | 18,000 | 21,000 | 24,000 |
|---|---|---|---|---|---|---|---|---|---|
| HumanEval | Model Shapley | 34.96±6.88 | 22.97±9.90 | 19.72±8.44 | 13.62±8.45 | 12.40±8.75 | 8.74±7.53 | 6.30±5.39 | 5.49±4.89 |
| 27.44±1.83 | 11.79±0.81 | 4.47±1.08 | 2.03±0.41 | 1.22±0.61 | 0.81±0.54 | 0.20±0.20 | 0.20±0.20 | ||
| HumanEval+ | Model Shapley | 32.11±6.99 | 21.75±8.34 | 18.09±7.73 | 11.99±7.12 | 10.98±7.94 | 7.72±6.50 | 5.69±5.08 | 5.08±4.78 |
| 24.19±1.74 | 10.37±1.41 | 3.46±0.89 | 2.85±0.89 | 0.81±0.54 | 0.81±0.41 | 0.20±0.20 | 0.00±0.00 |
References:
[1] Optimal Brain Damage, NeurIPS 1989
[2] LLM-Pruner: On the Structural Pruning of Large Language Models, NeurIPS 2023
[3] MODEL SHAPLEY: Find Your Ideal Parameter Player via One Gradient Backpropagation, NeurIPS 2025
[4] Axiomatic Attribution for Deep Networks, ICML 2017
[5] Systematic Outliers in Large Language Models, ICLR 2025
[6] Sharp Minima Can Generalize For Deep Nets, ICML 2017
[7] Layer Normalization, ArXiv 2016
[8] ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networks, ICML 2021
[9] Importance Estimation for Neural Network Pruning, CVPR 2019
- Rating
- 2/4(+1)
- Confidence
- 2/4(−1)
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
(All my reviews are rewritten)
This paper defines Weight-Adjusted Gradients, WAG, as , and uses it to score each parameter. Theorems 3.1 to 3.3 explain it as loss sensitivity to small multiplicative changes. Masking up to 2 ppm of WAG-selected parameters makes three LLMs collapse. The paper also uses WAG for LoRA expert allocation, unlearning, quantization and knowledge editing.
Strengths
S1. The masking study has its own baselines. Figures 1 and 5 also show weight and gradient selection at the same budgets. On Gemma3-12B, the WAG curves are clearly apart. I think this is the strongest evidence in the paper.
S2. The score is cheap. It needs only the gradient and one product, with no retraining.
Weaknesses
W1. The score is not new, and the theory does not explain the collapse.
May main concerns include: 1) In Appendix A, Molchanov et al. (2017) already use this first-order Taylor term for parameter importance. Still, the paper calls the relation unexplored; 2) As forTheorem 3.2, it needs small , but masking to zero gives . The first-order change says masking WAG-Low should lower the loss; 3) Following by this the Figure 1, WAG-Low collapses faster than WAG-High.
W2. The paper's own figures and tables do not support the main empirical claims.
May main concerns include: 1) Is the effect specific to WAG? On LLaMA3.2-3B, |Weight| also falls to near zero at the first budget, just like |WAG| in Figure 5; 2) Which data is used for scoring? Appendix E.1 computes gradients on the evaluation set. Table 3 scores quantization groups on the evaluation set and reports HumanEval. 3) The gains in Table 1 are small. The best LLaMA3.2-3B gain is 61.87±2.049 vs 60.77±0.364. 4) Some baselines are missing. Table 2 has no random, weight or gradient choice of 75% of layers. Table 4 compares only with CMA, and Table 1 has no LayerIF.
Questions for the authors
Questions
Q1. What does WAG add beyond Taylor saliency, such as Molchanov et al. 2017 and Lee et al. 2019?
Q2. Are the scoring gradients computed on the samples you evaluate? Please rerun Table 3 with data that does not overlap with HumanEval.
Q3. On LLaMA3.2-3B, how much do the |WAG| and |Weight| selections overlap? What does random masking do?
Q4. What does mask mean? Does the measured loss change match ?
Q5. Do you score and mask the base model or the fine-tuned one? Please give the training details.
Suggestions:
Suggestion 1 The paper tests a fixed grid of budgets. It shows a number that is enough, not the minimum.
Suggestion 2 Three sentences say consistently or every, but Tables 1, 2 and 4 each have a small exception.
Suggestion 3* 6,665 out of 224M parameters is about 0.003%, not 0.0003%.
References to correct (quoted exactly as printed in the submission):
- "Wei Huang, Haotong Qin, Yangdong Liu, Yawei Li, Xianglong Liu, Luca Benini, Michele Magno, and Xiaojuan Qi. SliM-LLM: Salience-driven mixed-precision quantization for large language models. In International Conference on Machine Learning (ICML), 2025." The ICML 2025 version has ten authors. Qinshuo Liu (fifth) and Shiming Zhang (ninth) are missing.
- "Yuzhang Shang, Zhihang Yuan, Qiang Wu, and Zhen Dong. PB-LLM: Partially binarized large language models. In International Conference on Learning Representations (ICLR), 2024." The ICLR 2024 version has three authors: Zhihang Yuan, Yuzhang Shang and Zhen Dong. Qiang Wu is not an author, and the first two names are in the wrong order.
These are examples, not a full list. Please check the whole bibliography.
7 comments
Response to Reviewer aNgh [1/3]
Dear Reviewer aNgh,
Thank you for your detailed review. We provide clarifications below. In tables, the best is bold and the second best is highlighted.
W1.1. Section 3.1 … "unexplored".
Response: Novelty of WAG over Taylor-based Saliency
We would like to respectfully clarify that the first-order Taylor approximations in prior works (Appendix A, lines 151 to 153) do not derive the WAG score, and the loss sensitivity to multiplicative perturbation that WAG captures remains unexplored:
- OBD [2] omits the first-order weight–gradient relation and uses only the second-order Taylor term.
- Lee et al. [3] use for pruning, where indicates whether the weight is connected.
- Molchanov et al. [1] treat as a function of the activation , with removal setting , so their first-order term is .
- WAG, , arises from the multiplicative perturbation ; by Theorem 3.2, so WAG directly measures each parameter's loss sensitivity to relative perturbation.
Therefore, none of these works explores the WAG's relation between weight and gradient.
W1.2. Theorem 3.2 needs small … degradation".
Response: Theoretical Link to Model Collapse
We would like to respectfully clarify that we use Theorem 3.2 with small to relate WAG to loss sensitivity, not to predict the loss change under masking (setting a weight to 0), which is indeed not a small perturbation. The theoretical reason why masking WAG-identified parameters induces model degradation comes from Theorem 3.3 and Appendix B.3:
- WAG as loss sensitivity: By Theorem 3.2 (equation in W1.1), WAG is each parameter's loss sensitivity to small multiplicative perturbation, so it identifies the parameters to which the loss is most sensitive.
- Masking: Masking sets these parameters to 0, i.e., the same multiplicative perturbation of −1 for each.
- Why masking causes collapse: LLMs are scale-balanced systems [7, 8, 9]. Theorem 3.2 shows that WAG measures the loss sensitivity to relative parameter scale, and this captures the scale balance. By Theorem 3.3, the WAG vector defines the direction along which this balance is most fragile, and parameters with large magnitude of , irrespective of sign, i.e., in either direction of or , dominate this direction. These parameters therefore account for a disproportionate fraction of the model's local scale stability. Masking them removes the coordinates that contribute most to preserving the learned balance of scales, so the model collapses when the parameters along these dominant directions are masked.
We have clarified this explanation in Appendix B.3.
W2.1. Is the effect specific to WAG? … show a gap.
Response: Specificity of Model Collapse to WAG
We would like to respectfully clarify that the collapse is specific to WAG: the cases where masking Weight-identified parameters collapses the model as much as WAG occur only on LLaMA3.2-3B:
- Figure 1: Masking Weight-identified parameters causes a collapse similar to WAG in only 2 of 12 settings (3 models × 4 datasets): LLaMA3.2 on HumanEval and HumanEval+.
- Figure 5: Masking Weight-identified parameters causes a collapse similar to WAG in only 4 of 12 settings: LLaMA3.2 on HumanEval, HumanEval+, GSM8K, and HellaSwag.
- Overall: The collapse is similar in only 6 of 24 settings, all on LLaMA3.2. In the other 18, masking WAG-identified parameters causes a stronger collapse at the same budget.
W2.2. Which data is used for scoring? …
Response: Held-out Data for Scoring
We have revised the paper to compute WAG scores on a 5% held-out training set, disjoint from the evaluation data, and the trends of the updated results remain the same:
- Empirical analysis: Masking WAG-identified parameters causes similar or faster collapse than masking gradient- or weight-identified parameters.
- Applications A and C: WAG-based methods remain in the top 2 for MoE expert allocation and outperform other baselines on average for mixed-precision quantization.
- Applications B and D: Unchanged, as unlearning scores on the forget samples and knowledge editing on a proxy set disjoint from the test set, both available beforehand.
- OBS: Calibrated on the same 5% held-out set, or on WikiText-2 (the standard data in [4]), OBS performs similarly to or worse than WAG:
| Model | OBS (5% held-out) | OBS (WikiText-2) | WAG (5% held-out) | OBS+|WAG| (5% held-out) |
|---|---|---|---|---|
| LLaMA3.2-3B | 33.38±1.081 | 34.76±0.535 |
34.76±0.403 |
35.42±0.356 |
| Gemma3-12B | 52.44±0.767 | 52.44±1.504 | 52.79±0.684 |
53.61±0.500 |
Response to Reviewer aNgh [2/3]
W2.3. The gains in Table 1 are small. …
Response: Statistical Significance of the Gains
We would like to emphasize that small gains are typical for MoE expert allocation, and the gain of the best WAG variant over the best baseline is statistically significant for both models:
- Small gains are typical: LayerIF [6] reports that its best configuration improves over the best baseline by only 0.34 points on Gemma-7B on average.
- Test design: For simplicity, we consider the hypothesis to be the best WAG variant vs. the best baseline (table below), with a one-sided paired t-test. Each pair is one test sample scored by both methods, with its accuracy averaged over 3 seeds, pooled across MRPC, CoLA, and ScienceQA (4,992 pairs per model).
| Model | Null Hypothesis | p-value |
|---|---|---|
| LLaMA3.2-3B | |WAG| is not better than MoLA Hourglass | 3.5×10⁻⁷ < 0.05 |
| Gemma3-12B | is not better than MoLA Rectangle | 2.6×10⁻³ < 0.05 |
W2.4. Some baselines are missing. …
Response: Additional Baselines
We would like to emphasize that our goal is to show the diverse applicability of WAG rather than to beat application-specific approaches; nonetheless, with all suggested baselines added, WAG remains among the top approaches:
A. Targeted Unlearning (Table 2). From the table below, |WAG| selects better layers than random, weight-, and gradient-based selection, and the three WAG-based approaches are among the top 4 for both metrics. Thus, the gains of |WAG| come from which layers it selects, whereas the Figure 4 speedup comes from updating fewer layers.
| GradDiff layers | Forget TR | KS Forget |
|---|---|---|
| All layers | 0.497±0.056 | 0.588±0.014 |
| Random | 0.475±0.041 | 0.583±0.008 |
| Magnitude | 0.517±0.031 | 0.571±0.009 |
| Gradient | 0.578±0.054 |
0.596±0.028 |
| 0.546±0.043 | 0.607±0.015 |
|
| 0.541±0.023 | 0.599±0.013 | |
| |WAG| | 0.589±0.006 | 0.613±0.007 |
B. Knowledge Editing (Table 4). For R-ROME editing on ZSRE, |WAG| is among the top 2 on both models (best Overall on Gemma3-12B, second on LLaMA3.2-3B, close behind LGA), even though it is not designed for KE, and needs one gradient computation instead of two for LGA.
| Model | Selection | RwA | RpA | LOC | PRT | OV |
|---|---|---|---|---|---|---|
| LLaMA3.2-3B | CMA | 0.9946 | 0.9595 | 0.9420 | 0.5383 | 0.8586 |
| SaLEM | 0.9609 | 0.9174 | 0.9348 | 0.5368 | 0.8375 | |
| LGA | 0.9940 | 0.9712 | 0.9522 | 0.5388 | 0.8641 | |
| |WAG| | 0.9906 | 0.9483 | 0.9624 | 0.5433 | 0.8612 |
|
| Gemma3-12B | CMA | 0.8581 | 0.7041 | 0.9421 | 0.4989 | 0.7508 |
| SaLEM | 0.9575 | 0.8150 | 0.9646 | 0.5028 | 0.8100 | |
| LGA | 0.9535 | 0.8796 | 0.7736 | 0.5198 | 0.7816 |
|
| |WAG| | 0.9575 | 0.8150 | 0.9646 | 0.5028 | 0.8100 |
C. MoE Expert Allocation (Table 1). WAG outperforms LayerIF on average on Gemma3-12B, both scored on the same 5% held-out training set:
| Method | MRPC | CoLA | ScienceQA | Average |
|---|---|---|---|---|
| MoLA Rectangle | 73.41±2.35 | 83.41±0.42 | 93.18±0.21 | 83.33±0.84 |
| LayerIF | 72.17±2.48 | 83.38±0.25 | 92.10±0.20 | 82.55±0.80 |
| 75.94±0.44 | 82.04±0.13 | 93.60±0.04 | 83.86±0.20 | |
| 76.06±1.77 | 82.61±0.19 | 92.19±0.17 | 83.62±0.61 |
|
| |WAG| | 72.25±3.57 | 83.89±0.62 | 93.21±0.29 | 83.12±1.30 |
Q1. What does WAG add beyond … ?
Response: WAG vs. First-order Taylor Saliency
Beyond the first-order Taylor saliency cited in Section 3.1, WAG studies the unexplored weight–gradient relation expressing loss sensitivity to multiplicative perturbation, and |WAG| selects the highest-saliency parameters, whereas Molchanov et al. [1] and Lee et al. [3] select the lowest. Details are in our responses to W1.1 and W1.2.
Q2. Are the scoring gradients … HumanEval.
Response: No Overlap between Scoring and Evaluation Data
In the revised paper, the scoring gradients are not computed on the evaluated samples, as explained in our response to W2.2. For Table 3, we sample two mutually exclusive sets from Evol CodeAlpaca, CodeFeedback, and Tulu3 Persona Python (released by MFT [5]): about 1,500 samples for WAG scoring and about 30,000 for training. Hence, the scoring data does not overlap with HumanEval, which is separate from both.
Q3. On LLaMA3.2-3B, how much … same budget?
Response: Overlap and Random Masking
The |WAG| and |Weight| selections overlap very little, and random masking at the same budget does not affect performance, while masking |WAG|- or |Weight|-selected parameters leads to collapse. On LLaMA3.2-3B (coding), we mask 0.5 parts per million (ppm) of the parameters, i.e., 1,409, selected by |WAG|, |Weight|, or at random from the same set. Only about 2% of the |WAG|-selected parameters are also selected by |Weight|: 29 (2.06%), 28 (1.99%), and 28 (1.99%) for seeds 42, 43, and 44.
| Selection | HumanEval | HumanEval+ |
|---|---|---|
| Random | 39.84±0.41 | 35.98±0.93 |
| |Weight| | 0.00±0.00 | 0.00±0.00 |
| |WAG| | 0.00±0.00 | 0.00±0.00 |
Response to Reviewer aNgh [3/3]
Q4. What does "mask" mean? … match ?
Response: Masking and Loss Change
By masking, we mean setting each selected weight to zero, for , with all other weights unchanged. The measured loss change matches in sign, and its magnitude mostly tends to increase with the number of masked weights, as shown below on LLaMA3.2-3B fine-tuned on GSM8K (WAG and the loss before and after masking computed on the 5% held-out training set):
| Weights masked | : ΣWAG | : ΔL | : ΣWAG | : ΔL |
|---|---|---|---|---|
| 1 | +0.012 | +0.009 | −0.005 | −0.004 |
| 10 | +0.043 | +8.65 | −0.029 | −0.029 |
| 50 | +0.081 | +8.28 | −0.075 | −0.063 |
| 100 | +0.115 | +8.62 | −0.113 | −0.080 |
| 200 | +0.168 | +8.60 | −0.175 | −0.094 |
Q5. Which checkpoint … training details.
Response: Checkpoints and Fine-tuning Details
All scoring and masking in Section 3 and Appendix E use the fine-tuned checkpoint of each task. The Appendix F sentence referred to the base checkpoints, initialized from the original (unquantized) pretrained HuggingFace weights (meta-llama/Llama-3.2-3B, Qwen/Qwen3-4B, google/gemma-3-12b-pt); we revised it to: "All the base LLMs are original (unquantized) open-source versions from HuggingFace."
Fine-tuning details (full-parameter fine-tuning, bf16, following MFT [5]):
| Coding | GSM8K / HellaSwag | |
|---|---|---|
| Training data | 30,000 (10,000 each from Tulu3 Personas Code, Evol CodeAlpaca, Codefeedback) | GSM8K train / HellaSwag train |
| Epochs | 2 | 3 |
| Learning rate / schedule | 2e-5, linear, 3% warmup | same |
| Weight decay | 0 | 0 |
| Per-device batch × grad. accum. | 1 × 16 | 1 × 16 |
| GPUs (effective batch) | LLaMA 2 (32), Gemma 4 (64) | same |
| Max sequence length | 4,096 | LLaMA 4,096 / Gemma 2,048 |
Q6. Lines 122 to 123 … not the minimum.
Response: Minimum Number of Weights
We agree. We do not solve for the minimum as an optimization problem; our grid search shows that masking as few as 0.5 ppm of the parameters, identified by WAG, induces collapse. We revised lines 122–123 to:
"However, these works do not identify the critical parameters or how few weights are sufficient to induce model collapse."
Q7. Three sentences … but CMA has 0.5796.
Response: Revised Claims
We apologize for the lack of clarity.
(1) Table 1: Our sentence explicitly states "on average", which matches our results: the best WAG-guided allocation has a higher average accuracy than all baselines on both models (|WAG| over MoLA Hourglass on LLaMA3.2-3B, over MoLA Rectangle on Gemma3-12B).
(2) Table 2: WAG-targeted GradDiff improves over GradDiff in 17 of 18 cases (3 criteria × 3 metrics × 2 models); we now state the exception explicitly: "All WAG criteria improve all three metrics, except |WAG| utility on LLaMA3.2-3B."
(3) Table 4: This is our mistake: the claim refers to the Overall score, not to Locality, where |WAG| matches or exceeds CMA in all cases except Gemma3-12B WikiRecent. We separated the two statements: "The gains are most pronounced for Locality and Portability. Overall, matches or exceeds CMA in every setting except for WikiBio on LLaMA3.2."
Q8. Line 314: … not 0.0003%.
Response: Typo Correction
We thank the reviewer for catching this typo; it is about 0.003%. With WAG scored on the 5% held-out training set, the updated paper reads: "At most, 4,234 parameters ... at most 0.002% of a layer is masked."
Q9. Please add a limitations section. …
Response: Limitations and Ethics Statement
We agree and have added a Limitations section and revised the Ethics Statement: although masking a tiny set of WAG-identified parameters can collapse an LLM, only the developers can modify their model's parameters, and they could already collapse it by masking many parameters; hence, WAG introduces no new risk.
Q10. A. "Wei Huang, … are missing.
B. "Yuzhang Shang, … wrong order.
Response: Reference Corrections
We apologize for this oversight. This is an unusual case, as both author lists changed between the original arXiv versions and the conference versions. We followed the original arXiv author lists, and when updating the venues to ICML 2025 and ICLR 2024 we missed the updated author lists.
Original arXiv versions: (A) https://arxiv.org/abs/2405.14917v1, (B) https://arxiv.org/abs/2310.00034. We have corrected both entries to match the published versions.
References:
[1] Pruning CNNs for Resource Efficient Inference, ICLR 2017
[2] Optimal Brain Damage, NeurIPS 1989
[3] SNIP, ICLR 2019
[4] SliM-LLM, ICML 2025
[5] Mask Fine-Tuning (MFT), ArXiv 2025
[6] LayerIF, NeurIPS 2025
[7] Systematic Outliers in Large Language Models, ICLR 2025
[8] Sharp Minima Can Generalize For Deep Nets, ICML 2017
[9] Layer Normalization, ArXiv 2016
Comments on the paper
1 comment
Revised Paper PDF Update
Dear Reviewers and Area Chair,
We thank all reviewers for their thoughtful feedback and the effort spent on our work. We have uploaded a revised PDF, and we summarize the main changes below.
Summary of Revisions
- Held-out scoring: WAG scores and the baselines are now computed on a 5% held-out training set, which is not seen during evaluation and does not overlap with the evaluation sets. The performance trends remain the same, and the corresponding results are updated:
- Empirical analysis (Section 3 and Appendix D): Figures 1, 3, 5, 8, and 9.
- Application A, MoE expert allocation (Section 4): Table 1.
- Application C, mixed-precision quantization (Section 4): Table 3.
- The results of Application B (Table 2) and Application D (Table 4) remain unchanged, as their scores are computed on the forget samples and the proxy set, respectively.
- Additional baselines (Appendix F): We add random masking, OBD, and Model Shapley for the empirical analysis (Tables 5 to 7); LayerIF for MoE expert allocation (Table 8); random, magnitude-based, and gradient-based layer selection for targeted unlearning (Table 9); and SaLEM and LGA for knowledge editing (Table 10). The overall performance trend remains similar, where WAG mostly remains the top performing approach.
- Limitations and Ethics Statement: We add a Limitations section in Appendix G and revise the Ethics Statement to clarify that WAG does not introduce a new risk, as only model developers can modify their model's parameters.
- Revised claims and corrections: We revise the statements on the minimum number of masked weights (Introduction), the Table 2 and Table 4 claims (Section 4), and the percentage of masked parameters (Section 3); clarify the base models (Appendix H); and update the SliM-LLM and PB-LLM author lists (References).
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Reviewer eP7R [1/3]
Dear Reviewer eP7r,
Thank you for your feedback and for the effort spent on our work. We provide clarifications below. In tables, the best is bold and second best is
highlighted.W1. The Weight-Adjusted Gradients methodis mathematically similar to the existing Taylor-based saliency measure, which limits the novelty.
Response: Novelty over Taylor-based Saliency
Below, we discuss how the Weight-Adjusted Gradients (WAG) method differs from the existing Taylor-based saliency measures mathematically, none of which directly measures or observes the impact of WAG.
Therefore, none of the previous works directly explores the WAG term, and they do not study the direct impact of the most sensitive parameters identified by WAG.