Research Articles
Quantizer Calibration under Distribution Shift: Delayed Feedback
Kenji Larchvale (Machine Learning Laboratory, Valehart Institute of Computational Science), Tomas Faldenwood (Machine Learning Laboratory, Glenwick University), Edda Dovemere (Machine Learning Laboratory, Kestrelby Institute of Technology), Amari Crestmere (Machine Learning Laboratory, Kestrelby Institute of Technology), Devon Junebrook (Machine Learning Laboratory, Ivermere University), Rowan Kestrelby (Machine Learning Laboratory, Pinewick School of Engineering)
Vol. 5 No. 1 (2021) · pp. 28–39 · Published 7 March 2021
Abstract
For a setting where feedback is available only after the next decision, 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 180 cases. In the 45 stress cases, activation outliers must become more frequent after calibration; the analysis distinguishes decisions made with incomplete feedback from those scored after the full trace is known. 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. The comparator passes 136 of 180 cases and the alternative passes 142. For the 45 stress cases alone, the counts are 24 and 31, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that wider clipping intervals preserve outliers but allocate fewer levels to common values. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.
Keywords: quantization, activation ranges, robustness, delayed feedback, synthetic evaluation
References
- André, F., Kermarrec, A.-M., & Le Scouarnec, N. (2015). Cache locality is not enough: High-performance nearest neighbor search with product quantization fast scan. Proceedings of the VLDB Endowment, 9(4), 288–299.
- Carlini, N., & Wagner, D. (2017). Towards evaluating the robustness of neural networks. Proceedings of the 2017 IEEE Symposium on Security and Privacy, 39–57.
- Chen, B., et al. (2018). Detecting backdoor attacks on deep neural networks by activation clustering. arXiv:1811.03728.
- Desai, S., & Durrett, G. (2020). Calibration of pre-trained transformers. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, 295–302.
- DeVries, T., & Taylor, G. W. (2018). Learning confidence for out-of-distribution detection in neural networks. arXiv:1802.04865.
- Fukushima, K. (1980). Neocognitron: A self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in position. Biological Cybernetics, 36(4), 193–202.
- Guo, R., Kumar, S., Choromanski, K., & Simcha, D. (2016). Quantization based fast inner product search. Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, 482–490.
- Hendrycks, D., & Dietterich, T. (2019). Benchmarking neural network robustness to common corruptions and perturbations. International Conference on Learning Representations.
- Hendrycks, D., & Dietterich, T. G. (2018). Benchmarking neural network robustness to common corruptions and surface variations. arXiv:1807.01697.
- Jégou, H., Douze, M., & Schmid, C. (2011). Product quantization for nearest neighbor search. IEEE Transactions on Pattern Analysis and Machine Intelligence, 33(1), 117–128.
- Liang, S., Li, Y., & Srikant, R. (2017). Enhancing the reliability of out-of-distribution image detection in neural networks. arXiv:1706.02690.
- Shen, S., et al. (2019). Q-BERT: Hessian based ultra low precision quantization of BERT. arXiv:1909.05840.
- Shrikumar, A., Greenside, P., & Kundaje, A. (2017). Learning important features through propagating activation differences. Proceedings of the 34th International Conference on Machine Learning, 3145–3153.
- Song, Y., & Ermon, S. (2019). Generative modeling by estimating gradients of the data distribution. Advances in Neural Information Processing Systems, 32, 11918–11930.
- Thulasidasan, S., Chennupati, G., Bilmes, J. A., Bhattacharya, T., & Michalak, S. (2019). On mixup training: Improved calibration and predictive uncertainty for deep neural networks. Advances in Neural Information Processing Systems, 32, 13888–13899.
