mlsanityData to 14 Oct 2026

Adaptive Content Restriction for Large Language Models via Suffix Optimization

arXiv 2508.01198 ↗First posted 2 Aug 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated significant success across diverse applications. However, enforcing content restrictions remains a significant challenge due to their expansive output space. One aspect of content restriction is preventing LLMs from generating harmful content via model alignment approaches such as supervised fine-tuning (SFT). Yet, the need for content restriction may vary significantly across user groups, change rapidly over time, and not always align with general definitions of harmfulness. Applying SFT to each of these specific use cases is impractical due to the high computational, data, and storage demands. Motivated by this need, we propose a new task called textitAdaptive Content Restriction (AdaCoRe), which focuses on lightweight strategies -- methods without model fine-tuning -- to prevent deployed LLMs from generating restricted terms for specific use cases. We propose the first method for AdaCoRe, named textitSuffix Optimization (SOP), which appends a short, optimized suffix to any prompt to a) prevent a target LLM from generating a set of restricted terms, while b) preserving the output quality. To evaluate AdaCoRe approaches, including our SOP, we create a new textitContent Restriction Benchmark (CoReBench), which contains 400 prompts for 80 restricted terms across 8 carefully selected categories. We demonstrate the effectiveness of SOP on CoReBench, which outperforms the system-level baselines such as system suffix by 15%, 17%, 10%, 9%, and 6% on average restriction rates for Gemma2-2B, Mistral-7B, Vicuna-7B, Llama3-8B, and Llama3.1-8B, respectively. We also demonstrate that SOP is effective on POE, an online platform hosting various commercial LLMs, highlighting its practicality in real-world scenarios.

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

Builds on

25 of 30 references.

References · 25

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  6. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  7. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
  8. 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 563
  9. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 518
  10. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
  11. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
  12. 2023Preference Ranking Optimization for Human Alignmentcited by 285
13 more
  1. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
  2. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  3. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
  4. 2022A New Generation of Perspective API: Efficient Multilingual Character-level Transformerscited by 185
  5. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
  6. 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 149
  7. 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoningcited by 124
  8. 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
  9. 2024Direct Preference Optimization with an Offsetcited by 122
  10. 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 116
  11. 2024Aligner: Efficient Alignment by Learning to Correctcited by 98
  12. 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 68
  13. 2023Personalized Autonomous Driving with Large Language Models: Field Experimentscited by 48

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025DaMoC: Efficiently Selecting the Optimal Large Language Model for Fine-tuning Domain Tasks Based on Data and Model Compression
  2. 2025Towards Alignment-Centric Paradigm: A Survey of Instruction Tuning in Large Language Models
  3. 2025Data Selection for LLM Alignment Using Fine-Grained Preferences
  4. 2026Diversity in Large Language Models under Supervised Fine-Tuning
  5. 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisis
  6. 2024Scaling Sparse Fine-Tuning to Large Language Models
  7. 2024L3Ms -- Lagrange Large Language Models
  8. 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance