← 研踪 PaperTrailarXiv:2410.03124 · v3
Unsupervised Prompt Learning with Few-shot Examples for Answering Objective Questions
首次提交 2024-10-04 11:39
版本更新 2026-11-26 07:37
雷达观测 2026-11-30 10:26
摘要
Large language models (LLMs) have been highly successful on diverse tasks, while some applications require specialized models to meet stricter accuracy or latency needs; here we focus on objective question answering, a widely encountered and important real-world setting. Most existing methods require parameter retraining or human supervision, both entailing high computational and data collection burdens. To handle these challenges, a direct approach is to generate ``high-confidence'' data from downstream tasks and use them for prompt learning or in-context learning to refine pseudo-supervision. We consider combining both approaches for better performance, but naively learning the prompt first and selecting pseudo supervised examples only at inference creates a mismatch between training and use. In this paper, we propose unsupervised few-shot prompt learning (UFPL), which jointly learns the prompt and refines the pseudo-supervision. The learning objective aligns prompt training with usage by requiring the learned prompt to produce consistent answers when pseudo-supervised data are used as in-context examples. We optimize the prompt by using textual feedback to propose prompt updates, and iteratively refine the prompt and the pseudo supervision. In a binary classification model, we give a sufficient condition for one prompt update with pseudo-labeled demonstrations to improve expected accuracy across the dataset. Empirical results on diverse benchmarks and a real world molecule optimization task show its effectiveness.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v3 · 2026-11-26 07:37 · 最新观测版本
Unsupervised Prompt Learning with Few-shot Examples for Answering Objective Questions
Large language models (LLMs) have been highly successful on diverse tasks, while some applications require specialized models to meet stricter accuracy or latency needs; here we focus on objective question answering, a widely encountered and important real-world setting. Most existing methods require parameter retraining or human supervision, both entailing high computational and data collection burdens. To handle these challenges, a direct approach is to generate ``high-confidence'' data from downstream tasks and use them for prompt learning or in-context learning to refine pseudo-supervision. We consider combining both approaches for better performance, but naively learning the prompt first and selecting pseudo supervised examples only at inference creates a mismatch between training and use. In this paper, we propose unsupervised few-shot prompt learning (UFPL), which jointly learns the prompt and refines the pseudo-supervision. The learning objective aligns prompt training with usage by requiring the learned prompt to produce consistent answers when pseudo-supervised data are used as in-context examples. We optimize the prompt by using textual feedback to propose prompt updates, and iteratively refine the prompt and the pseudo supervision. In a binary classification model, we give a sufficient condition for one prompt update with pseudo-labeled demonstrations to improve expected accuracy across the dataset. Empirical results on diverse benchmarks and a real world molecule optimization task show its effectiveness.
查看此版本解读 →查看此版本原文 ↗