Skip to content

Research Articles

Calibration after Neural Model Transfer: Bursty Inputs

Imani Vesperwick (Machine Learning Laboratory, Thornmere Polytechnic), Yara Asherwick (Machine Learning Laboratory, Cairnwell Research Institute), Devon Alderfen (Machine Learning Laboratory, Thornmere Polytechnic)

Vol. 4 No. 1 (2020) · pp. 83–93 · Published 12 July 2020

Abstract

The comparison uses an input stream alternating between quiet periods and peaks to evaluate two choices: fitting a temperature on a separate validation partition and using the original confidence scores. All outcomes are synthetic. Each configuration is evaluated on the same 200 cases. In the 50 stress cases, the test distribution must shift away from the calibration split; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. A case counts as a pass only if it meets this criterion: the upper confidence bins must meet the specified calibration tolerance without changing the predicted label. 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 164 of 200 cases and the alternative passes 172. For the 50 stress cases alone, the counts are 31 and 39, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that temperature scaling cannot correct systematic classification errors. 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: calibration, transfer learning, confidence, bursty inputs, synthetic evaluation

References

  1. Davies, M., et al. (2018). Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro, 38(1), 82–99. IEEE
  2. DeVries, T., & Taylor, G. W. (2018). Learning confidence for out-of-distribution detection in neural networks. arXiv:1802.04865.
  3. Gulshan, V., et al. (2016). Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs. JAMA, 316(22), 2402–2410. DOI
  4. 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, 1321–1330.
  5. Hein, M., Andriushchenko, M., & Bitterwolf, J. (2019). Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problem. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 41–50.
  6. Houlsby, N., et al. (2019). Parameter-efficient transfer learning for NLP. Proceedings of the 36th International Conference on Machine Learning, 2790–2799.
  7. Nguyen, A., Yosinski, J., & Clune, J. (2015). Deep neural networks are easily fooled: High confidence predictions for unrecognizable images. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 427–436.
  8. Pan, S. J., & Yang, Q. (2010). A survey on transfer learning. IEEE Transactions on Knowledge and Data Engineering, 22(10), 1345–1359.
  9. Papernot, N., Abadi, M., Erlingsson, Ú., Goodfellow, I., & Talwar, K. (2016). Semi-supervised knowledge transfer for deep learning from private training data. arXiv:1610.05755.
  10. Peng, Y., Yan, S., & Lu, Z. (2019). Transfer learning in biomedical natural language processing: An evaluation of BERT and ELMo on ten benchmarking datasets. Proceedings of the 18th BioNLP Workshop and Shared Task, 58–65.
  11. Raffel, C., et al. (2019). Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv:1910.10683.
  12. Raghu, M., Zhang, C., Kleinberg, J., & Bengio, S. (2019). Transfusion: Understanding transfer learning for medical imaging. Advances in Neural Information Processing Systems, 32, 3347–3357.
  13. Raina, R., Battle, A., Lee, H., Packer, B., & Ng, A. Y. (2007). Self-taught learning: Transfer learning from unlabeled data. Proceedings of the 24th International Conference on Machine Learning, 759–766.
  14. Shen, Y., et al. (2017). Deep learning with coherent nanophotonic circuits. Nature Photonics, 11, 441–446. Publisher
  15. Shin, H.-C., et al. (2016). Deep convolutional neural networks for computer-aided detection: CNN architectures, dataset characteristics and transfer learning. IEEE Transactions on Medical Imaging, 35(5), 1285–1298.
  16. 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.
  17. Zoph, B., Yuret, D., May, J., & Knight, K. (2016). Transfer learning for low-resource neural machine translation. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, 1568–1575.