Since manually writing software exploits for offensive security is time-consuming and requires expert knowledge, AI-base code generators are an attractive solution to enhance security analysts' productivity by automatically crafting exploits for security testing. However, the variability in the natural language and technical skills used to describe offensive code poses unique challenges to their robustness and applicability. In this work, we present a method to add perturbations to the code descriptions to create new inputs in natural language (NL) from well-intentioned developers that diverge from the original ones due to the use of new words or because they miss part of them. The goal is to analyze how and to what extent perturbations affect the performance of AI code generators in the context of offensive code. First, we show that perturbed descriptions preserve the semantics of the original, non-perturbed ones. Then, we use the method to assess the robustness of three state-of-the-art code generators against the newly perturbed inputs, showing that the performance of these AI-based solutions is highly affected by perturbations in the NL descriptions. To enhance their robustness, we use the method to perform data augmentation, i.e., to increase the variability and diversity of the NL descriptions in the training data, proving its effectiveness against both perturbed and non-perturbed code descriptions.
Enhanced Offensive Language Detection Through Data Augmentation
Dartmouth College(达特茅斯学院)
检测社交媒体上的攻击性语言是一项重要任务。ICWSM-2020数据挑战任务2旨在使用包含10万条标记推文的众包数据集识别攻击性内容。然而,数据集存在类别不平衡,与其他类别相比,某些标签非常罕见(例如,仇恨类仅占数据的5%)。在这项工作中,我们提出了Dager(数据增强器),一个基于生成的数据增强方法,提高了不平衡和低资源数据,如攻击性语言数据集的分类性能。Dager提取给定类的词法特征,并使用这些特征来指导生成基于GPT-2的条件生成器。然后,可以将生成的文本作为增强数据添加到训练集中。我们表明,当我们使用整个数据集的1%进行训练(使用BERT进行分类)时,应用Dager可以将数据挑战的F1得分提高11%;此外,生成的数据也很好地保留了原始标签。我们在四种不同的分类器(BERT,CNN,Bi-LSTM with attention和Transformer)上测试了Dager,观察到检测的普遍改进,表明我们的方法是有效的,并且与分类器无关。
Zero-shot Code-Mixed Offensive Span Identification through Rationale Extraction
Georgia Institute of Technology(佐治亚理工学院);Data Science Institute, National University of Ireland Galway(爱尔兰国立高威大学数据科学研究所)
本文探讨了有效性的代码混合泰米尔语数据集上的zero-shot攻击跨度识别的双电平Transformers。更具体地说,我们评估合理的本地可解释模型不可知推理(LIME)\cite{DBLP:conf/kdd/Ribeiro0G16}和综合推理(IG)\cite{DBLP:conf/icml/SundararajanTY17}适应Transformer为基础的攻击性语言分类模型的zero-shot进攻跨度识别的提取方法。为此,我们发现LIME和IG显示基线$F_{1}$分别为26.35%和44.83%。此外,我们研究了数据集大小和训练过程对跨度识别整体准确性的影响。因此,我们发现LIME和IG在掩蔽数据增强和多标签训练中表现出显着的改善,$F_{1}$分别为50.23%和47.38%。\textit{Disclaimer : This paper contains examples that may be considered profane, vulgar, or offensive. The examples do not represent the views of the authors or their employers/graduate schools towards any person(s), group(s), practice(s), or entity/en…
Enhancing Effectiveness and Robustness in a Low-Resource Regime via Decision-Boundary-aware Data Augmentation
Chung-Ang University(中央大学);Graduate School of Advanced Imaging Sciences, Multimedia and Film, Chung-Ang University(中央大学高级影像科学、多媒体与电影研究生院);Department of Artificial Intelligence, Chung-Ang University(中央大学人工智能系)
VoteGCL: Enhancing Graph-based Recommendations with Majority-Voting LLM-Rerank Augmentation
Center for AI Research, VinUniversity(越南 Vin 大学人工智能研究中心);The Chinese University of Hong Kong(香港中文大学);RMIT University(皇家墨尔本理工大学);VNU University of Engineering and Technology(越南工程与技术大学)
Enhancing MR Image Segmentation with Realistic Adversarial Data Augmentation
Imperial College London(帝国理工学院);University of Edinburgh(爱丁堡大学);Fudan University(复旦大学);City, University of London(伦敦城市大学);Technical University of Munich(慕尼黑工业大学)
Enhancing Activity Recognition After Stroke: Generative Adversarial Networks for Kinematic Data Augmentation
Hadley Research, LLC(哈德利研究有限责任公司);Case Western Reserve University(凯斯西储大学);Louis Stokes Cleveland Department of Veterans Affairs Medical Center(路易斯·斯托克斯克利夫兰退伍军人事务部医疗中心)
HarmAug: Effective Data Augmentation for Knowledge Distillation of Safety Guard Models
KAIST(韩国科学技术院);Theori;Université de Montréal(蒙特利尔大学);Mila – Québec AI Institute(米拉-魁北克人工智能研究所);Technische Hochschule Nürnberg Georg Simon Ohm(纽伦堡应用技术大学);CIFAR AI Chair(加拿大高级研究所人工智能主席项目)
Enhancing Noise Robustness of Parkinson's Disease Telemonitoring via Contrastive Feature Augmentation
Ministry of Education Key Laboratory of Bioinformatics, Department of Automation(教育部生物信息学重点实验室、自动化系);Tsinghua University(清华大学);School of Computing and Artificial Intelligence(计算与人工智能学院);Fuyao University of Science and Technology(福耀科技大学);National Engineering Laboratory for Big Data System Computing Technology(大数据系统计算技术国家工程实验室);Shenzhen University(深圳大学);School of Computer Science and Engineering(计算机科学与工程学院)