Introduction
Human annotations are the gold standard for evaluating Generative AI models. However, real-world annotation data is inherently messy. This paper introduces a rigorous statistical framework for evaluating Large Language Models (LLMs) when human feedback is both missing and clustered (e.g., multiple interactions originating from the same user). The authors demonstrate that failing to account for user-level correlations leads to biased results and dangerously overconfident uncertainty estimates. To solve this, they prove that the "doubly robust" estimator remains highly effective under these complex, real-world conditions.
The Challenge: Missing Data and Cluster Dependence
Evaluating LLMs relies heavily on human ratings (e.g., "Is this response helpful?"). Two major statistical hurdles complicate this evaluation process:
- Missing Data: Users do not rate every single interaction. If frustrated users abandon a conversation without leaving a rating, while satisfied users continue to engage and rate, the average score becomes biased upward.
- Cluster Dependence: Standard statistical tools assume data points are independent and identically distributed (i.i.d.). In LLM evaluation, a single user typically engages in a multi-turn conversation. Ratings within that conversation are highly correlated—or "clustered"—because they share the same user's personality, preferences, and the specific context of that chat.
Standard methods that ignore these issues produce answers that are "precise but wrong." This paper establishes the theoretical mathematics needed to apply doubly robust estimators specifically to clustered and sequential data.
Methodology: Doubly Robust Estimation for Clustered Data
To address these challenges, the authors adapt the Doubly Robust (DR) Estimator. In a standard setting, this estimator relies on two "nuisance" models:
- The Outcome Model: Predicts what the rating would have been based on the conversation's features.
- The Propensity Score: Predicts the probability that a user will actually provide a rating.
The defining feature of the DR estimator is that if either of these models is correctly specified, the final estimate remains unbiased.
Key Theoretical Contributions: * Unbounded Clusters: Previous theories often assumed clusters (users) were small and fixed in size. This paper proves asymptotic normality—the mathematical foundation for building confidence intervals—even when users have long, varying conversation lengths. * Adaptive Convergence: The authors show that the convergence rate (how quickly the estimate improves with more data) adapts to the strength of the correlation within a cluster. If dependence is weak (e.g., a user's mood changes over a long chat), the estimator can converge faster than standard cluster-level rates. * Sequential Summaries: For multi-turn chats, a user's decision to rate a later turn depends heavily on previous turns. The authors propose using a "summary variable" to capture conversation history, effectively modeling the sequential missingness mechanism.
Empirical Validation
The framework was validated using both simulated data and the real-world OpenAssistant Conversations (OAsst1) dataset, which comprises 9,808 conversation trees and nearly 82,000 messages evaluated for traits like quality, creativity, humor, and toxicity.
- Correcting Bias: On the OAsst1 dataset, unadjusted estimates (simply averaging available ratings) were demonstrably biased. The DR estimator successfully adjusted these scores closer to the ground truth (the mean of the full, non-simulated-missing dataset).
- Honest Uncertainty: Treating every message as independent leads to overly narrow, optimistic confidence intervals. The cluster-robust intervals are often 10% wider or more, providing a much more honest reflection of true uncertainty. In simulations, the cluster-robust approach maintained the nominal 95% coverage probability, whereas the i.i.d. approach failed significantly as cluster dependence increased.
- Real-World Impact: When evaluating the "Humor" metric in the OpenAssistant dataset, the standard i.i.d. confidence interval completely missed the true value. The cluster-robust interval successfully captured it. Furthermore, incorporating historical summaries into the propensity model significantly reduced the Root Mean Square Error (RMSE), proving that conversation history acts as a critical confounder.
Limitations and Future Directions
- Propensity Score Instability: Like all DR methods, this approach can become unstable if the predicted probability of a rating approaches zero (e.g., for specific interaction types that users almost never rate).
- Summary Variable Selection: The method currently relies on domain expertise or specific embedding techniques to choose a good summary of conversation history. Automating this selection is a key area for future research.
- Covariate Shift: Extending this framework to handle covariate shift—evaluating a model on a different user demographic than the one that provided the training annotations—represents a highly promising next step for robust LLM evaluation.
Summary updated