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

警惕词语:以ChatGPT为案例评估对话式大语言模型的词汇多样性

Beware of Words: Evaluating the Lexical Diversity of Conversational LLMs using ChatGPT as Case Study

Universidad Carlos III de Madrid(马德里卡洛斯三世大学);Universidad Politécnica de Madrid(马德里理工大学);Universidad de Valladolid(巴利亚多利德大学)

Gonzalo Martínez, José Alberto Hernández, Javier Conde, Pedro Reviriego, Elena Merino

AI总结:

本文以ChatGPT为案例,提出评估对话式大语言模型生成文本词汇丰富度的方法,揭示词汇多样性受模型版本、参数(如存在惩罚)和角色设定的影响,并公开数据集与工具以推动相关研究。

摘要:

对话式大语言模型(LLMs)的整体表现,尤其是ChatGPT的表现,目前正在许多不同任务上被评估,从逻辑推理或数学到回答关于众多主题的问题。然而,针对这些LLMs所生成文本的语言特征的研究却受到的关注少得多。这令人惊讶,因为LLMs是语言模型,理解它们如何使用语言非常重要。事实上,对话式LLMs预计将对语言的演变产生重大影响,因为它们可能最终主导新文本的创作。这意味着,例如,如果对话式LLMs不使用某个词,该词可能会变得越来越不常见,并最终完全停止使用。因此,评估它们所生成文本的语言特征以及这些特征如何依赖于模型参数,是理解对话式LLMs对语言演变潜在影响的第一步。在本文中,我们考虑对LLMs生成文本的词汇丰富度进行评估,并研究其如何依赖于模型参数。我们提出了一种方法,并利用该方法以ChatGPT为案例对词汇丰富度进行了全面评估。结果表明,词汇丰富度取决于ChatGPT的版本及其一些参数,例如存在惩罚(presence penalty),或分配给模型的角色。我们分析中使用的数据集和工具已在开放许可下发布,目的是引起人们对评估LLM生成文本语言特征的迫切关注。

英文摘要:

The performance of conversational Large Language Models (LLMs) in general, and of ChatGPT in particular, is currently being evaluated on many different tasks, from logical reasoning or maths to answering questions on a myriad of topics. Instead, much less attention is being devoted to the study of the linguistic features of the texts generated by these LLMs. This is surprising since LLMs are models for language, and understanding how they use the language is important. Indeed, conversational LLMs are poised to have a significant impact on the evolution of languages as they may eventually dominate the creation of new text. This means that for example, if conversational LLMs do not use a word it may become less and less frequent and eventually stop being used altogether. Therefore, evaluating the linguistic features of the text they produce and how those depend on the model parameters is the first step toward understanding the potential impact of conversational LLMs on the evolution of languages. In this paper, we consider the evaluation of the lexical richness of the text generated by LLMs and how it depends on the model parameters. A methodology is presented and used to conduct a comprehensive evaluation of lexical richness using ChatGPT as a case study. The results show how lexical richness depends on the version of ChatGPT and some of its parameters, such as the presence penalty, or on the role assigned to the model. The dataset and tools used in our analysis are released under open licenses with the goal of drawing the much-needed attention to the evaluation of the linguistic features of LLM-generated text.

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

↑