A Calibrated Instrument for Measuring How Inference Optimizations Affect Output Quality
cs.CL, cs.LG
Submitted: 2026-09-16
Updated: 2026-09-16
Comments: 23 Pages. 6 tables in main text,5 tables in appendices. Code, prompts, and result files at https://github.com/jerrykaplan/Calibrated-Instrument
Code: https://github.com/jerrykaplan/Calibrated-Instrument
Project page: https://mobiusml.github.io/hqq_blog/Borgersen
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language model optimization is an active research area, spanning quantization of model weights, early-exit methods for skipping layers, and speculative decoding.
Terminology
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.
Sources
- Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment
- English K_Quantization of LLMs Does Not Disproportionately Diminish Multilingual Performance
- Accelerating Large Language Model Decoding with Speculative Sampling
- Accuracy is Not All You Need
- Model Equality Testing: Which Model Is This API Serving?
- AutoJudge: Judge Decoding Without Manual Annotation
- ML-SpecQD: Multi-Level Speculative Decoding with Quantized Drafts
- Statistically-Lossless Quantization of Large Language Models
- Compressing LLMs: The Truth is Rarely Pure and Never Simple
- One Size Does Not Fit All: Setting Inference Depth from the Questions a Deployment Actually Asks
- When LLMs get significantly worse: A statistical approach to detect model degradations
- "Give Me BF16 or Give Me Death"? Accuracy-Performance Trade-Offs in LLM Quantization
- How Does Quantization Affect Multilingual LLMs?
- Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations
- Massive Activations in Large Language Models
- QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cache
- LLM Judges Have Dark Current: A Psychometric Datasheet for LLM-as-a-Judge Evaluation
- A Practical Investigation of Training-free Relaxed Speculative Decoding
- The Coin Flip Judge? Reliability and Bias in LLM-as-a-Judge Evaluation
- QSpec: Speculative Decoding with Complementary Quantization Schemes
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering