DataShield: Uncovering Risky Fine-Tuning Data Across LLMs Through Consensus Subspace Alignment
Not on the map. Why?
Abstract (arXiv)
Fine-tuning large language models (LLMs) on domain-specific datasets has become a standard paradigm for adapting LLMs to specialized applications. However, recent work has shown that even fine-tuning on benign task-specific data can substantially weaken the safety capabilities of LLMs. While existing efforts have made progress in identifying data responsible for safety degradation, they usually rely on a single mean vector computed over a specific model with its tokenizer to represent the safety direction, which limits both the effectiveness and transferability of their risk assessment measures. To address these limitations, we propose DataShield, a data assessment framework that identifies risky fine-tuning samples and response segments through consensus subspace alignment over joint safety-critical semantic spaces derived from multiple safety-aligned LLMs. Within these spaces, DataShield extracts consensus safe and unsafe subspaces using semantic spectral decomposition over safe and unsafe data representations. The risk of a data sample or segment is then estimated by measuring its relative alignment with the unsafe and safe subspaces, enabling both sample-level filtering and fine-grained segment-level masking. Compared with state-of-the-art filtering and masking baselines, DataShield reduces ASR by 14.6% with sample filtering and 32.3% with segment masking, while preserving downstream utility and avoiding target-model-specific risk computation.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Jul 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026DARWIN: Evolving Jailbreak Adversary and Guardrail for LLM Safety Evaluation and Protectioncited by 6
- 2026REIN: Bridging the Gap between Reasoning and Reliability via Reflection and Abstention Alignmentcited by 1
- 2026Gradient Immunity: Null-Space Resistance to Malicious Fine-Tuningcited by 0
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributionscited by 0
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributions11 Aug 2026
- 2026REIN: Bridging the Gap between Reasoning and Reliability via Reflection and Abstention Alignment8 Aug 2026
- 2026Gradient Immunity: Null-Space Resistance to Malicious Fine-Tuning5 Aug 2026
- 2026DARWIN: Evolving Jailbreak Adversary and Guardrail for LLM Safety Evaluation and Protection22 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion
- 2026Understanding and Preserving Safety in Fine-Tuned LLMs
- 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance
- 2024Locking Down the Finetuned LLMs Safety
- 2024A safety realignment framework via subspace-oriented model fusion for large language models
- 2025The Blessing and Curse of Dimensionality in Safety Alignment
- 2025Gradient Surgery for Safe LLM Fine-Tuning
- 2026From Parameter Dynamics to Risk Scoring : Quantifying Sample-Level Safety Degradation in LLM Fine-tuning