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.
STPrompt: Semantic-guided and Task-driven prompts for Effective Few-shot Classification
University of Chinese Academy of Sciences(中国科学院大学);Institute of Information Engineering(信息工程研究所);Beijing Institute of Technology(北京理工大学);Guangzhou University(广州大学)
Beyond Templates: Revisiting Zero-Shot Remote Sensing through Meta-Prompting
Remote Sensing Lab, National Technical University of Athens(遥感实验室,国家技术大学雅典分校);Remote Sensing Lab, Department of Engineering and Sciences, National Technical University of Athens(遥感实验室,工程与科学系,国家技术大学雅典分校);Universitas Mercatorum(默卡托大学)
Automating Agent Hijacking via Structural Template Injection
Tsinghua University \& Ant Group Hangzhou China;Tsinghua University Beijing China;Zhongguancuan Laboratory Beijing China;Tsinghua University \& Ant Group;Tsinghua University;Zhongguancuan Laboratory
Technical University of Darmstadt(达姆施塔特工业大学);University of Copenhagen(哥本哈根大学);Pioneer Centre for AI(人工智能先锋中心);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Template Guided Text Generation for Task-Oriented Dialogue
Google(谷歌);Google Research(谷歌研究院)
Google Assistant、Amazon Alexa和Apple Siri等虚拟助手使用户能够使用自然语言与Web上的大量服务和API进行交互。在这项工作中,我们研究了两种方法自然语言生成(NLG)使用一个单一的领域独立的模型在大量的API。首先,我们提出了一个模式引导的方法,条件上的模式描述的API在自然语言的生成。我们的第二种方法研究了使用少量的模板,在插槽数量上线性增长,以传达API的语义。为了生成任意时隙组合的话语,首先连接几个简单的模板以给出语义正确但可能不连贯且不合语法的话语。一个预先训练的语言模型随后被用来将其重写成连贯的、自然的文本。通过自动度量和人工评估,我们表明我们的方法在强基线上有所改进,对域外输入具有鲁棒性,并显示出改进的样本效率。
我们运用自然语义元语言(NSM)方法(Goddard and Wierzbicka 2014)对英语评价形容词进行词汇语义分析,并将分析结果与评价框架(Martin and White 2005)中的描述进行比较。分析是语料库辅助,主要是从电影和书籍的评论,并支持搭配和统计信息从WordBanks在线。我们提出了24个评价形容词的NSM解释,认为他们分为五组,每一组对应于一个不同的语义模板。这些组可以概括如下:“第一人称思想加影响”,例如精彩;“体验性”,例如娱乐;“身体反应体验性”,例如抓握;“持久影响”,例如难忘;“认知评价”,例如复杂,优秀。将这些分组和语义模板与评价框架系统中的分类进行比较。此外,我们特别感兴趣的是情感分析,评价和主观性的文本中的自动识别。我们讨论的相关性的情感分析和其他语言技术的应用程序的两个框架。