Research Articles
Photonic Inference with Converter Costs Included: Changing Conditions
Rowan Ravenmere (Machine Learning Laboratory, Glenwick University), Niko Oakhurst (Distributed Systems Group, Glenwick University), Kavi Finchmere (Machine Learning Laboratory, Glenwick University), Dario Cairnwell (Machine Learning Laboratory, Ivermere University), Yara Faldenwood (Distributed Systems Group, Glenwick University)
Vol. 2 No. 1 (2023) · pp. 47–52 · Published 14 August 2023
Abstract
This synthetic study compares selecting matrix blocks using a model of conversion overhead with offloading all analytically eligible matrix blocks in an operating profile that changes halfway through each run. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, narrow blocks must incur frequent conversion; the final part of each run is deliberately drawn from a different regime than the initial calibration cases. A case counts as a pass only if it meets this criterion: inference must meet fidelity and system energy targets together. 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 125 of 180 cases and the alternative passes 139. For the 45 stress cases alone, the counts are 23 and 32, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that device-level energy can overstate end-to-end savings. The modeled outcome is a comparison of the two configurations under the stated assumptions, not a measured hardware result.
Keywords: photonic inference, data converters, hardware–software co-design, changing conditions, synthetic evaluation
References
- Clements, W. R., Humphreys, P. C., Metcalf, B. J., Kolthammer, W. S., & Walmsley, I. A. (2016). Optimal design for universal multiport interferometers. Optica, 3(12), 1460–1465. DOI
- Foulds, J., Boyles, L., DuBois, C., Smyth, P., & Welling, M. (2013). Stochastic collapsed variational Bayesian inference for latent Dirichlet allocation. Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 446–454.
- Graves, A. (2011). Practical variational inference for neural networks. Advances in Neural Information Processing Systems, 24, 2348–2356.
- Hoffman, M. D., Blei, D. M., Wang, C., & Paisley, J. (2013). Stochastic variational inference. Journal of Machine Learning Research, 14, 1303–1347.
- Kandala, A., et al. (2017). Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature, 549, 242–246. DOI
- 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.
- Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
- Peruzzo, A., et al. (2014). A variational eigenvalue solver on a photonic quantum processor. Nature Communications, 5, 4213. DOI
- Ranganath, R., Wang, C., Blei, D. M., & Xing, E. P. (2013). An adaptive learning rate for stochastic variational inference. Proceedings of the 30th International Conference on Machine Learning, 298–306.
- Rezende, D., & Mohamed, S. (2015). Variational inference with normalizing flows. Proceedings of the 32nd International Conference on Machine Learning, 1530–1538.
- Shen, Y., et al. (2017). Deep learning with coherent nanophotonic circuits. Nature Photonics, 11, 441–446. Publisher
- Teh, Y. W., Newman, D., & Welling, M. (2007). A collapsed variational Bayesian inference algorithm for latent Dirichlet allocation. Advances in Neural Information Processing Systems, 19, 1353–1360.
- Wainwright, M. J., & Jordan, M. I. (2008). Graphical models, exponential families, and variational inference. Foundations and Trends in Machine Learning, 1(1–2), 1–305.
- Wetzstein, G., et al. (2020). Inference in artificial intelligence with deep optics and photonics. Nature, 588, 39–47. DOI
