A Generative Approach to LLM Harmfulness Mitigation with Red Flag Tokens
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:48 UTC · ba18ca04b042 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,25 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "1KhaUqHpUB"- }- ],- "title": "A Generative Approach to LLM Harmfulness Mitigation with Red Flag Tokens",- "authors": [- "David Dobre",- "Mehrnaz Mofakhami",- "Sophie Xhonneux",- "Leo Schwinn",- "Gauthier Gidel"- ],- "abstract": "Many safety post-training methods for large language models (LLMs) are designed to modify the model’s behaviour from producing unsafe answers to issuing refusals. \nHowever, such distribution shifts are often brittle and degrade performance on desirable tasks.\nTo address these pitfalls, we propose augmenting the model’s vocabulary with a special red flag token ($\\langle\\texttt{rf}\\rangle$) and training the model to insert this token whenever harmful content is generated or imminent. \nThis approach enables the model to explicitly learn the concept of harmfulness in its representations, with minimal impact on utility due to the marginal change in the generated distribution of natural language. \nMoreover, because the token is embedded in the model’s vocabulary, we can naturally leverage the LLMs' generalisation capabilities, such as in-context learning (ICL) and out-of-distribution generalisation to languages that are not formally supported (e.g., Japanese for Llama3). \nIn particular, we demonstrate that through ICL alone, the model can learn to initiate reflective reasoning upon generating $\\langle\\texttt{rf}\\rangle$ at inference, which steers the response away from harmful continuations or enables self-correction when the flag is raised falsely.\nThis approach is orthogonal and complementary to existing safety techniques—such as safety classifiers or standard safety training---and easier to evaluate in comparison to natural language refusals, as it does not require a human or automated judge to assess the harmlessness of the answers.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "026794ca-685b-4a7e-a25f-f82ff345de68"}
paper.json added
+++ b/paper.json@@ -0,0 +1,15 @@+{+ "title": "A Generative Approach to LLM Harmfulness Mitigation with Red Flag Tokens",+ "authors": [+ "David Dobre",+ "Mehrnaz Mofakhami",+ "Sophie Xhonneux",+ "Leo Schwinn",+ "Gauthier Gidel"+ ],+ "abstract": "Many safety post-training methods for large language models (LLMs) are designed to modify the model’s behaviour from producing unsafe answers to issuing refusals. \nHowever, such distribution shifts are often brittle and degrade performance on desirable tasks.\nTo address these pitfalls, we propose augmenting the model’s vocabulary with a special red flag token ($\\langle\\texttt{rf}\\rangle$) and training the model to insert this token whenever harmful content is generated or imminent. \nThis approach enables the model to explicitly learn the concept of harmfulness in its representations, with minimal impact on utility due to the marginal change in the generated distribution of natural language. \nMoreover, because the token is embedded in the model’s vocabulary, we can naturally leverage the LLMs' generalisation capabilities, such as in-context learning (ICL) and out-of-distribution generalisation to languages that are not formally supported (e.g., Japanese for Llama3). \nIn particular, we demonstrate that through ICL alone, the model can learn to initiate reflective reasoning upon generating $\\langle\\texttt{rf}\\rangle$ at inference, which steers the response away from harmful continuations or enables self-correction when the flag is raised falsely.\nThis approach is orthogonal and complementary to existing safety techniques—such as safety classifiers or standard safety training---and easier to evaluate in comparison to natural language refusals, as it does not require a human or automated judge to assess the harmlessness of the answers.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}