arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02323cs.CL
收藏

面向非正式语言处理:大语言模型中的俚语知识

Toward Informal Language Processing: Knowledge of Slang in Large Language Models

University of Toronto(多伦多大学);Amazon Alexa AI(亚马逊Alexa人工智能);Columbia University(哥伦比亚大学)

Zhewei Sun, Qian Hu, Rahul Gupta, Richard Zemel, Yang Xu

AI总结:

本研究针对大语言模型缺乏俚语处理能力全面评估的问题,基于电影字幕构建英语俚语处理基准数据集,验证其在俚语检测、来源识别等任务的评估与微调效用,为非正式语言处理提供公开资源与平台。

摘要:

大语言模型(LLM)的最新进展为自然语言系统处理非正式语言提供了巨大潜力。俚语是非正式语言的一种典型形式,在日常对话和在线社交媒体中被广泛使用。截至目前,俚语在大语言模型中尚未得到全面评估,部分原因是缺乏精心设计且公开可用的基准测试集。我们利用电影字幕构建了一个数据集,支持对与俚语自动处理相关的多种任务进行评估。我们在两个核心应用场景中验证了该数据集在评估和微调方面的有效性:1)俚语检测;2)从自然语句中识别俚语的地域来源和历史来源。我们还展示了如何利用该数据集探究大语言模型的输出分布,以获取可解释性见解。研究发现,尽管GPT-4等大语言模型在零样本设置下表现良好,但在我们的数据集上微调后的小型BERT类模型也能达到相当的性能。此外,我们证明该数据集可用于微调GPT-3.5等大语言模型,使其性能显著优于强大的零样本基线。我们的工作基于OpenSubtitles语料库提供了针对英语俚语的全面评估和高质量基准,既可作为公开资源,也可作为应用非正式语言处理工具的平台。

英文摘要:

Recent advancement in large language models (LLMs) has offered a strong potential for natural language systems to process informal language. A representative form of informal language is slang, used commonly in daily conversations and online social media. To date, slang has not been comprehensively evaluated in LLMs due partly to the absence of a carefully designed and publicly accessible benchmark. Using movie subtitles, we construct a dataset that supports evaluation on a diverse set of tasks pertaining to automatic processing of slang. For both evaluation and finetuning, we show the effectiveness of our dataset on two core applications: 1) slang detection, and 2) identification of regional and historical sources of slang from natural sentences. We also show how our dataset can be used to probe the output distributions of LLMs for interpretive insights. We find that while LLMs such as GPT-4 achieve good performance in a zero-shot setting, smaller BERT-like models finetuned on our dataset achieve comparable performance. Furthermore, we show that our dataset enables finetuning of LLMs such as GPT-3.5 that achieve substantially better performance than strong zero-shot baselines. Our work offers a comprehensive evaluation and a high-quality benchmark on English slang based on the OpenSubtitles corpus, serving both as a publicly accessible resource and a platform for applying tools for informal language processing.

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

↑