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

面向免调优提示式分类的基于流形的Verbalizer空间重嵌入

Manifold-based Verbalizer Space Re-embedding for Tuning-free Prompt-based Classification

Harbin Institute of Technology(哈尔滨工业大学)

Haochun Wang, Sendong Zhao, Chi Liu, Nuwa Xi, Muzhen Cai, Bing Qin, Ting Liu

AI总结:

针对现有提示式分类需调优、高维verbalizer嵌入距离度量不合理的问题,提出免调优的LLE-INC流形重嵌入方法,无调优时性能比肩带调优的自动化verbalizer,结合调优最高提升3.2%,适用于超大规模语言模型。

摘要:

提示式分类利用[MASK]标记将任务适配为完形填空格式,随后填充的标记会通过预定义的verbalizer(标签映射词)映射到对应标签。近年已有研究探索使用verbalizer嵌入来减少该过程中的人工投入,但现有所有研究都需要对预训练模型或额外的可训练嵌入进行调优。同时,由于表示空间中可能存在非线性流形,高维verbalizer嵌入之间的距离不应采用欧氏距离度量。本研究提出一种无需调优的基于流形的空间重嵌入方法,名为带类内邻域约束的局部线性嵌入(Locally Linear Embedding with Intra-class Neighborhood Constraint, LLE-INC),用于verbalizer嵌入,该方法保留同一类别内的局部属性作为分类的指导依据。实验结果表明,即使不调优任何参数,我们的LLE-INC性能与经过参数调优的自动化verbalizer相当;而在结合参数更新时,我们的方法将提示式调优的性能最高提升了3.2%。此外,在LLaMA-7B与LLaMA-13B上的实验表明,LLE-INC是一种适用于超大规模语言模型的高效免调优分类方法。

英文摘要:

Prompt-based classification adapts tasks to a cloze question format utilizing the [MASK] token and the filled tokens are then mapped to labels through pre-defined verbalizers. Recent studies have explored the use of verbalizer embeddings to reduce labor in this process. However, all existing studies require a tuning process for either the pre-trained models or additional trainable embeddings. Meanwhile, the distance between high-dimensional verbalizer embeddings should not be measured by Euclidean distance due to the potential for non-linear manifolds in the representation space. In this study, we propose a tuning-free manifold-based space re-embedding method called Locally Linear Embedding with Intra-class Neighborhood Constraint (LLE-INC) for verbalizer embeddings, which preserves local properties within the same class as guidance for classification. Experimental results indicate that even without tuning any parameters, our LLE-INC is on par with automated verbalizers with parameter tuning. And with the parameter updating, our approach further enhances prompt-based tuning by up to 3.2%. Furthermore, experiments with the LLaMA-7B&13B indicate that LLE-INC is an efficient tuning-free classification approach for the hyper-scale language models.

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

↑