skip to main content
10.1145/3589737.3605973acmconferencesArticle/Chapter ViewAbstractPublication PagesiconsConference Proceedingsconference-collections
research-article

Implementing and Benchmarking the Locally Competitive Algorithm on the Loihi 2 Neuromorphic Processor

Published:28 August 2023Publication History

ABSTRACT

Neuromorphic processors have garnered considerable interest in recent years for their potential in energy-efficient and high-speed computing. The Locally Competitive Algorithm (LCA) has been utilized for power efficient sparse coding on neuromorphic processors, including the first Loihi processor [4, 5]. With the Loihi 2 processor enabling custom neuron models and graded spike communication, more complex implementations of LCA are possible [9]. We present a new implementation of LCA designed for the Loihi 2 processor and perform an initial set of benchmarks comparing it to LCA on CPU and GPU devices. In these experiments LCA on Loihi 2 is orders of magnitude more efficient and faster for large sparsity penalties, while maintaining similar reconstruction quality. We find this performance improvement increases as the LCA parameters are tuned towards greater representation sparsity. Our study highlights the potential of neuromorphic processors, particularly Loihi 2, in enabling intelligent, autonomous, real-time processing on small robots, satellites where there are strict SWaP (small, lightweight, and low power) requirements. By demonstrating the superior performance of LCA on Loihi 2 compared to conventional computing device, our study suggests that Loihi 2 could be a valuable tool in advancing these types of applications. Overall, our study highlights the potential of neuromorphic processors for efficient and accurate data processing on resource-constrained devices.

References

  1. James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. 2018. JAX: composable transformations of Python+NumPy programs. Google. http://github.com/google/jaxGoogle ScholarGoogle Scholar
  2. Brendt Wohlberg. 2017. SPORCO: A Python package for standard and convolutional sparse representations. In Proceedings of the 16th Python in Science Conference, Katy Huff, David Lippa, Dillon Niederhut, and M Pacer (Eds.). 1 -- 8. Google ScholarGoogle ScholarCross RefCross Ref
  3. Jacob Carroll, Nils Carlson, and Garrett T. Kenyon. 2017. Phase Transitions in Image Denoising via Sparsely Coding Convolutional Neural Networks. CoRR abs/1710.09875 (2017), 4 pages. arXiv:1710.09875 http://arxiv.org/abs/1710.09875Google ScholarGoogle Scholar
  4. Mike Davies, Andreas Wild, Garrick Orchard, Yulia Sandamirskaya, Gabriel A. Fonseca Guerra, Prasad Joshi, Philipp Plank, and Sumedh R. Risbud. 2021. Advancing Neuromorphic Computing With Loihi: A Survey of Results and Outlook. Proc. IEEE 109, 5 (2021), 911--934. Google ScholarGoogle ScholarCross RefCross Ref
  5. Kyle Henke, Michael Teti, Garrett Kenyon, Ben Migliori, and Gerd Kunde. 2022. Apples-to-Spikes: The First Detailed Comparison of LASSO Solutions Generated by a Spiking Neuromorphic Processor. In Proceedings of the International Conference on Neuromorphic Systems 2022 (Knoxville, TN, USA) (ICONS '22). Association for Computing Machinery, New York, NY, USA, Article 19, 8 pages. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Intel 2018. Intel Neuromorphic Research Community. Intel. https://www.intel.com/content/www/us/en/research/neuromorphic-community.htmlGoogle ScholarGoogle Scholar
  7. Yann LeCun, Corinna Cortes, and CJ Burges. 2010. MNIST handwritten digit database. ATT Labs. http://yann.lecun.com/exdb/mnistGoogle ScholarGoogle Scholar
  8. Bruno A. Olshausen and David J. Field. 1997. Sparse coding with an overcomplete basis set: A strategy employed by V1? Vision Research 37, 23 (1997), 3311--3325. Google ScholarGoogle ScholarCross RefCross Ref
  9. Garrick Orchard, Edward Paxon Frady, Daniel Ben Dayan Rubin, Sophia Sanborn, Sumit Bam Shrestha, Friedrich T. Sommer, and Mike Davies. 2021. Efficient Neuromorphic Signal Processing with Loihi 2. CoRR abs/2111.03746 (2021), 6 pages. arXiv:2111.03746 https://arxiv.org/abs/2111.03746Google ScholarGoogle Scholar
  10. Gavin Parpart, Carlos Gonzalez Rivera, Terrence Stewart, Edward Kim, Jocelyn Rego, Andrew O'Brien, Steven Nesbit, Garrett Kenyon, and Yijing Watkins. 2022. Dictionary Learning with Accumulator Neurons. In Proceedings of the International Conference on Neuromorphic Systems 2022 (Knoxville, TN, USA) (ICONS '22). Association for Computing Machinery, New York, NY, USA, Article 11, 9 pages. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Christopher J. Rozell, Don H. Johnson, Richard G. Baraniuk, and Bruno A. Olshausen. 2008. Sparse Coding via Thresholding and Local Competition in Neural Circuits. Neural Computation 20, 10 (Oct. 2008), 2526--2563. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Peter F. Schultz, Dylan M. Paiton, Wei Lu, and Garrett T. Kenyon. 2014. Replicating Kernels with a Short Stride Allows Sparse Reconstructions with Fewer Independent Kernels. CoRR abs/1406.4205 (2014), 12 pages. arXiv:1406.4205 [qbio.QM]Google ScholarGoogle Scholar
  13. Michael Teti, Garrett Kenyon, Ben Migliori, and Juston Moore. 2022. LCANets: Lateral Competition Improves Robustness Against Corruption and Attack. In Proceedings of the 39th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 162), Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (Eds.). PMLR, Baltimore, MD, USA, 21232--21252. https://proceedings.mlr.press/v162/teti22a.htmlGoogle ScholarGoogle Scholar
  14. Aaron R. Voelker, Daniel Rasmussen, and Chris Eliasmith. 2020. A Spike in Performance: Training Hybrid-Spiking Neural Networks with Quantized Activation Functions. CoRR abs/2002.03553 (2020), 18 pages. arXiv:2002.03553 https://arxiv.org/abs/2002.03553Google ScholarGoogle Scholar
  15. Yijing Watkins, Oleksandr Iaroshenko, Mohammad Sayeh, and Garrett Kenyon. 2018. Image Compression: Sparse Coding vs. Bottleneck Autoencoders. In 2018 IEEE Southwest Symposium on Image Analysis and Interpretation (SSIAI). IEEE, Las Vegas, NV, USA, 17--20. Google ScholarGoogle ScholarCross RefCross Ref
  16. Yijing Watkins, Austin Thresher, David Mascarenas, and Garrett T. Kenyon. 2018. Sparse Coding Enables the Reconstruction of High-Fidelity Images and Video from Retinal Spike Trains. In Proceedings of the International Conference on Neuromorphic Systems (Knoxville, TN, USA) (ICONS '18). Association for Computing Machinery, New York, NY, USA, Article 8, 5 pages. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Mengchen Zhu and Christopher J Rozell. 2013. Visual nonclassical receptive field effects emerge from sparse coding in a dynamical system. PLoS computational biology 9, 8 (2013), e1003191.Google ScholarGoogle Scholar

Index Terms

  1. Implementing and Benchmarking the Locally Competitive Algorithm on the Loihi 2 Neuromorphic Processor

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        ICONS '23: Proceedings of the 2023 International Conference on Neuromorphic Systems
        August 2023
        270 pages
        ISBN:9798400701757
        DOI:10.1145/3589737

        Copyright © 2023 ACM

        Publication rights licensed to ACM. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of the United States government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 28 August 2023

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate13of22submissions,59%

        Upcoming Conference

        ICONS '24
        International Conference on Neuromorphic Systems
        July 30 - August 2, 2024
        Arlington , VA , USA
      • Article Metrics

        • Downloads (Last 12 months)123
        • Downloads (Last 6 weeks)28

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader