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

提示增强的线性探测:突破少样本上下文学习器的局限实现规模扩展

Prompt-Augmented Linear Probing: Scaling beyond the Limit of Few-shot In-Context Learners

Seoul National University(首尔大学);NAVER Cloud(NAVER云);KAIST(韩国科学技术院);Hanyang University(汉阳大学)

Hyunsoo Cho, Hyuhng Joon Kim, Junyeob Kim, Sang-Woo Lee, Sang-goo Lee, Kang Min Yoo, Taeuk Kim

AI总结:

针对上下文学习受输入长度限制、性能难随样本量扩展的问题,提出融合线性探测与上下文学习的提示增强线性探测方法,兼具可扩展性与表示增强能力,能以低开销缩小不同数据场景下的性能差距,可作为黑盒场景的替代方案。

摘要:

通过上下文学习(ICL),大规模语言模型无需额外微调即可成为高效的少样本学习器。然而,ICL的性能无法随可用训练样本数量良好扩展,因为它受限于底层语言模型固有的输入长度约束。同时,诸多研究表明语言模型也是强大的特征提取器,可被黑盒化使用,并支撑线性探测范式——即基于预提取的输入表示训练轻量判别器。本文提出提示增强线性探测(PALP),这是线性探测与ICL的混合方法,兼具二者优势。PALP继承了线性探测的可扩展性,同时具备通过将输入调整为更易理解的形式,促使语言模型生成更具意义的表示的能力。通过在多个数据集上的深入研究,我们证实PALP能显著增强输入表示,在训练开销极小的情况下,缩小了数据匮乏场景下ICL与数据充足场景下微调之间的性能差距,有望成为黑盒场景下的有力替代方案。

英文摘要:

Through in-context learning (ICL), large-scale language models are effective few-shot learners without additional model fine-tuning. However, the ICL performance does not scale well with the number of available training samples as it is limited by the inherent input length constraint of the underlying language model. Meanwhile, many studies have revealed that language models are also powerful feature extractors, allowing them to be utilized in a black-box manner and enabling the linear probing paradigm, where lightweight discriminators are trained on top of the pre-extracted input representations. This paper proposes prompt-augmented linear probing (PALP), a hybrid of linear probing and ICL, which leverages the best of both worlds. PALP inherits the scalability of linear probing and the capability of enforcing language models to derive more meaningful representations via tailoring input into a more conceivable form. Throughout in-depth investigations on various datasets, we verified that PALP significantly enhances the input representations closing the gap between ICL in the data-hungry scenario and fine-tuning in the data-abundant scenario with little training overhead, potentially making PALP a strong alternative in a black-box scenario.

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

↑