Skip to content

Research Articles

Near-Memory Offload for Irregular Operators: Cold Versus Warm Runs

Farah Havenford (Machine Learning Laboratory, Ivermere University), Amari Vesperwick (Distributed Systems Group, Thornmere Polytechnic)

Vol. 2 No. 1 (2023) · pp. 25–28 · Published 6 May 2023

Abstract

This synthetic study compares placing operators according to reuse and transfer volume with offloading any operator with a low nominal operation count in a mix of fresh-start and steady-state trials. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, reuse must vary rapidly between adjacent operations; initialization cost is kept in the comparison instead of discarding the first completed trial. A case counts as a pass only if it meets this criterion: runs must meet their memory-traffic and completion targets. 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 first configuration passes 130 of 180 cases, versus 121 for the comparator. In the stress subset, the respective counts are 27 and 18 of 45. The alternative exceeds the comparator overall by 5.0 percentage points. The practical trade-off is that offloading decisions based on average reuse can miss temporal changes. The modeled outcome is a comparison of the two configurations under the stated assumptions, not a measured hardware result.

Keywords: near-memory computing, data movement, operator placement, cold versus warm runs, synthetic evaluation

References

  1. Chen, T., et al. (2018). TVM: An automated end-to-end optimizing compiler for deep learning. Proceedings of the 13th USENIX Symposium on Operating Systems Design and Implementation, 578–594.
  2. Davies, M., et al. (2018). Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro, 38(1), 82–99. IEEE
  3. Furber, S. B., Galluppi, F., Temple, S., & Plana, L. A. (2014). The SpiNNaker project. Proceedings of the IEEE, 102(5), 652–665. DOI
  4. Harrow, A. W., & Montanaro, A. (2017). Quantum computational supremacy. Nature, 549, 203–209. DOI
  5. Kandala, A., et al. (2017). Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature, 549, 242–246. DOI
  6. Kingma, D., Salimans, T., Poole, B., & Ho, J. (2021). Variational diffusion models. Advances in Neural Information Processing Systems, 34, 21696–21707.
  7. Leary, C., & Wang, T. (2017). XLA: TensorFlow, compiled. TensorFlow Dev Summit.
  8. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  9. Montanaro, A. (2016). Quantum algorithms: An overview. npj Quantum Information, 2, 15023. DOI
  10. Peruzzo, A., et al. (2014). A variational eigenvalue solver on a photonic quantum processor. Nature Communications, 5, 4213. DOI
  11. Preskill, J. (2018). Quantum computing in the NISQ era and beyond. Quantum, 2, 79. DOI
  12. Rotem, N., et al. (2018). Glow: Graph lowering compiler techniques for neural networks. arXiv:1805.00907.
  13. 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
  14. Shen, Y., et al. (2017). Deep learning with coherent nanophotonic circuits. Nature Photonics, 11, 441–446. Publisher
  15. Temme, K., Bravyi, S., & Gambetta, J. M. (2017). Error mitigation for short-depth quantum circuits. Physical Review Letters, 119, 180509. DOI
  16. Wetzstein, G., et al. (2020). Inference in artificial intelligence with deep optics and photonics. Nature, 588, 39–47. DOI
  17. Zhou, P., Zhao, B., Yang, J., & Zhang, Y. (2009). A durable and energy efficient main memory using phase change memory technology. Proceedings of the 36th Annual International Symposium on Computer Architecture, 14–23.