- Rating
- 4
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
The authors propose a defense framework to preserve the safety alignment of large language models (LLMs) during fine-tuning and prevent safety degradation caused by harmful training data. Their framework introduces the Finetuning Implicit Harmfulness Score (FIHS), which evaluates how likely a training sample is to compromise model safety by comparing its gradient update direction with a safety-related gradient. Samples with high FIHS are identified as potentially harmful and filtered out before fine-tuning, allowing the model to maintain both safety and task performance. Experimental results demonstrate the effectiveness of their method.
Strengths and weaknesses
Strengths:
- The paper is well organized and easy to follow. The proposed method and experimental setup are presented clearly.
- The FIHS metric provides an intuitive and efficient way to estimate the safety impact of individual training samples.
- Experimental results demonstrate the effectiveness of the proposed method across various fine-tuning settings.
Weakness:
- The novelty appears limited. Although the authors introduce FIHS to quantify the influence of individual training samples on safety alignment, the core idea of leveraging gradient directions to identify safety-related risks has already been explored in prior work such as CTRAP [1]. Since both methods rely on gradient-based signals to detect safety-compromising updates, it is unclear whether the proposed sample-level formulation provides sufficient conceptual novelty over existing approaches.
- Although the paper includes several recent baselines (e.g., SafeLoRA), it does not compare against some stronger and more recent harmful fine-tuning defenses such as Panacea [2], LARF [3], and SPARD [4].
- This paper lacks a qualitative analysis of the removed samples. In particular, it remains unclear what types of implicit harmful data are assigned high FIHS scores and filtered out.
- It is unclear why SEAL is only included in Table 1 but omitted from Tables 2 and 3.
[1] CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuning. Biao Yi, Tiansheng Huang, Baolei Zhang, Tong Li, Lihai Nie, Zheli Liu, Li Shen. arxiv:https://arxiv.org/abs/2505.16559
[2] Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbation. Yibo Wang, Tiansheng Huang, Li Shen, Huanjin Yao, Haotian Luo, Rui Liu, Naiqiang Tan, Jiaxing Huang, Dacheng Tao. NeurIPS 2025.
[3] Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment. Hao Li, Lijun Li, Zhenghao Lu, Xianyi Wei, Rui Li, Jing Shao, Lei Sha. EMNLP 2025.
[4] SPARD: Defending Harmful Fine-Tuning Attack via Safety Projection with Relevance–Diversity Data Selection. Shuhao Chen, Weisen Jiang, Yeqi Gong, Shengda Luo, Chengxiang Zhuo, Zang Li, James Kwok, Yu Zhang. ICML 2026.
Questions
My concerns and questions are summarized in the Weaknesses section.
Limitations
yes
Paper formatting concerns
N/A
Final justification
Before the rebuttal, my main concern was the novelty of the proposed method. After the authors’ clarification, I believe this concern has been adequately addressed. In addition, the authors have:
- Added results for the baseline I requested.
- Provided examples illustrating what types of implicitly harmful data are filtered out.
- Clearly explained the experimental settings and results presented in the rebuttal.
Given these clarifications and additional results, I am willing to raise my score to 4.
Thank you for your thoughtful review. Please see our responses below.
GradShield is novel, not because of the use of gradients, but because: 1. We propose a novel harmful score using gradients of a proxy safety score that does not rely on certain types of harmful data. 2. We propose a novel filtering mechanism that does not require knowledge of harmful data distribution. Both novelties make GradShield perform consistently well and significantly better than all baselines across different dataset combinations.
Existing gradient-based defenses, such as CTRAP, usually rely on a small set of known harmful/safety examples to construct a safety direction or subspace using their gradients, and often fail to generalize to unknown harmful examples.
Moreover, CTRAP aims to train a defensive model that resists subsequent malicious finetuning, which is different from the settings in our paper.
We have added the following comparisons with the suggested baselines:
Table 1: Samsum + LATharm/ samsum+RTA
Table 2: Identity shift
Table 3: Utility ablation
LARF + GMM appears to usually be the best among the three new baselines; however, it still falls far behind GradShield on major settings, such as LATharm (LARF ASR 0.23 v.s. GradShield 0.01), RTA(LARF ASR 0.2 v.s. GradShield 0.06), and IdentityShift (LARF ASR 0.1 v.s. GradShield 0.01)
We have found two general patterns that tend to lead to high harmful scores: 1. Prompts that clearly are harmful (strongly violate alignment). 2. Listing format text in responses.
We provide examples from different datasets with different FIHS (harmful) scores: Here is an example from the implicit harmful dataset (Identity Shift) with the highest FIHS scores:
and an example from the implicit harmful dataset (Identity Shift) with the lowest FIHS scores:
Here is an example from the explicit harmful dataset (LATharm) with the highest FIHS scores:
and an example from the explicit harmful dataset (LATharm) with the lowest FIHS scores:
Here is an example of the RTAdataset with the highest FIHS scores:
and an example of the RTA dataset with the lowest FIHS scores:
For implicit harmful data, a high FIHS score is usually associated with listing-format text.
Here is our evaluation of SEAL with the settings in Table 2 and Table 3:
Table 2: Identity shift
Table 3: Utility ablation with LATharm
Empirically, we observed that SEAL does not clearly distinguish benign from harmful data, therefore resulting in either high ASR or low utility. We will add these results and include SEAL consistently in the relevant tables.