mlsanityData to 14 Oct 2026

Safe Transformer: An Explicit Safety Bit For Interpretable And Controllable Alignment

arXiv 2603.06727 ↗First posted 6 Mar 2026cs.LG cs.AIcited by 0

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

also in 1 more
Abstract (arXiv)

Current safety alignment methods encode safe behavior implicitly within model parameters, creating a fundamental opacity: we cannot easily inspect why a model refuses a request, nor intervene when its safety judgments fail. We propose Safe Transformer, a modular approach that augments pre-trained language models by inserting a discrete information bottleneck containing an explicit safety bit between transformer layers. The safety bit serves as both an interpretable signal of the model's safety classification and a controllable switch: through contrastive training, the model learns disentangled representations where the safety bit governs the behavioral mode - producing helpful responses when s=1 and refusals when s=0 - while additional unsupervised bits u encode semantic content for generation. Additional unsupervised bits in the information bottleneck allow semantic information to flow through, preserving the model's generation capabilities. This design achieves both interpretability (the safety decision is directly readable) and controllability (the safety bit can be manually overridden), requiring only lightweight fine-tuning without pre-training from scratch. In red-team benchmarks, Safe Transformer achieves near-zero Attack Success Rate, substantially outperforming base models and safety fine-tuning baselines.

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

Builds on

31 of 33 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security30 Aug
  2. 2024Model Surgery: Modulating LLM's Behavior Via Simple Parameter Editing11 Jul
  3. 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preference20 Jun
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  5. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset10 Jul

Other references · 26

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2017Neural Discrete Representation Learningcited by 4,712
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  6. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  7. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  8. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  10. 2023Instruction Tuning with GPT-4cited by 686
  11. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 505
  12. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
14 more
  1. 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 223
  2. 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 186
  3. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 79
  4. 2023Aligning Large Language Models with Human Preferences through Representation Engineeringcited by 71
  5. 2025International AI Safety Reportcited by 67
  6. 2023Codebook Features: Sparse and Discrete Interpretability for Neural Networkscited by 48
  7. 2025Refusal Direction is Universal Across Safety-Aligned Languagescited by 38
  8. 2025SafeSwitch: Steering Unsafe LLM Behavior via Internal Activation Signalscited by 29
  9. 2025COSMIC: Generalized Refusal Direction Identification in LLM Activationscited by 19
  10. 2024Constrain Alignment with Sparse Autoencoderscited by 12
  11. 2025DETAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modificationcited by 10
  12. 2024Improving Semantic Control in Discrete Latent Spaces with Transformer Quantized Variational Autoencoderscited by 6
  13. 2025Binary Sparse Coding for Interpretabilitycited by 3
  14. 2025The Free Transformercited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection
  2. 2026SafeSteer: Localized On-Policy Distillation for Efficient Safety Alignment
  3. 2026Dialectics of Alignment: Harnessing Unsafe Knowledge for Dynamic Safety Routing
  4. 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons
  5. 2026MOSAIC: Composable Safety Alignment with Modular Control Tokens
  6. 2025Vulnerability Mitigation for Safety-Aligned Language Models via Debiasing
  7. 2024Controllable Safety Alignment: Inference-Time Adaptation to Diverse Safety Requirements
  8. 2024Superficial Safety Alignment Hypothesis