mlsanityData to 7 Oct 2026

Distilling Safe LLM Systems via Soft Prompts for On Device Settings

arXiv 2606.09388 ↗First posted 8 Jun 2026cs.LGcited by 0

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

Deploying safe large language models (LLMs) on resource-constrained edge devices presents a critical challenge: while dual-model systems combining LLMs with guard models provide effective safety guarantees, their substantial memory and computational demands make them prohibitively expensive for on-device deployment. This paper presents a comprehensive study of parameter-efficient safety alignment methods for resource-constrained settings. Through systematic evaluation across multiple LLM architectures, training objectives, and parameter-efficient fine-tuning approaches, we identify that soft prompts combined with distillation-based training consistently outperform alternative methods. We introduce distillation frameworks based on total variation and KL divergence that effectively transfer safety behaviors from guard models into learned soft prompts. Our evaluations on various benchmarks demonstrate that this combination achieves superior safety-usefulness trade-offs compared to LoRA adapters, steering vectors, and direct optimization methods, while requiring minimal additional memory and compute at inference time. These findings establish soft prompt distillation as the preferred approach for safety alignment in on-device LLM deployment.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 27 of its 34 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

27 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Improving Alignment and Robustness with Circuit Breakers6 Jun

Other references · 26

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  5. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  9. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  10. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  11. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  12. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
14 more
  1. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
  2. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  3. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  4. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 494
  5. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  6. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  7. 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Promptscited by 368
  8. 2024RLHF Workflow: From Reward Modeling to Online RLHFcited by 265
  9. 2018The Malicious Use of Artificial Intelligence: Forecasting, Prevention, and Mitigationcited by 159
  10. 2023An LLM can Fool Itself: A Prompt-Based Adversarial Attackcited by 111
  11. 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Modelscited by 95
  12. 2024PRP: Propagating Universal Perturbations to Attack Large Language Model Guard-Railscited by 49
  13. 2024Llama Guard 3-1B-INT4: Compact and Efficient Safeguard for Human-AI Conversationscited by 24
  14. 2024Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devicescited by 17

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026CLEAR: Continuous Latent Adapter Routing for Utility-Preserving LLM Safety Alignment
  2. 2026Understanding and Preserving Safety in Fine-Tuned LLMs
  3. 2026SafeSteer: Localized On-Policy Distillation for Efficient Safety Alignment
  4. 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance
  5. 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment
  6. 2026The Joint Effect of Quantization and Sampling Temperature on LLM Safety Alignment: A Factorial Analysis
  7. 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization
  8. 2025Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning