Menu

A Japanese toxicity detector whose headline metric is not flagging legitimate criticism (Macro F1 0.975)
📰

A Japanese toxicity detector whose headline metric is not flagging legitimate criticism (Macro F1 0.975)

DEV Community: nlp·Japan Open Data Lab·11 days ago
#7XyhsiI7
#devtonlp#devto#dev#label#attack
Long article (817 words) — no AI summary yet.
Reading 0:00
15s threshold

TL;DR — We released ja-toxicity-guard-v1, a multi-label classifier that flags seven kinds of harmful Japanese text — insult, indirect attack, exposure intent, threat, discrimination, sexual harassment, self-harm signals. On a sealed test of 5,000 items it scores Macro F1 0.9747, and it flagged zero of 600 legitimate criticism texts. It also false-flags about 13–14% of argumentative and ordinary harmless text, which is why its stated job is sorting the human review queue — never automated removal. Apache 2.0, ONNX included, ~38–40 ms per item on CPU.

The design target was the false positive, not the catch rate. A moderation model that flags legitimate criticism, reporting, and quotation as abuse does more damage than the abuse it catches. So the headline measurement is split by harmless category: legitimate criticism 0.0000 (0 of 600), reporting and quotation 0.0083 (5 of 600) — and then, honestly, argument/metaphor/impression text 0.1317 and general harmless text 0.1450.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.