Research Articles
Sparsity-aware Digital–Analog Partitioning: Uneven Workloads
Idris Fieldmere (Machine Learning Laboratory, Thornmere Polytechnic)
Vol. 1 No. 1 (2022) · pp. 50–56 · Published 9 August 2022
Abstract
For a workload with many common cases and a small set of recurring high-cost cases, 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 320 cases. In the 80 stress cases, structured sparsity must vary across layers; the rare cases are assessed separately so that the dominant group does not hide their behavior. 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 215 of 320 cases, versus 210 for the comparator. In the stress subset, the respective counts are 40 and 34 of 80. The alternative exceeds the comparator overall by 1.6 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, uneven workloads, 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.
- Fedus, W., Zoph, B., & Shazeer, N. (2021). Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. arXiv:2101.03961.
- Gale, T., Elsen, E., & Hooker, S. (2019). The state of sparsity in deep neural networks. arXiv:1902.09574.
- 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.
