mlsanityData to 14 Oct 2026

SafeCtrl-RL: Inference-Time Adaptive Behaviour Control for LLM Dialogue via RL-Driven Prompt Optimisation

arXiv 2605.25984 ↗First posted 25 May 2026cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Ensuring safe and contextually appropriate behaviour in Large Language Models (LLMs) remains a critical challenge for real-world deployment. We present SafeCtrl-RL, an inference-time behavioural control framework that enables adaptive safety regulation without model retraining or parameter modification. The method formulates dialogue generation as a sequential decision process, where a reinforcement learning agent dynamically selects prompt adjustment strategies based on contextual feedback. This allows unsafe behaviours to be suppressed through iterative refinement, which we conceptualise as inference-time behavioural unlearning. Evaluated across multiple LLMs and unsafe dialogue scenarios, SafeCtrl-RL consistently improves safety and response quality, outperforms existing prompt-based optimisation methods, and achieves favourable performance--efficiency trade-offs. **Warning: This paper may contain examples of harmful language, and reader discretion is recommended.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 44 references that are in the map. First posted on arXiv 25 May 2026.

Builds on

23 of 44 references.

References · 23

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  6. 2020Learning to summarize from human feedbackcited by 2,588
  7. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  8. 2022Mass-Editing Memory in a Transformercited by 1,001
  9. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
  10. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  11. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  12. 2023ChemCrow: Augmenting large-language models with chemistry toolscited by 631
11 more
  1. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  2. 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 467
  3. 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 381
  4. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  5. 2023In-Context Unlearning: Language Models as Few Shot Unlearnerscited by 224
  6. 2025AnyEdit: Edit Any Knowledge Encoded in Language Modelscited by 76
  7. 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 66
  8. 2024A Unified Framework for Model Editingcited by 57
  9. 2024Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizerscited by 35
  10. 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizerscited by 12
  11. 2025The Revolution Has Arrived: What the Current State of Large Language Models in Education Implies for the Futurecited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Evaluating Defences against Unsafe Feedback in RLHF
  2. 2025Resisting Correction: How RLHF Makes Language Models Ignore External Safety Signals in Natural Conversation
  3. 2025Efficient Switchable Safety Control in LLMs via Magic-Token-Guided Co-Training
  4. 2021Causal-aware Safe Policy Improvement for Task-oriented dialogue
  5. 2025Safe In-Context Reinforcement Learning
  6. 2026Bridging Reasoning and Action: Hybrid LLM-RL Framework for Efficient Cross-Domain Task-Oriented Dialogue
  7. 2024Enhancing Safety in Reinforcement Learning with Human Feedback via Rectified Policy Optimization
  8. 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70B