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

基于模板与无模板的语言模型探测对比研究

Comparing Template-based and Template-free Language Model Probing

University of Colorado Boulder(科罗拉多大学博尔德分校);Memorial Healthcare System(纪念医疗系统);Johannes Gutenberg University Mainz(美因茨约翰内斯古腾堡大学)

Sagi Shaier, Kevin Bennett, Lawrence E Hunter, Katharina von der Wense

AI总结:

该研究对比基于模板与无模板的语言模型探测方法,通过多领域多数据集实验发现二者在模型排名、分数、困惑度相关性及答案一致性上存在显著差异。

摘要:

采用1)专家制作模板与2)自然文本的完形填空式语言模型(LM)探测之间的差异常被忽视。本文在通用领域和生物医学领域的10个英文探测数据集(4个基于模板、6个无模板)上评估了16种不同的LM,以回答以下研究问题:(RQ1)两种方法下的模型排名是否存在差异?(RQ2)两种方法下模型的绝对分数是否存在差异?(RQ3)RQ1和RQ2的答案在通用模型与领域专用模型之间是否存在差异?我们的发现包括:1)除顶级领域专用模型外,无模板与基于模板的方法通常会给出不同的模型排名。2)对比对应的无模板与基于模板的提示,Acc@1分数最高下降42%。3)在无模板方法中,困惑度与准确率呈负相关,但与直觉相反的是,在基于模板的探测中二者呈正相关。4)在基于模板的探测中,模型往往在不同提示下频繁预测相同答案,而使用无模板技术时这种情况较少见。

英文摘要:

The differences between cloze-task language model (LM) probing with 1) expert-made templates and 2) naturally-occurring text have often been overlooked. Here, we evaluate 16 different LMs on 10 probing English datasets -- 4 template-based and 6 template-free -- in general and biomedical domains to answer the following research questions: (RQ1) Do model rankings differ between the two approaches? (RQ2) Do models' absolute scores differ between the two approaches? (RQ3) Do the answers to RQ1 and RQ2 differ between general and domain-specific models? Our findings are: 1) Template-free and template-based approaches often rank models differently, except for the top domain-specific models. 2) Scores decrease by up to 42% Acc@1 when comparing parallel template-free and template-based prompts. 3) Perplexity is negatively correlated with accuracy in the template-free approach, but, counter-intuitively, they are positively correlated for template-based probing. 4) Models tend to predict the same answers frequently across prompts for template-based probing, which is less common when employing template-free techniques.

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

↑