paper-with-me

홈 › Papers

Data to Defense: The Role of Curation in Customizing LLMs Against Jailbreaking Attacks

2024-10-03 · Xiaoqun Liu, Jiacheng Liang, Luoxi Tang, Muchao Ye, Weicheng Ma, Zhaohan Xi

Large language models (LLMs) are widely adapted for downstream applications through fine-tuning, a process named customization. However, recent studies have identified a vulnerability during this process, where malicious samples can compromise the robustness of LLMs and amplify harmful behaviors-an attack commonly referred to as jailbreaking. To address this challenge, we propose an adaptive data curation approach allowing any text to be curated to enhance its effectiveness in counteracting harmful samples during customization. To avoid the need for additional defensive modules, we further introduce a comprehensive mitigation framework spanning the lifecycle of the customization process: before customization to immunize LLMs against future jailbreak attempts, during customization to neutralize risks, and after customization to restore compromised models. Experimental results demonstrate a significant reduction in jailbreaking effects, achieving up to a 100% success rate in generating safe responses. By combining adaptive data curation with lifecycle-based mitigation strategies, this work represents a solid step forward in mitigating jailbreaking risks and ensuring the secure adaptation of LLMs.

📄 PDF Abstract BibTeX arXiv:2410.02220

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Pharmacist: Safety Alignment Data Curation for Large Language Models against Harmful Fine-tuning

2025-10-11 · Guozhi Liu, Qi Mu, Tiansheng Huang, Xinhua Wang 외 arxiv

Harmful fine-tuning issues present significant safety challenges for fine-tuning-as-a-service in large language models. Existing alignment-stage defenses, e.g., Vaccine, Repnoise, Booster, and T-Vaccine, mitigate harmful…

Computational Efficiency

Adaptive and Robust Data Poisoning Detection and Sanitization in Wearable IoT Systems using Large Language Models

2025-11-04 · W. K. M Mithsara, Ning Yang, Ahmed Imteaj, Hussein Zangoti 외 arxiv

The widespread integration of wearable sensing devices in Internet of Things (IoT) ecosystems, particularly in healthcare, smart homes, and industrial applications, has required robust human activity recognition (HAR) te…

Human Activity RecognitionFew-Shot Learning

How Few-shot Demonstrations Affect Prompt-based Defenses Against LLM Jailbreak Attacks

2026-02-04 · Yanshu Wang, Shuaishuai Yang, Jingjing He, Tong Yang arxiv

Large Language Models (LLMs) face increasing threats from jailbreak attacks that bypass safety alignment. While prompt-based defenses such as Role-Oriented Prompts (RoP) and Task-Oriented Prompts (ToP) have shown effecti…

AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks

2024-03-02 · Yifan Zeng, Yiran Wu, Xiao Zhang, Huazheng Wang 외

Despite extensive pre-training in moral alignment to prevent generating harmful information, large language models (LLMs) remain vulnerable to jailbreak attacks. In this paper, we propose AutoDefense, a multi-agent defen…

Instruction FollowingLLM real-life tasksMulti-agent Integration

Q-Adapter: Customizing Pre-trained LLMs to New Preferences with Forgetting Mitigation

2024-07-04 · Yi-Chen Li, Fuxiang Zhang, Wenjie Qiu, Lei Yuan 외

Large Language Models (LLMs), trained on a large amount of corpus, have demonstrated remarkable abilities. However, it may not be sufficient to directly apply open-source LLMs like Llama to certain real-world scenarios, …

Q-Learningreinforcement-learningReinforcement LearningSafety Alignment