arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11660cs.CL
收藏

从连续提示的表示中引出文本描述

Eliciting Textual Descriptions from Representations of Continuous Prompts

Blavatnik School of Computer Science, Tel Aviv University(特拉维夫大学布拉瓦尼克计算机科学学院)

Dana Ramati, Daniela Gottesman, Mor Geva

AI总结:

本文提出一种名为 InSPEcT 的新方法,通过在模型推理期间从连续提示的表示中引出文本描述来解释其不透明性,揭示偏置特征并帮助开发者调试与缓解不良属性。

摘要:

连续提示,或“软提示”,是大型语言模型广泛采用的参数高效微调策略,但由于其不透明的特性,通常不太受青睐。先前解释连续提示的尝试依赖于将单个提示词元投影到词汇表空间。然而,这种方法是有问题的,因为性能良好的提示可能产生任意或矛盾的文本,并且它单独解释提示词元。在这项工作中,我们提出了一种解释连续提示的新方法,该方法在模型推理期间从其表示中引出文本描述。在各种任务上使用一种名为 InSPEcT 的 Patchscopes 变体(Ghandeharioun 等人,2024),我们展示了我们的方法通常能产生准确的任务描述,并且这些描述随着任务性能的提升而变得更加忠实。此外,InSPEcT 的详细版本揭示了连续提示中的偏置特征,这些特征的存在与偏置的模型预测相关。作为一种有效的可解释性解决方案,InSPEcT 可被用于调试连续提示中不需要的属性,并为开发者提供减轻这些属性的方法。

英文摘要:

Continuous prompts, or "soft prompts", are a widely-adopted parameter-efficient tuning strategy for large language models, but are often less favorable due to their opaque nature. Prior attempts to interpret continuous prompts relied on projecting individual prompt tokens onto the vocabulary space. However, this approach is problematic as performant prompts can yield arbitrary or contradictory text, and it interprets prompt tokens individually. In this work, we propose a new approach to interpret continuous prompts that elicits textual descriptions from their representations during model inference. Using a Patchscopes variant (Ghandeharioun et al., 2024) called InSPEcT over various tasks, we show our method often yields accurate task descriptions which become more faithful as task performance increases. Moreover, an elaborated version of InSPEcT reveals biased features in continuous prompts, whose presence correlates with biased model predictions. Providing an effective interpretability solution, InSPEcT can be leveraged to debug unwanted properties in continuous prompts and inform developers on ways to mitigate them.

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

↑