arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14429cs.CRcs.CL
收藏

安全分类任务中用于数据增强的文本生成

Text generation for dataset augmentation in security classification tasks

Alexander P. Welsh, Matthew Edwards

AI总结:

针对安全分类任务中正类样本不足导致分类器性能下降的问题,评估GPT-3文本生成用于数据增强,发现其微调策略在样本受限时显著提升多种安全检测分类器的性能。

摘要:

安全分类器旨在检测计算机系统和通信中的恶意内容,在训练数据不足时性能可能下降。安全领域容易获取负类(良性)样本,但难以找到足够的正类(恶意)样本来训练有效分类器。本研究评估了自然语言文本生成器在多个安全相关文本分类任务中填补数据缺口的应用。我们为此描述了多种此前未被研究的语言模型微调方法,并特别考虑了训练集中不成比例的类别不平衡的影响。在使用针对攻击性语言检测、评论欺诈检测和SMS垃圾短信检测的三种最先进分类器进行的评估中,我们发现,使用GPT-3数据增强策略训练的模型,其性能优于未使用增强训练的模型以及使用当前常用基础数据增强策略训练的模型。特别是在已知正类样本严重受限的情况下,我们发现GPT-3数据增强策略具有显著优势。

英文摘要:

Security classifiers, designed to detect malicious content in computer systems and communications, can underperform when provided with insufficient training data. In the security domain, it is often easy to find samples of the negative (benign) class, and challenging to find enough samples of the positive (malicious) class to train an effective classifier. This study evaluates the application of natural language text generators to fill this data gap in multiple security-related text classification tasks. We describe a variety of previously-unexamined language-model fine-tuning approaches for this purpose and consider in particular the impact of disproportionate class-imbalances in the training set. Across our evaluation using three state-of-the-art classifiers designed for offensive language detection, review fraud detection, and SMS spam detection, we find that models trained with GPT-3 data augmentation strategies outperform both models trained without augmentation and models trained using basic data augmentation strategies already in common usage. In particular, we find substantial benefits for GPT-3 data augmentation strategies in situations with severe limitations on known positive-class samples.

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

↑