arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2207.10569cs.CL
收藏

基于强化学习的聊天机器人攻击性语义审查系统

A Reinforcement Learning-based Offensive semantics Censorship System for Chatbots

Shanghai Maritime University(上海海事大学);Institut Polytechnique de Paris(巴黎理工学院);Sun Yat-sen University(中山大学)

Shaokang Cai, Dezhi Han, Zibin Zheng, Dun Li, NoelCrespi

摘要:

人工智能(AI)技术的快速发展,使得大规模的AI应用落地市场和实践。然而,AI技术在产品化过程中给人们带来诸多便利的同时,也暴露出了诸多安全问题。特别是针对聊天机器人在线学习漏洞的攻击频繁发生。为此,本文提出了一种基于强化学习的语义审查聊天机器人系统,该系统主要由攻击性语义审查模型和语义净化模型两部分组成。攻击性语义审查可以结合用户输入句子的上下文来检测攻击性语义的快速演变并响应攻击性语义响应。语义净化模型对于已经被大量攻击性语义污染的聊天机器人模型,通过加强学习算法学习到的攻击性回复,而不是回滚到早期版本。此外,通过集成一次性学习方法,加快了语义净化的速度,同时降低了对回复质量的影响。实验结果表明,该方法降低了聊天模型产生攻击性回复的概率,并且结合了少样本学习算法,在有效减缓BLEU值下降的同时,快速提高了训练速度.

英文摘要:

The rapid development of artificial intelligence (AI) technology has enabled large-scale AI applications to land in the market and practice. However, while AI technology has brought many conveniences to people in the productization process, it has also exposed many security issues. Especially, attacks against online learning vulnerabilities of chatbots occur frequently. Therefore, this paper proposes a semantics censorship chatbot system based on reinforcement learning, which is mainly composed of two parts: the Offensive semantics censorship model and the semantics purification model. Offensive semantics review can combine the context of user input sentences to detect the rapid evolution of Offensive semantics and respond to Offensive semantics responses. The semantics purification model For the case of chatting robot models, it has been contaminated by large numbers of offensive semantics, by strengthening the offensive reply learned by the learning algorithm, rather than rolling back to the early versions. In addition, by integrating a once-through learning approach, the speed of semantics purification is accelerated while reducing the impact on the quality of replies. The experimental results show that our proposed approach reduces the probability of the chat model generating offensive replies and that the integration of the few-shot learning algorithm improves the training speed rapidly while effectively slowing down the decline in BLEU values.

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

↑