Skip to content

Research Articles

Precision Changes across an Accelerator Boundary: Delayed Feedback

Soraya Fieldmere (Autonomous Systems Laboratory, Cairnwell Research Institute), Lina Eastmarsh (Machine Learning Laboratory, Thornmere Polytechnic), Elena Vesperwick (Autonomous Systems Laboratory, Pinewick School of Engineering), Kenji Ivermere (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing)

Vol. 1 No. 1 (2022) · pp. 72–78 · Published 21 October 2022

Abstract

For a setting where feedback is available only after the next decision, we construct a synthetic comparison between assigning numerical formats from error sensitivity at each boundary and using the smallest supported format throughout. Each configuration is evaluated on the same 144 cases. In the 36 stress cases, an intermediate result must have a larger range than expected; 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: outputs must remain within tolerance under the stated bandwidth limit. The comparison uses a bounded device model and equalizes the applicable work allowance. It includes control and interface overhead rather than assuming that a change in intrinsic device speed transfers to the whole calculation. The comparator passes 94 of 144 cases and the alternative passes 94. For the 36 stress cases alone, the counts are 15 and 19, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that more format changes create conversion overhead. The modeled comparison identifies which costs to include in a physical benchmark; it makes no claim about hardware performance outside the fixture.

Keywords: mixed precision, accelerator interfaces, numerical error, delayed feedback, synthetic evaluation

References

  1. Chen, T., et al. (2014). DianNao: A small-footprint high-throughput accelerator for ubiquitous machine-learning. Proceedings of the 19th International Conference on Architectural Support for Programming Languages and Operating Systems, 269–284.
  2. Davies, M., et al. (2018). Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro, 38(1), 82–99. IEEE
  3. Jia, X., et al. (2018). Highly scalable deep learning training system with mixed-precision: Training ImageNet in four minutes. arXiv:1807.11205.
  4. Kandala, A., et al. (2017). Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature, 549, 242–246. DOI
  5. Lane, N. D., et al. (2016). DeepX: A software accelerator for low-power deep learning inference on mobile devices. Proceedings of the 15th ACM/IEEE International Conference on Information Processing in Sensor Networks, Article 23.
  6. Magesan, E., Gambetta, J. M., & Emerson, J. (2012). Characterizing quantum gates via randomized benchmarking. Physical Review A, 85, 042311. DOI
  7. Micikevicius, P., et al. (2017). Mixed precision training. arXiv:1710.03740.
  8. Preskill, J. (2018). Quantum computing in the NISQ era and beyond. Quantum, 2, 79. DOI
  9. Shafiee, A., et al. (2016). ISAAC: A convolutional neural network accelerator with in-situ analog arithmetic in crossbars. Proceedings of the 43rd Annual International Symposium on Computer Architecture, 14–26. DOI
  10. Shen, S., et al. (2019). Q-BERT: Hessian based ultra low precision quantization of BERT. arXiv:1909.05840.
  11. Shen, Y., et al. (2017). Deep learning with coherent nanophotonic circuits. Nature Photonics, 11, 441–446. Publisher
  12. Temme, K., Bravyi, S., & Gambetta, J. M. (2017). Error mitigation for short-depth quantum circuits. Physical Review Letters, 119, 180509. DOI
  13. Wetzstein, G., et al. (2020). Inference in artificial intelligence with deep optics and photonics. Nature, 588, 39–47. DOI