NLRG在SemEval-2021任务5:利用基于BERT的Token分类和跨度预测技术的有毒跨度检测
NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniques
摘要:
文本的毒性检测是近年来自然语言处理的一个热门课题。在SemEval-2021任务-5毒性跨度检测中,重点是检测通道内的毒性跨度。大多数最先进的跨度检测方法采用各种技术,其中的每一种可以大致分为令牌分类或跨度预测方法。在我们的论文中,我们探讨了这两种方法的简单版本及其在任务中的表现。具体地说,我们使用基于BERT的模型-- BERT、RoBERTa和Span BERT。我们还结合这些方法并对其进行修改,以改进毒性跨度预测。为此,我们调查结果的四种混合方法-多跨度,跨度+令牌,LSTM-CRF,并结合预测偏移使用工会/交集。此外,我们进行了彻底的消融分析和分析我们观察到的结果。我们最好的提交-SpanBERT Span Predictor和RoBERTa Token Classifier预测的组合-在测试集上获得了0.6753的F1分数。我们最好的评估后F1分数是0.6895,来自前3个RoBERTa令牌分类检查点的预测偏移量的交叉点。这些方法比共享基线模型RNNSL和SpaCy NER的性能平均提高了3%。
英文摘要:
Toxicity detection of text has been a popular NLP task in the recent years. In SemEval-2021 Task-5 Toxic Spans Detection, the focus is on detecting toxic spans within passages. Most state-of-the-art span detection approaches employ various techniques, each of which can be broadly classified into Token Classification or Span Prediction approaches. In our paper, we explore simple versions of both of these approaches and their performance on the task. Specifically, we use BERT-based models -- BERT, RoBERTa, and SpanBERT for both approaches. We also combine these approaches and modify them to bring improvements for Toxic Spans prediction. To this end, we investigate results on four hybrid approaches -- Multi-Span, Span+Token, LSTM-CRF, and a combination of predicted offsets using union/intersection. Additionally, we perform a thorough ablative analysis and analyze our observed results. Our best submission -- a combination of SpanBERT Span Predictor and RoBERTa Token Classifier predictions -- achieves an F1 score of 0.6753 on the test set. Our best post-eval F1 score is 0.6895 on intersection of predicted offsets from top-3 RoBERTa Token Classification checkpoints. These approaches improve the performance by 3% on average than those of the shared baseline models -- RNNSL and SpaCy NER.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。