Research Articles
Confidence-Aware Cascades for Distributed Prediction: Stale Metadata
Tomas Ternwell (Valehart School of Engineering), Imani Cairnwell (Cairnwell Systems Research Centre), Yara Alderfen (Ivermere Institute for Integrated Computing), Mara Ternwell (Northfen Centre for Distributed Computing)
Vol. 6 No. 1 (2021) · pp. 12–23 · Published 30 January 2021
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 144 cases, including 36 stress cases in which selected inputs are delivered with older descriptive metadata while the underlying work continues. 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 96 of 144 cases and the comparator passes 92. In the stress subset, the two configurations pass 16 and 15 of 36 cases, respectively. The alternative improves the overall pass rate by 2.8 percentage points. A limitation of the design is that calibration errors send common cases to the expensive stage. This exercise isolates the stated configuration change. It does not show that the same choice would improve a different deployment, especially where the measurement interval or composition of the workload differs.
Keywords: intelligent algorithms, stale metadata, paired replay, synthetic findings
References
- 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
- 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
- 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
- Srivastava, N., et al. (2014). Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(56), 1929–1958. 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
