跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2308.05596 (cs)
[提交于 2023年8月10日]

标题:You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic Content

作者:Xinlei He, Savvas Zannettou, Yun Shen, Yang Zhang
查看论文《You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic Content》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The spread of toxic content online is an important problem that has adverse effects on user experience online and in our society at large. Motivated by the importance and impact of the problem, research focuses on developing solutions to detect toxic content, usually leveraging machine learning (ML) models trained on human-annotated datasets. While these efforts are important, these models usually do not generalize well and they can not cope with new trends (e.g., the emergence of new toxic terms). Currently, we are witnessing a shift in the approach to tackling societal issues online, particularly leveraging large language models (LLMs) like GPT-3 or T5 that are trained on vast corpora and have strong generalizability. In this work, we investigate how we can use LLMs and prompt learning to tackle the problem of toxic content, particularly focusing on three tasks; 1) Toxicity Classification, 2) Toxic Span Detection, and 3) Detoxification. We perform an extensive evaluation over five model architectures and eight datasets demonstrating that LLMs with prompt learning can achieve similar or even better performance compared to models trained on these specific tasks. We find that prompt learning achieves around 10\% improvement in the toxicity classification task compared to the baselines, while for the toxic span detection task we find better performance to the best baseline (0.643 vs. 0.640 in terms of $F_1$-score). Finally, for the detoxification task, we find that prompt learning can successfully reduce the average toxicity score (from 0.775 to 0.213) while preserving semantic meaning.
评论: To Appear in the 45th IEEE Symposium on Security and Privacy, May 20-23, 2024
主题: 计算与语言 (cs.CL); 社会与信息网络 (cs.SI)
引用方式: arXiv:2308.05596 [cs.CL]
  (或者 arXiv:2308.05596v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2308.05596

提交历史

来自:XInlei He
[v1] 2023年8月10日 星期四 14:14:13 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-08
切换浏览方式为:
cs
cs.SI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站