Papers
Topics
Authors
Recent
Search
2000 character limit reached

Factorized Active Querying (FAQ)

Updated 4 February 2026
  • FAQ is a methodology for efficient finite-population inference in LLM benchmarking, using adaptive querying to maximize information gain.
  • It employs a Bayesian factor model and a hybrid variance-reduction/active-learning policy to construct tight, valid confidence intervals.
  • Empirical evaluations show up to 5× improvement in effective sample size over uniform sampling, reducing evaluation costs significantly.

Factorized Active Querying (FAQ) is a methodology for efficient finite-population inference in benchmarking LLMs, especially in settings where exhaustive evaluation across large question banks and many LLMs is impractical. FAQ constructs tight confidence intervals (CIs) for model accuracy leveraging historical performance through a Bayesian factor model, and adaptively samples evaluation queries with a hybrid variance-reduction/active-learning policy. Valid frequentist coverage is guaranteed by Proactive Active Inference (PAI)—a finite-population extension of active inference—that supports direct and adaptive query selection while controlling CI validity. FAQ delivers up to 5×5\times increases in effective sample size (ESS) over conventional uniform sampling, thereby achieving the same CI width with significantly fewer queries and negligible computational overhead (Wu et al., 28 Jan 2026).

1. Finite‐Population Inference in LLM Benchmarking

Let the question bank contain NqN_q items. For a new LLM, denote zj{0,1}z_j\in\{0,1\} as correctness on question jj, with finite-population accuracy defined as

θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.

Historical model outcomes are encoded in H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}, where many entries may be missing. Given a query budget nbn_b, the goal is to adaptively sample nbn_b questions, observe their zjz_j, and construct a (1α)(1-\alpha)-CI for NqN_q0 over the fixed bank.

Uniform random sampling yields unbiased accuracy estimates and Wald confidence intervals but fails to account for heterogeneity in question difficulty and informative signals from historical data. FAQ exploits these by modeling latent structure and selectively sampling queries to maximize information gain, thereby reducing estimator variance and increasing ESS. Empirically, FAQ attains the same CI width as uniform sampling with up to NqN_q1 fewer queries.

2. Bayesian Factor Model for Historical Data

FAQ models historical outcomes NqN_q2 via a low-rank Bayesian factor model. Each historical model NqN_q3 is represented by a NqN_q4-dimensional latent proficiency NqN_q5; each question NqN_q6 by a latent requirement NqN_q7. The conditional probability of correctness is

NqN_q8

Parameter estimation involves minimizing the masked logistic loss with NqN_q9 regularization: zj{0,1}z_j\in\{0,1\}0 where zj{0,1}z_j\in\{0,1\}1 iff zj{0,1}z_j\in\{0,1\}2 is observed; zj{0,1}z_j\in\{0,1\}3 are selected by cross-validation.

For a new model, zj{0,1}z_j\in\{0,1\}4 with empirical moments from historical zj{0,1}z_j\in\{0,1\}5. After each query zj{0,1}z_j\in\{0,1\}6, the approximate posterior zj{0,1}z_j\in\{0,1\}7 is updated using Laplace approximation: zj{0,1}z_j\in\{0,1\}8

3. Hybrid Variance-Reduction / Active-Learning Sampling Policy

At each round zj{0,1}z_j\in\{0,1\}9, FAQ computes a query distribution jj0 over jj1, balancing:

  • Oracle variance-reduction: For a Bernoulli superpopulation, the minimal-variance sampling is jj2. In practice, use jj3.
  • Active-learning: Score based on estimated reduction in jj4; let jj5 denote the one-step downward variance update (computed with Laplace/Delta approximation).

Normalizing, mixing, and tempering these scores leads to probabilities: jj6

jj7

The final query distribution is

jj8

The adaptive weights jj9, θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.0, and θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.1 control exploration and exploitation. This composite policy actively concentrates queries where they are most informative for reducing uncertainty in model accuracy estimates, and for accelerating adaptation of the latent factor for the new LLM.

Pseudocode

nbn_b7

4. Proactive Active Inference and Confidence Interval Validity

FAQ employs Proactive Active Inference (PAI) to ensure unbiasedness and CI coverage under finite-population, adaptive sampling. At round θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.2, the estimator

θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.3

is a martingale difference. The accumulated average θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.4 is unbiased for θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.5 for any θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.6.

The variance estimator is

θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.7

A martingale CLT justifies reporting the Wald-type interval θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.8, yielding asymptotic θ=1Nqj=1Nqzj.\theta = \frac{1}{N_q} \sum_{j=1}^{N_q} z_j.9 coverage without independence or correct model assumptions.

5. Theoretical Properties and Effective Sample Size

  • The oracle minimal-variance policy (Theorem 3.1) in a Bernoulli superpopulation is H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}0.
  • Under boundedness and statistical regularity, a martingale CLT (Theorem 4.1) applies:

H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}1

  • Effective sample size is defined as H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}2 for method M. FAQ achieves ESS multipliers of up to H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}3 versus uniform sampling and H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}4 over the strongest active-inference baselines.

6. Benchmarking, Evaluation, and Empirical Results

FAQ was evaluated on historical outcomes for H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}5 LLMs and H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}6 questions, partitioned into two suites: MMLU-Pro (H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}7) and a combined suite of BBH, GPQA, IFEval, MATH, MuSR (H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}8). The historical-test split sets H{0,1,NA}Nold×NqH\in\{0,1,\mathrm{NA}\}^{N_\text{old}\times N_q}9 models as historical nbn_b0 and nbn_b1 for testing. Experiments simulated various levels of missingness, ranging from fully observed to sparse (nbn_b2 observed).

Baselines included uniform sampling (Wald intervals) and sequential active inference (AIPW) [Zrnic & Candes, 2024], with oracle-tuned labeling policies. At nbn_b3 query budget, the following empirical results were observed:

Method ESS× (MMLU-Pro) Coverage (MMLU-Pro) ESS× (BBH+…) Coverage (BBH+…)
Uniform 1.00 0.95 1.00 0.95
Best AIPW 1.8 0.94 2.2 0.94
FAQ 4.5 0.95 4.8 0.95

FAQ’s CI widths are about nbn_b4 those of uniform sampling at small budgets, with coverage consistently close to nbn_b5. Coverage remains stable across model vintages and true accuracies without systematic bias. A plausible implication is that FAQ offers substantial practical value in high-throughput LLM evaluation with constrained annotation budgets while maintaining rigorous statistical guarantees.

7. Conclusion and Significance

FAQ integrates a Bayesian logistic factor model, a hybrid Neyman/active-learning adaptive sampling policy, and a martingale-based inference engine via PAI, yielding efficient, robust, and statistically valid benchmarking of LLMs on large question banks. In comprehensive empirical evaluation, FAQ achieves up to nbn_b6 cost savings over uniform sampling at equivalent CI width, with minor computation and flexible adaptation to varying levels of historical data availability (Wu et al., 28 Jan 2026). Its methodology and codebase provide a reproducible and extensible framework for principled evaluation in the era of rapidly proliferating LLM variants.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Factorized Active Querying (FAQ).