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

提示会重塑表征吗?提示对嵌入影响的实证研究

Do Prompts Reshape Representations? An Empirical Study of Prompting Effects on Embeddings

Polytechnic University of Catalonia(加泰罗尼亚理工大学);Bocconi University(博科尼大学)

Cesar Gonzalez-Gutierrez, Dirk Hovy

AI总结:

该研究通过对提示嵌入的探测实验发现,提示虽影响语言模型表征质量,但与任务相关性无稳定关联,挑战了相关提示必带来更好表征的假设,并分析了潜在原因。

摘要:

提示是在零样本场景下利用语言模型(LMs)的常用方法。然而,使语言模型无需任务特定监督就能执行多样化任务的底层机制仍不明确。研究提示与内部表征质量之间的关系,有助于阐明预训练嵌入如何支持上下文内任务求解。在这项实证研究中,我们对提示嵌入开展了一系列探测实验,分析用于零样本分类的多种提示模板组合。我们的研究结果表明,尽管提示会影响表征质量,但这些变化与提示和目标任务的相关性并不始终相关。这一结果挑战了更相关的提示必然带来更好表征的假设。我们进一步分析了可能导致这一意外现象的潜在因素。

英文摘要:

Prompting is a common approach for leveraging LMs in zero-shot settings. However, the underlying mechanisms that enable LMs to perform diverse tasks without task-specific supervision remain poorly understood. Studying the relationship between prompting and the quality of internal representations can shed light on how pre-trained embeddings may support in-context task solving. In this empirical study, we conduct a series of probing experiments on prompt embeddings, analyzing various combinations of prompt templates for zero-shot classification. Our findings show that while prompting affects the quality of representations, these changes do not consistently correlate with the relevance of the prompts to the target task. This result challenges the assumption that more relevant prompts necessarily lead to better representations. We further analyze potential factors that may contribute to this unexpected behavior.

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

↑