Introduction
Large Language Models (LLMs) have revolutionized automated data annotation, yet they suffer from a critical flaw: overconfidence. When forced to provide a single label for ambiguous or difficult samples, LLMs often guess incorrectly rather than expressing uncertainty. This "aggressive" labeling strategy introduces noise into training sets, ultimately degrading the performance of downstream models.
To address this, we present CanDist (Candidate Distillation), a framework inspired by human ambiguity aversion. Instead of forcing a single choice, CanDist prompts LLMs to provide a set of plausible candidate labels. These candidates are then distilled into high-quality unique annotations using a specialized student model.
The Problem: Overconfident Annotations
Existing LLM-based annotation methods typically require the model to output exactly one label per sample. However, LLMs often lack the specific domain knowledge required for niche downstream tasks. When faced with uncertainty, they tend to produce "precisely wrong" answers.
Humans, by contrast, exhibit ambiguity aversion—a psychological tendency to behave conservatively when information is missing. A human annotator might say, "I'm not sure, it could be A or B." By allowing LLMs to express this same uncertainty through multiple candidate labels, we can ensure the ground truth is included in the label set far more frequently than in a single-label guess.
The CanDist Framework
CanDist operates as a teacher-student framework consisting of two primary phases:
1. Candidate Prompting (Teacher Phase)
The "Teacher" LLM is prompted to identify a set of possible labels rather than a single one. The researchers explored two specific strategies:
- $CA_{add}$: The LLM provides a primary answer and adds secondary candidates only if it is uncertain.
- $CA_{all}$: The LLM is encouraged to output all plausible labels from the start, maximizing the recall of the ground truth.
Empirical results show that candidate sets are significantly more likely to contain the correct label. For instance, on the TREC dataset, the $CA_{all}$ strategy increased the likelihood of including the ground truth by over 18% compared to standard single-label prompting.
2. Distribution Refinery (Student Phase)
Since most downstream applications require a single discrete label, a "Student" Small Language Model (SLM), such as RoBERTa, is trained to distill these candidate sets. To manage the inherent ambiguity of multiple labels, CanDist employs a Distribution Refinery (DR) mechanism:
- Dynamic Re-normalization: The target label distribution for the student is adjusted based on its own evolving predictions, allowing it to "home in" on the most likely correct label within the candidate set.
- Filtering and Sharpening: Samples are filtered if the student's top prediction contradicts the LLM's candidate set. For reliable, low-loss samples, a temperature-based sharpening technique is used to boost confidence in the final label.
Experimental Results
The framework was evaluated across six diverse text classification benchmarks, including TREC (question classification), Medical Abstract (diagnosis), and Banking (intent classification).
Key findings include:
- State-of-the-Art Performance: CanDist consistently outperformed existing baselines like FreeAL, Zero-shot, and Chain-of-Thought across all tasks.
- Closing the Gap with Supervised Learning: In datasets like Medical Abstract and DBpedia, CanDist achieved performance comparable to supervised fine-tuning on human-labeled data.
- Efficiency: By distilling knowledge into a small student model, the final annotator is significantly faster and more cost-effective to deploy than a large-scale LLM.
Conclusion
CanDist demonstrates that leveraging LLM uncertainty through candidate prompting is a powerful strategy for high-quality data annotation. By shifting from "aggressive" single-labeling to an "ambiguity-averse" distillation process, we can create more robust and accurate training data for specialized downstream tasks. Future work will explore extending this framework beyond classification to more complex structured prediction tasks.
Summary updated