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

基于能力的语言模型分析

Competence-Based Analysis of Language Models

Siebel School of Computing and Data Science(西贝尔计算与数据科学学院);The Grainger College of Engineering(格兰杰工程学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Adam Davies, Jize Jiang, ChengXiang Zhai

AI总结:

针对LLM预训练语言结构表示不明确导致意外行为的问题,提出因果探测分析框架CALM,通过基于梯度的对抗攻击干预内部表示,测量模型与真实因果模型的对齐,有效解释了词汇推理任务中的模型行为。

摘要:

尽管大型预训练神经语言模型(LLMs)最近取得了成功,但对于它们在预训练期间学到的语言结构表示,我们了解得相对较少,这可能导致在响应提示变化或分布偏移时出现意外行为。为了更好地理解这些模型和行为,我们引入了一个通用的模型分析框架,以研究LLMs对人类可解释语言属性的表示和使用。我们的框架CALM(基于能力的语言模型分析)旨在通过使用因果探测干预模型对不同语言属性的内部表示,并测量在这些干预下模型与给定任务的真实因果模型的对齐情况,来研究特定任务背景下的LLM能力。我们还开发了一种使用基于梯度的对抗攻击执行因果探测干预的新方法,该方法可以比现有技术针对更广泛的属性和表示。最后,我们使用这些干预对CALM进行了案例研究,以分析和比较各种词汇推理任务中的LLM能力,表明CALM可用于解释这些任务中的行为。

英文摘要:

Despite the recent successes of large, pretrained neural language models (LLMs), comparatively little is known about the representations of linguistic structure they learn during pretraining, which can lead to unexpected behaviors in response to prompt variation or distribution shift. To better understand these models and behaviors, we introduce a general model analysis framework to study LLMs with respect to their representation and use of human-interpretable linguistic properties. Our framework, CALM (Competence-based Analysis of Language Models), is designed to investigate LLM competence in the context of specific tasks by intervening on models' internal representations of different linguistic properties using causal probing, and measuring models' alignment under these interventions with a given ground-truth causal model of the task. We also develop a new approach for performing causal probing interventions using gradient-based adversarial attacks, which can target a broader range of properties and representations than prior techniques. Finally, we carry out a case study of CALM using these interventions to analyze and compare LLM competence across a variety of lexical inference tasks, showing that CALM can be used to explain behaviors across these tasks.

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

↑