Research Articles
Sparsity-aware Digital–Analog Partitioning: Changing Conditions
Nerea Valehart (Autonomous Systems Laboratory, Thornmere Polytechnic)
Vol. 3 No. 1 (2024) · pp. 33–39 · Published 19 May 2024
Abstract
For an operating profile that changes halfway through each run, 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 144 cases. In the 36 stress cases, structured sparsity must vary across layers; 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: 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 97 of 144 cases, versus 93 for the comparator. In the stress subset, the respective counts are 17 and 15 of 36. The alternative exceeds the comparator overall by 2.8 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, changing conditions, 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.
- 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.
- Peruzzo, A., et al. (2014). A variational eigenvalue solver on a photonic quantum processor. Nature Communications, 5, 4213. DOI
- 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
- 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.
- 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
