Research Articles
Sparsity-aware Digital–Analog Partitioning: Tight Resource Limits
Lina Kestrelby (Data Engineering Group, Thornmere Polytechnic), Farah Oakmarsh (Autonomous Systems Laboratory, Ivermere University), Nadia Vesperwick (Computational Hardware Laboratory, Valehart Institute of Computational Science)
Vol. 2 No. 1 (2023) · pp. 40–46 · Published 17 July 2023
Abstract
For a reduced operating budget with the same input mix, we construct a synthetic comparison between keeping irregular sparse blocks on the digital path and sending all matrix blocks to the analog path. Each configuration is evaluated on the same 120 cases. In the 30 stress cases, structured sparsity must vary across layers; both configurations receive the same smaller allowance and cannot borrow capacity from later trials. A case counts as a pass only if it meets this criterion: the workload must meet its runtime and numerical error 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 96 of 120 cases, versus 86 for the comparator. In the stress subset, the respective counts are 20 and 14 of 30. The alternative exceeds the comparator overall by 8.3 percentage points. The practical trade-off is that extra partition boundaries can increase transfer costs. The modeled comparison identifies which costs to include in a physical benchmark; it makes no claim about hardware performance outside the fixture.
Keywords: analog accelerators, sparsity, compiler mapping, tight resource limits, synthetic evaluation
References
- Bergstra, J., et al. (2010). Theano: A CPU and GPU math expression compiler. Proceedings of the Python for Scientific Computing Conference (SciPy).
- 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.
- Davies, M., et al. (2018). Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro, 38(1), 82–99. IEEE
- Fedus, W., Zoph, B., & Shazeer, N. (2022). Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120), 1–39. Source
- Gale, T., Elsen, E., & Hooker, S. (2019). The state of sparsity in deep neural networks. arXiv:1902.09574.
- Kandala, A., et al. (2017). Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature, 549, 242–246. DOI
- Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
- Matthews, A. G. de G., Hensman, J., Turner, R., & Ghahramani, Z. (2016). On sparse variational methods and the Kullback-Leibler divergence between stochastic processes. Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, 231–239.
- Preskill, J. (2018). Quantum computing in the NISQ era and beyond. Quantum, 2, 79. DOI
- Ragan-Kelley, J., Barnes, C., Adams, A., Paris, S., Durand, F., & Amarasinghe, S. (2013). Halide: A language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, 519–530.
- Rotem, N., et al. (2018). Glow: Graph lowering compiler techniques for neural networks. arXiv:1805.00907.
- 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
- Shen, Y., et al. (2017). Deep learning with coherent nanophotonic circuits. Nature Photonics, 11, 441–446. Publisher
- Tang, Q., Gupta, S. K. S., & Varsamopoulos, G. (2008). Energy-efficient thermal-aware task scheduling for homogeneous high-performance computing data centers: A cyber-physical approach. IEEE Transactions on Parallel and Distributed Systems, 19(11), 1458–1472.
- Temme, K., Bravyi, S., & Gambetta, J. M. (2017). Error mitigation for short-depth quantum circuits. Physical Review Letters, 119, 180509. DOI
- Titsias, M. (2009). Variational learning of inducing variables in sparse Gaussian processes. Proceedings of the 12th International Conference on Artificial Intelligence and Statistics, 567–574.
- Wetzstein, G., et al. (2020). Inference in artificial intelligence with deep optics and photonics. Nature, 588, 39–47. DOI
