大型语言模型的联合重复抑制与内容审核
Joint Repetition Suppression and Content Moderation of Large Language Models
AI总结:
针对大型语言模型易生成冒犯性内容及低资源场景下重复输出的问题,本文提出基于 token 与序列级非似然损失的联合训练框架,实现重复抑制与内容审核。
摘要:
自然语言生成(NLG)是自然语言处理(NLP)中最具影响力的领域之一,近年来大型语言模型(LLM)推动了其发展。作为写作辅助应用的关键工具,这些模型通常容易复制或扩展输入中提供的冒犯性内容。在低资源数据场景下,它们还可能产生重复输出。通常,冒犯性内容和重复会通过事后方法加以缓解,包括 n-gram 级别的阻止列表、top-k 采样和核采样。本文采用 token 级和序列级 unlikelihood loss(非似然损失)实现非精确重复抑制,并进一步探索 unlikelihood 训练目标框架,以联合赋予模型从一开始就避免生成冒犯性词语和短语的能力。最后,通过全面实验,我们证明所提出的方法在控制 LLM 输出的重复性和内容质量方面表现异常出色。
英文摘要:
Natural language generation (NLG) is one of the most impactful fields in NLP, and recent years have witnessed its evolution brought about by large language models (LLMs). As the key instrument for writing assistance applications, they are generally prone to replicating or extending offensive content provided in the input. In low-resource data regime, they can also lead to repetitive outputs. Usually, offensive content and repetitions are mitigated with post-hoc methods, including n-gram level blocklists, top-k and nucleus sampling. In this paper, we apply non-exact repetition suppression using token and sequence level unlikelihood loss, and further explore the framework of unlikelihood training objective in order to jointly endow the model with abilities to avoid generating offensive words and phrases from the beginning. Finally, with comprehensive experiments, we demonstrate that our proposed methods work exceptionally in controlling the repetition and content quality of LLM outputs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。