Adapting Large Language Models for Content Moderation: Pitfalls in Data Engineering and Supervised Fine-tuning
Not on the map. Why?
Abstract (arXiv)
Nowadays, billions of people engage in communication and express their opinions on the internet daily. Unfortunately, not all of these expressions are friendly or compliant, making content moderation an indispensable task. A common approach is to use a discriminative model to classify the content, but this method often requires strict data engineering, otherwise it will face unacceptable overfitting. With the successful development of Large Language Models (LLMs) in recent years, LLM-based methods have become a feasible solution for handling tasks in various domains. Thanks to the knowledge of the foundation models, we can develop more robust privately deployed models with limited data via fine-tuning these foundation models. Moreover, as a generative model, it can provide detailed analysis of the review process, enhancing interpretability. In this paper, we introduce how to fine-tune a LLM model that can be privately deployed for content moderation. Specifically, we discuss the differences between discriminative and generative models using content moderation as an example. Additionally, we reveal that incorporating reasoning processes during the fine-tuning of LLMs can effectively alleviate overfitting, even if the model is not allowed to directly output reasoning processes during deployment. We present a complete process, from data collection and construction to model training and overfitting elimination, for fine-tuning LLMs in vertical domain deployments. We report the entire research process and the key findings in this paper, hoping to provide valuable experience for researchers who are fine-tuning privately deployed models in their domain-specific research.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 27 of its 48 references that are in the map. First posted on arXiv 5 Oct 2023.
Builds on
27 of 48 references.
References · 27
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022Solving math word problems with process- and outcome-based feedbackcited by 871
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
15 more
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2022PAL: Program-aided Language Modelscited by 635
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 417
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 213
- 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 176
- 2023DoctorGLM: Fine-tuning your Chinese Doctor is not a Herculean Taskcited by 130
- 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 91
- 2023EduChat: A Large-Scale Language Model-based Chatbot System for Intelligent Educationcited by 80
- 2022COLD: A Benchmark for Chinese Offensive Language Detectioncited by 74
- 2023TIM: Teaching Large Language Models to Translate with Comparisoncited by 50
- 2023"HOT" ChatGPT: The promise of ChatGPT in detecting and discriminating hateful, offensive, and toxic comments on social mediacited by 45
- 2022SoK: Content Moderation in Social Media, from Guidelines to Enforcement, and Research to Practicecited by 5
Built on by
Citing papers per year: 2024: 12; 2025: 13; 2026: 3.
28 papers.
Sort:
By area:
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguardscited by 89
- 2024R2-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical Reasoningcited by 41
- 2024Content Moderation by LLM: From Accuracy to Legitimacycited by 30
- 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detectioncited by 24
- 2024MLLM-as-a-Judge for Image Safety without Human Labelingcited by 23
- 2025VLM as Policy: Common-Law Content Moderation Framework for Short Video Platformcited by 19
- 2024Plurals: A System for Guiding LLMs Via Simulated Social Ensemblescited by 17
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Servicescited by 13
- 2024STAND-Guard: A Small Task-Adaptive Content Moderation Modelcited by 11
- 2024ICM-Assistant: Instruction-tuning Multimodal Large Language Models for Rule-based Explainable Image Content Moderationcited by 10
- 2025Lost in Pronunciation: Detecting Chinese Offensive Language Disguised by Phonetic Cloaking Replacementcited by 10
16 more
- 2024Can LLMs Deeply Detect Complex Malicious Queries? A Framework for Jailbreaking via Obfuscating Intentcited by 8
- 2024Seeing Like an AI: How LLMs Apply (and Misapply) Wikipedia Neutrality Normscited by 8
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2025Bridging the Safety Gap: A Guardrail Pipeline for Trustworthy LLM Inferencescited by 7
- 2024IPS: In-Prompt Process Supervision for Short Video Content Moderationcited by 4
- 2025Embedding-based Retrieval in Multimodal Content Moderationcited by 4
- 2025CoPE: A Small Language Model for Steerable and Scalable Content Labelingcited by 3
- 2025Scaling Reinforcement Learning for Content Moderation with Large Language Modelscited by 3
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyondcited by 1
- 2025Goal2Story: A Multi-Agent Fleet based on Privately Enabled sLLMs for Impacting Mapping on Requirements Elicitationcited by 1
- 2025Efficient Toxicity Detection in Gaming Chats: A Comparative Study of Embeddings, Fine-Tuned Transformers and LLMscited by 1
- 2025CompAgent: An Agentic Framework for Visual Compliance Verificationcited by 1
- 2025Clear Preferences Leave Traces: Reference Model-Guided Sampling for Preference Learningcited by 0
- 2026GMP: A Benchmark for Content Moderation under Co-occurring Violations and Dynamic Rulescited by 0
- 2026CHAIRO: Contextual Hierarchical Analogical Induction and Reasoning Optimization for LLMscited by 0
- 2026CARO: Chain-of-Analogy Reasoning Optimization for Robust Content Moderationcited by 0
- 2026CARO: Chain-of-Analogy Reasoning Optimization for Robust Content Moderation12 Apr 2026
- 2026CHAIRO: Contextual Hierarchical Analogical Induction and Reasoning Optimization for LLMs12 Apr 2026
- 2026GMP: A Benchmark for Content Moderation under Co-occurring Violations and Dynamic Rules2 Mar 2026
- 2025Scaling Reinforcement Learning for Content Moderation with Large Language Models23 Dec 2025
- 2025CoPE: A Small Language Model for Steerable and Scalable Content Labeling19 Dec 2025
- 2025CompAgent: An Agentic Framework for Visual Compliance Verification31 Oct 2025
- 2025Efficient Toxicity Detection in Gaming Chats: A Comparative Study of Embeddings, Fine-Tuned Transformers and LLMs20 Oct 2025
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025Lost in Pronunciation: Detecting Chinese Offensive Language Disguised by Phonetic Cloaking Replacement10 Jul 2025
- 2025Embedding-based Retrieval in Multimodal Content Moderation30 Jun 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025VLM as Policy: Common-Law Content Moderation Framework for Short Video Platform21 Apr 2025
16 more
- 2025Goal2Story: A Multi-Agent Fleet based on Privately Enabled sLLMs for Impacting Mapping on Requirements Elicitation17 Mar 2025
- 2025Bridging the Safety Gap: A Guardrail Pipeline for Trustworthy LLM Inferences12 Feb 2025
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguards30 Jan 2025
- 2025Clear Preferences Leave Traces: Reference Model-Guided Sampling for Preference Learning25 Jan 2025
- 2024MLLM-as-a-Judge for Image Safety without Human Labeling31 Dec 2024
- 2024ICM-Assistant: Instruction-tuning Multimodal Large Language Models for Rule-based Explainable Image Content Moderation24 Dec 2024
- 2024IPS: In-Prompt Process Supervision for Short Video Content Moderation15 Dec 2024
- 2024STAND-Guard: A Small Task-Adaptive Content Moderation Model7 Nov 2024
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyond9 Oct 2024
- 2024Plurals: A System for Guiding LLMs Via Simulated Social Ensembles25 Sep 2024
- 2024Content Moderation by LLM: From Accuracy to Legitimacy5 Sep 2024
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Services28 Aug 2024
- 2024R2-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical Reasoning8 Jul 2024
- 2024Seeing Like an AI: How LLMs Apply (and Misapply) Wikipedia Neutrality Norms4 Jul 2024
- 2024Can LLMs Deeply Detect Complex Malicious Queries? A Framework for Jailbreaking via Obfuscating Intent6 May 2024
- 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detection1 Feb 2024
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguardscited by 89
- 2024R2-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical Reasoningcited by 41
- 2026CHAIRO: Contextual Hierarchical Analogical Induction and Reasoning Optimization for LLMscited by 0
- 2026CARO: Chain-of-Analogy Reasoning Optimization for Robust Content Moderationcited by 0
- 2026CARO: Chain-of-Analogy Reasoning Optimization for Robust Content Moderation12 Apr 2026
- 2026CHAIRO: Contextual Hierarchical Analogical Induction and Reasoning Optimization for LLMs12 Apr 2026
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguards30 Jan 2025
- 2024R2-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical Reasoning8 Jul 2024
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Servicescited by 13
- 2024Can LLMs Deeply Detect Complex Malicious Queries? A Framework for Jailbreaking via Obfuscating Intentcited by 8
- 2025Bridging the Safety Gap: A Guardrail Pipeline for Trustworthy LLM Inferencescited by 7
- 2025Bridging the Safety Gap: A Guardrail Pipeline for Trustworthy LLM Inferences12 Feb 2025
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Services28 Aug 2024
- 2024Can LLMs Deeply Detect Complex Malicious Queries? A Framework for Jailbreaking via Obfuscating Intent6 May 2024
- 2024Content Moderation by LLM: From Accuracy to Legitimacycited by 30
- 2024What Does the Bot Say? Opportunities and Risks of Large Language Models in Social Media Bot Detectioncited by 24
- 2024MLLM-as-a-Judge for Image Safety without Human Labelingcited by 23
- 2025VLM as Policy: Common-Law Content Moderation Framework for Short Video Platformcited by 19
- 2024Plurals: A System for Guiding LLMs Via Simulated Social Ensemblescited by 17
- 2024STAND-Guard: A Small Task-Adaptive Content Moderation Modelcited by 11
- 2025Lost in Pronunciation: Detecting Chinese Offensive Language Disguised by Phonetic Cloaking Replacementcited by 10
- 2024Seeing Like an AI: How LLMs Apply (and Misapply) Wikipedia Neutrality Normscited by 8
- 2025Embedding-based Retrieval in Multimodal Content Moderationcited by 4
- 2025CoPE: A Small Language Model for Steerable and Scalable Content Labelingcited by 3
- 2025Scaling Reinforcement Learning for Content Moderation with Large Language Modelscited by 3
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyondcited by 1
12 most cited of 14 All 14 (JSON)
- 2026GMP: A Benchmark for Content Moderation under Co-occurring Violations and Dynamic Rules2 Mar 2026
- 2025Scaling Reinforcement Learning for Content Moderation with Large Language Models23 Dec 2025
- 2025CoPE: A Small Language Model for Steerable and Scalable Content Labeling19 Dec 2025
- 2025Efficient Toxicity Detection in Gaming Chats: A Comparative Study of Embeddings, Fine-Tuned Transformers and LLMs20 Oct 2025
- 2025Lost in Pronunciation: Detecting Chinese Offensive Language Disguised by Phonetic Cloaking Replacement10 Jul 2025
- 2025Embedding-based Retrieval in Multimodal Content Moderation30 Jun 2025
- 2025VLM as Policy: Common-Law Content Moderation Framework for Short Video Platform21 Apr 2025
- 2024MLLM-as-a-Judge for Image Safety without Human Labeling31 Dec 2024
- 2024STAND-Guard: A Small Task-Adaptive Content Moderation Model7 Nov 2024
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyond9 Oct 2024
- 2024Plurals: A System for Guiding LLMs Via Simulated Social Ensembles25 Sep 2024
- 2024Content Moderation by LLM: From Accuracy to Legitimacy5 Sep 2024
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Are Open-Weight LLMs Ready for Social Media Moderation? A Comparative Study on Bluesky
- 2026Tool-MCoT: Tool Augmented Multimodal Chain-of-Thought for Content Safety Moderation
- 2023Tuning LayerNorm in Attention: Towards Efficient Multi-Modal LLM Finetuning
- 2024Data Augmentation using Large Language Models: Data Perspectives, Learning Paradigms and Challenges
- 2023Synthetic Data Generation with Large Language Models for Text Classification: Potential and Limitations
- 2023Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models
- 2024The Ultimate Guide to Fine-Tuning LLMs from Basics to Breakthroughs: An Exhaustive Review of Technologies, Research, Best Practices, Applied Research Challenges and Opportunities
- 2026Can Large Language Models Replace Human Coders? Introducing ContentBench