Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

FlexNN: A Dataflow-aware Flexible Deep Learning Accelerator for Energy-Efficient Edge Devices

Published 14 Mar 2024 in cs.AR and cs.NE | (2403.09026v2)

Abstract: This paper introduces FlexNN, a Flexible Neural Network accelerator, which adopts agile design principles to enable versatile dataflows, enhancing energy efficiency. Unlike conventional convolutional neural network accelerator architectures that adhere to fixed dataflows (such as input, weight, output, or row stationary) for transferring activations and weights between storage and compute units, our design revolutionizes by enabling adaptable dataflows of any type through software configurable descriptors. Considering that data movement costs considerably outweigh compute costs from an energy perspective, the flexibility in dataflow allows us to optimize the movement per layer for minimal data transfer and energy consumption, a capability unattainable in fixed dataflow architectures. To further enhance throughput and reduce energy consumption in the FlexNN architecture, we propose a novel sparsity-based acceleration logic that utilizes fine-grained sparsity in both the activation and weight tensors to bypass redundant computations, thus optimizing the convolution engine within the hardware accelerator. Extensive experimental results underscore a significant enhancement in the performance and energy efficiency of FlexNN relative to existing DNN accelerators.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (46)
  1. A. Raha, R. Sung, S. Ghosh, P. K. Gupta, D. A. Mathaikutty, U. I. Cheema, K. Hyland, C. Brick, and V. Raghunathan, “Efficient hardware acceleration of emerging neural networks for embedded machine learning: An industry perspective,” in Embedded Machine Learning for Cyber-Physical, IoT, and Edge Computing: Hardware Architectures.   Springer, 2023, pp. 121–172.
  2. A. Raha, S. K. Kim, D. A. Mathaikutty, G. Venkataramanan, D. Mohapatra, R. Sung, C. Brick, and G. N. Chinya, “Design considerations for edge neural network accelerators: An industry perspective,” in 2021 34th International Conference on VLSI Design and 2021 20th International Conference on Embedded Systems (VLSID).   IEEE, 2021, pp. 328–333.
  3. S. K. Ghosh, A. Raha, and V. Raghunathan, “Energy-efficient approximate edge inference systems,” ACM Transactions on Embedded Computing Systems, vol. 22, no. 4, pp. 1–50, 2023.
  4. A. Raha, S. Ghosh, D. Mohapatra, D. A. Mathaikutty, R. Sung, C. Brick, and V. Raghunathan, “Special session: Approximate tinyml systems: Full system approximations for extreme energy-efficiency in intelligent edge devices,” in 2021 IEEE 39th International Conference on Computer Design (ICCD).   IEEE, 2021, pp. 13–16.
  5. Y.-H. Chen, J. Emer, and V. Sze, “Eyeriss: A spatial architecture for energy-efficient dataflow for convolutional neural networks,” in Proceedings of the 43rd International Symposium on Computer Architecture, ser. ISCA ’16, 2016.
  6. N. P. Jouppi and et al., “In-datacenter performance analysis of a tensor processing unit,” 2017.
  7. H. Kwon, P. Chatarasi, M. Pellauer, A. Parashar, V. Sarkar, and T. Krishna, “Understanding reuse, performance, and hardware cost of dnn dataflow: A data-centric approach,” in Proc. MICRO, ser. MICRO ’52.   New York, NY, USA: Association for Computing Machinery, 2019, p. 754–768.
  8. Y.-H. Chen, J. Emer, and V. Sze, “Eyeriss: A spatial architecture for energy-efficient dataflow for convolutional neural networks,” ACM SIGARCH computer architecture news, vol. 44, no. 3, pp. 367–379, 2016.
  9. Y.-H. Chen, T. Krishna, J. S. Emer, and V. Sze, “Eyeriss: An energy-efficient reconfigurable accelerator for deep convolutional neural networks,” IEEE journal of solid-state circuits, vol. 52, no. 1, pp. 127–138, 2016.
  10. A. Parashar, M. Rhu, A. Mukkara, A. Puglielli, R. Venkatesan, B. Khailany, J. Emer, S. W. Keckler, and W. J. Dally, “Scnn: An accelerator for compressed-sparse convolutional neural networks,” ACM SIGARCH computer architecture news, vol. 45, no. 2, pp. 27–40, 2017.
  11. S. K. Ghosh, S. Kundu, A. Raha, D. A. Mathaikutty, and V. Raghunathan, “Harvest: Towards efficient sparse dnn accelerators using programmable thresholds,” in 2024 37th International Conference on VLSI Design and 2021 20th International Conference on Embedded Systems (VLSID).   IEEE, 2024.
  12. Chen et al., “Eyeriss v2: A flexible accelerator for emerging deep neural networks on mobile devices,” IEEE Journal on Emerging and Selected Topics in Circuits and Systems, vol. 9, no. 2, pp. 292–308, 2019.
  13. N. P. Jouppi, C. Young, N. Patil, D. Patterson, G. Agrawal, R. Bajwa, S. Bates, S. Bhatia, N. Boden, A. Borchers et al., “In-datacenter performance analysis of a tensor processing unit,” in Proceedings of the 44th annual international symposium on computer architecture, 2017, pp. 1–12.
  14. M. Horowitz, “1.1 Computing’s energy problem (and what we can do about it),” in Proc. ISSCC, 2014.
  15. T. Hoefler, D. Alistarh, T. Ben-Nun, N. Dryden, and A. Peste, “Sparsity in deep learning: Pruning and growth for efficient inference and training in neural networks,” JMLR, vol. 22, no. 1, pp. 10 882–11 005, 2021.
  16. J. Albericio, P. Judd, T. Hetherington, T. Aamodt, N. E. Jerger, and A. Moshovos, “Cnvlutin: Ineffectual-neuron-free deep neural network computing,” ACM SIGARCH Computer Architecture News, vol. 44, no. 3, pp. 1–13, 2016.
  17. S. Zhang, Z. Du, L. Zhang, H. Lan, S. Liu, L. Li, Q. Guo, T. Chen, and Y. Chen, “Cambricon-x: An accelerator for sparse neural networks,” in 2016 49th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO).   IEEE, 2016, pp. 1–12.
  18. S. Han, X. Liu, H. Mao, J. Pu, A. Pedram, M. A. Horowitz, and W. J. Dally, “Eie: Efficient inference engine on compressed deep neural network,” ACM SIGARCH Computer Architecture News, vol. 44, no. 3, pp. 243–254, 2016.
  19. X. Yang, M. Gao, Q. Liu, J. Setter, J. Pu, A. Nayak, S. Bell, K. Cao, H. Ha, P. Raina et al., “Interstellar: Using halide’s scheduling language to analyze dnn accelerators,” in Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems, 2020, pp. 369–383.
  20. H. Kwon, P. Chatarasi, V. Sarkar, T. Krishna, M. Pellauer, and A. Parashar, “Maestro: A data-centric approach to understand reuse, performance, and hardware cost of dnn mappings,” IEEE micro, vol. 40, no. 3, pp. 20–29, 2020.
  21. D. Mohapatra, A. Raha, G. Chinya, H. Liu, C. Brick, and L. Hacking, “Configurable processor element arrays for implementing convolutional neural networks,” Apr. 30 2020, uS Patent App. 16/726,709.
  22. S. Hsu, A. Agarwal, D. Mohapatra, A. Raha, M. Jung, G. Chinya, and R. Krishnamurthy, “Multi-buffered register files with shared access circuits,” Apr. 22 2021, uS Patent App. 17/132,895.
  23. A. Raha, D. Mohapatra, G. Chinya, G. Venkataramanan, S. K. Kim, D. Mathaikutty, R. Sung, and C. Brick, “Performance scaling for dataflow deep neural network hardware accelerators,” Sep. 2 2021, uS Patent App. 17/246,341.
  24. D. Mohapatra, A. Raha, D. A. Mathaikutty, R. J.-H. Sung, and C. M. Brick, “Runtime configurable register files for artificial intelligence workloads,” Mar. 10 2022, uS Patent App. 17/530,156.
  25. D. Mohapatra, A. Raha, D. Mathaikutty, R. Sung, and C. Brick, “Schedule-aware dynamically reconfigurable adder tree architecture for partial sum accumulation in machine learning accelerators,” Apr. 28 2022, uS Patent App. 17/520,281.
  26. A. Raha, M. A. Anders, R. J.-H. Sung, D. Mohapatra, D. A. Mathaikutty, R. K. Krishnamurthy, and H. Kaul, “Floating point multiply-accumulate unit for deep learning,” Jun. 16 2022, uS Patent App. 17/688,131.
  27. G. Chinya, H. Liu, A. Raha, D. Mohapatra, C. Brick, and L. Hacking, “Schedule-aware tensor distribution module,” Feb. 20 2024, uS Patent 11,907,827.
  28. D. Mathaikutty, A. Raha, R. Sung, D. Mohapatra, and C. Brick, “Sparsity-aware datastore for inference processing in deep neural network architectures,” Mar. 3 2022, uS Patent App. 17/524,333.
  29. D. A. Mathaikutty, A. Raha, R. J.-H. Sung, and D. Mohapatra, “Data reuse in deep learning,” Jun. 16 2022, uS Patent App. 17/684,764.
  30. A. Raha, D. A. Mathaikutty, U. I. Cheema, and D. Kondru, “Output drain path facilitating flexible schedule-based deep neural network accelerator,” Jan. 11 2024, uS Patent App. 18/474,464.
  31. H. Kwon, A. Samajdar, and T. Krishna, “Maeri: Enabling flexible dataflow mapping over dnn accelerators via reconfigurable interconnects,” ACM SIGPLAN Notices, vol. 53, no. 2, pp. 461–475, 2018.
  32. A. Raha, D. Mohapatra, D. A. Mathaikutty, R. J.-H. Sung, and C. M. Brick, “System and method for balancing sparsity in weights for accelerating deep neural networks,” Mar. 17 2022, uS Patent App. 17/534,976.
  33. G. Chinya, D. Mathaikutty, G. Venkataramanan, D. Mohapatra, M. Jung, S. K. Kim, A. Raha, and C. Brick, “Accelerated loading of unstructured sparse data in machine learning architectures,” Feb. 11 2021, uS Patent App. 17/081,509.
  34. A. Raha, D. Mathaikutty, D. Mohapatra, S. K. Kim, G. Chinya, and C. Brick, “Methods and apparatus to load data within a machine learning accelerator,” Oct. 21 2021, uS Patent App. 17/359,392.
  35. A. Raha, M. Langhammer, D. Mohapatra, N. Tunali, and M. Wu, “Methods and apparatus to perform low overhead sparsity acceleration logic for multi-precision dataflow in deep neural network accelerators,” Sep. 15 2022, uS Patent App. 17/709,337.
  36. S. Kundu, A. Raha, D. A. Mathaikutty, and K. Basu, “Rash: Reliable deep learning acceleration using sparsity-based hardware,” in 2024 25nd International Symposium on Quality Electronic Design (ISQED).   IEEE, 2024.
  37. F. Connor, D. Bernard, and N. Hanrahan, “Dot product calculators and methods of operating the same,” U.S. Patent 10,768,895 B2, Sep. 8, 2020.
  38. G. Chinya, D. Mohapatra, A. Raha, H. Liu, and C. Brick, “Methods, systems, articles of manufacture, and apparatus to decode zero-value-compression data vectors,” Oct. 31 2023, uS Patent 11,804,851.
  39. M. AI, “The latest in machine learning — papers with code,” https://paperswithcode.com/.
  40. A. Krizhevsky, I. Sutskever, and G. E. Hinton, “Imagenet classification with deep convolutional neural networks,” Advances in neural information processing systems, vol. 25, 2012.
  41. A. Kozlov, I. Lazarevich, V. Shamporov, N. Lyalyushkin, and Y. Gorbachev, “Neural network compression framework for fast model inference,” arXiv preprint arXiv:2002.08679, 2020.
  42. J. Park, H. Yoon, D. Ahn, J. Choi, and J.-J. Kim, “Optimus: Optimized matrix multiplication structure for transformer neural network accelerator,” Proceedings of Machine Learning and Systems, vol. 2, pp. 363–378, 2020.
  43. C. Farabet, B. Martini, B. Corda, P. Akselrod, E. Culurciello, and Y. LeCun, “Neuflow: A runtime reconfigurable dataflow processor for vision,” in CVPR 2011 WORKSHOPS, 2011, pp. 109–116.
  44. A. Shafiee, A. Nag, N. Muralimanohar, R. Balasubramonian, J. P. Strachan, M. Hu, R. S. Williams, and V. Srikumar, “Isaac: A convolutional neural network accelerator with in-situ analog arithmetic in crossbars,” in 2016 ACM/IEEE 43rd Annual International Symposium on Computer Architecture (ISCA), 2016, pp. 14–26.
  45. Z. Du, R. Fasthuber, T. Chen, P. Ienne, L. Li, T. Luo, X. Feng, Y. Chen, and O. Temam, “Shidiannao: Shifting vision processing closer to the sensor,” in 2015 ACM/IEEE 42nd Annual International Symposium on Computer Architecture (ISCA), 2015, pp. 92–104.
  46. Intel, “Intel keembay,” https://newsroom.intel.com/wp-content/uploads/sites/11/2019/11/intel-ai-summit-keynote-slides.pdf.
Citations (19)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 2 likes about this paper.