DATE:通过Transformers的自我监督检测文本中的异常
DATE: Detecting Anomalies in Text via Self-Supervision of Transformers
摘要:
利用深度学习模型进行异常检测(AD)近年来得到了广泛的应用,因为它比传统方法具有更好的性能。最近针对图像异常的深度方法在端到端的自监督设置中学习了更好的正常特征。这些方法训练模型来区分应用于视觉数据的不同变换,然后使用输出来计算异常分数。我们使用这种方法在文本中的广告,通过引入一个新的借口任务的文本序列。我们端到端地学习我们的DATE模型,强制执行两个独立和互补的自我监督信号,一个在令牌级别,一个在序列级别。在这个新的任务制定下,我们在20个新闻组和AG新闻数据集上显示了强有力的定量和定性结果。在半监督设置中,我们分别比最先进的结果高出+13.5%和+6.9%(AUROC)。在无监督配置中,即使10%的训练数据被离群值污染(与其他方法的0%相比),DATE也优于所有其他方法。
英文摘要:
Leveraging deep learning models for Anomaly Detection (AD) has seen widespread use in recent years due to superior performances over traditional methods. Recent deep methods for anomalies in images learn better features of normality in an end-to-end self-supervised setting. These methods train a model to discriminate between different transformations applied to visual data and then use the output to compute an anomaly score. We use this approach for AD in text, by introducing a novel pretext task on text sequences. We learn our DATE model end-to-end, enforcing two independent and complementary self-supervision signals, one at the token-level and one at the sequence-level. Under this new task formulation, we show strong quantitative and qualitative results on the 20Newsgroups and AG News datasets. In the semi-supervised setting, we outperform state-of-the-art results by +13.5% and +6.9%, respectively (AUROC). In the unsupervised configuration, DATE surpasses all other methods even when 10% of its training data is contaminated with outliers (compared with 0% for the others).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。