Pith. sign in

REVIEW 1 cited by

Rule By Example: Harnessing Logical Rules for Explainable Hate Speech Detection

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2307.12935 v1 pith:K7TPB5UZ submitted 2023-07-24 cs.CL cs.AI

classification cs.CLcs.AI
keywords learningcontentdeeprulesapproachexplainablelackpredictions
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Classic approaches to content moderation typically apply a rule-based heuristic approach to flag content. While rules are easily customizable and intuitive for humans to interpret, they are inherently fragile and lack the flexibility or robustness needed to moderate the vast amount of undesirable content found online today. Recent advances in deep learning have demonstrated the promise of using highly effective deep neural models to overcome these challenges. However, despite the improved performance, these data-driven models lack transparency and explainability, often leading to mistrust from everyday users and a lack of adoption by many platforms. In this paper, we present Rule By Example (RBE): a novel exemplar-based contrastive learning approach for learning from logical rules for the task of textual content moderation. RBE is capable of providing rule-grounded predictions, allowing for more explainable and customizable predictions compared to typical deep learning-based approaches. We demonstrate that our approach is capable of learning rich rule embedding representations using only a few data examples. Experimental results on 3 popular hate speech classification datasets show that RBE is able to outperform state-of-the-art deep learning classifiers as well as the use of rules in both supervised and unsupervised settings while providing explainable model predictions via rule-grounding.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Cracking the Code: Enhancing Implicit Hate Speech Detection through Coding Classification

    cs.CL 2025-06 conditional novelty 6.0 of 10

    Adding six rhetorical codetype descriptions to frozen LLM embeddings improves implicit hate speech detection on Chinese and English benchmarks, though prompt-based gains are inconsistent.

Pith tools