paper-with-me

Papers

Detecting and Filtering Unsafe Training Data via Data Attribution

2025-02-17 · Yijun Pan, Taiwei Shi, Jieyu Zhao, Jiaqi W. Ma

Large language models (LLMs) are vulnerable to unsafe training data that even small amounts of unsafe data can lead to harmful model behaviors. Detecting and filtering such unsafe training data is essential for trustworthy model development. Current state-of-the-art (SOTA) approaches typically rely on training moderation classifiers which requires significant computational overhead and are limited to predefined taxonomies, making them less adaptable to evolving safety concerns. Moreover, these classifiers lack insight into the training process, limiting their effectiveness in filtering unsafe data. To address these limitations, we propose DABUF, leveraging data attribution to detect and filter unsafe training data by attributing harmful model outputs to influential training data points. DABUF enables flexible identification of various unsafe data types without predefined taxonomies. However, in practice, model outputs can be complex with combined safe linguistic features and unsafe content, leading to reduced attribution accuracy. In such cases, DABUF will integrate moderation classifiers to identify a minimal subset of unsafe training data for targeted attribution (such as jailbreak). When model outputs are relatively straightforward, DABUF uses model outputs directly as the attribution targets. We evaluate the performance on two different tasks: in filtering jailbreaking training data and in identifying and mitigating gender bias. DABUF outperforms SOTA approaches by up to 7.5\% in detection AUPRC in jailbreaking scenarios, and 44.1\% in detecting gender bias. Moreover, retraining on DABUF-filtered data leads to higher model safety across experiments, underscoring its versatility in addressing a broad spectrum of unsafe data issues.

📄 PDF Abstract BibTeX arXiv:2502.11411

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SecureBreak -- A dataset towards safe and secure models

2026-03-23 · Marco Arazzi, Vignesh Kumar Kembu, Antonino Nocera arxiv

Large language models are becoming pervasive core components in many real-world applications. As a consequence, security alignment represents a critical requirement for their safe deployment. Although previous related wo…

SEALGuard: Safeguarding the Multilingual Conversations in Southeast Asian Languages for LLM Software Systems

2025-07-11 · Wenliang Shan, Michael Fu, Rui Yang, Chakkrit Tantithamthavorn arxiv

Safety alignment is critical for LLM-powered systems. While recent LLM-powered guardrail approaches such as LlamaGuard achieve high detection accuracy of unsafe inputs written in English (e.g., ``How to create a bomb?'')…

Towards Understanding Unsafe Video Generation

2024-07-17 · Yan Pang, Aiping Xiong, Yang Zhang, Tianhao Wang

Video generation models (VGMs) have demonstrated the capability to synthesize high-quality output. It is important to understand their potential to produce unsafe content, such as violent or terrifying videos. In this wo…

Image GenerationVideo Generation

Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection

2026-06-17 · Jinhan Li, Kexian Tang, Yihan Xu, Zhuorui Ye 외 arxiv

To achieve deeper safety alignment for large language models (LLMs), recent efforts have studied how to push safety interventions earlier into the pretraining stage, primarily by filtering unsafe data or rewriting it int…

No Safe Dose: How Training Data Drives Unsafe Image Generation

2026-05-27 · Felix Friedrich, Lukas Helff, Niharika Hegde, Patrick Schramowski 외 arxiv

Text-to-image models trained on large-scale data often inevitably ingest unsafe content. While some people observe input-output amplifications, it remains unclear whether and how training data composition directly drives…

Image Generation