AI
New technique teaches LLMs to answer objective questions without labeled training data
A novel unsupervised approach learns optimized prompts by jointly refining both question-answering prompts and pseudo-labeled examples.
Researchers have developed a novel method for improving large language models' performance on objective question-answering tasks while avoiding the computational overhead and manual effort of traditional supervised training.
The Challenge#
Current approaches to fine-tuning LLMs for objective questions typically require either retraining model parameters or manually labeling data—both costly and labor-intensive processes. Many real-world applications demand specialized accuracy or speed that general-purpose LLMs cannot reliably provide, making efficient adaptation techniques increasingly valuable.
A New Approach: UFPL#
The team proposes Unsupervised Few-shot Prompt Learning (UFPL), which sidesteps these limitations by jointly optimizing two components: the prompt itself and the pseudo-labeled examples used as in-context demonstrations. Rather than learning a prompt in isolation and then selecting examples at inference time, UFPL treats these as interdependent—the learned prompt must produce consistent answers when the pseudo-supervised examples are provided as context.
The method leverages textual feedback to iteratively refine both the prompt and the pseudo supervision across multiple rounds. For binary classification, the authors establish a theoretical condition under which a single prompt update using pseudo-labeled demonstrations guarantees improved accuracy across the dataset.
Results and Impact#
Empirical validation spans multiple benchmarks and includes application to a real-world molecule optimization task, demonstrating the generality of the approach. By eliminating the need for labeled data or parameter retraining, UFPL reduces the burden of adapting LLMs to specialized domains while maintaining competitive or superior performance.

