arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2211.09110cs.CLcs.AIcs.LG
收藏

语言模型的整体评估

Holistic Evaluation of Language Models

Center for Research on Foundation Models (CRFM)(基础模型研究中心(CRFM));Institute for Human-Centered Artificial Intelligence (HAI)(以人为本人工智能研究院(HAI));Stanford University(斯坦福大学)
Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, Benjamin Newm… 展开作者

Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, Benjamin Newman, Binhang Yuan, Bobby Yan, Ce Zhang, Christian Cosgrove, Christopher D. Manning, Christopher Ré, Diana Acosta-Navas, Drew A. Hudson, Eric Zelikman, Esin Durmus, Faisal Ladhak, Frieda Rong, Hongyu Ren, Huaxiu Yao, Jue Wang, Keshav Santhanam, Laurel Orr, Lucia Zheng, Mert Yuksekgonul, Mirac Suzgun, Nathan Kim, Neel Guha, Niladri Chatterji, Omar Khattab, Peter Henderson, Qian Huang, Ryan Chi, Sang Michael Xie, Shibani Santurkar, Surya Ganguli, Tatsunori Hashimoto, Thomas Icard, Tianyi Zhang, Vishrav Chaudhary, William Wang, Xuechen Li, Yifan Mai, Yuhui Zhang, Yuta Koreeda

AI总结:

本文提出HELM整体评估框架,通过统一的多场景、多指标基准评测30个语言模型,系统揭示其能力、风险与权衡,并公开数据与工具包。

摘要:

语言模型(LMs)正成为几乎所有主要语言技术的基础,但人们对其能力、局限性和风险仍缺乏充分理解。我们提出 Holistic Evaluation of Language Models(HELM,语言模型整体评估),以提高语言模型的透明度。首先,我们对语言模型所关注的庞大潜在场景(即用例)空间和指标(即期望属性)空间进行分类。随后,我们基于覆盖度和可行性选取一个广泛的子集,并指出缺失或代表性不足的内容(例如被忽视英语方言的问答、可信度指标)。其次,我们采用多指标方法:在可能的情况下(87.5%的情形),针对16个核心场景分别测量7项指标(准确率、校准、鲁棒性、公平性、偏见、毒性和效率)。这确保准确率之外的指标不会被搁置,并使权衡关系清晰显现。我们还基于26个针对性场景开展7项针对性评估,以分析具体方面(例如推理、虚假信息)。第三,我们在全部42个场景上对30个知名语言模型(涵盖开放、受限访问和封闭模型)进行大规模评估,其中21个场景此前未用于主流语言模型评估。在HELM之前,模型平均仅在HELM核心场景的17.9%上接受评估,一些知名模型之间甚至没有任何共同评估场景。我们将这一比例提高到96.0%:如今所有30个模型都在标准化条件下,围绕相同的核心场景和指标接受了密集基准测试。我们的评估揭示了25项顶层发现。为实现完全透明,我们公开发布所有原始模型提示和补全结果以供进一步分析,同时发布一个通用模块化工具包。我们希望HELM成为面向社区的动态基准,持续纳入新的场景、指标和模型进行更新。

英文摘要:

Language models (LMs) are becoming the foundation for almost all major language technologies, but their capabilities, limitations, and risks are not well understood. We present Holistic Evaluation of Language Models (HELM) to improve the transparency of language models. First, we taxonomize the vast space of potential scenarios (i.e. use cases) and metrics (i.e. desiderata) that are of interest for LMs. Then we select a broad subset based on coverage and feasibility, noting what's missing or underrepresented (e.g. question answering for neglected English dialects, metrics for trustworthiness). Second, we adopt a multi-metric approach: We measure 7 metrics (accuracy, calibration, robustness, fairness, bias, toxicity, and efficiency) for each of 16 core scenarios when possible (87.5% of the time). This ensures metrics beyond accuracy don't fall to the wayside, and that trade-offs are clearly exposed. We also perform 7 targeted evaluations, based on 26 targeted scenarios, to analyze specific aspects (e.g. reasoning, disinformation). Third, we conduct a large-scale evaluation of 30 prominent language models (spanning open, limited-access, and closed models) on all 42 scenarios, 21 of which were not previously used in mainstream LM evaluation. Prior to HELM, models on average were evaluated on just 17.9% of the core HELM scenarios, with some prominent models not sharing a single scenario in common. We improve this to 96.0%: now all 30 models have been densely benchmarked on the same core scenarios and metrics under standardized conditions. Our evaluation surfaces 25 top-level findings. For full transparency, we release all raw model prompts and completions publicly for further analysis, as well as a general modular toolkit. We intend for HELM to be a living benchmark for the community, continuously updated with new scenarios, metrics, and models.

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

↑