CPL-NoViD: Context-Aware Prompt-Based Learning for Norm Violation Detection in Online Communities


  • Zihao He USC Information Sciences Institute
  • Jonathan May USC Information Sciences Institute
  • Kristina Lerman USC Information Sciences Institute




Detecting norm violations in online communities is critical to maintaining healthy and safe spaces for online discussions. Existing machine learning approaches often struggle to adapt to the diverse rules and interpretations across different communities due to the inherent challenges of fine-tuning models for such context-specific tasks. In this paper, we introduce Context-aware Prompt-based Learning for Norm Violation Detection (CPL-NoViD), a novel method that employs prompt-based learning to detect norm violations across various types of rules. CPL-NoViD outperforms the baseline by incorporating context through natural language prompts and demonstrates improved performance across different rule types. Significantly, it not only excels in cross-rule-type and cross-community norm violation detection but also exhibits adaptability in few-shot learning scenarios. Most notably, it establishes a new state-of-the-art in norm violation detection, surpassing existing benchmarks. Our work highlights the potential of prompt-based learning for context-sensitive norm violation detection and paves the way for future research on more adaptable, context-aware models to better support online community moderators.




How to Cite

He, Z., May, J., & Lerman, K. (2024). CPL-NoViD: Context-Aware Prompt-Based Learning for Norm Violation Detection in Online Communities. Proceedings of the International AAAI Conference on Web and Social Media, 18(1), 569-582. https://doi.org/10.1609/icwsm.v18i1.31335