Just Say No: Analyzing the Stance of Neural Dialogue Generation in\n Offensive Contexts

作者
Ashutosh Baheti,Maarten Sap,Alan Ritter,Mark Riedl
出处
期刊:Cornell University - arXiv [Cornell University]
标识
DOI:10.48550/arxiv.2108.11830
摘要

Dialogue models trained on human conversations inadvertently learn to\ngenerate toxic responses. In addition to producing explicitly offensive\nutterances, these models can also implicitly insult a group or individual by\naligning themselves with an offensive statement. To better understand the\ndynamics of contextually offensive language, we investigate the stance of\ndialogue model responses in offensive Reddit conversations. Specifically, we\ncreate ToxiChat, a crowd-annotated dataset of 2,000 Reddit threads and model\nresponses labeled with offensive language and stance. Our analysis reveals that\n42% of human responses agree with toxic comments, whereas only 13% agree with\nsafe comments. This undesirable behavior is learned by neural dialogue models,\nsuch as DialoGPT, which we show are two times more likely to agree with\noffensive comments. To enable automatic detection of offensive language, we\nfine-tuned transformer-based classifiers on ToxiChat that achieve 0.71 F1 for\noffensive labels and 0.53 Macro-F1 for stance labels. Finally, we quantify the\neffectiveness of controllable text generation (CTG) methods to mitigate the\ntendency of neural dialogue models to agree with offensive comments. Compared\nto the baseline, our best CTG model achieves a 19% reduction in agreement with\noffensive comments and produces 29% fewer offensive replies. Our work\nhighlights the need for further efforts to characterize and analyze\ninappropriate behavior in dialogue models, in order to help make them safer.\nOur code and corpus are available at https://github.com/abaheti95/ToxiChat .\n

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
乐乐应助sanshu采纳,获得10
1秒前
1秒前
明亮的秀发布了新的文献求助10
1秒前
秩青发布了新的文献求助10
2秒前
3秒前
3秒前
3秒前
3秒前
李爱国应助yancy采纳,获得10
4秒前
典雅的冬瓜完成签到,获得积分10
4秒前
paper发布了新的文献求助30
5秒前
青帝完成签到 ,获得积分10
5秒前
桃仐完成签到,获得积分10
5秒前
6秒前
中年肥佬发布了新的文献求助10
6秒前
6秒前
niniyiya发布了新的文献求助10
6秒前
Hello应助轻松的万天采纳,获得10
8秒前
梧桐完成签到,获得积分10
8秒前
8秒前
9秒前
卡皮巴丘完成签到,获得积分10
9秒前
9秒前
9秒前
英姑应助彭佳丽采纳,获得10
10秒前
Jasper应助DDIWUCBJLWCK采纳,获得10
10秒前
zrw发布了新的文献求助10
11秒前
coco发布了新的文献求助10
11秒前
11秒前
13秒前
13秒前
卡皮巴丘发布了新的文献求助10
13秒前
粥粥发布了新的文献求助10
14秒前
gem完成签到,获得积分10
14秒前
所所应助xyz采纳,获得10
15秒前
英吉利25发布了新的文献求助10
16秒前
leo发布了新的文献求助10
17秒前
NA完成签到,获得积分10
17秒前
布响丸啦关注了科研通微信公众号
17秒前
17秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
ズームレンズの光学設計に関する研究 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7296568
求助须知:如何正确求助?哪些是违规求助? 8914913
关于积分的说明 18877119
捐赠科研通 6962654
什么是DOI,文献DOI怎么找? 3210451
关于科研通互助平台的介绍 2379695
邀请新用户注册赠送积分活动 2186822