Skip to content

Research Articles

Quantizer Calibration under Distribution Shift: Cold Versus Warm Runs

Lina-Mae Eastmarsh (Machine Learning Laboratory, Glenwick University), Nerea Pinewick (Machine Learning Laboratory, Ivermere University), Selin Glenwick (Machine Learning Laboratory, Pinewick School of Engineering), Idris Finchmere (Machine Learning Laboratory, Ravenmere Technical University)

Vol. 9 No. 1 (2025) · pp. 28–43 · Published 5 May 2025

Abstract

For a mix of fresh-start and steady-state trials, we construct a synthetic comparison between choosing activation clipping thresholds from separate calibration strata and a single threshold derived from pooled inputs. Each configuration is evaluated on the same 320 cases. In the 80 stress cases, activation outliers must become more frequent after calibration; initialization cost is kept in the comparison instead of discarding the first completed trial. A case counts as a pass only if it meets this criterion: quantized predictions must stay within the declared error tolerance on each stratum. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. Across the full set, 229 cases meet the criterion with the first configuration and 218 with the second. The stress cases account for 38 and 32 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that wider clipping intervals preserve outliers but allocate fewer levels to common values. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.

Keywords: quantization, activation ranges, robustness, cold versus warm runs, synthetic evaluation

References

  1. Chao, P., et al. (2024). JailbreakBench: An open robustness benchmark for jailbreaking large language models. arXiv:2404.01318.
  2. Chee, J., Cai, Y., Kuleshov, V., & De Sa, C. (2023). QuIP: 2-bit quantization of large language models with guarantees. arXiv:2307.13304.
  3. Frantar, E., Ashkboos, S., Hoefler, T., & Alistarh, D. (2023). GPTQ: Accurate post-training quantization for generative pre-trained transformers. International Conference on Learning Representations.
  4. Korthikanti, V., et al. (2022). Reducing activation recomputation in large transformer models. arXiv:2205.05198.
  5. Li, T., Tian, Y., Li, H., Deng, M., & He, K. (2024). Autoregressive image generation without vector quantization. arXiv:2406.11838.
  6. Lin, J., Tang, J., Tang, H., Yang, S., Chen, W.-M., Wang, W.-C., Xiao, G., Dang, X., Gan, C., & Han, S. (2024). AWQ: Activation-aware weight quantization for on-device LLM compression and acceleration. Proceedings of Machine Learning and Systems, 6. Source
  7. Lin, J., Tang, J., Tang, H., Yang, S., Dang, X., & Han, S. (2023). AWQ: Activation-aware weight quantization for LLM compression and acceleration. arXiv:2306.00978v1. Source
  8. Liu, E. Z., et al. (2021). Just train twice: Improving group robustness without training group information. Proceedings of the 38th International Conference on Machine Learning, 6781–6792.
  9. Nagel, M., Fournarakis, M., Amjad, R. A., Bondarenko, Y., van Baalen, M., & Blankevoort, T. (2021). A white paper on neural network quantization. arXiv:2106.08295.
  10. Panickssery, N., Gabrieli, N., Schulz, J., Tong, M., Hubinger, E., & Turner, A. M. (2023). Steering Llama 2 via contrastive activation addition. arXiv:2312.06681.
  11. Shao, W., et al. (2024). OmniQuant: Omnidirectionally calibrated quantization for large language models. International Conference on Learning Representations.
  12. Tian, K., et al. (2023). Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 5433–5442.
  13. Turner, A. M., et al. (2023). Activation addition: Steering language models without optimization. arXiv:2308.10248.
  14. Xiao, G., Lin, J., Seznec, M., Wu, H., Demouth, J., & Han, S. (2023). SmoothQuant: Accurate and efficient post-training quantization for large language models. Proceedings of the 40th International Conference on Machine Learning, PMLR 202, 38087–38099. Source
  15. Yao, Z., et al. (2022). ZeroQuant: Efficient and affordable post-training quantization for large-scale transformers. Advances in Neural Information Processing Systems, 35, 27168–27183.