arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01448cs.CLcs.AI
收藏

用于评估大型语言模型的元语义模板

Meta Semantic Template for Evaluation of Large Language Models

University of Michigan(密歇根大学);The Chinese University of Hong Kong(香港中文大学);Microsoft Research(微软研究院)

Yachuan Liu, Liang Chen, Jindong Wang, Qiaozhu Mei, Xing Xie

AI总结:

本文提出MSTemp方法,通过生成元语义模板构建分布外评估集,以检测大型语言模型是否真正理解语义而非仅依赖记忆,初步实验证明该方法能显著降低模型性能。

摘要:

大型语言模型(LLMs)是否真正理解语言的语义,还是仅仅记住了训练数据?近期对LLMs潜在数据污染的关注引发了社区对LLMs评估研究的重视。本文提出MSTemp,一种创建元语义模板来评估LLMs语义理解能力的方法。MSTemp的核心不是直接在现有基准数据集上进行评估,而是以现有数据集为种子生成新的分布外(OOD)评估集。具体而言,对于给定句子,MSTemp利用另一个语言模型在保留其语义的同时生成新样本。这些新样本被称为原句的语义模板。随后,MSTemp通过对语义模板进行句子解析和随机词替换来生成评估样本。MSTemp具有高度灵活性、动态性和成本效益。初步实验表明,以现有数据集为种子,MSTemp生成的样本能显著降低LLMs的性能。我们希望这项初步工作能为未来LLMs评估研究提供启示。

英文摘要:

Do large language models (LLMs) genuinely understand the semantics of the language, or just memorize the training data? The recent concern on potential data contamination of LLMs has raised awareness of the community to conduct research on LLMs evaluation. In this paper, we propose MSTemp, an approach that creates meta semantic templates to evaluate the semantic understanding ability of LLMs. The core of MSTemp is not to perform evaluation directly on existing benchmark datasets, but to generate new out-of-distribution (OOD) evaluation sets using existing datasets as seeds. Specifically, for a given sentence, MSTemp leverages another language model to generate new samples while preserving its semantics. The new samples are called semantic templates to the original sentence. Then, MSTemp generates evaluation samples via sentence parsing and random word replacement on the semantic templates. MSTemp is highly flexible, dynamic, and cost-effective. Our initial experiments show that MSTemp-generated samples can significantly reduce the performance of LLMs using existing datasets as seeds. We hope this initial work can shed light on future research of LLMs evaluation.

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

↑