mlsanityData to 7 Oct 2026

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

arXiv 2608.12821 ↗First posted 13 Aug 2026cs.LGcited by 0

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

Large language models (LLMs) remain vulnerable to harmful requests and jailbreak attacks. Parameter-efficient safety alignment methods based on prompt tuning typically rely on a single global prompt or externally selected prompt modules. Such static designs struggle to maintain a cross-category safety boundary while generating constructive responses tailored to specific risks and avoiding over-refusal of benign inputs. To address these limitations, we propose HiRoute, an input-adaptive hierarchical prompt-tuning framework that separates category-agnostic safety control from category-specific response guidance. HiRoute first trains a lightweight hierarchical router on representations extracted from a frozen LLM to jointly detect harmful intent and predict multi-label risk scores. It then freezes both the backbone model and the router and uses preference optimization with alternating gradient updates to learn a shared coarse-grained prompt and a set of fine-grained prompt experts as continuous embeddings. At inference time, benign inputs bypass the safety branch, whereas risky inputs are processed using the shared prompt together with a router-weighted mixture of risk-specific prompt experts. Experiments across three instruction-tuned models show that HiRoute achieves high safety rates across multiple safety benchmarks while preserving safe-response helpfulness, reducing over-refusal, and maintaining competitive performance on general-purpose tasks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 13 of its 20 references that are in the map. First posted on arXiv 13 Aug 2026.

Builds on

13 of 20 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026MOSAIC: Composable Safety Alignment with Modular Control Tokens17 Mar
  2. 2025Oyster-I: Beyond Refusal -- Constructive Safety Alignment for Responsible Language Models2 Sep
  3. 2024Safety Alignment of Large Language Models via Contrasting Safe and Harmful Distributions24 Jun
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 9

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  6. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  7. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  8. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
  9. 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMscited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging
  2. 2025Safety Alignment Should Be Made More Than Just A Few Attention Heads
  3. 2026ReFrame: Evidence-Guided Test-Time Safety Alignment in Multimodal Large Language Models
  4. 2026SafeSteer: Localized On-Policy Distillation for Efficient Safety Alignment
  5. 2025SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection
  6. 2026Understanding and Preserving Safety in Fine-Tuned LLMs
  7. 2026HyperSafe: Inference-Time Safety Recovery for Fine-Tuned Language Models
  8. 2025STAIR: Improving Safety Alignment with Introspective Reasoning