Manuscript Offprint
arXiv:2611.01710CST: Lightweight Risk Triage with Source-Grounded Evidence for Web Discussions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Web communities rely on moderators to catch harmful messages such as insults, hate speech, and scams, but no one can read every message. Existing tools give each message a risk score, which tells moderators where to look but not what to read or how to check it. Yet meaning depends on context: the same reply, "I agree.", can support or oppose removing someone from a group. Moderators therefore need source-grounded evidence, not just scores: a few key messages kept with their original wording and replies. We present cST, a lightweight triage pipeline that first decides where to look, then what to show. It scores risk by pairing character patterns, which capture exact wording, with sentence meaning from a fixed multilingual model, so it handles several languages and runs on an ordinary CPU. It then groups related messages and picks from each group in turn, so a small reading budget covers different parts of a discussion, and links every pick back to the original thread. Across six tasks from five datasets in several languages, cST ranks harmful messages more accurately than a fully fine-tuned multilingual model and, under the same budget, finds more of them than reading by score alone. In a user study, reviewers needed at least 27% less time with cST's grouped evidence while keeping decision accuracy above 94%. cST turns risk scores into evidence that moderators can read quickly and check in context. Code and dataset reconstruction resources will be released at https://github.com/Kirito14IT/CST-MIL.
Correspondence: yifenggao23@m.fudan.edu.cn
Keywords: Web discussions; risk triage; evidence selection; short text; topic organization; multilingual classification
1 Introduction
Web communities rely on moderators to keep discussions safe, and the workload is heavy. In a 2020 survey, 41% of U.S. adults reported having personally experienced online harassment [48]. On Reddit alone, volunteer moderators worked at least 466 hours per day in 2020, labor valued at about US$3.4 million per year [30]. Because no one can read every message, moderators must triage within a limited reading budget. They decide where to look (which discussions to open first), what to read (which messages to inspect in each discussion), and how to check (how to confirm each judgment in the original thread).
These decisions are hard because meaning depends on context. The same reply, "I agree.", may endorse an exclusionary remark or support someone objecting to it (Figure 1); its wording alone does not reveal which stance it takes. A risk score can tell moderators where to look, but not what to read or how to check it.
*This work was completed during Zhihua Wang's internship at Fudan University. †Corresponding author a Reply to exclusion

b Reply to an objection

Figure 1 Reply context for moderation. "I agree." supports removal in (a) and opposes it in (b).
Effective triage must therefore deliver source-grounded evidence: a few key messages that keep their original wording and reply links, so that moderators can verify them in the original discussion.
Existing work addresses these decisions separately. Risk classifiers detect personal attacks, hate speech, and other harmful content [11, 47, 54]. While they tell moderators where to look, they score each message on its own and are judged by classification metrics, and adding conversational context does not consistently improve them [36]. Budgeted selection and topic models decide what to show, either by balancing relevance against redundancy [5] or by organizing content into topics [3, 22, 55], but they are designed and evaluated for coverage and topic quality [23, 40] rather than for recovering harmful evidence. Explanation methods highlight the words behind a prediction [12, 29, 35], but they are mainly judged by whether they reflect the model's reasoning [24], not by whether moderators can locate and check the evidence in the source thread. Each line improves one step, yet rarely measures whether moderators can find and verify harmful evidence within a reading budget. Chaining a classifier with a generic topic model does not close this gap: in our model-judged comparisons, replacing our grouping with BERTopic lowers all five rated dimensions, including stance preservation and evidence support (Figure 5).
We observe that what to read and how to check it can be decided without changing the risk scores. Reading
b Organizing the same evidence
Figure 2 Two controlled comparisons. (a) Selection can change message IDs under the same discussions, risk scores, and budget. (b) A separate comparison fixes three messages and their text, scores, parents, and source links.
strictly by risk tends to spend a small budget on similar messages about the same point. In the example of Figure 2a, the two highest-risk messages both concern the team, whereas choosing across groups also surfaces a separate attack on the target's accent. Grouping related messages lets the same budget cover distinct harms, and keeping each message tied to its source lets moderators check it in context. Because grouping leaves the scores unchanged, its benefit can be measured on its own.
Based on this observation, we present cstr, a lightweight triage pipeline that first decides where to look and then what to show (Figure 3). To decide where to look, cstr pairs character patterns, which capture exact wording, with sentence meaning from a frozen multilingual encoder [39, 51], so that it works across languages and runs on a CPU without fine-tuning. Because each corpus labels different risk categories, cstr learns from whichever labels a corpus provides rather than treating missing labels as negatives. To decide what to show, an independent branch groups related messages, names each group with a phrase taken from the original text, and selects messages from each group in turn. Every selected message keeps its identifier, original wording, and reply link. Unlike a generic topic model, this branch protects stance cues such as negation and counter-speech, and it never alters the risk scores.
We evaluate csr on five corpora drawn from Weibo discussions, online game chat, and social-media comments. SCCD [56], a session-based Chinese cyberbullying dataset collected from Weibo, provides discussion-level labels and serves as our main benchmark for ranking discussions and selecting evidence. CONDA [53], ToxiCN [33], HateBR [46], and ScamSpot [44] add message-level labels for offensive language, hate speech, and spam or scams; together with SCCD, they form six message classification tasks. Beyond classification, we count how many harmful messages each selection strategy finds under the same reading budget, ask two large language models (LLMs) to judge grouped and flat layouts of the same evidence (Figure 2b), run a user study that measures review time and decision accuracy, and time the complete pipeline on a CPU. Our contributions are:
-
Source-grounded triage. We frame discussion triage as three decisions (where to look, what to read, and how to check) and present csr, a lightweight pipeline that ranks discussions, spreads a reading budget across groups of related messages, and links every selected message back to its source. Because grouping never alters risk scores, controlled comparisons measure ranking, selection, and presentation separately (Figure 2).
-
Accurate and inexpensive risk ranking across corpora. csr achieves higher average precision (AP) than a fully fine-tuned XLM-R [10] on all six message tasks and exceeds a frozen-MiniLM baseline with logistic regression by 0.027–0.193 AP, while its complete pipeline runs 2.6× faster than XLM-R on a CPU. It ranks SCCD discussions with an AP of 0.976 and remains ahead of the baselines on subsets that exclude near-duplicate discussions.
-
Better evidence and faster review. Under the same reading budget, choosing across groups recovers more harmful messages than reading by risk, by up to 3.3 percentage points of recall, and LLM judges rate grouped layouts of the same evidence higher for clarity, stance preservation, and traceability. In a user study, reviewers needed at least 27.3% less time with grouped evidence than with a reference display, with decision accuracy of at least 94.7% and source-location success of at least 97.3%. Code and dataset reconstruction resources will be released.
2 Related Work
Large-model and agent safety. Surveys and systematic analyses map threats across large-model families and throughout data preparation, training, deployment, and agent self-evolution [31, 34, 49]. AgentHazard evaluates harmful behavior that emerges from sequences of locally legitimate actions and accumulated context [21]. JustAsk shows how autonomous code agents can recover hidden system prompts through interaction [62]. These studies highlight how interaction context shapes safety risks. For Web discussions, csr supports human review by ranking discussions, selecting evidence under a reading budget, and preserving links to the original messages and replies.
Risk screening and context. Research on Web discussions covers attack measurement [54], context-dependent trolling [9], and early derailment prediction [59]. Context affects judgments of hate, counter-speech, and neutral replies [58], although adding it does not consistently improve toxicity classifiers [36]. Offensive language and hate speech require distinct labels [11], and functional or adversarial tests expose errors hidden by aggregate scores [41, 47]. Sentence embeddings provide reusable representations [38, 39], while multilingual fine-tuning provides a supervised classification reference [10]. Unlike these classifiers, which score messages one at a time, csr learns from each source's own labels and uses the message scores to rank whole discussions and to select evidence that moderators can check in the original thread.
Selection under budgets and topic organization. Under a message budget, MMR balances relevance against redundancy in the selected material [5]. Topic methods organize content through word distributions and document-term factors, as in LDA and NMF [3, 28]. BTM and GSDMM target short texts [55, 57],

Figure 3 csr framework for risk screening and evidence organization. Shared character and semantic features support message risk scoring; message scores, semantic summaries, and reply relations inform discussion ranking. The organization branch groups messages and extracts phrases with source spans, enabling evidence inspection within the original reply thread.
whereas semantic methods use embeddings, context, or joint topic discovery [1, 2, 13]. BERTopic combines sentence embeddings, clustering, and class-based term weighting [22]. TopicGPT, PRISM, and HILTON respectively address readable descriptions [37], sparse semantic supervision [16], and interactive analysis [8]. These methods are evaluated by lexical coherence [40] or by agreement with human judgments of topic quality [6, 23], not by how much harmful evidence a reader recovers within a budget. We use grouping for that purpose: to spread a fixed reading budget across distinct harms.
Evidence, explanations, and practical utility. By evidence, we mean the original messages and their source locations, not model rationales. csr retains message identifiers and character spans for direct source inspection. Learned rationalizers select text sufficient for prediction [29], while explanation-based regularization can change a classifier's use of context [27]. ERASER and HateXplain evaluate rationales alongside predictions [12, 35]; Supervised Rational Attention trains attention against human rationales [19]. Faithfulness asks whether an explanation reflects the classifier's prediction process [24, 25]; we ask instead whether a moderator can find the cited message and its reply context in the original thread. Human studies link explanation utility to specific tasks, including subsequent Reddit behavior [26], professional moderators' decision speed [4], and decision quality [60]. Language-model judging offers complementary assessments [32], with systematic biases [61] and sensitivity to artifacts [7]. We therefore pair model judgments with a human study of review time and accuracy.
3 Risk Screening and Evidence Organization
3.1 Task and computational structure
Discussion contains each message's identifier, original text, optional direct parent, and observed order. The outputs are category-specific message scores, a discussion ranking, and source-linked evidence groups. Risk categories cover attack/offensiveness, hate/discrimination, and spam/scam promotion. Categories may overlap, whereas basic evidence groups have exclusive membership. Comments without a parent are treated as standalone messages within their original discussion.
csr has three computational layers (Figure 3). Shared message representations feed partially supervised risk heads. A discussion classifier aggregates message risks, semantic features, and genuine reply relations to decide which discussions to inspect first. An independent organization branch uses the same semantic vectors to group messages, extract names, and retain source spans. This branch never updates message or discussion scores, so its contribution can be evaluated under fixed predictions and reading budgets.
3.2 Partially supervised message screening
A frozen multilingual MiniLM sentence encoder [38, 39, 45, 51] maps each message to . Overlapping blocks cover the full text without tail truncation; their embeddings are averaged and L2-normalized. A complementary branch hashes character 2–5-grams into a vector with 65,536 nonnegative count bins [52]. The two branches are normalized separately and concatenated:
The combined vector receives no further normalization. The sources annotate different risk categories: records whether label is observed, and only contributes to head . Missing labels are never treated as negatives. Weights give each contributing source equal total weight, divided equally among its observed classes. Source identifiers determine these weights but are excluded from prediction features.
Each category has a logistic head . For the intercept-augmented parameter , training minimizes
where is binary cross-entropy. Appendix A specifies the block construction, weights, and LIBLINEAR [20] fitting settings.
3.3 Discussion ranking with cross-fitted supervision
SCCD discussion labels train a separate discussion classifier and are used only at the discussion level. Ten features summarize attack scores and discussion length. A training-fitted 64-dimensional PCA projection supplies semantic vectors , whose elementwise mean and maximum give 128 features. Six further features summarize semantic and risk differences across resolvable, non-self parent edges and their coverage. The resulting representation is
A class-balanced logistic head maps the training-standardized vector to score . Appendix A defines the summary statistics, including defaults for discussions with no valid parent edges.
Training uses message scores from three-fold cross-fitting over SCCD discussions. Each risk-head fit excludes labels from its held-out discussions and matching duplicate components across all sources. Only supervised risk heads are cross-fitted; the same encoder and unsupervised, training-fitted PCA are shared across folds. Out-of-fold scores train the discussion classifier.
At deployment, only the message heads are refitted, on the full eligible training partition; they score new discussions for the standardizer and discussion classifier fitted during training. Thresholds maximize validation macro-F1, and rankings use the continuous scores directly.
3.4 Extractive discussion groups
Within each discussion, the organization branch extracts contiguous phrases with original character spans. It excludes generic words and content-free acknowledgements, and protects negated or interrogative clauses from misleading fragments. Messages with nonzero embeddings and usable phrases enter complete-link clustering with cosine distance and a merge threshold of 0.35. A fixed lexical rule sets the distance to one between some counter-speech and high-risk attacks. The rule uses lexical patterns for Chinese, English, and Portuguese.
Groups require at least two basic members and a usable extractive name. Candidate names are ranked by within-group support, cross-group specificity, and capped phrase length. They retain message IDs and Unicode spans. A short reply without a usable phrase can join only its direct parent's group; it keeps its own risk score, does not affect naming, and passes no association on to its own replies. Ungrouped messages remain selectable. Appendix A gives the complete eligibility and naming rules.
Figure 3 illustrates this output with excerpts from a saved Hacker News snapshot: karma /flagging links and to their original spans while retaining the intervening reply chain. The example is illustrative and not part of the benchmark; Appendix E records its provenance and inference parameters.
3.5 Evidence selection under reading budgets
The screening protocol ranks discussions by and selects at most B messages from each of the first L discussions. Four selectors share these discussion ranks and attack scores: original order, descending risk, maximal marginal relevance (MMR), and group round-robin. MMR [5] balances risk against similarity to already selected messages. Group round-robin orders groups by their highest-risk member, then cycles through their internal risk order; ungrouped messages form singleton queues. Appendix B specifies MMR, tie-breaking, and character accounting.
The message budget counts selected messages only. A complementary character budget also counts displayed direct parents, titles, and group headings.
For the selected messages with observed attack labels , message-level precision and recall are defined as
where contains all labeled test messages. All SCCD test messages have observed attack labels, so every selected message enters the precision denominator. Precision measures the concentration of labeled dangerous messages in the selected set; recall measures recovery from the entire test corpus, including unopened discussions. Displayed parents add reading cost but count toward selected evidence only when selected themselves.
4 Experimental Protocol
Data and splits. The cleaned corpus contains 83,294 messages from five sources [33, 44, 46, 53, 56] (Table 1). SCCD provides Weibo discussions, CONDA provides Dota 2 game chat, and ToxiCN, HateBR, and ScamSpot provide social-media comments. ScamSpot combines spam and scam labels. Unknown labels are excluded separately for each risk category. These corpora support message classification, with SCCD providing the primary discussion benchmark.
Table 1 Message counts and observed test labels. A/H/S denote attack/offense, hate, and spam/scam. Positive rates use observed labels; ToxiCN counts apply to each task.
| Source | Split sizes | Observed test labels | ||||
|---|---|---|---|---|---|---|
| Train | Dev. | Test | Task | Count | Pos. (%) | |
| SCCD | 21,762 | 7,849 | 8,028 | A | 8,028 | 24.4 |
| CONDA | 14,547 | 4,315 | 4,746 | A | 4,746 | 23.8 |
| ToxiCN | 7,720 | 1,866 | 2,409 | A/H | 2,212 | 48.6/41.2 |
| ScamSpot | 1,847 | 623 | 582 | S | 582 | 32.0 |
| HateBR | 4,129 | 1,154 | 1,717 | A | 1,717 | 59.6 |
We preserve SCCD's 406/135/136 train/validation/test discussion split and ToxiCN's official test boundary. CONDA matches and HateBR posts define sampling units; duplicate components constrain the remaining splits. Cross-partition text matches are removed from training, and conflicting training supervision is masked while original evaluation labels are retained. Normalized exact matches and character-5-gram near matches define duplicate components. Evaluation clusters merge components connected through sampling units, including cross-source links. The SCCD test set contains 47 clusters, with the largest covering 89 of 136 discussions. Full-cohort comparisons therefore include isolated-subset and largest-component-removed evaluations. Because these fixed partitions were examined in earlier risk evaluations, we confirm the main results on a separately acquired cohort.
Classification baselines and training. LDA, BTM, GSDMM, NMF, and BERTopic provide topic representations with supervised logistic-regression output heads. They share the joint training data, observed-label masks, and weighting rule. Traditional methods use 32 topics; BERTopic determines its topic count from training data. MiniLM-plus-LR shares the semantic encoder and supervision with cst and omits character features. Discussion comparisons aggregate each method's own representation. Fully fine-tuned XLM-R-base [10] participates in message classification and complete-service CPU comparisons under the same observed-label supervision.
Average precision (AP) is the primary metric for message and discussion ranking under class imbalance [42]. Training uses fixed search budgets [15] and seeds 42, 43, and 44. Training partitions fit representations, validation selects operating thresholds, and mean validation AP across six tasks selects XLM-R checkpoints. AP evaluates the full ranking; thresholded metrics describe the validation-selected operating point. Four leave-one-source-out attack tasks assess message transfer by holding out SCCD, CONDA, ToxiCN, or HateBR in turn. Joint, character-only, and semantic-only representations use the same held-out source and evaluation labels within each comparison. Appendix A gives the fitting settings and metric definitions.
Reading budgets and evidence metrics. Original order, risk order, MMR, and group round-robin share discussion membership, risk scores, and reading budgets within each comparison. The screening grid uses discussions and messages per discussion. The primary contrast compares group round-robin with risk order at , ; original-order and MMR comparisons are secondary. Evidence hits use the original message-level attack labels. Global recall divides selected dangerous messages by all 1,960 positive test messages; evidence precision divides them by the actual number of selected messages. Message- and discussion-level outcomes differ: 101 test discussions contain at least one positive message, but only 71 carry a positive discussion label.
The evidence-only comparison applies to every discussion without a top- cutoff. Its full-cohort and isolated-subset recall denominators are 1,960 and 413 positive messages, respectively. Selected-message budgets and displayed-text costs are recorded separately. Character accounting includes displayed context under the cost rules in Section 3.
Model assessment and human review. The model evaluation includes 40 independent SCCD discussions and seven repeated cases per judge (Table 6). Cases exclude dependencies with training and development material. Gemini 2.5 Flash and GPT-4o-mini first label raw discussions without algorithm outputs, then assess anonymous configurations in fresh contexts. The seven configurations comprise cST, direct semantic clustering, BERTopic grouping, frequency naming, and separate removals of parent association, polarity protection, or counter-speech separation.
Judges score naming, group consistency, coverage, stance preservation, and source support on 0/1/2, with unknown available for abstention. Non-abstaining judgments require locally validated evidence identifiers. Method names and the other judge's responses are hidden; balanced presentation addresses order sensitivity [50]. The fixed-evidence comparison holds messages, scores, parent text, and displayed wording constant, varying only order and unnamed group boundaries. Comparisons use jointly scoreable cases, configurations, and dimensions, with cross-model analyses restricted to the same cases and unknown judgments excluded.
The human study compares grouped and reference displays under equal reading budgets. Reviewers receive different, difficulty-matched discussions with counterbalanced condition order and no repeated exposure to the same discussion. Outcomes are completion time, risk-decision accuracy, missed-risk rate, and source-location success, with separate denominators for decisions and location queries. A separate semantic audit covers 36 independent discussions across three platforms, with 12 discussions per platform and at least two assessors. It evaluates name meaning, stance preservation, and evidence support alongside checks of message identifiers, source spans, and parent links. Appendix D specifies the rubrics, paired-score denominators, human tasks, and resampling design.
Further validation. Discussion-level evaluation includes at least two additional sources, each with at least 200 independent discussions. cST and MiniLM share source labels, sampling units, and test discussions within each source. Ten dependency-cluster repartitions of development material assess stability while preserving official test boundaries. Each repartition fits representations on its training partition and selects settings on its validation partition. Final confirmation fixes model settings, thresholds, comparison families, sampling rules, and analysis settings before opening a separately acquired cohort. Table 7 summarizes these evaluations, and Appendix E details their scope.
Statistical analysis. Paired bootstrap resampling [18] follows the sampling design [17], using fixed dependency clusters as the resampling units. Each screening resample reranks discussions before applying L. The budget family contains three contrasts against risk order, three values of L, and four values of B, yielding 36 comparisons per metric. Six-task comparisons and the eight transfer contrasts use their respective adjustment families. Seed-level variation and paired cluster intervals quantify training variability and test-sample uncertainty, respectively; development repartitions share observations and are summarized separately.
CPU measurement. MiniLM, cST, and XLM-R run on the same four-thread hardware over 136 SCCD discussions containing 8,028 messages, with three passes per method. The matched service includes raw-text encoding, risk scoring, discussion processing, grouping, evidence selection, and serialization. Batch timings exclude asset loading, warm-up, and disk writes. Separate startup measurements report loading and first-request latency under matched cache conditions. Appendix A specifies the hardware, process-memory accounting, and startup conditions.
5 Results
5.1 Evidence recovery under matched reading budgets
With the same discussion queue, risk scores, and reading budget, group round-robin recovers more dangerous messages than risk order (Table 2). At the primary setting L = 20, B = 3, both select at most 60 messages; group round-robin finds an average of 58 dangerous messages versus 55, and selected-evidence precision
Table 2 Primary screening at , , selecting at most 60 messages from the same 20 discussions. Recall covers all 1,960 dangerous test messages.
| Selector | Evidence precision (%) | Global recall (%) |
|---|---|---|
| Original order | 47.778 | 1.463 |
| Risk order | 91.667 | 2.806 |
| MMR | 90.000 | 2.755 |
| Group round-robin | 96.667 | 2.959 |
| Designated contrast: group round-robin – risk | Δ recall (pp) | |
| Same 20 discussions and 60 selected messages | +0.153 | |
pp: percentage points. Group round-robin and risk order recover 58 and 55 dangerous messages on average, respectively, from a denominator of 1,960.

Figure 4 Evidence-only budget sensitivity. Cells show recall (%) across message budgets , using 1,960 dangerous messages in the full test set (a) and 413 in the isolated set (b) as denominators. Every discussion receives a budget; this differs from the top- screening endpoint.
rises from 91.667% to 96.667%. Global recall rises from 2.806% to 2.959% (+0.153 percentage points); it is low for every selector because 60 messages can cover at most 3.061% of the 1,960 dangerous test messages. Group round-robin also exceeds original order and MMR at this setting.
On the independent confirmation cohort, the adjusted paired intervals for the designated recall gains stay above zero (Table 7).
Figure 4 evaluates selection across every discussion, extending the comparison beyond top- screening. Group round-robin has the highest recall at in both the full and isolated cohorts. Its gains over risk order range from 1.122 to 3.265 percentage points in the full cohort and from 1.453 to 3.632 points in the isolated cohort. At , recall reaches 34.39% and 46.25%, respectively. All three risk-based selectors coincide at , when they select the highest-risk message. The gap widens as the budget grows and selections reach more groups.
5.2 Joint features improve message AP
csr exceeds MiniLM-plus-LR on all six message-classification tasks by 0.027–0.193 absolute AP, with the largest gain on CONDA (Table 3). It also outperforms the five topic representations under their common supervised adapter. Relative to fine-tuned XLM-R, AP gains range from 0.008 to 0.029; the smallest gains occur on HateBR and ScamSpot. These gains require no fine-tuning of the sentence encoder.
The SCCD ablations show that character and semantic features contribute complementary predictive information (Table 5). Removing characters lowers message AP from 0.712 to 0.597, and removing message
Table 3 Message test AP. Topic representations are evaluated with supervised LR adapters.
| Method | SCCD | CONDA | HateBR | ToxiCN-A | ToxiCN-H | ScamSpot |
|---|---|---|---|---|---|---|
| LDA | 0.307 | 0.363 | 0.642 | 0.621 | 0.623 | 0.829 |
| BTM | 0.356 | 0.300 | 0.842 | 0.589 | 0.534 | 0.731 |
| GSDMM | 0.402 | 0.385 | 0.643 | 0.597 | 0.567 | 0.630 |
| NMF | 0.329 | 0.609 | 0.729 | 0.541 | 0.487 | 0.606 |
| BERTopic | 0.354 | 0.413 | 0.698 | 0.592 | 0.542 | 0.699 |
| MiniLM-LR | 0.597 | 0.694 | 0.951 | 0.758 | 0.735 | 0.954 |
| XLM-R | 0.683 | 0.859 | 0.978 | 0.864 | 0.854 | 0.972 |
| cst | 0.712 | 0.887 | 0.986 | 0.893 | 0.879 | 0.981 |
Table 4 Discussion AP. n: discussions; clusters: duplicate-connected units. Development AP selects BTM as the topic baseline for comparison.
| Cohort | n | Clusters | BTM | MiniLM-LR | cst |
|---|---|---|---|---|---|
| Full | 136 | 47 | 0.890 | 0.957 | 0.976 |
| Isolated | 40 | 40 | 0.819 | 0.938 | 0.963 |
| Largest removed | 47 | 46 | 0.769 | 0.912 | 0.948 |
semantics lowers it to 0.524. Source balancing contributes a further 0.026 AP relative to its removal. At the validation-selected operating threshold, cst achieves precision 0.719, recall 0.713, and macro-F1 0.812 on SCCD (Table 7).
The results are stable across ten dependency-cluster repartitions of development material: taskwise AP sample SDs are at most 0.009, with at least nine paired wins over MiniLM. On the independent confirmation cohort, the adjusted paired intervals for the designated AP gains stay above zero (Table 7).
5.3 Joint features support cross-source transfer
Without target-source supervision, leave-one-source-out attack AP reaches 0.657 on SCCD, 0.633 on CONDA, 0.852 on ToxiCN, and 0.954 on HateBR (Figure 7). The joint representation exceeds MiniLM by 0.098, 0.073, 0.141, and 0.025 AP, respectively, and also exceeds the character-only reference on every source. Relative to in-domain attack classification, AP falls by 0.055, 0.254, 0.041, and 0.032; CONDA shows the largest drop.
5.4 Discussion ranking on SCCD and external sources
cst improves discussion ranking across all three SCCD cohorts (Table 4). Its AP is 0.976 versus 0.957 for MiniLM-plus-LR on the full cohort, 0.963 versus 0.938 on the 40 isolated discussions, and 0.948 versus 0.912 after removing the largest component. The corresponding gains are 0.019, 0.025, and 0.036 AP. BTM trails by a larger margin in every cohort. The advantage therefore persists outside the largest dependency component, which contains 89 of 136 discussions and 5,855 of 8,028 test messages.
Discussion-level features contribute beyond the message scorer (Table 5). Removing discussion semantics, reply statistics, or risk statistics lowers discussion AP by 0.014, 0.017, or 0.033, respectively. Removing risk statistics causes the largest drop, so aggregated message risk contributes most to discussion ranking.
External evaluation extends this result to at least two additional sources, each with at least 200 independent discussions (Table 7). cst and MiniLM use the same source labels, sampling units, and test discussions in each comparison. On each source, cst achieves AP of at least 0.913 and exceeds MiniLM by at least 0.023 AP. These matched comparisons show that the discussion-ranking advantage extends beyond SCCD, complementing the message-level transfer findings with evidence for ranking whole discussions.
| a Gemini 2.5 Flash | |||||
|---|---|---|---|---|---|
| Control (joint n) | Name suitability | Group coherence | Coverage | Stance preservation | Evidence support |
| Semantic (35) | 0.229 | 0.171 | 0.257 | 0.314 | 0.343 |
| BERTopic (32) | 1.531 | 1.156 | 0.531 | 0.813 | 1.438 |
| Frequency (34) | 0.265 | 0 | 0 | 0 | 0.147 |
| No parent (35) | 0 | 0 | 0.143 | 0 | 0.114 |
| No polarity (34) | 0.147 | 0 | 0 | 0.235 | 0.176 |
| No stance rule (35) | 0 | 0 | 0 | 0.257 | 0 |
| b GPT-4o-mini | |||||
|---|---|---|---|---|---|
| Name suitability | Group coherence | Coverage | Stance preservation | Evidence support | |
| 0.257 | 0.229 | 0.314 | 0.343 | 0.371 | |
| 0.906 | 0.813 | 0.563 | 0.594 | 0.781 | |
| 0.324 | 0 | 0 | 0 | 0.176 | |
| 0 | 0 | 0.171 | 0 | 0.143 | |
| 0.176 | 0 | 0 | 0.265 | 0.206 | |
| 0 | 0 | 0 | 0.314 | 0 | |
Complete – control: mean score difference
Mean
0
0.8
1.6
c Grouped – flat
(joint n = 36)
Gemini 2.5 Flash
GPT-4o-mini

Figure 5 Paired score differences on a 0–2 rubric: complete minus control (a,b) and grouped minus flat with fixed evidence (c, n = 36).
5.5 Model judgments of evidence organization
Both judges favor the complete module over simple semantic grouping and BERTopic on all five dimensions (Figure 5). On jointly scoreable cases, complete-minus-semantic-grouping differences range from 0.171 to 0.343 for Gemini and from 0.229 to 0.371 for GPT-4o-mini. The component comparisons below show where these gains come from.
Extractive naming improves name suitability over frequency naming by 0.265 for Gemini and 0.324 for GPT-4o-mini. Parent association improves coverage and source support for both judges. Polarity protection improves stance preservation by 0.235 for Gemini and 0.265 for GPT-4o-mini; counter-speech separation contributes 0.257 and 0.314, respectively.
With message identities, wording, scores, and parent context held fixed, both judges find the same evidence clearer and easier to trace when it is grouped (panel c). Grouping improves clarity by 0.222 for Gemini and 0.278 for GPT-4o-mini. Stance-preservation gains are 0.083 and 0.111, and traceability gains are 0.139 and 0.194.
5.6 Human review and source verification
Under equal reading budgets, grouped presentation reduces review time by at least 27.3% relative to the reference display (median within-reviewer completion-time ratio ≤ 0.727; Table 7). Decision accuracy is at least 94.7%, the missed-risk rate is at most 5.3%, and reviewers locate the source in at least 97.3% of queries.
A separate audit traces group names and cited evidence back to the original discussion in 36 independent discussions across three platforms. Every tested source mapping is correct, and at least 33 cases pass human semantic verification. Appendix D specifies the separate study designs and denominators.
5.7 CPU cost of the complete service
The complete SCCD service takes 7.43% more processing time than MiniLM-plus-LR and runs 2.624× as fast as the matched XLM-R service (Figure 6). Adding character features to the frozen semantic representation therefore costs 7.43% more processing time and adds 0.027–0.193 AP across the six message tasks.
Across three four-thread CPU passes over 136 discussions and 8,028 messages, mean total time is 126.69 seconds for cst, 117.93 seconds for MiniLM-plus-LR, and 332.42 seconds for XLM-R. cst's median discussion

Figure 6 CPU service cost on SCCD: four threads and three passes per method.
latency ranges from 0.713 to 0.786 seconds across passes, and its maximum process-tree RSS is 0.946 GiB. Appendix A details the hardware and service scope.
Separate startup measurements give encoder loading times of at most 9.713 seconds and first-request latency of at most 1.837 seconds under matched hardware and cache conditions (Table 7).
6 Discussion and Limitations
Our results suggest that a risk score works best as a queue rather than as a reading order. With the queue and scores fixed, spreading the reading budget across groups recovers more harmful messages, and grouped, source-linked evidence lets reviewers finish faster while keeping decision accuracy high. The stance safeguards matter here: removing polarity protection or counter-speech separation lowers judged stance preservation. Character features add 0.027–0.193 message AP for 7.43% more CPU time, so these gains do not require fine-tuning a large encoder. Separating scoring and presentation makes selectors directly comparable under fixed predictions, with shared message identifiers and source spans supporting output checks.
Limitations. First, the evidence-selection and model-judging results come mainly from SCCD, a single Chinese platform whose largest dependency cluster covers 89 of 136 test discussions. Second, source and language change together in the transfer tests, so their effects cannot be separated. Third, naming and grouping quality are rated mainly by two LLM judges, with a human audit of 36 discussions, and the stance rule covers only Chinese, English, and Portuguese. Finally, the user study uses controlled, budget-matched tasks rather than live moderation, where workload and incentives differ.
Ethics and availability. The corpora contain offensive public interactions. Scores support screening, with no sensitive-identity inference or automatic sanctions. Dialect and identity-term biases require dedicated audits [14, 43]. Screening runs locally; auxiliary model assessment follows provider and data-access conditions.
Code and reconstruction instructions preserve original licensing and access restrictions without redistributing restricted text.
7 Conclusion
Risk scores tell moderators where to look, but not what to read or how to check it. CST treats these as separate decisions: it scores messages and ranks discussions on an ordinary CPU, then selects and groups evidence without changing the scores, keeping every selected message linked to its source. CST achieves higher message AP than a fully fine-tuned XLM-R on all six tasks while running 2.6× faster on a CPU. Under the same reading budget, choosing across groups recovers up to 3.3 percentage points more harmful messages than reading by risk, and two LLM judges rate grouped layouts of the same evidence as clearer, more stance-preserving, and easier to trace. In a user study, reviewers needed at least 27.3% less time with grouped evidence while keeping decision accuracy above 94%. This gives moderators a continuous path from a prioritized discussion through selected evidence to the original messages and their surrounding reply context for verification. More broadly, deciding what to show can be optimized and evaluated separately from how risk is scored.
References
[1] Dimo Angelov. Top2Vec: Distributed representations of topics. arXiv:2008.09470, 2020. URL https://arxiv.org/abs/2008.09470.
[2] Federico Bianchi, Silvia Terragni, and Dirk Hovy. Pre-training is a hot topic: Contextualized document embeddings improve topic coherence. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 759–766. Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.acl-short.96. URL https://aclanthology.org/2021.acl-short.96/.
[3] David M. Blei, Andrew Y. Ng, and Michael I. Jordan. Latent Dirichlet allocation. Journal of Machine Learning Research, 3:993–1022, 2003. URL https://jmlr.org/papers/v3/blei03a.html.
[4] Agostina Calabrese, Leonardo Neves, Neil Shah, Maarten W. Bos, Björn Ross, Mirella Lapata, and Francesco Barbieri. Explainability and hate speech: Structured explanations make social media moderators faster. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 398–408. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.acl-short.38. URL https://aclanthology.org/2024.acl-short.38/.
[5] Jaime Carbonell and Jade Goldstein. The use of MMR, diversity-based reranking for reordering documents and producing summaries. In Proceedings of the 21st Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 335–336. ACM, 1998. doi: 10.1145/290941.291025.
[6] Jonathan Chang, Jordan Boyd-Graber, Sean Gerrish, Chong Wang, and David M. Blei. Reading tea leaves: How humans interpret topic models. In Advances in Neural Information Processing Systems, volume 22. Curran Associates, Inc., 2009. URL https://proceedings.neurips.cc/paper_files/paper/2009/file/f92586a25bb3145facd64ab20fd554ff-Paper.pdf.
[7] Hongyu Chen and Seraphina Goldfarb-Tarrant. Safer or luckier? LLMs as safety evaluators are not robust to artifacts. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 19750–19766. Association for Computational Linguistics, 2025. doi: 10.18653/v1/2025.acl-long.970. URL https://aclanthology.org/2025.acl-long.970/.
[8] Yiyi Chen, Sukhumarn Archasantisuk, and Johannes Bjerva. Towards understanding professional AI assistant use: Human-in-the-loop topic modeling of multi-turn conversations. In Companion Proceedings of the ACM Web Conference 2026, pages 379–390. ACM, 2026. doi: 10.1145/3774905.3794645.
[9] Justin Cheng, Michael Bernstein, Cristian Danescu-Niculescu-Mizil, and Jure Leskovec. Anyone can become a troll: Causes of trolling behavior in online discussions. In Proceedings of the 2017 ACM Conference on Computer Supported Cooperative Work and Social Computing, pages 1217–1230. ACM, 2017. doi: 10.1145/2998181.2998213. URL https://doi.org/10.1145/2998181.2998213.
[10] Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440–8451. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.747. URL https://aclanthology.org/2020.acl-main.747/.
[11] Thomas Davidson, Dana Warmsley, Michael Macy, and Ingmar Weber. Automated hate speech detection and the problem of offensive language. Proceedings of the International AAAI Conference on Web and Social Media, 11(1):512–515, 2017. doi: 10.1609/icwsm.v11i1.14955. URL https://doi.org/10.1609/icwsm.v11i1.14955.
[12] Jay DeYoung, Sarthak Jain, Nazneen Fatema Rajani, Eric Lehman, Caiming Xiong, Richard Socher, and Byron C. Wallace. ERASER: A benchmark to evaluate rationalized NLP models. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4443–4458. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.408. URL https://aclanthology.org/2020.acl-main.408/.
[13] Adji B. Dieng, Francisco J. R. Ruiz, and David M. Blei. Topic modeling in embedding spaces. Transactions of the Association for Computational Linguistics, 8:439–453, 2020. doi: 10.1162/tacl_a_00325. URL https://aclanthology.org/2020.tacl-1.29/.
[14] Lucas Dixon, John Li, Jeffrey Sorensen, Nithum Thain, and Lucy Vasserman. Measuring and mitigating unintended bias in text classification. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society, pages 67–73. ACM, 2018. doi: 10.1145/3278721.3278729. URL https://doi.org/10.1145/3278721.3278729.
[15] Jesse Dodge, Suchin Gururangan, Dallas Card, Roy Schwartz, and Noah A. Smith. Show your work: Improved reporting of experimental results. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2185–2194. Association for Computational Linguistics, 2019. doi: 10.18653/v1/D19-1224. URL https://aclanthology.org/D19-1224/.
[16] Connor Douglas, Utkucan Balci, and Joseph Aylett-Bullock. PRISM: LLM-guided semantic clustering for high-precision topics. In Proceedings of the ACM Web Conference 2026, pages 8701–8704. ACM, 2026. doi: 10.1145/3774904.3792944.
[17] Rotem Dror, Gili Baumer, Segev Shlomov, and Roi Reichart. The hitchhiker's guide to testing statistical significance in natural language processing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1383–1392. Association for Computational Linguistics, 2018. doi: 10.18653/v1/P18-1128. URL https://aclanthology.org/P18-1128/.
[18] Bradley Efron and Robert J. Tibshirani. An Introduction to the Bootstrap. Chapman & Hall, 1993. ISBN 9780412042317. doi: 10.1007/978-1-4899-4541-9. URL https://doi.org/10.1007/978-1-4899-4541-9.
[19] Brage Eilertsen, Røskva Bjørgfinsdóttir, Francielle Vargas, and Ali Ramezani-Kebrya. Aligning attention with human rationales for self-explaining hate speech detection. Proceedings of the AAAI Conference on Artificial Intelligence, 40(44): 37369–37378, 2026. doi: 10.1609/aaai.v40i44.41069.
[20] Rong-En Fan, Kai-Wei Chang, Cho-Jui Hsieh, Xiang-Rui Wang, and Chih-Jen Lin. LIBLINEAR: A library for large linear classification. Journal of Machine Learning Research, 9(61):1871–1874, 2008. URL https://jmlr.org/papers/v9/fan08a.html.
[21] Yunhao Feng, Yifan Ding, Yingshui Tan, Xingjun Ma, Yige Li, Yutao Wu, Yifeng Gao, Kun Zhai, and Yanming Guo. AgentHazard: A benchmark for evaluating harmful behavior in computer-use agents. arXiv preprint arXiv:2604.02947, 2026. URL https://arxiv.org/abs/2604.02947.
[22] Maarten Grootendorst. BERTopic: Neural topic modeling with a class-based TF-IDF procedure. arXiv:2203.05794, 2022. URL https://arxiv.org/abs/2203.05794.
[23] Alexander Hoyle, Pranav Goel, Denis Peskov, Andrew Hian-Cheong, Jordan Boyd-Graber, and Philip Resnik. Is automated topic model evaluation broken? the incoherence of coherence. In Advances in Neural Information Processing Systems, volume 34, pages 2018–2033. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/0f83556a305d789b1d71815e8ea4f4b0-Paper.pdf.
[24] Alon Jacovi and Yoav Goldberg. Towards faithfully interpretable NLP systems: How should we define and evaluate faithfulness? In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4198–4205. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.386. URL https://aclanthology.org/2020.acl-main.386/.
[25] Sarthak Jain and Byron C. Wallace. Attention is not Explanation. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 3543–3556. Association for Computational Linguistics, 2019. doi: 10.18653/v1/N19-1357. URL https://aclanthology.org/N19-1357/.
[26] Shagun Jhaver, Amy Bruckman, and Eric Gilbert. Does transparency in moderation really matter?: User behavior after content removal explanations on reddit. Proceedings of the ACM on Human-Computer Interaction, 3(CSCW), 2019. doi: 10.1145/3359252. URL https://doi.org/10.1145/3359252.
[27] Brendan Kennedy, Xisen Jin, Aida Mostafazadeh Davani, Morteza Dehghani, and Xiang Ren. Contextualizing hate speech classifiers with post-hoc explanation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5435–5442. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.483. URL https://aclanthology.org/2020.acl-main.483/.
[28] Daniel D. Lee and H. Sebastian Seung. Learning the parts of objects by non-negative matrix factorization. Nature, 401:788–791, 1999. doi: 10.1038/44565.
[29] Tao Lei, Regina Barzilay, and Tommi Jaakkola. Rationalizing neural predictions. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 107–117. Association for Computational Linguistics, 2016. doi: 10.18653/v1/D16-1011. URL https://aclanthology.org/D16-1011/.
[30] Hanlin Li, Brent Hecht, and Stevie Chancellor. Measuring the monetary value of online volunteer work. In Proceedings of the International AAAI Conference on Web and Social Media, volume 16, pages 596–606. AAAI Press, 2022. doi: 10.1609/icwsm.v16i1.19318. URL https://doi.org/10.1609/icwsm.v16i1.19318.
[31] Ruixiao Lin, Xinhao Deng, Qingming Li, Jianan Ma, Yunhao Feng, Yuqi Qing, Zhenyuan Li, Yechao Zhang, Shiwen Cui, Changhua Meng, Tianwei Zhang, Xingjun Ma, Qi Li, Ke Xu, and Shouling Ji. Safety in self-evolving LLM agent systems: Threats, amplification, and case studies. arXiv preprint arXiv:2606.23075, 2026. URL https://arxiv.org/abs/2606.23075.
[32] Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, and Chenguang Zhu. G-Eval: NLG evaluation using GPT-4 with better human alignment. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 2511–2522. Association for Computational Linguistics, 2023. doi: 10.18653/v1/2023.emnlp-main.153. URL https://aclanthology.org/2023.emnlp-main.153/.
[33] Junyu Lu, Bo Xu, Xiaokun Zhang, Changrong Min, Liang Yang, and Hongfei Lin. Facilitating fine-grained detection of Chinese toxic language: Hierarchical taxonomy, resources, and benchmarks. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16235–16250. Association for Computational Linguistics, 2023. doi: 10.18653/v1/2023.acl-long.898. URL https://aclanthology.org/2023.acl-long.898/.
[34] Xingjun Ma, Yifeng Gao, Yixu Wang, Ruofan Wang, Xin Wang, Ye Sun, Yifan Ding, Hengyuan Xu, Yunhao Chen, Yunhao Zhao, Hanxun Huang, Yige Li, Yutao Wu, Jiaming Zhang, Xiang Zheng, Yang Bai, Yiming Li, Zuxuan Wu, Xipeng Qiu, Jingfeng Zhang, Xudong Han, Haonan Li, Jun Sun, Cong Wang, Jindong Gu, Baoyuan Wu, Siheng Chen, Tianwei Zhang, Yang Liu, Mingming Gong, Tongliang Liu, Shirui Pan, Cihang Xie, Tianyu Pang, Yinpeng Dong, Ruoxi Jia, Yang Zhang, Shiqing Ma, Xiangyu Zhang, Neil Gong, Chaowei Xiao, Sarah Erfani, Tim Baldwin, Bo Li, Masashi Sugiyama, Dacheng Tao, James Bailey, and Yu-Gang Jiang. Safety at scale: A comprehensive survey of large model and agent safety. Foundations and Trends in Privacy and Security, 8(3-4):254–469, 2025. doi: 10.1561/3300000051. URL https://doi.org/10.1561/3300000051.
[35] Binny Mathew, Punyajoy Saha, Seid Muhie Yimam, Chris Biemann, Pawan Goyal, and Animesh Mukherjee. HateXplain: A benchmark dataset for explainable hate speech detection. Proceedings of the AAAI Conference on Artificial Intelligence, 35(17):14867–14875, 2021. doi: 10.1609/aaai.v35i17.17745.
[36] John Pavlopoulos, Jeffrey Sorensen, Lucas Dixon, Nithum Thain, and Ion Androutsopoulos. Toxicity detection: Does context really matter? In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4296–4305. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.396. URL https://aclanthology.org/2020.acl-main.396/.
[37] Chau Minh Pham, Alexander Hoyle, Simeng Sun, Philip Resnik, and Mohit Iyyer. TopicGPT: A prompt-based topic modeling framework. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 2956–2984. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.naacl-long.164. URL https://aclanthology.org/2024.naacl-long.164/.
[38] Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992. Association for Computational Linguistics, 2019. doi: 10.18653/v1/D19-1410. URL https://aclanthology.org/D19-1410/.
[39] Nils Reimers and Iryna Gurevych. Making monolingual sentence embeddings multilingual using knowledge distillation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4512–4525. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.emnlp-main.365. URL https://aclanthology.org/2020.emnlp-main.365/.
[40] Michael Röder, Andreas Both, and Alexander Hinneburg. Exploring the space of topic coherence measures. In Proceedings of the Eighth ACM International Conference on Web Search and Data Mining, pages 399–408. ACM, 2015. doi: 10.1145/2684822.2685324. URL https://doi.org/10.1145/2684822.2685324.
[41] Paul Röttger, Bertie Vidgen, Dong Nguyen, Zeerak Waseem, Helen Margetts, and Janet Pierrehumbert. HateCheck: Functional tests for hate speech detection models. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 41–58. Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.acl-long.4. URL https://aclanthology.org/2021.acl-long.4/.
[42] Takaya Saito and Marc Rehmsmeier. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLOS ONE, 10(3):e0118432, 2015. doi: 10.1371/journal.pone.0118432. URL https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0118432.
[43] Maarten Sap, Dallas Card, Saadia Gabriel, Yejin Choi, and Noah A. Smith. The risk of racial bias in hate speech detection. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1668–1678. Association for Computational Linguistics, 2019. doi: 10.18653/v1/P19-1163. URL https://aclanthology.org/P19-1163/.
[44] ScamSpot. Instagram data scraper. GitHub dataset and code repository, n.d. URL https://github.com/ScamSpot/scamspot_iig-comment-scraper. Accessed 17 October 2026.
[45] Sentence Transformers. paraphrase-multilingual-MiniLM-L12-v2: Model card. Hugging Face model repository, n.d. URL https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2. Accessed 17 October 2026.
[46] Francielle Vargas, Isabelle Carvalho, Fabiana Rodrigues de Góes, Thiago Pardo, and Fabrício Benevenuto. HateBR: A large expert annotated corpus of Brazilian Instagram comments for offensive language and hate speech detection. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 7174–7183. European Language Resources Association, 2022. URL https://aclanthology.org/2022.lrec-1.777/.
[47] Bertie Vidgen, Tristan Thrush, Zeerak Waseem, and Douwe Kiela. Learning from the worst: Dynamically generated datasets to improve online hate detection. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1667–1682. Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.acl-long.132. URL https://aclanthology.org/2021.acl-long.132/.
[48] Emily A. Vogels. The state of online harassment. Pew Research Center report, 2021. URL https://www.pewresearch.org/internet/2021/01/13/the-state-of-online-harassment/. Accessed 26 October 2026.
[49] Kun Wang, Guibin Zhang, Zhenhong Zhou, Jiahao Wu, Miao Yu, Shiqian Zhao, Chenlong Yin, Jinhu Fu, Yibo Yan, Hanjun Luo, Liang Lin, Zhihao Xu, Haolang Lu, Xinye Cao, Xinyun Zhou, Weifei Jin, Fanci Meng, Shicheng Xu,
Junyuan Mao, Yu Wang, Hao Wu, Minghe Wang, Fan Zhang, Junfeng Fang, Wenjie Qu, Yue Liu, Chengwei Liu, Yifan Zhang, Qiankun Li, Chongye Guo, Yalan Qin, Zhaoxin Fan, Kai Wang, Yi Ding, Donghai Hong, Jiaming Ji, Yingxin Lai, Zitong Yu, Xinfeng Li, Yifan Jiang, Yanhui Li, Xinyu Deng, Junlin Wu, Dongxia Wang, Yihao Huang, Yufei Guo, Jen tse Huang, Qiufeng Wang, Xiaolong Jin, Wenxuan Wang, Dongrui Liu, Yanwei Yue, Wenke Huang, Guancheng Wan, Heng Chang, Tianlin Li, Yi Yu, Chenghao Li, Jiawei Li, Lei Bai, Jie Zhang, Qing Guo, Jingyi Wang, Tianlong Chen, Joey Tianyi Zhou, Xiaojun Jia, Weisong Sun, Cong Wu, Jing Chen, Xuming Hu, Yiming Li, Xiao Wang, Ningyu Zhang, Luu Anh Tuan, Guowen Xu, Jiaheng Zhang, Tianwei Zhang, Xingjun Ma, Jindong Gu, Liang Pang, Xiang Wang, Bo An, Jun Sun, Mohit Bansal, Shirui Pan, Lingjuan Lyu, Yuval Elovici, Bhavya Kailkhura, Yaodong Yang, Hongwei Li, Wenyuan Xu, Yizhou Sun, Wei Wang, Qing Li, Ke Tang, Yu-Gang Jiang, Felix Juefei-Xu, Hui Xiong, Xiaofeng Wang, Dacheng Tao, Philip S. Yu, Qingsong Wen, and Yang Liu. A comprehensive survey in LLM(-agent) full stack safety: Data, training and deployment. arXiv preprint arXiv:2504.15585, 2025. URL https://arxiv.org/abs/2504.15585.
[50] Peiyi Wang, Lei Li, Liang Chen, Zefan Cai, Dawei Zhu, Binghuai Lin, Yunbo Cao, Lingpeng Kong, Qi Liu, Tianyu Liu, and Zhifang Sui. Large language models are not fair evaluators. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9440–9450. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.acl-long.511. URL https://aclanthology.org/2024.acl-long.511/.
[51] Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In Advances in Neural Information Processing Systems, volume 33, pages 5776–5788. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
[52] Kilian Weinberger, Anirban Dasgupta, John Langford, Alex Smola, and Josh Attenberg. Feature hashing for large scale multitask learning. In Proceedings of the 26th Annual International Conference on Machine Learning, pages 1113–1120. ACM, 2009. doi: 10.1145/1553374.1553516. URL https://doi.org/10.1145/1553374.1553516.
[53] Henry Weld, Guanghao Huang, Jean Lee, Tongshu Zhang, Kunze Wang, Xinghong Guo, Siqu Long, Josiah Poon, and Caren Han. CONDA: a CONtextual dual-annotated dataset for in-game toxicity understanding and detection. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 2406–2416. Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.findings-acl.213. URL https://aclanthology.org/2021.findings-acl.213/.
[54] Ellery Wulczyn, Nithum Thain, and Lucas Dixon. Ex machina: Personal attacks seen at scale. In Proceedings of the 26th International Conference on World Wide Web, pages 1391–1399. International World Wide Web Conferences Steering Committee, 2017. doi: 10.1145/3038912.3052591. URL https://doi.org/10.1145/3038912.3052591.
[55] Xiaohui Yan, Jiafeng Guo, Yanyan Lan, and Xueqi Cheng. A biterm topic model for short texts. In Proceedings of the 22nd International Conference on World Wide Web, pages 1445–1456. ACM, 2013. doi: 10.1145/2488388.2488514. URL https://doi.org/10.1145/2488388.2488514.
[56] Qingpo Yang, Yakai Chen, Zihui Xu, Yu-ming Shang, Sanchuan Guo, and Xi Zhang. SCCD: A session-based dataset for Chinese cyberbullying detection. In Proceedings of the 31st International Conference on Computational Linguistics, pages 9533–9545. Association for Computational Linguistics, 2025. URL https://aclanthology.org/2025.coling-main.639/.
[57] Jianhua Yin and Jianyong Wang. A Dirichlet multinomial mixture model-based approach for short text clustering. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 233–242. ACM, 2014. doi: 10.1145/2623330.2623715. URL https://doi.org/10.1145/2623330.2623715.
[58] Xinchen Yu, Eduardo Blanco, and Lingzi Hong. Hate speech and counter speech detection: Conversational context does matter. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5918–5930. Association for Computational Linguistics, 2022. doi: 10.18653/v1/2022.naacl-main.433. URL https://aclanthology.org/2022.naacl-main.433/.
[59] Justine Zhang, Jonathan Chang, Cristian Danescu-Niculescu-Mizil, Lucas Dixon, Yiqing Hua, Dario Taraborelli, and Nithum Thain. Conversations gone awry: Detecting early signs of conversational failure. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1350–1361. Association for Computational Linguistics, 2018. doi: 10.18653/v1/P18-1125. URL https://aclanthology.org/P18-1125/.
[60] Yiming Zhang, Sravani Nanduri, Liwei Jiang, Tongshuang Wu, and Maarten Sap. BiasX: "thinking slow" in toxic content moderation with explanations of implied social biases. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 4920–4932. Association for Computational Linguistics, 2023. doi: 10.18653/v1/2023.emnlp-main.300. URL https://aclanthology.org/2023.emnlp-main.300/.
[61] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, Hao Zhang, Joseph Gonzalez, and Ion Stoica. Judging LLM-as-a-judge with MT-Bench and Chatbot Arena. In Advances in Neural Information Processing Systems, volume 36, pages 46595–46623. Curran Associates, Inc., 2023. doi: 10.52202/075280-2020. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/91f18a1287b398d378ef22505bf41832-Paper-Datasets_and_Benchmarks.pdf.
[62] Xiang Zheng, Yutao Wu, Hanxun Huang, Yige Li, Xingjun Ma, Bo Li, Yu-Gang Jiang, and Cong Wang. Just ask: Curious code agents reveal system prompts in frontier LLMs. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 163714–163738. PMLR, 2026. URL https://proceedings.mlr.press/v306/zheng26w.html.
Appendix
A Implementation and Partial Supervision
Records and masks. The 83,295 records include one SCCD root-post fallback excluded from message counts, head fitting, and PCA. The 642 unlabeled training messages contribute only representation statistics. Heads use 47,516 attack, 7,147 hate, and 1,847 spam/scam labels, with ToxiCN attack-hate overlap. Features exclude source names, class IDs, and collection metadata.
Encoding and weights. We use paraphrase-multilingual-MiniLM-L12-v2. For T content tokens, 112-token blocks overlap by 16, giving blocks; empty text retains one block. With for nonzero v,
Character hashing preserves case, uses L2 normalization, and fits no vocabulary. For category , let count observed labels, contributing sources, observed classes in source , and their counts:
Weights average one. LIBLINEAR uses L2 regularization, C = 1, at most 1,000 iterations, and a regularized intercept with unit scaling.
Discussion summaries. The ten risk features are
(7)
SD uses the population denominator; quantiles use linear interpolation; the upper tail contains messages. PCA uses seeded randomized projections. For parent edge , and . Reply features are mean/SD/max of , mean/max of , and valid-edge fraction. Empty summaries are zero. Threshold ties favor the lower value.
Extractive grouping. Complete-link clustering uses threshold 0.35 and distance clip . It becomes one when exactly one message matches counter-speech patterns and the other reaches its attack a Held-out-source AP
| Char. | MiniLM | Joint | AP | |
|---|---|---|---|---|
| SCCD | 0.357 | 0.559 | 0.657 | 1.0 |
| CONDA | 0.309 | 0.560 | 0.633 | 0.5 |
| ToxiCN | 0.655 | 0.711 | 0.852 | 0.0 |
| HateBR | 0.610 | 0.929 | 0.954 | 0.0 |
b Joint – MiniLM

Figure 7 Cross-source attack AP and joint-minus-MiniLM gains.
threshold. Names exclude generic phrases and use one to four tokens, capped at 12 Chinese or 36 other characters. Negated or interrogative clauses remain whole up to 96 non-whitespace characters. For phrase , support count , group size , group count , and groups,
where excludes ordinary spaces. Ranking and substring suppression are deterministic. Excerpts retain spelling and half-open Unicode offsets. Fragments overlapping protected clauses are discarded; overlength clauses yield no replacement. Parent association requires nameless replies of at most 12 non-whitespace characters.
Reference fitting and metrics. XLM-R uses three epochs, AdamW at , weight decay 0.01, 10% warm-up, and batch size 32. Its 510-token blocks overlap by 64; block logits average before the loss. AP is over distinct descending thresholds, with ties entering together and . ROC-AUC counts positive-negative orderings with half credit for ties. Within repartitions, any calibration uses validation data. Confirmation outcomes inform neither hyperparameters nor evaluation stopping.
CPU scope. We use four threads on AMD64 Family 25 Model 97 with 15.18 GiB RAM. Encoder size is 499,561,295 bytes (476.419 MiB). Heads and summaries add 1,494,648 bytes (1.425 MiB), totaling 477.844 MiB. Tokenizers, configurations, and runtime dependencies are additional assets. Startup uses a fresh interpreter without OS page-cache eviction and records process/cache state.
B Budget Accounting and Uncertainty
Selection and display. Discussion ties follow identifiers; message ties follow source order, then identifiers. Selectors take the first messages per top- discussion. MMR uses
Display deduplicates identifiers. Character cost includes titles, evidence, added parents, headings, spaces, and punctuation. Character-capped diagnostics follow selector order, skipping candidates whose recomputed
Table 5 SCCD component removals. Each cell gives AP after removal above the complete-minus-removal difference. Complete-model message/discussion AP is 0.712/0.976.
| Removed | Message AP (Δ) | Discussion AP (Δ) |
|---|---|---|
| Characterfeatures | 0.597(+0.115) | 0.957(+0.019) |
| Messagesemantics | 0.524(+0.188) | 0.953(+0.023) |
| Discussionsemantics | 0.712(0) | 0.962(+0.014) |
| Reply | 0.712 | 0.959 |
| statistics | (0) | (+0.017) |
| Risk | 0.712 | 0.943 |
| statistics | (0) | (+0.033) |
| Source | 0.686 | 0.965 |
| balance | (+0.026) | (+0.011) |
Table 6 Model-evaluation coverage and agreement. Counts: independent + repeated discussions.
| Measure | Gemini | GPT-4o-mini |
|---|---|---|
| Raw-label discussions | 40+7 | 40+7 |
| Configuration discussions | 40+7 | 40+7 |
| Fixed-evidence discussions | 40+7 | 40+7 |
| First-attempt validity | ≥ 183/186 | ≥ 184/186 |
| Percentage (rounded) | 98.387 | 98.925 |
| Final response validity (%) | 100 | 100 |
| Repeat agreement, each dimension | 7/7 | 7/7 |
| Cross-judge raw-label agreement (n = 38 jointly known) | ||
| Positive-pair Jaccard | 0.713 | |
| All-pair agreement | 0.817 | |
| Exact act-set agreement | 0.863 | |
| Act-set Jaccard | 0.887 | |
cost exceeds the cap without re-ranking. Selected-evidence and displayed-message recall use separate numerators.
Dependencies and resampling. Duplicate links use NFKC normalization, case folding, whitespace removal, and equality or character-5-gram Jaccard ≥ 0.85; texts shorter than five characters require equality.
Paired bootstrap repeats discussions by sampled-cluster multiplicity. Each fitted seed reranks before selecting copies; recall retains the full dangerous-message denominator. Conditional on fitted models, ordinary percentile endpoints are 0.025 and 0.975; family-36 endpoints are 0.025/36 and , without cross-metric joint coverage. Evidence-only recall is bounded by , where counts discussion 's positives.
C Complete Controls and Sensitivity
Components and transfer. Discussion removals leave message AP unchanged because these features act downstream of its scorer (Table 5). Source and language co-vary in transfer (Figure 7).
D Judge Rubric and Evaluation Design
Rubric. Naming asks whether names express source-supported meaning; consistency, whether members share a subject; coverage, whether substantive messages, including ungrouped ones, are represented; stance,
Table 7 Additional evaluations and SCCD decision counts.
| Dimension | Observed result and scope |
|---|---|
| Development repartitioning | 10 cluster repartitions; Taskwise AP SD ≤ 0.009; ≥ 9/10 paired wins over MiniLM. Mean AP meets 0.712, 0.887, 0.986, 0.893, 0.879, 0.981. |
| SCCD threshold | Precision 0.719; recall 0.713; macro-F1 0.812. Counts: 8,028 messages, 1,960 positives. |
| External discussions | ≥ 2 sources; ≥ 200 independent discussions each. Per-source AP ≥ 0.913; paired gain over MiniLM ≥ 0.023. |
| Startup and assets | Loading ≤ 9.713 s; first request ≤ 1.837 s; matched hardware/cache. Encoder and learned assets: 477.844 MiB; other assets additional. |
| Human review | Median paired time ratio ≤ 0.727 (≥ 27.3% reduction); accuracy ≥ 0.947; missed risk ≤ 0.053; location success ≥ 0.973. |
| Case audit | 3 platforms; 12 independent discussions each. All tested identifier/span/parent mappings correct; semantic passes ≥ 33/36 (0.917). |
| Confirmatory comparisons | Designated paired AP/evidence-recall difference intervals have positive lower endpoints after family adjustment, using paired predictions and dependency clusters. |
| Gold | Pred. positive | Pred. negative | Total |
|---|---|---|---|
| Positive | 1,397 | 563 | 1,960 |
| Negative | 547 | 5,521 | 6,068 |
| Total | 1,944 | 6,084 | 8,028 |
whether attack, opposition, quotation, and neutrality are preserved; support, whether cited messages substantiate the output.
Instructions. Chinese prompts score anonymous candidates against source discussions without gold labels: 0 (substantive error), 1 (partly correct), 2 (adequate support), or unknown. Opposing stances within one topic preserve consistency. Known scores require reasons and locally validated message identifiers. Both judges use temperature zero, fresh contexts, and disabled tools; Gemini uses JSON MIME and GPT-4o-mini strict JSON Schema.
Paired comparisons. Figure 5 uses 35 jointly scoreable cases for semantic, no-parent, and no-counter-speech contrasts, 32 for BERTopic, and 34 for frequency naming and no-polarity. Means equal summed paired differences divided by jointly known counts, e.g., 8/35 = 0.229 after rounding. Failures, output changes, and requests are counted separately. A control whose output is identical to the complete module shares its assessment and is reported as unchanged.
Fixed-evidence comparisons use 36 jointly scoreable cases. Clarity, stance, and traceability difference sums are 8, 3, and 5 for Gemini and 10, 4, and 7 for GPT-4o-mini; division by 36 gives the means. Identical displays contribute zero.
Validity and agreement. Validity fractions in Table 6 express rates, not request totals. Valid responses may include unknowns; attempts and deduplicated requests are counted separately. Full-configuration repeats agree on every dimension (7/7).
Human semantic verification. For the panel in Appendix E, assessors independently compare anonymous outputs with sources for name meaning, stance, and claim-evidence support. Agreement is recorded before adjudication; all three checks must pass. Identifier and source-offset checks are separate (Table 7).
Human review. Human review follows Section 4. Time uses the median within-reviewer paired ratio and includes incorrect responses. Against independently adjudicated labels, accuracy covers all assigned binary decisions; missed-risk rate covers gold-positive decisions. Location success requires a correct message identifier and supporting span over all assigned queries. These denominators are separate from semantic cases and model judgments. Paired resampling preserves matched discussion pairs and repeated observations by reviewer and pair. Pilot variance and prespecified effects determine participant and task counts before the main study.
E Source-linked Review and Additional Evaluation

Figure 8 Source-linked evidence inspection and reply tracing.
Figure 8 uses Figure 3's off-benchmark Hacker News snapshot: 15 comments, 14 parent edges, and two deleted items excluded. Without retraining, seed 42 groups and as / flagging, with attack scores 0.092 and 0.619. Spans and recover the name; retains the intervening reply. Highlighting converts Unicode code-point offsets to JavaScript UTF-16 positions.
Cross-platform audit. The audit fixes platform, discussion-length, and stance-complexity strata before inspecting outputs and excludes training/development duplicates. Identifier, span, and parent-link recovery is checked separately from semantic support (Appendix D; Table 7), with the illustration's attack scores unchanged.
Additional evaluation. Table 7 follows Table 3's task order. Precision is 1397/1944 ≈ 0.718621, recall 1397/1960 ≈ 0.712755, and macro-F1 0.812167, averaging both class F1s. External sources fix risk definitions and source/duplicate identifiers and record prevalence; pilots set sample sizes before testing. Rates use exact counts or bounds before rounding; each evaluation retains its own sampling unit and corresponding denominator.
