arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.06487cs.CL
收藏

自适应提示:用于社会偏见检测的即席提示组合

Adaptive Prompting: Ad-hoc Prompt Composition for Social Bias Detection

Leibniz University Hannover(汉诺威莱布尼茨大学);Bielefeld University(比勒费尔德大学);LMU Munich(慕尼黑大学)

Maximilian Spliethöver, Tim Knebler, Fabian Fumagalli, Maximilian Muschalik, Barbara Hammer, Eyke Hüllermeier, Henning Wachsmuth

AI总结:

针对自动提示方法多优化单个技术的不足,提出自适应提示方法以即席预测给定输入的最优提示组合,将其应用于社会偏见检测任务,经实验验证在多模型多数据集上性能优异且具可推广性。

摘要:

指令微调的最新进展推动了大型语言模型(LLM)多种提示技术的发展,例如显式推理步骤。然而,这些技术的成功依赖于任务、语言模型和提供的上下文等多种参数。因此,找到有效的提示通常是一个试错过程。大多数现有的自动提示方法旨在优化单个技术,而非技术组合及其对输入的依赖性。为填补这一空白,我们提出一种自适应提示方法,可针对给定输入即席预测最优提示组合。我们将该方法应用于社会偏见检测——这是一项高度依赖上下文、需要语义理解的任务。我们使用三个大型语言模型在三个数据集上对其进行评估,将组合与单个技术及其他基线进行比较。结果强调了找到有效提示组合的重要性:我们的方法稳健地确保了高检测性能,在多个设置中表现最佳;此外,在其他任务上的初步实验支持其可推广性。

英文摘要:

Recent advances on instruction fine-tuning have led to the development of various prompting techniques for large language models, such as explicit reasoning steps. However, the success of techniques depends on various parameters, such as the task, language model, and context provided. Finding an effective prompt is, therefore, often a trial-and-error process. Most existing approaches to automatic prompting aim to optimize individual techniques instead of compositions of techniques and their dependence on the input. To fill this gap, we propose an adaptive prompting approach that predicts the optimal prompt composition ad-hoc for a given input. We apply our approach to social bias detection, a highly context-dependent task that requires semantic understanding. We evaluate it with three large language models on three datasets, comparing compositions to individual techniques and other baselines. The results underline the importance of finding an effective prompt composition. Our approach robustly ensures high detection performance, and is best in several settings. Moreover, first experiments on other tasks support its generalizability.

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

↑