A Calibrated Instrument for Measuring How Inference Optimizations Affect Output Quality
Abstract
Large language model optimization is an active research area, spanning quantization of model weights, early-exit methods for skipping layers, and speculative decoding. Each track uses its own quality measures, typically an idiosyncratic benchmark score. Few approach the measurement precision required by other scientific disciplines. We propose a rigorous methodology for measuring output quality, suitable for cross-system and cross-technique comparison. We score outputs with an LLM as a judge, but calibrate the judge formally: we compare its scores on two ordinary runs of a model given the same prompts, verifying that it shows no systematic preference between statistically equivalent outputs and measuring its per-sample noise. Each design also includes a 'null' condition, provably identical in distribution to the unmodified model, whose measured difference must be zero. With this one instrument we measure several acceleration techniques on the same prompts, so their quality costs can be compared. Perceived quality proves highly dependent on the domain of discourse. A 4-bit model was indistinguishable from its 16-bit original down to our design's +/-0.3-point resolution, in English prose and Chinese alike. At 3-bit precision the same prompts lost 0.5 points in English prose, 0.9 in Chinese, and 1.1 on multi-step math; early exit that cost 0.7 points on prose cost 2.5 on math, cutting correctly solved problems from 19 of 27 to 6. The pattern held for models from Alibaba and from Meta, but not its magnitude: the same quantizer cost Meta's model 1.8 points where it cost Alibaba's 0.7. A model's certainty about a token predicts how likely it is to differ from the full model's choice, but not how much that difference affects judged quality, so acceptance rules relying on certainty cannot distinguish errors that matter from errors that don't.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- 23 Pages. 6 tables in main text,5 tables in appendices. Code, prompts, and result files at https://github.com/jerrykaplan/Calibrated-Instrument
Related papers
Familiar Words, Unfamiliar Minds: Conventionalization without Calibration in the Vocabulary of Mind
Shared title terminologycs.CLMatthieu Queloz
Residual Cross-Model Narrative Convergence under Shared Prompts: Auditing Prompt Controls and Narrative Measurement
Shared title terminologycs.CLMehdy Sedaghat Payam
Rethinking Sequential Locate-Then-Edit: Optimality and Stability
Shared title terminologycs.CLBingqing Liu, Wei Liu, Zhiying Deng et al.
AI-human hybrid conversations: Can AI Agents Improve Discourse Quality?
Shared title terminologycs.CLIshita Chakraborty, Xingjian You, Shrabastee Banerjee
Lost in Translation, Not in Confidence: Benchmarking and Calibrating Multilingual Decision Models
Shared title terminologycs.CLMingzhe Du, Thong Thanh Nguyen, Nguyen Tran Cong Duy et al.
Generating Schema-Aligned Synthetic Dialogues and Measuring Their Diversity
Shared title terminologycs.CLKonrad Stolte, Toni Fetzer