Skip to content

SeTox: A Search-Enhanced LLM Framework for Consensus-Based Toxicity Detection of Chinese NeologismsNew Terms, New Toxicity: Consensus-based Chinese Neologism Toxicity Detection via Search-Augmented LLMs

arXiv· arXiv:2608.12361· ACL 2026· Shiyao Cui, QingLin Zhang, Di Wang, Yida Lu, Zhexin Zhang, Jinhua Gao, Jinglin Yang, Min He, Han Qiu, Minlie Huang·Indexed by this site · 2026-10-01· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose SeTox, which uses retrieval augmentation to enable static LLMs to detect implicit toxicity in Chinese neologisms; on the neologism test set, SeTox-Qwen2.5-7B achieves a DR of 92.86%.

Questions
Chinese online new words are often literally harmless but have already carried implicit toxicity in public consensus, and existing moderation services struggle to identify them. The authors report that in a pilot of 50 sentences, common moderation services have a detection rate below 20%.
Methods
The authors first establish a taxonomy by source and five risk categories, and use retrieval results for consensus verification, compiling a word list of 974 entries. SeTox trains the LLM to call search at suspected new words and give safety labels and explanations combined with public web page context.
Experiments and results
In Table 2, SeTox-Qwen2.5-7B achieves a DR. of 92.86% and Acc. of 94.07% on the neologism test set, higher than Gemini-3-flash-preview's 91.83% and Qwen3-Max's 85.84%. Without search, DR. drops to 87.63% (Table 3).
Limitations and future work
The authors state in Limitations that it only supports single-round search, text-only, and Chinese-only, and plan to extend to other languages and modalities. The experiments cover a lexicon of 974 entries, a neologism test set of 624 entries, a general test set of 368 entries, and a human explanation evaluation of 100 sentences.
Experimental setupSeTox-Qwen2.5-7B、SeTox-Qwen2.5-3B et al. · Neologism test set、General test set (CHSD) et al. · DR.、KDR. et al.
Evaluated models
SeTox-Qwen2.5-7BSeTox-Qwen2.5-3Binternlm2-5-7B-chatGLM-4-9B-chat
Benchmarks
Neologism test setGeneral test set (CHSD)ToxiCN自建毒性新词词表
Metrics
DR.KDR.UDR.Acc.F1-UnsafeF1-SafeHard MatchSoft Match
AI summaryFor new words such as "country girl" that appear harmless on the surface but have evolved into toxic usage in public consensus, the researchers propose a taxonomy and a risk word list, and build a search-augmented framework SeTox that connects static large language models to real-time web context to detect the toxicity of new words. Experiments show that SeTox outperforms recent large-scale models even with a 3B model, indicating that it can scalably incorporate real-world knowledge for toxic new word detection. This work was published at ACL 2026.

For new words such as "country girl" that appear harmless on the surface but have evolved into toxic usage in public consensus, the researchers propose a taxonomy and a risk word list, and build a search-augmented framework SeTox that connects static large language models to real-time web context to detect the toxicity of new words. Experiments show that SeTox outperforms recent large-scale models even with a 3B model, indicating that it can scalably incorporate real-world knowledge for toxic new word detection. This work was published at ACL 2026.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Detect implicit toxicity in Chinese neologisms that are literally harmless but have a toxic public consensus.

    How to identify implicit toxicity expressed through new words.

    • Scenario: The authors state that a neologism is a new lexical item in meaning or form that can carry toxicity in public consensus, for example, literally neutral but used for stigmatization or derogation. Unlike explicit toxicity that relies on profanity or abusive words, such expressions are often literally harmless and change quickly, making them difficult to pre-write into rules.
    • Existing shortcomings: The authors report that in a pilot of 50 sentences containing such new words, common moderation services have a detection rate below 20%, including Google Perspective API and Baidu moderation API. The authors believe that static rules or static models struggle to keep up with semantic evolution, and online moderation is difficult to retrain frequently.
    • Core observation: The authors believe that a new word should only be considered toxic when the harmful meaning has stabilized in community consensus; otherwise, toxicity would be overestimated. Public web text can reflect usage frequency and semantic patterns, and search engines can aggregate and rank this content, serving as consensus evidence.
    • This paper proposes: A taxonomy and consensus verification criteria, a word list of 974 toxic new words covering five risk categories, and the retrieval-augmented framework SeTox, which lets a static LLM call search at test time and use real-time web context for toxicity judgments.
  2. What related research exists?

    Related work is divided into new word understanding and toxicity detection; the authors state that new word toxicity detection is still rarely studied.

    The authors divide related work into two groups in Section 6.

    New Word Understanding

    • Cross-lingual and domain studies: The authors state that new words affect language evolution in English (Zhu and Jurgens, 2021), Hebrew (Mizrahi et al., 2020), and Chinese (Zheng et al., 2024); domain work includes news (Pinter et al., 2020), cybersecurity (Li et al., 2021), and scientific discourse (Lerner and Yvon, 2025).
    • LLMs and new words: Huang et al. (2025) and Zheng et al. (2024) study how LLMs understand new words; NEO-BENCH (Zheng et al., 2024) evaluates LLM robustness to new words. The authors state that these works make progress on general semantics, while the toxicity of new words and its detection are less explored.

    Toxic Language Detection

    • Multilingual detection: English (Garg et al., 2023), French (Delaval et al., 2025), Russian (Bogoradnikova et al., 2021), and Chinese (Rao et al., 2023). Early work mainly used BERT classifiers (Vidgen et al., 2021; Deng et al., 2022; Lu et al., 2023) or commercial APIs (Lees et al., 2022; Markov et al., 2023).
    • Implicit toxicity: The authors state that recent toxicity increasingly appears without explicit offensive words, including coded terms (Bai et al., 2025c), perturbations (Xiao et al., 2024), and metaphors (Zeng et al., 2025), with LLM benchmarks (Delaval et al., 2025; Yang et al., 2025). The authors state that few works study new word toxicity detection, and this task requires up-to-date knowledge, while online moderation cannot be retrained frequently and requires efficiency.

    Baselines and data sources: Experimental baselines include Perspective API, Baidu/Tencent/Aliyun moderation APIs, and prompt-only, search-disabled GPT-4o, Gemini-3-flash-preview, Qwen3-Max, Deepseek-r1, Qwen2.5-72B-Instruct, Qwen2.5-7B-Instruct, Qwen3-8B, GLM-4.5-Air. Appendix B additionally compares LlamaGuard3 and ShieldLM-Qwen14B. Data involves ToxiCN, State ToxiCN, CHSD.

    The authors position this paper as a systematic study of toxicity carried by new words: compiling a word list with annotated metadata, and using search tools to adapt lightweight static models to rapidly changing expressions.

  3. How does the paper address this problem?

    Build a 974-entry word list through consensus verification, then train SeTox to search on demand and give labels and explanations.

    Overall, the authors first establish source and risk taxonomies and public consensus criteria, then obtain the word list through candidate collection, retrieval verification, and manual review, and finally use joint training to let SeTox call search at suspected new words and output labels and explanations. Formally, Y = M(s, E): given input sentence s, model M can use external search tool E and outputs result Y with label and explanation.

    Taxonomy and Consensus Criteria

    • Sources: Section 2.1 divides into four categories: online communities, media and entertainment, public events, culture and folk.
    • Characteristics: Literally harmless, dynamically evolving semantics, dependent on consensus; when consensus has not formed, it should not be judged toxic.
    • Verification: Use a search engine (Google is given as an example in the text) to take the first page of retrieval results; if a toxic meaning or usage can be identified from them, it is considered that public toxic consensus has formed. In the word list construction stage, the first 9 results of a Google search for the word are used, especially the snippets.
    • Risks: Derogatory attacks, sensitive topics, unethical behavior, adult content, illegal activities.

    Word List Construction

    • Candidates: Collected from three routes. Crowdsourcing platforms include Meme Wiki, Meme VIP, Moegirlpedia; from State ToxiCN and ToxiCN, extract words in toxic sentences that are annotated but harmless on the surface; from comments on controversial Weibo topics, use existing seed words and sentences as examples and have Qwen3-8B identify potential new words. Appendix I.1 gives this identification prompt.
    • Toxicity judgment: Give the first 9 retrieval snippets to Qwen3-Max to judge whether the word is harmless or can be used for a predefined risk category. Appendix I.2 gives the full prompt. Words judged unsafe enter the word list.
    • Metadata: Qwen3-Max generates the common meaning, current meaning, source, semantic drift explanation, and example sentences based on open-domain retrieval context. Appendix I.3 gives the full prompt. Table 1 gives an example.
    • Quality control: The authors and colleagues, 4 annotators in total (Appendix D: native Chinese speakers, ages 22–37, from three provinces, education from bachelor's to PhD), do two rounds of review. The first round checks toxicity and metadata, with collective decisions to keep or delete disputed items and manual correction of errors; the second round has different people review. Final 974 entries.

    Training Data and Objectives

    • Three types of samples: Metadata example sentences from the word list form toxic new word samples; harmless new word sentences (e.g., a usage meaning "always the best") are also written to avoid over-judging unsafe; general safe and unsafe sentences without new words are added.
    • Training set: 1,595 entries in total. Safe: 811 entries (300 general samples filtered from ToxiCN, 511 harmless new word sentences); unsafe: 784 entries (484 unsafe new word sentences from the word list, 300 general unsafe sentences from CHSD). The 484 entries are sampled from model-known and model-unknown groups divided using Qwen2.5-7B-Instruct as the anchor.
    • Explanation supervision: For new word samples, Qwen3-Max generates the rationale from the sentence, label, and retrieval context; for general samples, only a brief sentence-based explanation is generated according to the label. Appendix I.4 gives the full prompt.
    • Loss: For new word samples, the loss is conditioned on the retrieval term t and retrieval results R; for general samples, Y is predicted directly. Optimization only applies to the model-generated tokens corresponding to tool calls, safety labels, and explanations. t and R are pre-collected in the training data.

    Training, Inference, and Judgment

    • Main model: Trained with Qwen2.5-7B-Instruct, batch size 32, max length 4096, AdamW, initial learning rate 1e-5, 4 epochs, 4 A100s, and the last checkpoint is used for testing.
    • Inference: When encountering ambiguous or possibly new word meanings, adaptively locate candidate words and call search, giving an end-to-end judgment. Appendix F: bfloat16, temperature 0.3, max_new_tokens 1024, do_sample True, top_k 20, num_beams 1, search_max_rounds 5.
    • Known/unknown division: Use the anchor model to explain each new word's meaning, and humans judge whether the explanation captures the emerging semantics; if so, it is model-known, otherwise model-unknown. Appendix I.5 gives the division prompt.
    • Correctness: A predicted label matching the ground truth safety label is correct. For unsafe new word samples, DR., known word KDR., and unknown word UDR. are reported; Acc. and F1 for both classes are reported for safe and unsafe together.
  4. What experiments did the paper conduct?

    On the new word set, SeTox-7B's DR. is 92.86%, higher than the listed larger or newer prompt baselines.

    Experimental Setup

    • Models and Services: The moderation APIs are Perspective-API, Baidu-API, Tencent-API, Aliyun-UGC-API, Aliyun-COM-API. The prompt baselines are GPT-4o, Qwen2.5-7B-Instruct, Qwen2.5-72B-Instruct, Deepseek-r1, Qwen3-8B, GLM-4.5-Air, Qwen3-Max, Gemini-3-flash-preview, all prompt-only with search disabled. Appendix B additionally evaluates LlamaGuard3, ShieldLM-Qwen14B. Transfer experiments involve internlm2-5-7B-chat, GLM-4-9B-chat and the Qwen series; the specific model list in Figure 3 is not enumerated in the main text of the paper.
    • Test Sets: The new word test set has 624 items, including 490 unsafe and 134 safe where the new word has benign semantics; among these, for Qwen2.5-7B-Instruct, model-known is 319 and model-unknown is 305. The general test set comes from CHSD, with 368 safe and unsafe samples in total, manually verified as non-new-word toxicity. The paper does not separately give the counts of safe and unsafe among the 368.
    • Metrics: A label matching the ground truth is correct. DR. is the detection rate of unsafe samples containing new words; KDR. and UDR. correspond to known and unknown words, respectively. Acc., F1-Unsafe, and F1-Safe are also reported. Appendix A reports Hard Match and Soft Match.
    • Training and Repetition: The main results correspond to the configuration in Section 5.1. The three runs in Appendix F have Acc. of 94.55%, 94.07%, and 93.43%, with an average of 94.02%; the main text uses the median.

    Main Results

    According to Table 2 (new word test set / general test set):

    Swipe horizontally to read the table

    ModelNew Word DR.New Word Acc.New Word F1-UnsafeGeneral Acc.
    Perspective-API5.9225.8011.1373.91
    Baidu-API0.0021.470.0055.43
    Tencent-API16.5333.5028.0772.01
    Aliyun-UGC-API26.3241.5041.4149.45
    Aliyun-COM-API21.2236.8534.5568.47
    Qwen2.5-7B-Instruct62.1070.4375.7693.17
    Gemini-3-flash-preview91.8392.9495.3391.82
    SeTox-Qwen2.5-7B92.8694.0796.0993.21

    The new word DR. of the remaining models in Table 2: GPT-4o 55.82, Qwen2.5-72B-Instruct 77.50, Deepseek-r1 80.40, Qwen3-8B 76.96, GLM-4.5-Air 78.77, Qwen3-Max 85.84. SeTox's KDR. is 91.73 and UDR. is 94.07; Gemini-3-flash-preview's KDR./UDR. is 92.12/91.52.

    • Authors' interpretation: All APIs and models have lower metrics on the new word subset than on the general subset. The authors state that the timeliness of knowledge affects new word detection, and LLMs released more recently are generally better on new words.
    • Authors' interpretation: The 7B-level SeTox with search outperforms the newer and larger GLM-4.5-Air (which the authors state is 106B, released 2025-07) and gemini-3-flash-preview (which the authors state was released 2025-11). On the general set, SeTox Acc. is 93.21, similar to most large models around 92–93; Aliyun-UGC-API's general Acc. is 49.45, and the pattern of its gap being lower than its new word Acc. does not apply to all APIs.
    • Appendix B (Table 5, Accuracy %): LlamaGuard3 is 25.0 on the new word set and 67.9 on the general set; ShieldLM-Qwen14B is 81.3 and 93.40; SeTox is 94.07 and 93.21. The authors state that dedicated safety models decline on new words, while SeTox is higher on both types of sets.

    Ablations, Transfer, and Case Analysis

    • Removing search (Table 3): SeTox-7B's DR./KDR./UDR. drops from 92.86/91.73/94.07 to 87.63/90.71/85.19. The authors state the decline is less drastic than expected because the training data includes analyses of retrieval results, so the model still partially learns potential toxic meanings, but the explanations are often incorrect. The text gives an example of a homophone: after removing search, the classification is still correct, but the explanation interprets it literally.
    • Cross-model (Figure 3, Section 5.6): The authors state that on internlm2-5-7B-chat, GLM-4-9B-chat, and the Qwen series, SeTox improves new word toxicity detection; larger models gain more, which the authors believe may relate to stronger pretrained knowledge and tool-calling and retrieval reasoning abilities. The authors state that even 7B-level SeTox still exceeds Gemini-3-flash-preview and Qwen3-Max. The specific values of the points in the figure are not listed in the main text.
    • Cases (Figure 4): The authors state that in case 1, a word appeared at the 2024 Spring Festival Gala, the base Qwen2.5-7B-Instruct has a knowledge cutoff of 2023-10, the base gives a fabricated meaning and judges incorrectly, while SeTox-7B identifies the derogatory usage after retrieval and judges it toxic. In case 2, both judge it unsafe, but the base understands the phrase as physical health, while SeTox identifies it as a mocking online usage. Appendix G / Figure 8: The authors state that SeTox can identify the potentially discriminatory meaning of a word while judging the whole sentence safe.

    Sources, Risks, and Human Evaluation

    • Figure 5, Figure 6: The authors state that relative to Qwen-2.5-7B-Instruct, SeTox improves detection on both the source and risk dimensions. Culture and folk sources are the easiest, which the authors believe enter common usage earlier and may already be in pretraining data; media and entertainment are the hardest, which the authors believe are newer. Derogatory attacks are the hardest, which the authors believe often come from media, entertainment, and online communities and evolve quickly. The specific percentages for each category in the figures are not given in the main text.
    • Errors (Figure 7): Three types. Context misreading: the derogatory usage is identified, but the surrounding cute/playful context pulls the whole sentence to safe. Standard misalignment: the homophone referent is identified, but it is not treated as illegal dissemination and is judged safe. Span mismatch: the retrieval span is cut incorrectly, missing the offensive expression. The authors state that span errors are rare, with over 90% of words correctly located (Appendix A).
    • Human evaluation (Appendix C): 100 random new word sentences, half toxic and half benign. Annotators judge whether the label and explanation faithfully reflect the toxicity in context. On average, SeTox-7B/3B have 92.0% and 91.5% of cases with faithful and consistent analyses, respectively.

    Other Ablations and Analyses

    • Span matching (Table 4): SeTox-Qwen2.5-7B's Soft/Hard Match is 90.87%/74.68%; SeTox-Qwen2.5-3B is 92.63%/75.32%. The authors state that the 7B span is slightly weaker but sentence-level detection is higher, believing it can better combine sentence context with retrieved evidence.
    • Three inferences (Table 7): New word test set Acc. is 94.55, 94.07, 93.43, with an average of 94.02; the main text uses the median.
    • 3B scale: The abstract states that even 3B-level SeTox exceeds recent large-scale models; Table 4 and Appendix C give the 3B matching rates and human faithfulness ratios, while the main table in the main text does not separately list the 3B DR./Acc.
  5. What are some points that can be further explored?

    The authors note that it is single-round search, text-only, and Chinese-only, and plan to expand to other languages and modalities.

    Limitations and future directions noted by the authors

    • Single-round search (Limitations): Current SeTox only supports single-round tool calls, which may be insufficient for scenarios requiring multi-step reasoning or repeated interaction with external knowledge; the authors leave multi-round reasoning as future work.
    • Single modality (Limitations): The work only covers textual neologisms; the authors state that implicit toxicity is increasingly appearing in combinations of text, images, or videos such as memes, and plan to extend SeTox to multimodal toxicity detection.
    • Chinese-only (Limitations): The data mainly comes from Chinese social media (e.g., Weibo). The authors acknowledge that other languages also have neologism-based toxicity, leave cross-lingual generalization as future work, and state that the framework is theoretically language-agnostic.
    • Other languages and modalities (Conclusion): The authors write that future work will extend the research to other languages and modalities.
    • Pre-release review (Ethical Considerations): Before public data release, the authors plan to conduct careful review. This section also states that examples are only for controlled moderation scenarios and deployment outside such scenarios is not encouraged.

    Experimental coverage

    • Lexicon and splits: The lexicon has 974 entries, reviewed in two rounds; neologisms are divided into model-known and model-unknown relative to Qwen2.5-7B-Instruct. The neologism test set has 624 entries (490 unsafe, 134 safe; 319 known, 305 unknown), and the general set has 368 entries from CHSD.
    • Training and main comparison: The training set has 1,595 entries; the main model is Qwen2.5-7B-Instruct. Table 2 compares 5 moderation APIs and 8 prompt-only LLMs. Appendix B includes LlamaGuard3 and ShieldLM-Qwen14B.
    • Analysis scope: Table 3 is the ablation without search; Figure 3 reports transfer across model families and sizes, naming internlm2-5-7B-chat, GLM-4-9B-chat, and the Qwen series in the text; Figures 5 and 6 compare base models and SeTox by four source categories and five risk categories, with specific bar heights not listed in the text; Figure 7 shows three error types.
    • Matching and human evaluation: Appendix A reports Hard/Soft Match for 7B and 3B; Appendix C evaluates explanation faithfulness on 100 sentences (7B 92.0%, 3B 91.5%). Appendix F reports three runs.
    • Not reported in the paper: Point-by-point values for Figures 3, 5, and 6; complete results for the 3B model on the same metrics as Table 2; specific query counts and latency of the search engine at inference; inter-annotator agreement coefficients.
  6. Summarize the main content of the paper

    SeTox uses retrieval to connect public consensus to static LLMs for detecting toxic Chinese new words.

    SeTox studies implicit toxicity detection on Chinese neologisms: a lexicon plus retrieval augmentation enables static LLMs to leverage public web context without retraining.

    • Problem: Neologisms can acquire harmful usages through consensus, but their literal meaning is often harmless and changes quickly. In the authors' 50-sentence pilot, services such as Perspective API and Baidu moderation API had detection rates below 20%. The authors argue that a term should only be flagged as toxic if its harmful meaning has formed a public consensus.
    • Resources: Four sources, five risk categories; candidates come from meme encyclopedias, ToxiCN/State ToxiCN, and Weibo comments, filtered and annotated using the top 9 Google search results and Qwen3-Max, then reviewed in two rounds by 4 annotators, yielding a 974-entry lexicon.
    • Method: Trained on 1,595 samples with Qwen2.5-7B-Instruct. Neologism samples learn to locate the candidate term, call search, and provide labels and explanations based on retrieved evidence; general samples are judged directly. At inference, temperature is 0.3, with up to 5 search rounds configured as described in Appendix F, but the Limitations state the implementation is a single-round call.
    • Results: On the neologism test set in Table 2, SeTox-Qwen2.5-7B achieves DR. of 92.86%, UDR. of 94.07%, and Acc. of 94.07%, higher than Gemini-3-flash-preview's DR. of 91.83% and Qwen3-Max's 85.84%; Baidu-API has a DR. of 0.00 and Perspective-API 5.92%. Without search, DR. is 87.63% (Table 3). In a 100-sentence human evaluation, the explanation faithfulness ratios for 7B/3B are 92.0%/91.5%.
    • Authors' conclusion: The authors believe SeTox enables 7B- and even 3B-scale models to surpass larger static models on emerging toxic expressions, suitable for online moderation that cannot be frequently retrained. Future directions include multi-round retrieval, other languages, and multimodality. Error types include context misreading, inconsistency between safety standards and legal norms, and incorrect retrieval span segmentation.
Read originalACL 2026