Task Ambiguity in Humans and Language Models
Alex Tamkin, Kunal Handa, Avash Shrestha, Noah Goodman
TL;DR
This work investigates task ambiguity in language models by introducing AmbiBench, a benchmark of six ambiguously-specified sentence classification tasks designed to probe how users' instructions and examples influence task inference. The study shows that very large language models trained with human feedback data can approach or exceed human performance in resolving task ambiguity, while neither scale nor feedback alone suffices. Crucially, finetuning standard, non-HFD models on a small set of ambiguous in-context examples can dramatically improve generalization to unseen ambiguous tasks, offering a practical route to robust ambiguity handling. The results highlight the potential for targeted finetuning to teach models to reason over ambiguous instructions, with implications for safer, more reliable AI deployment across domains such as software engineering, law, and education.
Abstract
Language models have recently achieved strong performance across a wide range of NLP benchmarks. However, unlike benchmarks, real world tasks are often poorly specified, and agents must deduce the user's intended behavior from a combination of context, instructions, and examples. We investigate how both humans and models behave in the face of such task ambiguity by proposing AmbiBench, a new benchmark of six ambiguously-specified classification tasks. We evaluate humans and models on AmbiBench by seeing how well they identify the intended task using 1) instructions with varying degrees of ambiguity, and 2) different numbers of labeled examples. We find that the combination of model scaling (to 175B parameters) and training with human feedback data enables models to approach or exceed the accuracy of human participants across tasks, but that either one alone is not sufficient. In addition, we show how to dramatically improve the accuracy of language models trained without large-scale human feedback training by finetuning on a small number of ambiguous in-context examples, providing a promising direction for teaching models to generalize well in the face of ambiguity.
