potentialpaper

Rethinking LLM Fine-Tuning via Weight Space Reparameterization: Preserving Safety during Downstream Adaptation

Min-Seong Kim, Jongbok Won, Jeesup Park, Yonghee Choi, Dong-Jun Han

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose WSR-Tune, a weight-space reparameterization method that preserves safety during downstream fine-tuning by freezing safety-critical directions, achieving a better safety–performance trade-off.

Abstract. Fine-tuning large language models (LLMs) on downstream tasks often weakens their previously aligned safety behavior, creating an inherent trade-off between task adaptation and safety preservation. Existing approaches attempt to mitigate this issue by identifying safety-relevant neurons, layers, or update directions in the original parameter space. However, safety-related information is often distributed across many directions in this space, causing downstream updates to overwrite parameters that encode safety behavior. We propose WSR-Tune, a Weight Space Reparameterization-based fine-tuning framework that preserves safety during downstream adaptation. Our approach constructs a safety-conditioned basis and reparameterizes the weight matrices such that safety-relevant information becomes concentrated in a small subset of directions. We then identify safety-critical directions and freeze them in the reparameterized space, while updating the remaining complementary directions for downstream adaptation. By explicitly structuring the parameter space to disentangle safety and task information, our method reduces interference between objectives and enables simultaneous preservation of safety and improvement in downstream performance. Experimental results show that our method achieves a more favorable trade-off between downstream performance and safety retention, demonstrating its effectiveness for reliable LLM fine-tuning.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

The paper proposes WSR-Tune, which preserves safety alignment during LLM fine-tuning by building a safety-conditioned basis that concentrates safety information into a small set of directions, then freezing those directions while updating the rest for downstream adaptation. Reviewers agree the core idea of disentangling safety and task information geometrically rather than hunting for safety-critical parameters directly in the original weight space is a genuinely novel angle, and the experiments convincingly show a better safety-performance trade-off than existing baselines.

The main concerns raised are: insufficient differentiation from closely related rank/direction-freezing work, with missing baselines and incomplete coverage of the fast-growing harmful fine-tuning defense literature; and the added compute/memory cost of per-iteration SVD. If the authors can clearly articulate what distinguishes their method from those existing studies, add the requested baselines and broaden the related work discussion, and report concrete overhead numbers (time/memory) alongside a discussion of LoRA compatibility, this would meaningfully strengthen the paper.

Updates for final meta-review: I've read the authors' rebuttals, they've successfully addressed my main concerns - and two reviewers also raised/held their positive scores. One reviewer remained borderline (3), still viewing the contribution as a recombination of existing techniques, though acknowledging most concerns were addressed. On balance, I find the reparameterization framing genuinely useful, I'll keep my recommendation as acceptance.

Final justification

Updated in the meta-review

Area Chair cF83 · Meta-reviewOpenReview ↗
Final justification
Updated in the meta-review
Read meta-review
Meta-review

The paper proposes WSR-Tune, which preserves safety alignment during LLM fine-tuning by building a safety-conditioned basis that concentrates safety information into a small set of directions, then freezing those directions while updating the rest for downstream adaptation. Reviewers agree the core idea of disentangling safety and task information geometrically rather than hunting for safety-critical parameters directly in the original weight space is a genuinely novel angle, and the experiments convincingly show a better safety-performance trade-off than existing baselines.

The main concerns raised are: insufficient differentiation from closely related rank/direction-freezing work, with missing baselines and incomplete coverage of the fast-growing harmful fine-tuning defense literature; and the added compute/memory cost of per-iteration SVD. If the authors can clearly articulate what distinguishes their method from those existing studies, add the requested baselines and broaden the related work discussion, and report concrete overhead numbers (time/memory) alongside a discussion of LoRA compatibility, this would meaningfully strengthen the paper.

Updates for final meta-review: I've read the authors' rebuttals, they've successfully addressed my main concerns - and two reviewers also raised/held their positive scores. One reviewer remained borderline (3), still viewing the contribution as a recombination of existing techniques, though acknowledging most concerns were addressed. On balance, I find the reparameterization framing genuinely useful, I'll keep my recommendation as acceptance.

1 comment
Authors · CommentOpenReview ↗

Summary

Dear Area Chair,

We greatly appreciate your time and effort in handling our submission. We conducted new experiments and analyses to address every concern; we summarize the outcomes below, with full details in the individual responses.


1. Differentiation from rank/direction-freezing work (MWbx-W1, r2Zz-W1&Q1).

The distinction is the safety-conditioned reparameterization: importance scoring and freezing are applied to the coefficients of a complete input-side eigenbasis of the safety activations, so the same operators acquire a different functional meaning — inducing a per-output-channel projector constraint rather than the single shared projector of rank/direction-based methods. This is formalized in MWbx-W1 and analyzed mechanistically in r2Zz-W1&Q1; MWbx-W1 additionally adapts ActSVD itself into fine-tuning-stage baselines at the rank and neuron levels.

2. Baselines and related work (MWbx-W2&W4).

We added the requested fine-tuning-stage baselines — AsFT, Lisa, SEAL, and SafeLoRA — under the same protocol. Following the reviewers' suggestions, the revised manuscript will fully incorporate these new comparisons and a substantially broadened related-work discussion — reorganized by intervention stage (before/during/after fine-tuning) and by core mechanism — covering the suggested papers and the harmful fine-tuning defense literature beyond them.

3. Compute/memory overhead (XM5F-W1, MWbx-W3, r2Zz-W4).

We would like to clarify that the SVD is performed only once before fine-tuning begins — no SVD occurs during training iterations — and we will make this explicit in the revision. We report the requested concrete time/memory measurements (XM5F-W1, MWbx-W3, r2Zz-W4); the one-time cost is ≈24% of a 3-epoch fine-tuning run, amortizing further over longer training. The fine-tuned weights are merged back, so deployment requires no custom inference module.

4. LoRA compatibility (r2Zz-W2&Q2, r2Zz-W4).

We implemented a WSR-LoRA variant, trained it end-to-end, and report its safety-utility trade-off against PEFT baselines. WSR-LoRA also directly mitigates the overhead concern above: including the one-time basis construction, it runs at roughly 0.32× the end-to-end wall-clock time and 0.55× the peak VRAM of WSR-Tune, and reusing the fixed basis across downstream runs lowers the run-specific time further to 0.18× (r2Zz-W4).


Beyond these, additional analyses are provided based on the reviewers' suggestions: the freeze-ratio sweep extended to ρ = 50% (r2Zz-W3); safety-data ablations across source, scale, and quantity (r2Zz-W5&Q3); an ablation on the output-side basis choice VV (XM5F-Q1); and clarifications of the notation, data usage, and the newly-learned-harmful-parameter discussion (MWbx-Q1/Q2/Q3). All new results and discussions will be incorporated into the revised manuscript.

Thank you again for your time and coordination.

Sincerely,

Authors of Paper 11600

Reviewer r2ZzOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses an important challenge in the fine-tuning of LLMs for downstream tasks, where task-specific adaptation may weaken the model's original safety alignment. To mitigate this issue, this work proposes WSR-Tune, a weight-space reparameterization framework for safety-preserving fine-tuning. The key idea is to leverage a small set of safety-related data to collect intermediate activations during forward propagation, and then apply SVD to construct an orthogonal basis that captures safety-relevant representations. The original weight matrices are subsequently projected into this reparameterized space, enabling task adaptation while preserving safety characteristics. Extensive experiments demonstrate that WSR-Tune achieves a favorable trade-off between downstream task performance and safety retention.

Strengths and weaknesses

Strengths

The main contribution of this work lies in introducing a novel perspective that reparameterizes the weight space of LLMs using a safety-conditioned basis, thereby enabling the geometric disentanglement of safety-related knowledge from task-specific knowledge. Unlike previous approaches that identify or manipulate safety-critical neurons in the original parameter space, the proposed method provides a principled way to preserve safety alignment during fine-tuning.

Weaknesses

  1. The core innovation of this work primarily lies in the construction of the re-parameterization space. The subsequent components, including mask-based strategies, gradient freezing, gradient computation, and importance scoring, are all commonly used techniques in existing methods and do not constitute substantial algorithmic or methodological innovations.
  2. The applicability of this method is mainly limited to full-parameter fine-tuning. However, large-scale language models are more commonly adapted using PEFT methods such as LoRA. Since the proposed method relies on specific re-parameterization and operations on pre-trained weights, it is not fully compatible with the weight-freezing assumption underlying LoRA. As a result, its direct applicability under parameter-efficient fine-tuning paradigms is limited.
  3. The freeze ratio introduced in this method requires manual tuning. As shown in Table 6, this hyperparameter has a significant impact on the trade-off between task performance and safety performance. As a result, the method is sensitive to hyperparameter selection in practice, which may reduce its usability and robustness.
  4. As shown in Appendix B, the method requires substantially more memory and computation time than comparison methods, indicating lower computational efficiency and higher deployment cost, which may limit its practical applicability.
  5. The method relies on safety data to extract activation matrices. However, the paper does not provide a thorough analysis of the data types, scale, or quantity, nor their impact on method performance.
Questions
  1. The main claimed innovation appears to concentrate on the re-parameterization space construction. Could the authors further clarify the actual methodological novelty of the remaining components compared to existing techniques?
  2. How does the proposed method generalize to PEFT settings such as LoRA, and what modifications would be required to address the incompatibility with weight-freezing assumptions?
  3. How sensitive is the method to key design choices, including the selection of safety data (type, scale, and quantity), and how do these factors affect performance, efficiency, and robustness?
Limitations

yes

Final justification

While the authors have provided additional clarifications and experiments, my overall assessment remains unchanged. The novelty of the proposed approach is still somewhat limited, and the experimental results do not sufficiently demonstrate state-of-the-art performance in terms of safety. Therefore, I will maintain my original score.

Formatting concerns

There is no formatting concern.

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We appreciate the reviewer for the valuable comments and constructive feedback.


W1 & Q1. Methodological novelty of WSR-Tune

We acknowledge that gradient importance scoring, masking, and freezing are individually well-established. The contribution of WSR-Tune is not a new scoring or masking operator in isolation, but the change in their functional meaning induced by the safety-conditioned coordinate system.

The reparameterization changes what the same importance metric identifies and what the same masking operation preserves; this becomes explicit once the induced constraints are mapped back to the original weight space. In Table 5, original-space masking and WSR-Tune differ only in the coordinate system of the mask, yet WSR-Tune achieves a higher overall score: re-parameterization changes the effect of an otherwise identical masking procedure.

What changes in the original space. With Vl=IV_l=I and Sl,i={j:Ml,ij=1}S_{l,i}=\{j:M_{l,ij}=1\}, freezing coefficient (i,j)(i,j) imposes ei⊤ΔWluj=0e_i^\top\Delta W_l u_j=0: each update row loses its component along the selected safety directions, through a different projector Pl,i=∑j∈Sl,iujuj⊤P_{l,i}=\sum_{j\in S_{l,i}}u_ju_j^\top per output channel; original-space masking is the case uj=eju_j=e_j.

Two consequences. First, the budget is spent differently: original-space masking freezes each weight entirely or not at all, whereas WSR partially constrains almost every weight — at the same 10% budget, 99.9% of original coordinates receive some protection and 98.2% only partial protection, a pattern no binary mask can express. Second, the frozen and trainable parts decouple on the safety data: UlU_l diagonalizes the safety activation covariance ClC_l, so frozen directions are uncorrelated with trainable ones (Pl,iCl(I−Pl,i)=0P_{l,i}C_l(I-P_{l,i})=0), whereas a frozen weight coordinate stays correlated with trainable ones, leaving its safety signal reachable through them. This predicts that WSR covers safety activation energy more selectively than task energy.

Testing the prediction. On 256 BeaverTails and 256 GSM8K examples never used to build the basis or masks, we measure the share of activation energy falling on each mask's frozen coordinates (PDP_D, in each mask's own basis; 160 projections, padding excluded), and report R=Psafe/PtaskR=P_{\mathrm{safe}}/P_{\mathrm{task}}:

Mask (ρ=10%\rho=10\%) Basis Safety Task RR
Original canonical 0.321 0.287 1.12
WSR safety-conditioned 0.530 0.359 1.48
RR by projection (32-layer avg.) q k v up down
Original 1.08 1.08 1.08 1.08 1.26
WSR 1.36 1.36 1.41 1.83 1.54

A random mask gives R=1R=1; the original mask barely exceeds this baseline, whereas WSR preferentially covers safety energy across all projection types. Together with Table 5, this shows that reparameterization changes what a conventional metric identifies and freezes.


W2 & Q2. Generalization to PEFT settings such as LoRA

We implemented a WSR-LoRA variant to confirm applicability to PEFT.

The incompatibility. Under standard LoRA initialization the safety response ei⊤W0uje_i^\top W_0u_j lies wholly in the frozen W0W_0, so masking factor entries protects nothing; WSR-LoRA restores both the content and the coordinates.

Design. We initialize the adapter from the rank-rr leading singular components of W0W_0, freeze the residual (W0=Wres+B0A0W_0=W_{\mathrm{res}}+B_0A_0, B0=PrΛr1/2B_0=P_r\Lambda_r^{1/2}, A0=Λr1/2Qr⊤A_0=\Lambda_r^{1/2}Q_r^\top), and apply the Eq. (9) reparameterization to the input factor: Wt=Wres+BtA~tU⊤W_t=W_{\mathrm{res}}+B_t\widetilde A_tU^\top with A~=AU\widetilde A=AU, so Wt=W0W_t=W_0 at initialization and BtA~tB_t\widetilde A_t plays the role of W~\widetilde W. Eqs. (11)-(12) apply unchanged to BB and A~\widetilde A at the same top-ρ\rho budget, with WresW_{\mathrm{res}} and UU fixed; each response is constrained bilinearly rather than exactly.

We further compare WSR-LoRA against PEFT baselines trained end-to-end on Llama-2-7B-Chat ({q,k,v,up,down}\{q,k,v,\texttt{up},\texttt{down}\}, r=16r=16, ρ=10%\rho=10\%, Table 2 protocol):

Method JB AVG ↓ ΔS\Delta_S ↓ GSM8K ↑ ΔD\Delta_D ↑ Overall ↑
Full FT 20.78 0.00 41.17 0.00 0.00
SafeInstr 13.55 -7.23 38.44 -2.73 +4.50
Resta 10.56 -10.22 36.92 -4.25 +5.97
Vanilla LoRA 36.80 +16.02 39.20 -1.97 -17.99
SafeLoRA 8.81 -11.97 32.83 -8.34 +3.63
WSR-LoRA 10.04 -10.74 36.92 -4.25 +6.49
WSR-Tune 6.90 -13.88 38.99 -2.18 +11.70

WSR-LoRA achieves the best Overall trade-off among the LoRA-based methods and also outperforms the strongest baseline in Table 2.


W3. Sensitivity to the freeze ratio

We agree that the freeze ratio ρ\rho is an important hyperparameter governing the safety--utility trade-off. To characterize it beyond Table 6, we extended the sweep to substantially larger ratios, up to ρ=50%\rho=50\%:

Method Overall ↑
SafeInstr +4.50
Resta +5.97
SafeDelta -6.17
SN-Tune -8.58
RSN-Tune -0.86
WSR-Tune (1%) +11.61
WSR-Tune (5%) +12.28
WSR-Tune (10%) +11.70
WSR-Tune (15%) +12.73
WSR-Tune (20%) +12.38
WSR-Tune (30%) +11.95
WSR-Tune (40%) +12.67
WSR-Tune (50%) +12.31

WSR-Tune remains robust across the evaluated range of ρ\rho. Every evaluated ρ\rho from 1% to 50% outperforms the strongest baseline in Table 2. We will include the extended sweeps in the revised manuscript.


W4. Memory, computation time, and deployment cost

We agree that the additional SVD introduces computational overhead.

Importantly, SVD is performed only once before downstream fine-tuning to construct the safety-conditioned basis, which remains fixed throughout training; no SVD is required during the training iterations. We further reduce the required computation by sharing a single SVD across same-input projections. (Measured on a single NVIDIA B200 GPU.)

Process Time/VRAM Details
SVD 9m 31s/30GB Once; shared projections
Downstream FT 39m 8s/96GB 3 epochs
Relative cost 0.24/0.32 Time/VRAM vs. FT

SVD adds 24% one-time time overhead over three epochs, with lower relative cost for longer training.

WSR-LoRA further reduces this cost: including the one-time basis construction, it requires approximately 0.32× the end-to-end wall-clock time and 0.55× the peak VRAM of WSR-Tune, and reusing the fixed basis lowers the run-specific time further to 0.18×. We will report these measurements.


W5 & Q3. Sensitivity to the safety data - type, scale, and quantity

We conducted extensive ablations on the offline safety data along three axes: (1) the safety-dataset source - we additionally constructed a BeaverTails-based safety dataset, screening harmful prompts and harmful responses with Llama-Guard-3-8B, and matched the number of examples to Circuit Breakers for a fair comparison; (2) the type and quantity of the data used to extract the activation matrices (basis) and to compute the importance scores; and (3) crossing the source of the basis-extraction data with the source of the importance-scoring data. (CB: Circuit Breakers, BV: BeaverTails.)

Constructed Circuit Breakers Dataset

Method JB AVG ↓ ΔS\Delta_S ↓ GSM8K ↑ ΔD\Delta_D ↑ Overall ↑ Details
Full Params FT 20.78 0.00 41.17 0.00 0.00
SafeInstr 13.55 -7.23 38.44 -2.73 +4.50
Resta 10.56 -10.22 36.92 -4.25 +5.97
SafeLoRA 8.81 -11.97 32.83 -8.34 +3.63
WSR-LoRA 10.04 -10.74 36.92 -4.25 +6.49 Ours
WSR-Tune (Full) 6.90 -13.88 38.99 -2.18 +11.70 Ours
WSR-Tune (50%) 9.09 -11.69 40.29 -0.88 +10.81 Importance data: 50% of CB
WSR-Tune (10%) 7.01 -13.77 39.95 -1.22 +12.55 Importance data: 10% of CB
WSR-Tune-BV 8.81 -11.97 41.02 -0.15 +11.82 Importance data: BV (cross)
WSR-Tune (Basis 50%) 8.79 -11.99 40.86 -0.31 +11.68 Basis data: 50% of CB
WSR-Tune (Basis 25%) 6.08 -14.70 40.94 -0.23 +14.93 Basis data: 25% of CB

With CB as the safety source, varying the importance-scoring data - 50% or 10% of CB, or replacing it with BV - keeps WSR-Tune within +10.81 to +12.55 Overall, and WSR-LoRA reaches +6.49: both stay above every baseline, showing robustness to the quantity and the source of the importance data.

Constructed BeaverTails Dataset

Method JB AVG ↓ ΔS\Delta_S ↓ GSM8K ↑ ΔD\Delta_D ↑ Overall ↑ Details
Full Params FT 19.16 0.00 41.85 0.00 0.00
SafeInstr 8.92 -10.24 40.33 -1.52 +8.72
RESTA 18.56 -0.60 39.35 -2.50 -1.90
SafeDelta 7.57 -11.59 24.49 -17.36 -5.77
SN-Tune 21.54 +2.38 41.09 -2.86 -5.24
RSN-Tune 24.64 +5.48 41.24 -1.59 -7.07
SafeLoRA 8.81 -10.35 32.83 -9.02 +1.33
WSR-LoRA 12.93 -6.23 41.55 -0.30 +5.93 Ours
WSR-Tune (Full) 7.18 -11.98 41.09 -0.76 +11.22 Ours
WSR-Tune (50%) 7.88 -11.28 40.86 -0.99 +10.29 Importance data: 50% of BV
WSR-Tune (10%) 8.00 -11.16 40.86 -0.99 +10.17 Importance data: 10% of BV
WSR-Tune-CB 7.52 -11.64 40.86 -0.99 +10.65 Importance data: CB (cross)
WSR-Tune (Basis 50%) 10.38 -8.78 40.18 -1.67 +7.11 Basis data: 50% of BV
WSR-Tune (Basis 25%) 9.23 -9.93 38.21 -3.64 +6.29 Basis data: 25% of BV

With the entire pipeline built on BV, WSR-Tune again attains the best trade-off (+11.22), and every importance-data variation (50%, 10%, or crossed to CB) stays above the strongest baseline (SafeInstr, +8.72). Reducing the basis-extraction data to 50%/25% degrades Overall only moderately (+7.11/+6.29) while still improving safety over Full FT by 9-10 JB points, and WSR-LoRA remains well ahead of its LoRA counterpart (SafeLoRA, +1.33).

In summary, WSR-Tune and WSR-LoRA maintain favorable and stable trade-offs under changes to the safety-data source, the scale of the basis-extraction data, the quantity of the importance-scoring data, and crossed combinations of the two. We will include these in the revision.

We sincerely appreciate the reviewer for the constructive feedback.

Reviewer r2Zz · CommentOpenReview ↗

Thank you for the authors’ detailed response, which has addressed most of my major concerns.

However, regarding the novelty of the proposed method, the authors claim that reparameterization gives existing tools new meanings. However, this essentially transfers existing techniques, including mask-based strategies, gradient freezing, gradient computation, and importance scoring, into a new coordinate system. This appears to be a migration of existing approaches to a different application scenario, rather than the introduction of a new constraint mechanism or optimization paradigm. Therefore, the novelty of the proposed method is limited.

Furthermore, the reported results suggest that WSR-LoRA achieves weaker safety recovery performance compared with SafeLoRA. In fact, this issue can be observed in most of the safety-related results reported in the paper, where the proposed method does not consistently outperform existing approaches in terms of safety metrics alone. The authors mainly evaluate different methods using an overall metric that combines safety and task performance. However, such a metric can be highly dependent on the characteristics of the downstream task.For example, on tasks such as SST-2, where the performance gap between different fine-tuning methods may be relatively small, it remains unclear whether the proposed method can still maintain an overall advantage under such scenarios.

Meanwhile, the evaluation of the proposed method is largely limited to the GSM8K benchmark (with only limited results on Math), while its effectiveness on other widely adopted benchmarks, such as AGNEWS and AlpacaEval, is not demonstrated. Therefore, further evaluation on diverse tasks is necessary to validate the general applicability and practical effectiveness of the proposed method.

Therefore, I will maintain my current score.

Authors · CommentOpenReview ↗

Response to Additional Comment (1/3)

Thank you for considering our response and allowing us to address the reviewer's concerns.

1. Novelty of WSR-Tune

We appreciate the comment. We again acknowledge that masking, gradient freezing, and importance scoring are established techniques. Here, we do not claim that WSR-Tune introduces any of these components as a new optimization primitive. Rather, its novelty lies in elevating safety-conditioned weight-space reparameterization into a general framework that can host existing protection operators and alter the update geometry they induce.

Existing viewpoint: Which components should be protected?

  • Most existing safety methods ask which parameters, neurons, or directions should be protected in the original parameterization. Our starting question was whether the original parameterization is an appropriate space in which to make this selection. When safety-relevant information is distributed across canonical weight coordinates, even an accurate importance criterion may leave other safety-relevant directions exposed to downstream updates.

  • Recent studies further motivate this concern. Wei et al. [1] show that freezing localized safety-critical components does not prevent renewed vulnerability under subsequent fine-tuning. Ponkshe et al. [2] find that safety and task signals are geometrically entangled rather than isolated in a stable safety-only subspace. Bach et al. [3] show that harmful loss geometry remains accessible after fine-tuning. These results motivate moving beyond protecting fixed components in the original parameterization, while leaving open how distributed safety geometry should be incorporated into selective adaptation.

Our perspective shift: designing the space in which protection is applied

  • WSR-Tune therefore shifts the question from which parameters or directions in the original space should be protected? to which safety-conditioned basis allows a given protection rule to induce an appropriate structured constraint after mapping back to the original weight space?

  • WSR-Tune addresses this question by constructing a complete safety-conditioned basis before downstream adaptation, applying a selection-and-protection operator to coefficients in that basis, and keeping both the basis and the protected coefficients fixed during fine-tuning. Importantly, WSR-Tune does not assume the existence of a globally separable safety-only subspace. The basis spans the full input space, while the coefficients selected for protection can differ across output channels.

  • Under a 10% freezing budget, 99.9% of original coordinates are affected by at least one protected basis coefficient, while 98.2% are partially constrained rather than independently frozen. Moreover, 99.22% of rows and 95.74% of columns mix frozen and trainable coefficients. These results mean that the reparameterized mask induces coupled linear constraints whose support reaches almost all original coordinates, unlike a 10% binary mask applied directly in the original space.

WSR-Tune is not tied to a particular importance score or masking method

  • We would also like to emphasize that WSR-Tune is not tied to a particular importance score or masking strategy. Although the gradient-magnitude criterion used in our main implementation proved to be highly effective, it represents only one instantiation of the framework rather than its defining contribution. In principle, coefficient-, neuron-, rank-, or update-selection methods can all be applied in the reparameterized space while retaining their original selection rules.

  • For example, Table 3 in our manuscript applies SN-Tune's safety-neuron identification mechanism after WSR reparameterization. By combining SN-Tune with WSR-Tune, JB Avg and GSM8K accuracy are improved on Llama-2-7B-Chat (27.18/38.99→23.07/41.02) and Llama-2-13B-Chat (28.97/48.22→24.69/48.75); WSR-Tune similarly improves SafeInstr in both settings. These results show that WSR-Tune is not merely another competing importance-scoring or masking strategy; it is a complementary framework in which existing safety-preservation methods can operate more effectively.

Positioning of our contribution

  • From these viewpoints, we position WSR-Tune as a complementary framework for safety-preserving fine-tuning, whose novelty lies in the reparameterization-selection composition and the resulting admissible-update geometry, not in an individual scoring, masking, or freezing primitive. A small coefficient budget in a constructed basis becomes a distributed constraint in the original space, and the same framework can improve multiple existing safety-preservation strategies without redesigning their native mechanisms.

[1] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications ICML'24

[2] Safety Subspaces Are Not Linearly Distinct: A Fine-Tuning Case Study ICLR'26

[3] Curvature-Aware Safety Restoration in LLM Fine-Tuning TMLR'26

Reviewer MWbxOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper propose WSR-tune, a defense against harmful fine-tuning. In the early study, there has been several defense method, e.g., Boyi Wei et al. have propose to identify key parameters for safety and freeze those parameters during fine-tuning. This paper follows this line of research, The key contribution of this paper is to constructs a safty-conditioned basis and reparameterizes the weights metrices such that the safey information concentrate in a small subset of directions such that they are easy to identify and freeze.

Strengths and weaknesses

Strengths:

I generally like the idea of this paper. This paper does not claim that they are proposing a more "accurate" way to identify the safety parameters, but try to think in another angles of how to proactively concentrate the safety parameters by reparameterization. This idea is novel and should open new angle for future research.

Extensive experiments demonstrate the effectiveness of the method.

Weakness:

  1. How the method in essence differs from ActSVD in Wei et al. While the storyline say that you are re-parameterize the weight for better safety direction identification, it seems that there is not a substantial difference between this and to identify safety rank. In my understanding the way you differs from ActSVD is that instead of directly freezing the rank, you reparameterize based on the rank and then use gradient norm to identify the safety coordinate and freeze them. This inessence is combining the gradient norm and the harmful activation for better identification of the safety rank. Therefore, I can not 100% buy in your storyline for the contribution against Wei et al. The author could try to convince me on this point during rebuttal.

[1] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications

  1. The baselines are not sufficient. Two of the chosen baselines Resta and SafeDelta are post-fine-tuning stage defenses, which is not at the same stage of the proposed method. I suggest to add two more fine-tuning stage defenses [2][3] as baselines. AsFT is a relevant method, which projects the fine-tuning update to the safety subspace. Lisa is an improved version of SafeInstruct.

[2] AsFT: Anchoring Safety During LLM Fine-Tuning Within Narrow Safety Basin [3] Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attack

  1. The computation overhead of this method seem to be high, as it needs to do SVD for each training iteration. Please compare with the baselines on the GPU memory consumption as well as the per step computation time.

  2. There are many more papers on harmful fine-tuning defenses. While you can't iterate all the papers as baslines and compare against them, they should still be discussed in the related work section (or appendix). The literature review should be done as comprehensive as possible. I list out several papers for your reference, but there are many more papers that should be discussed in the camera ready of the paper.

AsFT: Anchoring Safety During LLM Fine-Tuning Within Narrow Safety Basin

SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation

Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Survey

SPARD: Defending Harmful Fine-Tuning Attack via Safety Projection with Relevance–Diversity Data Selection

Representation noising effectively prevents harmful fine-tuning on LLMs

Vaccine: Perturbation-aware alignment for large language model aginst harmful fine-tuning

Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbation

Booster: Tackling harmful fine-tuning for large language models via attenuating harmful perturbation

Self-Destructive Language Model

CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuning

Model Immunization from a Condition Number Perspective

Locking Open Weight Models with Spectral Deformation

SDD: Self-Degraded Defense against Malicious Fine-tuning

Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention

A Guardrail for Safety Preservation: When Safety-Sensitive Subspace Meets Harmful-Resistant Null-Space

SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selection

SafeGrad: Gradient Surgery for Safe LLM Fine-Tuning

Understanding and preserving safety in fine-tuned llms

Some of them (e.g., AsFT, SafeGrad, SPF and several more) are super relevant with this finding and they are not properly discussed.

Questions

Eq. (9), U_l is obtained by SVD on the safety activation. However, why U_l is applicable to the reparameterize the weight metrics in Eq.(9). Could you show the dimentions of different statistic,e.g., U_l V_l, h_l, W_l?

Just to confirm, what is the data Tsafe in Eq. (7) and D_safe in Eq. (11). It is the pair of harmful question-refusal answer? If so, please carefully clarify this. Do you use in any place the harmful data pair, i.e., harmful question-harmful answer?

Just for discussion purpose: The line of research on safety/harmful coordiniates/ranks are very unclear to me now in the literature. Some of the papers even conflicit with each other. Here is something I believe is true: I personally do not buy in the idea that the harmful behaviors are learned because fine-tuning destroys the safety neurons/ranks (i.e., those learned from the harmful question-refusal answer pair). I am now championing the fact proposing in Wei et al, i.e., there are another set of harmful parameters/ranks grown by learning harmful question-harmful answer pair, and this new grown parameters and its activation suppress the safety alignment ones, resulting in safety degradation. Therefore, I peronally do not believe that tit helps mitigate the learning of new harmful parameters even though you freeze those safety parameters. What's your opinion towards this potentially biased view. Can you provide evidence to show that my view is wrong?

Limitations

Yes

Final justification

Concerns are fully addressed.

Formatting concerns

No concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We greatly appreciate the reviewer’s thoughtful and constructive feedback.

W1. Difference from ActSVD

We appreciate the reviewer for highlighting the connection to ActSVD. The key difference lies in the unit of preservation and where importance-based selection is performed.

Let Wl∈Rdout×dinW_l\in\mathbb R^{d_{\mathrm{out}}\times d_{\mathrm{in}}} denote the weight matrix of the ll-th linear projection, and let Xl∈Rdin×NX_l\in\mathbb R^{d_{\mathrm{in}}\times N} stacks its input activations. ActSVD performs SVD on

WlXl∈Rdout×N,W_lX_l\in\mathbb R^{d_{\mathrm{out}}\times N},

obtains Ur∈Rdout×rU_r\in\mathbb R^{d_{\mathrm{out}}\times r}, and constructs

Wlc=UrUr⊤Wl.W_l^c=U_rU_r^\top W_l.

It further isolates safety-specific modifications through

ΔWl=(I−Πlu)ΠlsWl.\Delta W_l=(I-\Pi_l^u)\Pi_l^sW_l.

Thus, ActSVD treats each rank component ukuk⊤Wlu_ku_k^\top W_l. Once a singular direction is selected, all weight elements belonging to that component are jointly retained or removed. Its preservation unit is therefore a coupled rank component rather than an individual coefficient.

WSR-Tune instead derives its basis from safety-activation covariance,

HlHl⊤=UlΣlUl⊤,H_lH_l^\top=U_l\Sigma_lU_l^\top,

and reparameterizes

W~l=Vl⊤WlUl,Wl=VlW~lUl⊤.\widetilde W_l=V_l^\top W_lU_l,\qquad W_l=V_l\widetilde W_lU_l^\top.

It scores and freezes element-wise coefficients W~l(i,j)\widetilde W_l(i,j) using the safety-loss gradient. Its admissible update is

ΔWl=Vl(ΔW~l⊙(1−Ml))Ul⊤\Delta W_l=V_l\bigl(\Delta\widetilde W_l\odot(1-M_l)\bigr)U_l^\top

which is not constrained to be low-rank.

With Vl=IV_l=I, let Sl,iS_{l,i} be the basis indices frozen for output row ii. The induced row-specific projector is

Pl,i=∑j∈Sl,iujuj⊤,P_{l,i} = \sum_{j\in S_{l,i}}u_ju_j^\top,

and the admissible row update is Δwl,i⊤(I−Pl,i).\Delta w_{l,i}^\top(I-P_{l,i}).

Hence, different output rows can preserve different subsets of the activation basis. Instead ActSVD couples parameters through shared output-rank components. Matrix-level projection methods correspond to the restricted case of sharing a projector across a matrix dimension, while element-wise masking in the original-space corresponds to coefficient selection with Ul=IU_l=I.

Accordingly, our novelty is not only activation SVD alone, but also applying the importance metric in the reparameterized space. Since

∂L∂W~l=Vl⊤∂L∂WlUl,\frac{\partial\mathcal L}{\partial\widetilde W_l}=V_l^\top \frac{\partial\mathcal L}{\partial W_l} U_l,

coordinate-wise ranking is basis-dependent. The same gradient-based rule therefore selects a different protected subspace after reparameterization than in the original space, inducing row-specific structured projections rather than complete ActSVD rank components.

We adapted both levels from Wei et al. into a fine-tuning-stage defense. ActSVD-Tuned(rank) preserves selected output-rank components

W0Xsafe=UΣV⊤,W^=UU⊤W0,W_0X_{\mathrm{safe}}=U\Sigma V^\top, \qquad \widehat W=UU^\top W_0,

while ActSVD-Tuned(neuron) freezes the identified safety-critical neurons.

Method JB AVG ↓ ΔSΔ_S ↓ GSM8K ↑ ΔDΔ_D ↑ Overall ↑
ActSVD-Tuned(rank) 15.11 -5.67 39.42 -1.75 +3.92
ActSVD-Tuned(neuron) 15.77 -5.01 40.33 -0.84 +4.17
WSR-Tune 6.90 -13.88 38.99 -2.18 +11.70

Across both rank and neuron level adaptations, WSR-Tune achieves the best safety–utility trade-off, supporting coefficient-level selection in the reparameterized space. We will clarify this distinction and add the both ActSVD-Tuned comparison in the revision.


W2 & W4. Fine-tuning-stage baselines and related work

We thank the reviewer for providing this extensive and highly relevant list of references. We evaluated the reviewer-suggested AsFT and Lisa, together with SEAL, and SafeLoRA, on Llama-2-7B-Chat with GSM8K under the same protocol as Table 2.

Method JB AVG ↓ ΔSΔ_S ↓ GSM8K ↑ ΔDΔ_D ↑ Overall ↑
Full Params FT 20.78 0.00 41.17 0.00 0.00
AsFT 9.73 -11.05 23.81 -17.36 -6.31
Lisa 12.88 -7.90 38.67 -2.50 +5.40
SEAL 30.45 +9.67 38.89 -2.28 -11.95
SafeLoRA 8.81 -11.97 32.83 -8.34 +3.63
WSR-Tune 6.90 -13.88 38.99 -2.18 +11.70

WSR-Tune achieves the lowest JB AVG while retaining 38.99 GSM8K, Pareto-dominating all added baselines.

We evaluated several suggested methods as additional baselines. In the revision, we will cover all listed papers and broaden our literature review beyond the references provided by the reviewer. We will organize the discussion by intervention stage—before, during, and after fine-tuning—and by core mechanism, including gradient/subspace constraints, perturbation-based alignment, data selection or update regularization, and attention/representation interventions. Closely related methods such as AsFT, SafeGrad, and SPF will be discussed in greater detail.


W3. Computational burden of SVD

We agree that the additional SVD introduces computational overhead.

Importantly, SVD is performed only once before downstream fine-tuning to construct the safety-conditioned basis, which remains fixed throughout training; no SVD is required during the training iterations. We further reduce the required computation by sharing a single SVD across same-input projections. (Measured on a single NVIDIA B200 GPU.)

Process Time/VRAM Details
SVD 9m 31s/30GB Once; shared projections
Downstream FT 39m 8s/96GB 3 epochs
Relative cost 0.24/0.32 Time/VRAM vs. FT

SVD adds 24% one-time time overhead over three epochs, with lower relative cost for longer training. We will report these measurements.


Q1. Why is UlU_l applicable to the weight reparameterization in Eq. (9)?

Let hl(xi,t)∈Rnlh_l(x_i,t)\in\mathbb{R}^{n_l} denote the activation entering WlW_l at token position tt of the ii-th safety sequence xix_i, and define

Hl=[hl(xi,t)](i,t)∈Tsafe∈Rnl×M.H_l=\bigl[h_l(x_i,t)\bigr]_{(i,t)\in\mathcal{T}_{safe}}\in\mathbb{R}^{n_l\times M}.

Here, HlH_l stacks MM token-level activations. The remaining dimensions are

Wl∈Rml×nl,Ul∈Rnl×nl,Vl∈Rml×ml,W~l∈Rml×nl.W_l\in\mathbb{R}^{m_l\times n_l},\qquad U_l\in\mathbb{R}^{n_l\times n_l},\qquad V_l\in\mathbb{R}^{m_l\times m_l},\qquad\widetilde W_l\in\mathbb{R}^{m_l\times n_l}.

With eigendecomposition

HlHl⊤=UlΣlUl⊤∈Rnl×nl,H_lH_l^\top=U_l\Sigma_lU_l^\top\in\mathbb{R}^{n_l\times n_l},

the columns of UlU_l provide an orthonormal coordinate system for the activations associated with WlW_l. Thus, it can be applied to the right of WlW_l, while VlV_l changes the output coordinates:

W~l=Vl⊤WlUl,Wl=VlW~lUl⊤.\widetilde W_l=V_l^\top W_lU_l,\qquad W_l=V_l\widetilde W_lU_l^\top.

Defining

h~l=Ul⊤hl,\widetilde h_l=U_l^\top h_l,

we obtain

Wlhl=VlW~lUl⊤hl=VlW~lh~l.W_lh_l=V_l\widetilde W_lU_l^\top h_l=V_l\widetilde W_l\widetilde h_l.

Thus, UlU_l is applicable because it forms an orthonormal basis of the input space of WlW_l, making WlUlW_l U_l a dimensionally valid and invertible change of basis. Since UlU_l is derived from safety activations, this basis is aligned with the activation structure observed on the safety corpus.


Q2. Clarification of Tsafe\mathcal T_{\mathrm{safe}},DsafeD_{\mathrm{safe}}, and harmful responses

Both are derived from the same Circuit Breakers split of harmful prompt–safe refusal pairs. DsafeD_{\mathrm{safe}} denotes sequence-level examples used for the safety loss and gradient importance in Eq. (11), whereas Tsafe\mathcal T_{\mathrm{safe}} denotes valid sample–token indices used to collect activations in Eq. (7).

The two stages estimate different quantities and use their natural units. Eq. (7) estimates input-activation geometry through token-level covariance, ∑ththt⊤\sum_t h_th_t^\top. Token-wise collection preserves activation structure; sequence pooling may reduce rank, while using only the last token may bias the covariance. Eq. (11) measures the safety-loss sensitivity of each prompt–refusal example, where the loss is computed over refusal tokens and aggregated across examples to construct the mask.

WSR-Tune never uses harmful prompt–harmful response pairs. We will clarify these definitions and data construction.


Q3. Discussion of newly learned harmful parameters/ranks

We thank the reviewer for this insightful perspective. We agree that safety degradation may result not only from disruption of existing safety-related components, but also from newly learned harmful parameters that override or suppress them, as suggested by prior studies [1,2]. These mechanisms may coexist.

Our intuition in WSR-Tune is to extend this view from the original parameter space to a reparameterized one. Freezing safety-relevant coefficients in the reparameterized space is not equivalent to neuron freezing: when mapped back, the resulting protection is distributed globally, with 99.9% of the original coordinates partially protected under a 10% freezing budget. We therefore position WSR-Tune as a pre-fine-tuning defense strategy that applies an importance metric in the reparameterized space to mitigate the emergence of harmful behavior, rather than claiming to eliminate it. Even if competing harmful parameters emerge elsewhere in the model, they must overcome the preserved safety-related representations rather than exploit a safety mechanism that has already been weakened. In this sense, although WSR-Tune may not prevent every harmful parameter from emerging, we expect that overriding the model’s existing safety behavior becomes more difficult.

From this perspective, WSR-Tune provides a distinct defense framework configured before downstream fine-tuning: it constructs the safety-conditioned basis and mask in advance and preserves the selected safety-relevant components throughout adaptation. We believe that the defense extension WSR-Tune proposes — into a new safety-conditioned space through reparameterization — can serve as a complementary axis for preventing and defending against the harmful behavior the reviewer is concerned about.

We sincerely thank the reviewer for the thoughtful feedback.

[1] Ponkshe, et al. Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study [2] Lee et al., A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity

Reviewer MWbx · CommentOpenReview ↗

Thanks for the rebuttal

Hello authors,

Thanks for the rebuttal. Most of my concerns are addressed. Please add the additional baseline comparison and discussion on the related work to the camera-ready. I have increased my score accordingly.

I don't agree with positioning WSR-Tune as a pre-fine-tuning defense strategy, although you have the operation of re-parameterizing the parameter space before the fine-tuning stage. Your method is a subsequent development of Boyi Wei et al, which is a classical fine-tuning stage defense. Please try not to wrongly position the paper, as this will be very confusing to readers that intersted in the line of research of "parameter freezing"-based defense. Please also add a section in the appendix to discuss about relevant defenses that focus on the parameter freezing idea. For example, [1][2][3] is a direct application, and [4-9], etc are similar ideas that constrain the update in some parameter/rank. You may check this repo (https://github.com/git-disl/awesome_LLM-harmful-fine-tuning-papers) for a full list of papers. Please do include such revisions in the paper, as this is important for the field development and the community is smaller than you think.

[1] Safety layers in aligned large language models: The key to LLM security

[2] Assessing the brittleness of safety alignment via pruning and low-rank modifications

[3] Safety Alignment Shouldn't Be Complicated https://openreview.net/forum?id=9H91juqfgb

[4] AsFT: Anchoring Safety During LLM Fine-Tuning Within Narrow Safety Basin

[5]Lisa: Lazy safety alignment for large language models against harmful fine-tuning attack

[6] SafeAnchor: Preventing Cumulative Safety Erosion in Continual Domain Adaptation of Large Language Models

[7] Gradient Surgery for Safe LLM Fine-Tuning

[8] Safety alignment should be made more than just a few tokens deep

[9] Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink

Authors · CommentOpenReview ↗

Reply Rebuttal Comment by Authors

We sincerely thank the reviewer for the follow-up comments and for increasing the score.

As suggested, we will incorporate the additional baseline comparisons presented in the rebuttal and expand the related-work discussion in the paper to cover parameter/rank-freezing and update-constraining defenses, including the studies mentioned by the reviewer.

We will also revise the manuscript to clearly position WSR-Tune as a fine-tuning-stage defense and to clarify its relationship to prior work.

Thank you again for the helpful suggestions.

Reviewer XM5FOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Safety finetuned models have been shown to lose their aligned behavior when finetuned for downstream tasks. The paper addresses this issue with a finetuning scheme called WSR-Tune to preserve safety even after finetuning. First the paper identifies principal directions in the activation space of the model for safety related inputs. Then the weights are reparameterized by the projecting along these directions and taken into another arbitrary basis. This ensures that these reparameterized weights mainly encode the safety-relevant information.

During finetuning, the authors identify the parameters with a large gradient with respect to the reparameterized weights and create a mask for such parameters to stop gradients. This ensures that the safety-relevant information is preserved.

The paper performs extensive experiments with multiple baselines and largely outperforms all of them, thus showing the success of this formulation.

Strengths and weaknesses

Strengths:

  • The paper proposes a novel but rather simple method which is extremely effective.
  • There are extensive experiments against current baselines which shows the effectiveness of the method.
  • The paper is well written

Weaknesses

  • One weakness is the need to compute SVD, which takes time. However given the performance gain, I do not see that as a bad tradeoff. Additionally, as mentioned in the paper, efficient methods can be developed based on this.
Questions
  • Does the basis choice of V in equation 9 impact your results ? May be some ablation studies on that will be good.
  • If I understand correctly, the mask is still in the original weight space ?
Limitations

Yes

Final justification

The authors have addressed all my concerns adequately.
I maintain my positive score.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you very much for your positive feedback and valuable suggestions. Our responses are provided below.


Q1. Does the basis choice of VV in Eq. (9) impact the results?

Thank you for this insightful suggestion.

We performed the requested ablation by replacing the identity matrix (V=IV=I) with two different types of randomly generated orthogonal matrices — a sparse signed permutation VpermV_\text{perm} and a dense Haar-random rotation VdenseV_\text{dense} — while keeping all other settings identical. The former only relabels the output coordinates, whereas the latter fully mixes them.

Method JB AVG ↓\downarrow ΔS\Delta_S GSM8K ↑\uparrow ΔD\Delta_D Overall ↑\uparrow
Full Params FT 20.78 0.00 41.17 0.00 0.00
SafeInstr 13.55 -7.23 38.44 -2.73 +4.50
Resta 10.56 -10.22 36.92 -4.25 +5.97
SafeDelta 5.57 -15.21 19.79 -21.38 -6.17
SN-Tune 27.18 +6.40 38.99 -2.18 -8.58
RSN-Tune 20.73 -0.05 40.26 -0.91 -0.86
WSR-Tune (V=VpermV=V_\text{perm}) 8.38 -12.38 39.95 -1.17 +11.21
WSR-Tune (V=VdenseV=V_\text{dense}) 8.21 -12.58 39.65 -1.47 +11.11
WSR-Tune (V=IV=I) 6.90 -13.88 38.99 -2.18 +11.70
  • Signed permutation VpermV_\text{perm}. A uniformly random permutation π\pi of {1,…,m}\{1,\dots,m\} with iid random signs si∈{−1,+1}s_i\in\{-1,+1\}, i.e. Vei=sieπ(i)Ve_i=s_i e_{\pi(i)}. Sparse and exactly orthogonal; it permutes and flips the output coordinates without mixing them.
  • Dense random VdenseV_\text{dense}. The QR factorization A=QRA=QR of a Gaussian matrix Aij∼N(0,1)A_{ij}\sim\mathcal{N}(0,1), with the sign convention V=Q diag(sign(Rii))V=Q\,\mathrm{diag}(\mathrm{sign}(R_{ii})) so that VV is Haar-uniform on O(m)O(m). Dense and exactly orthogonal; it fully mixes all output coordinates.

The results show that all three choices of VV achieve a better safety-downstream trade-off than the competing baselines, indicating that WSR-Tune is largely insensitive to arbitrary rotations of the row space.

This observation is expected. Equation (9)

W~=V⊤WU\widetilde{W}=V^\top WU

represents the same weight matrix under different orthonormal coordinate systems. The key component of WSR-Tune is the activation-derived basis UU, which is constructed from the safety activation covariance and concentrates safety-relevant information. In contrast, VV simply rotates the row coordinates and does not introduce additional safety information.

While different choices of VV may produce slightly different coordinate-wise masks because masking is performed after reparameterization, our experiments show that these differences have only a minor effect on the final performance. We therefore adopt V=IV=I as the canonical design choice: it avoids introducing arbitrary, data-independent rotations, and it is also the cheapest option, since any non-identity VV applies an extra transform to every weight at each forward pass — a row gather for VpermV_\text{perm} and a full matrix multiplication for VdenseV_\text{dense} — which made training 1.11.1 ~ 1.7×1.7\times slower than V=IV=I in our runs.

These results further confirm that WSR-Tune mainly relies on the activation-derived basis UU, while the specific choice of VV has only a negligible impact on the overall performance.

We will include this ablation and discussion in the revised manuscript.


Q2. If I understand correctly, the mask is still in the original weight space?

Thank you for the question. The mask is constructed in the reparameterized weight space, not in the original weight space.

Specifically, we first transform each weight matrix into the reparameterized space

W~=V⊤WU,\widetilde{W}=V^\top WU,

estimate safety importance using the gradients with respect to the reparameterized coefficients, and construct the binary mask on these coefficients. During downstream fine-tuning, gradients are blocked only for the masked coefficients in the reparameterized space.

When mapped back to the original parameter space, this operation does not freeze individual weight entries. Instead, it freezes structured directions defined by the basis vectors

ϕij=viuj⊤.\phi_{ij}=v_i u_j^\top.

This distinction is central to our method. As shown below, applying the same importance masking directly in the original weight space (without reparameterization) consistently results in inferior safety preservation compared to masking in the proposed reparameterized space.

Category Method Safety: JB AVG ↓\downarrow Safety: ΔS\Delta_{\mathrm{S}} Downstream: GSM8K ↑\uparrow Downstream: ΔD\Delta_{\mathrm{D}} Overall ↑\uparrow
Ablation Full parameter FT 20.78 0.00 41.17 0.00 0.00
Ablation Original space + important mask FT 9.17 -11.61 40.41 -0.76 +10.85
Ablation WSR-Tune 6.90 -13.88 38.99 -2.18 +11.70

This experiment demonstrates that the improvement comes from where the mask is applied (the reparameterized basis), rather than simply freezing important parameters.

We will clarify this point more explicitly in the revised manuscript.


W1. Computation burden of SVD

Thank you for pointing this out. We agree that the additional SVD introduces computational overhead.

Importantly, the SVD is performed only once before downstream fine-tuning begins to construct the safety-conditioned basis. The resulting basis is then kept fixed throughout training, meaning that no SVD is required during the training iterations.

We further reduce the required computation by sharing a single SVD across same-input projections. (Measured on a single NVIDIA B200 GPU.)

Process Time / VRAM Cost Details
One-time SVD 9 min 31 seconds / 30GB Once; shared projections
Downstream FT 39 min 8 seconds(3 epochs) / 96GB 13 min for 1 epoch
Relative Cost 0.24/0.32 Relative to total fine-tuning time

Thus, basis construction is a one-time preprocessing cost, while the measured overhead is approximately 24% for a 3-epoch fine-tuning run. Since the SVD is performed only once, its relative cost decreases further as the number of fine-tuning epochs increases. We will add these results and discussions in our revised manuscript.

We again appreciate the reviewer for the time and effort.

Reviewer XM5F · CommentOpenReview ↗

I thank the authors for the detailed answers. These answer my questions and I maintain my current positive score.

Authors · CommentOpenReview ↗

Reply Rebuttal Comment by Authors

Thank you very much for your kind acknowledgment and for letting us know that our response addressed your concerns. We sincerely appreciate your time and consideration.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…