Abstract
Large Language Models (LLMs) are increasingly used for self-refinement through Reinforcement Learning from AI Feedback (RLAIF). However, inherent biases and overconfidence in niche domains often lead to a "performance death spiral" where errors are amplified. This paper introduces an iterative pipeline combining LLM prompting with Robust Unlabeled-Unlabeled (UU) Learning. By training a separate classifier on noisy LLM outputs and iteratively re-labeling the corpus, the system bootstraps its way to high accuracy. Our method demonstrates significant improvements across specialized tasks, often surpassing the performance of the original "teacher" LLM and even state-of-the-art models like GPT-4o.
Introduction
The promise of self-refinement—where a model evaluates its own outputs to improve without human intervention—is often hindered by the "echo chamber" effect. When an LLM lacks deep knowledge in a specific area (e.g., molecular binding or specialized law), it generates pseudo-labels that are confidently incorrect. Standard self-refinement methods tend to amplify these errors. This research addresses the challenge of improving LLM classification capabilities with minimal human supervision, particularly when internal knowledge is limited.
Methods: Robust UU Learning Pipeline
The proposed method breaks the traditional "closed-loop" self-refinement cycle by decoupling the annotator from the classifier. The pipeline consists of three main steps:
- LLM-Based Annotation: An initial LLM labels an unlabeled corpus, creating "pseudo-positive" and "pseudo-negative" sets. These labels are inherently noisy and biased.
- Robust UU Learning: These sets are treated as unlabeled mixtures with different positive class priors. A smaller, separate classifier is trained by minimizing a "robust risk estimator" that uses a generalized Leaky ReLU function to prevent overfitting to label noise.
- Iterative Re-Labeling: The trained classifier re-labels the entire dataset. Because it learns data-driven features rather than just mimicking LLM logic, the new labels are cleaner.
The system only requires a rough estimate of class priors, which can be obtained from as few as 50-100 human-labeled examples, making it highly practical for low-resource scenarios.
Experimental Setup and Datasets
The framework was evaluated on six binary classification tasks of varying difficulty:
- Easier Tasks: Fake News detection, Saroco (Romanian satire), and Safety (AI response safety).
- Harder Tasks: Corona Sentiment, Green Patent (eco-friendly patents), and Protein Structure (COVID-19 binding affinity).
The Protein Structure task was particularly demanding, involving 50,000 samples where the model had to predict binding affinity from SMILES strings.
Key Results and Insights
The iterative UU approach consistently outperformed standard self-refinement methods. Notably, on harder tasks like Green Patent, while GPT-4o's performance degraded over iterations (dropping from ~68% to ~61%), the proposed method improved accuracy to over 80%.
Decoupling and Denoising
A key insight is that the separate classifier extracts features directly from the data distribution. This allows it to "denoise" the LLM's knowledge, often resulting in a model that is more accurate than the teacher LLM that provided the initial labels.
Minimal Supervision
The "few-labeled" version of the algorithm (using 50-100 labels for prior estimation) performed nearly as well as the "Oracle" version. This demonstrates that the method does not require massive ground-truth datasets to be effective.
Limitations and Future Work
The primary limitation is the "noise floor": if the initial LLM labels are too close to random (50/50 accuracy), the UU learning process cannot find a sufficient signal to kickstart refinement. Future work may involve incorporating "classifiability" metrics to weight samples by difficulty and expanding the framework from binary to multi-class or generative reasoning tasks.
Summary updated