arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.19195cs.CL
收藏

基于激活分布峰度的生成模型零样本分类标签集优化

Label Set Optimization via Activation Distribution Kurtosis for Zero-shot Classification with Generative Models

Department of Computer Science, University of Sheffield, UK(计算机科学系,谢菲尔德大学)

Yue Li, Zhixue Zhao, Carolina Scarton

AI总结:

针对零样本分类中标签选项对上下文学习性能影响未充分探索的问题,提出LOADS方法,基于激活分布峰度选择最优标签集,无需标记数据,在多任务多模型上性能提升显著。

摘要:

上下文学习(ICL)性能对提示设计高度敏感,但零样本分类中类别标签选项(如词汇或顺序)的影响仍未得到充分探索。本研究提出LOADS(基于激活分布峰度的标签集优化),这是一种用于在大语言模型(LLMs)零样本ICL中选择最优标签集的后处理方法。LOADS基于我们实证分析中的观察结果,该分析首次系统地考察了标签选项设计(即词汇选择、顺序和细化)如何影响分类性能。该分析表明,提示中标签的词汇选择(例如立场分类中的agree与support)在模型性能和模型对标签顺序的敏感性方面都起着重要作用。进一步的研究表明,最优标签词往往会激活LLMs前馈网络中较少的异常神经元。LOADS随后利用峰度来测量神经元激活分布以进行标签选择,只需一次前向传递,无需梯度传播或标记数据。LOADS选择的标签词在不同分类任务、数据集、模型和语言的零样本ICL中始终表现出有效性,与使用原始数据集标签词的传统方法相比,性能增益最高从0.54提升至0.76。

英文摘要:

In-context learning (ICL) performance is highly sensitive to prompt design, yet the impact of class label options (e.g. lexicon or order) in zero-shot classification remains underexplored. This study proposes LOADS (Label set Optimization via Activation Distribution kurtosiS), a post-hoc method for selecting optimal label sets in zero-shot ICL with large language models (LLMs). LOADS is built upon the observations in our empirical analysis, the first to systematically examine how label option design (i.e., lexical choice, order, and elaboration) impacts classification performance. This analysis shows that the lexical choice of the labels in the prompt (such as agree vs. support in stance classification) plays an important role in both model performance and model's sensitivity to the label order. A further investigation demonstrates that optimal label words tend to activate fewer outlier neurons in LLMs' feed-forward networks. LOADS then leverages kurtosis to measure the neuron activation distribution for label selection, requiring only a single forward pass without gradient propagation or labelled data. The LOADS-selected label words consistently demonstrate effectiveness for zero-shot ICL across classification tasks, datasets, models and languages, achieving maximum performance gain from 0.54 to 0.76 compared to the conventional approach of using original dataset label words.

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

↑