mlsanityData to 14 Oct 2026

sudoLLM: On Multi-role Alignment of Language Models

arXiv 2505.14607 ↗First posted 20 May 2025cs.CL cs.CRcited by 4

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

  1. 2024Playing Language Game with LLMs Leads to Jailbreaking16 Nov
  2. 2024SudoLM: Learning Access Control of Parametric Knowledge with Authorization Alignment18 Oct
  3. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  4. 2024WordGame: Efficient & Effective LLM Jailbreak via Simultaneous Obfuscation in Query and Response22 May
  5. 2024Intention Analysis Makes LLMs A Good Jailbreak Defender12 Jan
  6. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct

Other references · 24

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  8. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  9. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  10. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  11. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
  12. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 236
12 more
  1. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
  2. 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 199
  3. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 148
  4. 2018CLAUDETTE: an Automated Detector of Potentially Unfair Clauses in Online Terms of Servicecited by 73
  5. 2019Question Answering for Privacy Policies: Combining Computational and Legal Perspectivescited by 67
  6. 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 33
  7. 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attackscited by 33
  8. 2025Understanding and Enhancing the Transferability of Jailbreaking Attackscited by 22
  9. 2021Factoring Statutory Reasoning as Language Understanding Challengescited by 20
  10. 2024Deciphering the Chaos: Enhancing Jailbreak Attacks via Adversarial Prompt Translationcited by 6
  11. 2024Dynamic Guided and Domain Applicable Safeguards for Enhanced Security in Large Language Modelscited by 5
  12. 2025Fine-Tuned LLMs are "Time Capsules" for Tracking Societal Bias Through Bookscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Permissioned LLMs: Enforcing Access Control in Large Language Models
  2. 2025Logic Jailbreak: Efficiently Unlocking LLM Safety Restrictions Through Formal Logical Expression
  3. 2025QueryAttack: Jailbreaking Aligned Large Language Models Using Structured Non-natural Query Language
  4. 2026Exploring and Developing a Pre-Model Safeguard with Draft Models
  5. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security
  6. 2025Beyond Jailbreaks: Revealing Stealthier and Broader LLM Security Risks Stemming from Alignment Failures
  7. 2025Playing the Fool: Jailbreaking LLMs and Multimodal LLMs with Out-of-Distribution Strategy
  8. 2024SATA: A Paradigm for LLM Jailbreak via Simple Assistive Task Linkage