cs.AIAug 21, 2026

CLEAR: Continuous Latent Adapter Routing for Utility-Preserving LLM Safety Alignment

Authors: Chengxiao Wang, Enyi Jiang, Xiaojing Liao, Sanmi Koyejo

Organizations: Siebel School of Computing and Data Science, University of Illinois at Urbana-Champaign · Computer Science, Stanford University

Abstract

Improving the safety of large language models (LLMs) often comes at the expense of utility, as globally applied safety tuning may affect model responses to both harmful and benign inputs. We propose Continuous LatEnt Adapter Routing (CLEAR), a conditional safety adaptation framework that uses a lightweight hidden-state gate to continuously control the activation strength of a safety low-rank adapter. CLEAR aims to reduce harmful completions while avoiding unnecessary changes to the frozen backbone that could degrade performance on benign prompts. Experiments on widely used safety and utility benchmarks show that CLEAR improves robustness on HarmBench while reducing the utility degradation observed with globally applied safety tuning such as SFT or standard low-rank adaptation (LoRA). On Llama-3-8B-Instruct, CLEAR reduces HarmBench ASR from 32.3% to 0.5%, while retaining most of the base model's utility and achieving up to 7.1 percentage points higher GSM8K accuracy than globally applied SFT or LoRA. These results suggest that CLEAR is a promising mechanism for improving the safety--utility trade-off in LLM alignment.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. HiRoute: Hierarchical Routed Prompt Tuning for Safety Alignment of Large Language Models

    Aug 13, 2026Fangzhou Chen, Shiji Zhao, Mengyang Wang +4LLM Safety AlignmentPrompt Tuning

  2. SafeAnchor: Preventing Cumulative Safety Erosion in Continual Domain Adaptation of Large Language Models

    Apr 20, 2026Dongxin Guo, Jikun Wu, Siu Ming YiuContinual Learning for LLMsLLM Fine-Tuning

  3. DNAlign: Dynamic Null-Space Safe Alignment for LLMs

    Oct 2, 2026Jisheng Dang, Yushuo Zhao, Dewei Liu +6LLM AlignmentLLM Safety Alignment