NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Online Evaluation of LLMs via Dyadic Designs

Jinglong Zhao, Zijie Zhou

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Adaptive Treatment Allocation · Type: new method · Keywords: online A/B testing, covariate balancing, dyadic design, LLM evaluation, sequential assignment, statistical efficiency

Areas: Evaluation & Benchmarks › Language Model and Agent Safety › Model Evaluation Reliability

Summary

The paper introduces a dyadic design that adaptively assigns LLM queries to variants using available covariates, achieving near-optimal covariate balancing and substantially lower variance in online A/B tests.

Explained to a 5-year-old

You have two chatbot helpers and want to know which one answers better. You can look at how hard each question is and give each helper a mix of easy and hard questions. This makes sure both helpers get the same kinds of challenges, so you can compare them fairly. The new method does this automatically without needing to set any special rules. It works even when questions arrive one at a time, giving a better test of the helpers.

Explained to a 5-year-old, longer

You have two friendly robots that can answer questions. You want to find out which robot is smarter, but you only have a few questions to ask. Sometimes you can see how difficult a question is before you ask it, like a puzzle that looks easy or hard. You can use that information to give each robot a mix of easy and hard questions. If you give all easy questions to one robot and all hard ones to the other, the test might be unfair. So you try to balance the questions so both robots get a similar mix of easy and hard. This way you can see if one robot really understands better, no matter the difficulty. The new idea does this balancing automatically as questions come in, one after another. It does not need you to decide how many easy or hard questions each robot should get. It works like a fair game where each player gets a fair chance at each level. Because of this, you get a more accurate answer about which robot is better. It also helps you finish the test faster because you need fewer questions to see the difference.

For a technical reader

The system uses observable covariates to assign each incoming query to either the treatment or control LLM variant, ensuring that the distribution of these covariates is balanced across both groups. This covariate-matching reduces the variance of the estimated performance difference without requiring manual tuning. The theoretical analysis shows the discrepancy decays as O(log3 T) in one dimension and matches offline minimax rates in higher dimensions. Experiments on a simulator built from AlpacaEval confirm a six-fold reduction in discrepancy compared to simple random assignment.

Problem

Evaluating new LLM variants via online A/B tests typically uses complete randomization, which can be inefficient when covariates predictive of outcomes are available. The challenge is to assign treatments online in a way that balances covariates across the full distribution to reduce variance of the treatment effect estimate.

Method

The approach uses available covariates (e.g., predicted difficulty, reward scores) to guide treatment assignment, constructing a dyadic design that balances covariates online across their distribution without tuning hyperparameters. Under stochastic arrivals, the design achieves a covariate matching discrepancy of O(log3 T) in one dimension and matches offline minimax rates in higher dimensions.

Results

The dyadic design achieved a covariate matching discrepancy roughly six times smaller than complete randomization and consistently outperformed the best-tuned online stratified baseline in the simulator.

Contributions

It provides a covariate-balancing dyadic design for online A/B testing that attains near-optimal theoretical rates and demonstrates substantial variance reduction in practice. The design requires no hyperparameter tuning and extends to multi-dimensional covariates and general sequential evaluation pipelines.

Practical relevance

The design can be deployed in production LLM evaluation pipelines to obtain more precise estimates of variant performance with fewer queries, reducing test duration and cost.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction