arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.05695cs.CL
收藏

一类文本异常检测的自监督损失

Self-Supervised Losses for One-Class Textual Anomaly Detection

University College London(伦敦大学学院);The Alan Turing Institute(艾伦·图灵研究所)

Kimberly T. Mai, Toby Davies, Lewis D. Griffin

摘要:

当前用于文本中异常检测的深度学习方法依赖于可能无法获得的内点中的监督信号或难以调整的定制架构。我们研究了一个更简单的替代方案:微调Transformers的内部数据与自我监督的目标,并使用的损失作为异常得分。总体而言,在各种异常检测场景下,自我监督方法优于其他方法,平均将语义异常的AUROC分数提高了11.6%,句法异常的AUROC分数提高了22.8%。此外,最佳目标和所得的学习表示取决于下游异常的类型。异常和内点的可分离性表示对于检测语义异常更有效,而窄特征方向的存在表示对于检测句法异常有效。

英文摘要:

Current deep learning methods for anomaly detection in text rely on supervisory signals in inliers that may be unobtainable or bespoke architectures that are difficult to tune. We study a simpler alternative: fine-tuning Transformers on the inlier data with self-supervised objectives and using the losses as an anomaly score. Overall, the self-supervision approach outperforms other methods under various anomaly detection scenarios, improving the AUROC score on semantic anomalies by 11.6% and on syntactic anomalies by 22.8% on average. Additionally, the optimal objective and resultant learnt representation depend on the type of downstream anomaly. The separability of anomalies and inliers signals that a representation is more effective for detecting semantic anomalies, whilst the presence of narrow feature directions signals a representation that is effective for detecting syntactic anomalies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑