计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400045-127.doi: 10.11896/jsjkx.260400045

• 人工智能 • 上一篇    下一篇

基于自监督流形重构与多视图交互注意力的中文敏感词检测

王炜嘉, 谢祥   

  1. 北京交通大学经济管理学院 北京 100044
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 谢祥(xxie@bjtu.edu.cn)
  • 作者简介:(23241061@bjtu.edu.cn)

Chinese Sensitive Word Detection Based on Self-supervised Manifold Reconstruction and Multi-view Interactive Attention

WANG Weijia, XIE Xiang   

  1. School of Economics and Management,Beijing Jiaotong University,Beijing 100044,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:WANG Weijia,born in 2005,undergra-duate.Her main research interests include information security and natural language processing.
    XIE Xiang,born in 1978,Ph.D,associate professor.His main research interests include natural language processing,big data analysis,and text mining.

摘要: 社交网络中的中文敏感词具有变体复杂、语境依赖性强、标注样本稀疏等特点,导致现有检测方法泛化能力不足。针对此问题,提出一种基于自监督流形重构与多视图交互注意力的检测方法(SSMR-MIA)。该方法通过双流编码器解耦文本的时序演化规律与局部空间结构,引入多头交互注意力机制实现多视图特征的对齐融合,并设计自监督重构约束迫使模型在有限样本下捕捉数据的实质生成逻辑。在此基础上,结合语义校准与熵正则化机制筛选关键特征通道,最终采用岭回归分类器实现稳健预测。在细粒度中文敏感词数据集上的实验结果显示,该方法F1分数达到95.75%;在k-shot(k=1,5,10,20,50)场景下的实验验证了其在标注稀疏条件下的有效性;在公开数据集COLDataset上的结果进一步证明了模型的泛化能力。

关键词: 敏感词检测, 自监督流形重构, 多视图交互注意力, 小样本学习, 语义校准

Abstract: Chinese sensitive words in social networks exhibit characteristics such as complex variants,strong contextual depen-dence,and sparse labeled samples,which lead to insufficient generalization ability of existing detection methods.To address these issues,this paper proposes a detection method based on Self-supervised Manifold Reconstruction and Multi-View Interactive Attention (SSMR-MIA).The method first constructs a dual-stream encoder to decouple the temporal evolution patterns and local spatial structures of text.A multi-head interactive attention mechanism is then introduced to align and fuse multi-view features in the latent space.A self-supervised manifold reconstruction constraint is designed to force the model to capture the intrinsic gene-rative logic of data under limited samples.On this basis,semantic calibration and entropy regularization mechanisms are combined to filter key feature channels,and a ridge regression classifier is finally adopted to achieve robust prediction.Experimental results on a fine-grained Chinese sensitive word dataset show that the proposed method achieves an F1 score of 95.75%.Experiments under k-shot settings (k=1,5,10,20,50) validate its effectiveness in sparse annotation scenarios.Results on the public dataset COLDataset further demonstrate the generalization capability of the proposed model.

Key words: Sensitive word detection, Self-supervised manifold reconstruction, Multi-view interactive attention, Few-shot learning, semantic calibration

中图分类号: 

  • TP391
[1] LI J Y,LI D.Social trust reshaping in the mobile social era:A dual examination of social interaction and information dissemination[J].Systems Engineering - Theory & Practice,2024,44(1):166-189.
[2] SUN LY,XU JW.Survey of Chinese toxic text detection in social media contexts [J].Application Research of Computers,2026,43 (1):11-22.
[3] DENG Y,XU J,LI Y J,et al.Method for Detecting Sensitive Chinese Words Containing Variant Characters Based on Error Detection[J/OL].https://link.cnki.net/urlid/31.1260.TP.20250709.1529.004.
[4] ZHOU H,SHEN Q H.Chinese sensitive words detection algorithm based on improved sound-character code[J].Journal of Nanjing University(Natural Sciences),2020,56(2):270-277.
[5] YANG S J,CUI S Y,HU C R,et al.Exploring Multimodal Challenges in Toxic Chinese Detection:Taxonomy,Benchmark,and Findings[C]//Findings of the Association for Compu-tational Linguistics:ACL 2025.2025:14382-14396.
[6] ASV'ANYIT.Invariants and string properties in the analysis of the knuth-morris-pratt algorithm[J].Acta Cybernetica,2025,27(1):5-14.
[7] LIY,LI C,JIAO Y,et al.Research on intrusion detection based on boyer-moorepattern matching algorithm[C]//Proceedings of the 2023 7th International Conference on Electronic Information Technology and Computer Engineering.2023:1490-1494.
[8] GUO Y,QIU Z,HUANG H,et al.Improved keyword recognition based on ahoocorasick automaton[C]//International Joint Conference on Neural Networks.2023:1-7.
[9] HANEEF F,SINDHU M A.IDLIQ:an incremental deterministic finite automaton learning algorithm through inverse queries for regular grammar inference[J].BigData,2024,12(6):446-455.
[10] TRAVNICEKJ,JANOUSEK J,MELICHAR B,et al.On modification of boyermoore-horspool’s algorithm for tree pattern matching in linearized trees[J].Theoretical Computer Science,2020,830/831:60-90.
[11] RAWAT R,RAJAS A,CHAKRAWARTIR K,et al.Enhancedcybercrime detection on twitter using aho-corasic algorithm and machine learning techniques[J].Informatica (Slovenia),2024,48(18):1-12.
[12] LIU Y X.Network Sensitive Word Detection Technology Based on DBNet and Improved Trie Tree Search[J].Automation & Instrumentation,2024(5):25-28.
[13] GAOJ,ZHAO H,WANG W,et al.Event autoaugment:Word-level data augmentation for textual event detection[J].Expert Systems with Applications,2025,288:127740.
[14] CHEN S,WANG J,HE K.Chinese cyberbullying detection using xlnet and deep Bi-LSTM hybrid model[J].Information,2024,15(2):93.
[15] REN C,LAN X,CHEN X,et al.A novel framework for Chinesepersonal sensitive information detection[J].Connection Science,2024,36(1):1-25.
[16] CHE W X,DOU Z C,FENG Y S,et al.Towards a comprehensive understanding of the impact of large language models on natural language processing:challenges,opportunities and future directions[J].SCIENTIA SINICA Informationis,2023,53(9):1645-1687.
[17] REN R X,ZHAO J H,SUN X K,et al.NLP-Based Review for Toxic Comment Detection Tailored to the Chinese Cyberspace[J].arXiv:2601.14721,2026.
[18] MA X C,YU J X,SHAO W M,et al.Breaking the Cloak! Unveiling Chinese Cloaked Toxicity with Homophone Graph and Toxic Lexicon[J].arXiv:2505.22184,2025.
[19] BAI Z W,YANG L,YIN S D,et al.STATE ToxiCN:A Benchmark for Span-level Target-Aware Toxicity Extraction in Chinese Hate Speech Detection[C]//Findings of the Association for Computational Linguistics:ACL 2025.2025:10206-10219.
[20] HUANG H P,ZHU J J,CHANG S Y,et al.CCDC:Counterfactual Contrastive Decoupling Framework for Chinese Toxic Text Detection[J/OL].https://kns.cnki.net/kcms2/article/abstr-act?v=kn2pS460sOP_i7U8dqO5ebGGyrsEgSGBKelL5F7pBcOR9hiQJt7G25-sgdsfnUGM0CO3lFc8wUb7m6gkIRbuHgihvZcbMnckvnvjvM_K0bhJNpGG-E98tvGDyJZ4phn2sDnIk7rstrsTa8klWpGDQGbJJtMTPlHaB3CHd9FPsuNF7HNhVEtevQ==&uniplatform=NZKPT&language=CHS.
[21] LIU Y.Depression detection via a Chinese social media platform:a novel causal relationaware deep learning approach[J].Journal of Supercomputing,2024,80(8):10327-10356.
[22] HOU S,QIAN Y,CHEN J,et al.Hierarchical mutual prompt for Chinese few-shot event detection[C]//Advanced Intelligent Computing Technology and Applications-20th International Conference.2024:389-397.
[23] ALAZBA A,ALJAMAAN H,ALSHAYEBM R.Cort:Trans-former-based code representations with self-supervision by predicting reserved words for code smell detection[J].Empirical Software Engineering,2024,29(3):59.
[24] DENG J,ZHOU J,SUN H,et al.COLD:A Benchmark for Chinese Offensive Language Detection[C]//Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.2022:11580-11599.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!