arXiv:2501.09722cs.CLcs.LG2025-01被引 2

用注意力机制提升双向GRU模型,识别乌尔都语不当内容

Attention based Bidirectional GRU hybrid model for inappropriate content detection in Urdu language

  • 引入注意力机制增强双向GRU,捕捉长距离依赖
  • 无预训练词向量时达84%准确率,优于LSTM等基线模型
  • 适合处理拼写不一、中英混杂的南亚语言文本

随着互联网和社交媒体的普及,网络平台上的有害不当内容传播日益严重。尽管已有多种语言的相关研究,但针对南亚语言如乌尔都语的深度学习方法仍较少。乌尔都语存在拼写不统一、同词多形及中英混杂等问题,给文本处理带来挑战。本文提出一种基于注意力机制的双向GRU混合模型(BiGRU-A),用于识别乌尔都语中的不当内容。实验对比了LSTM、Bi-LSTM、GRU和TCN四种基线模型,采用预训练的乌尔都语word2Vec词向量。结果表明,所提模型在未使用预训练词向量时达到84%准确率,显著优于其他模型;同时发现,预训练词向量在该任务上效果不佳。

原文摘要 · Abstract (English)

With the increased use of the internet and social networks for online discussions, the spread of toxic and inappropriate content on social networking sites has also increased. Several studies have been conducted in different languages. However, there is less work done for South Asian languages for inappropriate content identification using deep learning techniques. In Urdu language, the spellings are not unique, and people write different common spellings for the same word, while mixing it other languages, like English in the text makes it more challenging, and limited research work is available to process such language with the finest algorithms. The use of attention layer with a deep learning model can help handling the long-term dependencies and increase its efficiency . To explore the effects of the attention layer, this study proposes attention-based Bidirectional GRU hybrid model for identifying inappropriate content in Urdu Unicode text language. Four different baseline deep learning models; LSTM, Bi-LSTM, GRU, and TCN, are used to compare the performance of the proposed model. The results of these models were compared based on evaluation metrics, dataset size, and impact of the word embedding layer. The pre-trained Urdu word2Vec embeddings were utilized for our case. Our proposed model BiGRU-A outperformed all other baseline models by yielding 84\% accuracy without using pre-trained word2Vec layer. From our experiments, we have established that the attention layer improves the model's efficiency, and pre-trained word2Vec embedding does not work well with an inappropriate content dataset.

文本分类注意力机制乌尔都语深度学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。