sudoLLM: On Multi-role Alignment of Language Models
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
User authorization-based access privileges are a key feature in many safety-critical systems, but have not been extensively studied in the large language model (LLM) realm. In this work, drawing inspiration from such access control systems, we introduce sudoLLM, a novel framework that results in multi-role aligned LLMs, i.e., LLMs that account for, and behave in accordance with, user access rights. sudoLLM injects subtle user-based biases into queries and trains an LLM to utilize this bias signal in order to produce sensitive information if and only if the user is authorized. We present empirical results demonstrating that this approach shows substantially improved alignment, generalization, resistance to prefix-based jailbreaking attacks, and ``fails-closed''. The persistent tension between the language modeling objective and safety alignment, which is often exploited to jailbreak LLMs, is somewhat resolved with the aid of the injected bias signal. Our framework is meant as an additional security layer, and complements existing guardrail mechanisms for enhanced end-to-end safety with LLMs.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 30 of its 56 references that are in the map. First posted on arXiv 20 May 2025.
Builds on
30 of 56 references.
Closest ancestors · 6
Same direction, newest first
- 2024Playing Language Game with LLMs Leads to Jailbreaking16 Nov
- 2024SudoLM: Learning Access Control of Parametric Knowledge with Authorization Alignment18 Oct
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
- 2024WordGame: Efficient & Effective LLM Jailbreak via Simultaneous Obfuscation in Query and Response22 May
- 2024Intention Analysis Makes LLMs A Good Jailbreak Defender12 Jan
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
Other references · 24
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 236
12 more
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
- 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 199
- 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 148
- 2018CLAUDETTE: an Automated Detector of Potentially Unfair Clauses in Online Terms of Servicecited by 73
- 2019Question Answering for Privacy Policies: Combining Computational and Legal Perspectivescited by 67
- 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 33
- 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attackscited by 33
- 2025Understanding and Enhancing the Transferability of Jailbreaking Attackscited by 22
- 2021Factoring Statutory Reasoning as Language Understanding Challengescited by 20
- 2024Deciphering the Chaos: Enhancing Jailbreak Attacks via Adversarial Prompt Translationcited by 6
- 2024Dynamic Guided and Domain Applicable Safeguards for Enhanced Security in Large Language Modelscited by 5
- 2025Fine-Tuned LLMs are "Time Capsules" for Tracking Societal Bias Through Bookscited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Role-Conditioned Refusals: Evaluating Access Control Reasoning in Large Language Modelscited by 5
- 2025Role-Aware Language Models for Secure and Contextualized Access Control in Organizationscited by 2
- 2026Chain-of-Authorization: Embedding authorization into large language modelscited by 0
- 2026Benchmarking Text-to-SQL under Role-Based Access Controlcited by 0
- 2026Benchmarking Text-to-SQL under Role-Based Access Control24 Jul 2026
- 2026Chain-of-Authorization: Embedding authorization into large language models24 Mar 2026
- 2025Role-Conditioned Refusals: Evaluating Access Control Reasoning in Large Language Models9 Oct 2025
- 2025Role-Aware Language Models for Secure and Contextualized Access Control in Organizations31 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Permissioned LLMs: Enforcing Access Control in Large Language Models
- 2025Logic Jailbreak: Efficiently Unlocking LLM Safety Restrictions Through Formal Logical Expression
- 2025QueryAttack: Jailbreaking Aligned Large Language Models Using Structured Non-natural Query Language
- 2026Exploring and Developing a Pre-Model Safeguard with Draft Models
- 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security
- 2025Beyond Jailbreaks: Revealing Stealthier and Broader LLM Security Risks Stemming from Alignment Failures
- 2025Playing the Fool: Jailbreaking LLMs and Multimodal LLMs with Out-of-Distribution Strategy
- 2024SATA: A Paradigm for LLM Jailbreak via Simple Assistive Task Linkage