Rhetorical Technique Rater

A ModernBERT-large model that rates English texts on 32 rhetorical techniques in a single forward pass. The techniques are often associated with manipulative or polarizing discourse (e.g. conspiracism, scapegoating, fearmongering, false dichotomy, fake expertise, pseudoscience, escalation).

For each technique the model returns a probability distribution over a 7-point scale (1 = absent … 7 = extremely strong use) and its expected value. It also returns four genre flags that help interpret the ratings: satire/parody, reporting on others' rhetoric, lyrics/fiction, and garbled text.

It was trained to rate the author's own sincere use of a technique. Parodying, reporting, fact-checking or quoting a technique, song lyrics, and transcription noise are not counted as use.

Quick start

Python

from huggingface_hub import snapshot_download
import sys
path = snapshot_download("csp-bgu/RhetRater")
sys.path.insert(0, path)
from technique_rater import TechniqueRater

rater = TechniqueRater.from_pretrained(path)       # GPU if available, else CPU
df = rater.predict(
    ["They are traitors who will stop at nothing to destroy this nation.",
     "The council approved the new library budget on Tuesday."],
    ids=["a", "b"],
)
df[["id", "polarizing", "evil_intent", "discrediting", "satire_parody"]]

predict() returns one row per text with these columns:

  • <technique>: the expected value, from 1 to 7.
  • <technique>_1 … <technique>_7: the calibrated probabilities. Pass probabilities=False to drop them.
  • satire_parody, reports_others, lyrics_fiction, garbled: the genre flags, each from 0 to 1.

For raw arrays, rater.predict_arrays(texts) returns P with shape (n, 32, 7) and A with shape (n, 4).

Requirements: torch, transformers>=4.48, safetensors, pandas, numpy, huggingface_hub.

R (via reticulate)

source("technique_rater.R")   # included in this repository
# reticulate::use_virtualenv("~/.venvs/rater")  # a Python env with the packages above
rater <- load_technique_rater("csp-bgu/RhetRater")
wide  <- rate_techniques(rater, texts, ids)                   # data frame, one row per text
long  <- rate_techniques(rater, texts, ids, format = "list")  # list of 32 data frames: id, expected_value, `1`..`7`

Texts longer than 2,048 tokens are truncated. To rate long documents, split them into passages and aggregate the results, for example by taking the maximum expected value per technique.

Techniques

Column names in the output are the technique names below. The definitions are also in config.json["definitions"].

Technique Definition Sources
conspiracism alleges that a group of perpetrators have coordinated in secret to achieve an outcome, and that their actions are of public interest but not widely known by the public Douglas and Sutton (2023)
emotional_language uses evocative words that play into strong emotions such as fear, anger, or empathy in order to gain attention or frame an issue Lewandowsky and Yesilada (2021); Neylan et al. (2023); Pennycook et al. (2024); Roozenbeek and van der Linden (2019; 2020); Roozenbeek et al. (2020); Roozenbeek et al. (2022b); Traberg et al. (2024b)
discrediting discredits a person's or group's arguments by attacking their general character or background, ad hominem Cook et al. (2024); Harrop et al. (2023); Roozenbeek et al. (2020); Roozenbeek et al. (2022b); Traberg et al. (2024a)
polarizing uses a divisive "us vs. them" framing that amplifies existing tensions between different groups (e.g. political affiliations; economic classes; ethnicities) in order to alienate an individual or polarize discourse around partisan viewpoints Axelsson et al. (2024); Harjani et al. (2023); Jigsaw; Lewandowsky and Yesilada (2021); Neylan et al. (2023); Roozenbeek and van der Linden (2019; 2020); Roozenbeek et al. (2020)
trolling deliberately provokes attention and outrage from a target audience by using bait Harrop et al. (2023); Leder et al. (2024); Neylan et al. (2023); Roozenbeek and van der Linden (2019; 2020); Roozenbeek et al. (2020)
fake_expertise pretends to be an expert or cites credentials of a source while espousing views that lie far outside expert consensus Appel et al. (2025); Cook et al. (2017); Cook et al. (2024); Green et al. (2022); Hu et al. (2023); Schmid-Petri and Bürger (2022)
astroturfing uses fake grassroots campaigns to create the false impression that a particular opinion has widespread public support Boman (2021); Zerback et al., (2021)
cherry_picking focuses on individual cases or data that seem to confirm a particular position, while ignoring a significant portion of related cases or data that may contradict that position. Cook et al. (2024)
naturalistic_fallacy assumes or asserts that something 'natural' is inherently good or right, while what is 'unnatural' is bad or wrong Cook et al. (2024); Appel et al. (2025)
impossible_expectations rejects an argument, viewpoint, or policy because it does not live up to unrealistic standards of evidence or effectiveness Cook (2020); Cook et al. (2024)
amplification deliberately attempts to maximize the shareability or reach of the message Roozenbeek and van der Linden (2020); Neylan et al. (2023)
anecdotal_evidence refers to first-hand testimonies or personal narratives as 'evidence' for scientifically testable claims Cook et al. (2024)
evil_intent assumes that the motivations behind actions of individuals, organizations, corporations, or belief systems are nefarious Cook (2020); Cook et al. (2024)
false_cause unjustifiably identifies two things as causally associated, confusing correlation with causation Cook et al. (2024)
fearmongering deliberately arouses fear or alarm about a particular issue Jigsaw
scapegoating blames an individual or group for the wrongdoings, mistakes, or faults of others, especially for reasons of expediency Jigsaw; Roozenbeek et al. (2022b)
appeal_to_power makes note of one individual, group, or entity having power over the behavior and outcomes of another Jigsaw
common_man attempts to convince readers or audience by appealing to common sense or relatability Green et al. (2022)
conjunction_fallacy incorrectly assumes that the likelihood of two independent events occurring together is higher than the likelihood of the events occurring alone Biddlestone et al. (2022)
dangerous_truth frames the speaker as a 'dangerous truth teller,' a countercultural maverick Hughes et al. (2024)
escalation the escalation of an issue to physical acts of aggression Harjani et al. (2023)
false_balance misrepresents consensus by evenly balancing contrarian voices and expert views Cook et al. (2017)
false_dichotomy posits two simple, mutually exclusive options without acknowledging other possibilities Escandón et al. (2021)
framing_as_questions frames an argument in the form of a question Hughes et al. (2024)
generalization asserts something to be true for either of all members of a certain group or of an indefinite part of that group Jigsaw
hyperbole uses exaggerated statements or claims not meant to be taken literally Green et al. (2022)
incoherence simultaneously accept or proffer two or more propositions that cannot be all true at the same time Lewandowsky et al. (2018)
jumping_to_conclusions jumping to conclusions based on insufficient induction or flawed statistical reasoning Lewandowsky and Yesilada (2021)
logical_fallacy makes use of an argument where the conclusion doesn’t logically follow from the premises Cook (2020)
moral_outrage shows anger, disgust, or frustration directed toward other people or entities who seem to violate the author’s ethical values or standards (whether or not you personally agree with them) Jigsaw
pseudoscience uses scientific-seeming language to create an air of credibility Appel et al. (2025)
red_herring deliberately diverts attention to an irrelevant point to distract from a more important point Cook (2020)

The 7-point scale runs from "does not use even a mild form of X" through "may use some very mild", "somewhat mild", "moderate", "somewhat strong" and "very strong", up to "uses extremely strong X".

Training

Architecture. ModernBERT-large with mean pooling, one 7-way softmax head per technique, and sigmoid heads for the genre flags. The loss is soft cross-entropy plus squared EMD on the CDFs, so it respects the ordinal scale. A per-technique temperature is fitted after training on held-out training labels.

Stage 1: distillation. The model was distilled on about 112k texts carrying the rating distributions of a Qwen3-4B model prompted once per technique. The texts came from:

  • news shared by members of the US Congress, and political news shared on Reddit;
  • US tweets from 2017–2019, TikTok transcripts from the 2024 US election, and political podcasts;
  • fact-checked social-media posts, Reddit comment threads, and political and extremist manifestos.

Stage 2: fine-tuning on about 9,000 texts labelled by Claude Sonnet, following a written codebook that is included in the training repository. 85% of them (7,643 texts) were used for fitting and 15% for temperature calibration. The texts came from these sources:

Source Texts
Stratified samples of the corpora above 2,000
Three active-learning rounds of model top hits and disagreements 1,740
Targeted parody, lyrics and garbled-text cases 300
Synthetic minimal pairs: sincere use vs. parody, reporting, quotation, lyrics and garbled transcripts 860
Synthetic texts across about 45 genres and about 30 countries, including texts targeting rare techniques 1,150
Real external text, selected by the model and labelled (see below) 2,940

The external texts are:

  • UK Hansard speeches;
  • UN General Debate passages;
  • state-media articles and international news from CC-News;
  • Reddit health-misinformation posts, PubMed abstracts, and science press releases.

Gold labels. All evaluation labels are Claude Opus judgements on held-out texts that were never used for training.

Evaluation

The table shows macro averages over techniques. "Detection AUC" measures how well the model detects that a technique is present (gold expected value ≥ 2.5). "r" is the Pearson correlation of expected values with the gold labels. "MAE" is the mean absolute error of the expected value on the 1–7 scale.

Evaluation set Detection AUC r MAE
In-domain dev (626 texts from the corpora above) 0.952 0.77 0.27
Challenge test (117 texts) 0.939 0.80 0.28

The challenge test covers 32 genres, about 30 countries and lengths of 10–1,600 words, and includes 6 genres absent from training. It was evaluated twice during development; the second look is disclosed.

Reference points:

  • Claude Sonnet, the source of the training labels, agrees with the Opus gold labels at r = 0.85 and AUC = 0.93.
  • Opus agrees with its own re-ratings at r = 0.94 and AUC = 0.97.

Robustness. On minimal pairs (sincere use vs. parody, reporting, quotation, lyrics, garbled text or supercut), the model ranks the sincere text higher 99% of the time, and 89% of the time for parody alone.

External benchmarks. These texts were written or labelled by other researchers as using particular techniques. None was used for training, model selection or calibration.

Benchmark Metric Result (median over techniques, range)
Paired stimuli from inoculation and prebunking experiments: 110 topic-matched sets, 9 techniques Within-set AUC, technique text vs. its control 1.00 (0.62–1.00)
Unpaired experimental stimuli: 8 techniques with ≥ 5 positives, against 104 controls AUC 0.93 (0.51–0.98)
FLICC climate-misinformation fallacies (Zanartu et al., 2024), test split, 7 mapped fallacies Positive–unlabelled AUC, a lower bound 0.80 (0.52–0.96)
Perspective API experimental classifiers, 6 overlapping constructs, about 109k texts Pearson r, pooled 0.56 (0.33–0.64)

We read every item-level error. Most come from benchmark definitions that differ from ours (conspiracism, naturalistic fallacy, FLICC's anecdote and false choice) or from how the benchmark was built. FLICC gives each text a single label, so many correct detections count as errors. Astroturfing (AUC 0.51) is a property of the source and cannot be identified from the text. The clear exception is incoherence: the model misses unambiguous self-contradictions. Scoring by presence, P(rating > 1), instead of by expected value gives essentially the same results. The full benchmark analysis will be in the supplementary material of the accompanying paper (forthcoming).

Limitations

  • The labels come from Claude, not from people. All training targets and all gold labels are LLM judgements following a written codebook. The external benchmarks cover only some techniques, and a direct validation against human annotators on the 7-point scale is pending.
  • Strength is under-rated for rare techniques on unfamiliar text. Where a technique is present, the model under-rates its strength by about 1.2 points on average on out-of-domain text. For incoherence, conjunction fallacy, false balance and astroturfing the gap is 3–4 points. Detection and ranking are much more reliable than absolute intensity. The low ratings on real corpora are not just a model artifact. An independent audit of 472 full-length held-out texts, labelled by a different LLM family, found these techniques essentially absent there, and long texts no different from short ones.
  • Some false positives remain. A few violent song lyrics and parody videos still receive high ratings, but the genre flags usually signal them.
  • Scope. The model works on English text only, and texts are truncated at 2,048 tokens. Training data is weighted towards political and public-affairs text.

Intended use and misuse

The model is for research on rhetoric, persuasion, polarization and misinformation: measuring technique use in large text collections, and analysing how techniques relate to outcomes.

Do not use it to make decisions about individuals, or as the only basis for moderating content. Like any detector of manipulative rhetoric, it could also be used to tune text to evade detection.

License

The model weights are released under the AI Pubs Research-Use RAIL-M License (v0.1); the full text is in LICENSE.md. Use is limited to academic or research purposes, and the use restrictions in its Attachment A apply to the model and to anything derived from it, including distilled models. The base model, ModernBERT-large, is licensed under Apache 2.0. The inference code (technique_rater.py, technique_rater.R) is released under the MIT License; see LICENSE-CODE.md.

Downloads last month
2
Safetensors
Model size
0.4B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for csp-bgu/RhetRater

Finetuned
(445)
this model