Research Articles
Confidence-Aware Cascades for Distributed Prediction: Burst Recovery
Celia Glenwick (Havenford Institute of Technology), Javier Eastmarsh (Cairnwell Systems Research Centre), Uma Hartfen (Northfen Centre for Distributed Computing), Beatriz Havenford (Larkmere University), Zoya Larkmere (Valehart School of Engineering), Saira Thornmere (Larkmere University)
Vol. 8 No. 1 (2023) · pp. 108–118 · Published 2 October 2023
Abstract
We consider two ways to address the same system requirement: routing low-confidence cases to a larger classifier and applying the same classifier to all cases. The comparison uses synthetic cases. The two configurations see the same 256 cases, including 64 stress cases in which disruptions are concentrated in a burst, followed by a window in which queued work must be cleared. A case passes if a decision is correct and meets its service deadline. The same development partition is used to configure both algorithms, and the scoring partition is kept separate. The test records failures to return a decision as well as incorrect decisions. In this way an algorithm cannot improve its result merely by abstaining on difficult inputs. The alternative passes 187 of 256 cases and the comparator passes 181. In the stress subset, the two configurations pass 28 and 23 of 64 cases, respectively. The alternative improves the overall pass rate by 2.3 percentage points. A limitation of the design is that calibration errors send common cases to the expensive stage. The comparison is descriptive and is not an estimate of deployment performance. An independent benchmark should vary the severity and frequency of the difficult cases while keeping the acceptance rule fixed.
Keywords: intelligent algorithms, burst recovery, paired replay, synthetic findings
References
- Breiman, L. (2001). Random forests. Machine Learning, 45, 5–32. Source
- Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. Source
- Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20, 273–297. Source
- Crankshaw, D., Wang, X., Zhou, G., Franklin, M. J., Gonzalez, J. E., & Stoica, I. (2017). Clipper: A low-latency online prediction serving system. 14th USENIX Symposium on Networked Systems Design and Implementation, 613–627. Source
- Dean, J., & Barroso, L. A. (2013). The tail at scale. Communications of the ACM, 56(2), 74–80. Source
- Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of NAACL-HLT 2019, 4171–4186. Source
- Fedus, W., Zoph, B., & Shazeer, N. (2022). Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120), 1–39. Source
- Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural networks. Proceedings of the 34th International Conference on Machine Learning, PMLR 70, 1321–1330. Source
- He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition, 770–778. Source
- Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. Source
- Ioffe, S., & Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. Proceedings of the 32nd International Conference on Machine Learning, PMLR 37, 448–456. Source
- Kingma, D. P., & Ba, J. L. (2014). Adam: A method for stochastic optimization. arXiv:1412.6980v1. Source
- Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). ImageNet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems, 25, 1097–1105. Source
- Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., Graves, A., Riedmiller, M., Fidjeland, A. K., Ostrovski, G., Petersen, S., Beattie, C., Sadik, A., Antonoglou, I., King, H., Kumaran, D., Wierstra, D., Legg, S., & Hassabis, D. (2015). Human-level control through deep reinforcement learning. Nature, 518, 529–533. Source
- Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., Chaudhary, V., Young, M., Crespo, J.-F., & Dennison, D. (2015). Hidden technical debt in machine learning systems. Advances in Neural Information Processing Systems, 28, 2503–2511. Source
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30, 5998–6008. Source
