Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Best of Both Worlds: Hybrid SNN-ANN Architecture for Event-based Optical Flow Estimation (2306.02960v2)

Published 5 Jun 2023 in cs.CV and cs.LG

Abstract: In the field of robotics, event-based cameras are emerging as a promising low-power alternative to traditional frame-based cameras for capturing high-speed motion and high dynamic range scenes. This is due to their sparse and asynchronous event outputs. Spiking Neural Networks (SNNs) with their asynchronous event-driven compute, show great potential for extracting the spatio-temporal features from these event streams. In contrast, the standard Analog Neural Networks (ANNs) fail to process event data effectively. However, training SNNs is difficult due to additional trainable parameters (thresholds and leaks), vanishing spikes at deeper layers, and a non-differentiable binary activation function. Furthermore, an additional data structure, membrane potential, responsible for keeping track of temporal information, must be fetched and updated at every timestep in SNNs. To overcome these challenges, we propose a novel SNN-ANN hybrid architecture that combines the strengths of both. Specifically, we leverage the asynchronous compute capabilities of SNN layers to effectively extract the input temporal information. Concurrently, the ANN layers facilitate training and efficient hardware deployment on traditional machine learning hardware such as GPUs. We provide extensive experimental analysis for assigning each layer to be spiking or analog, leading to a network configuration optimized for performance and ease of training. We evaluate our hybrid architecture for optical flow estimation on DSEC-flow and Multi-Vehicle Stereo Event-Camera (MVSEC) datasets. On the DSEC-flow dataset, the hybrid SNN-ANN architecture achieves a 40% reduction in average endpoint error (AEE) with 22% lower energy consumption compared to Full-SNN, and 48% lower AEE compared to Full-ANN, while maintaining comparable energy usage.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (45)
  1. Larry F Abbott. Lapicque’s introduction of the integrate-and-fire model neuron (1907). Brain research bulletin, 50(5-6):303–304, 1999.
  2. Towards factory-scale edge robotic systems: Challenges and research directions. IEEE Internet of Things Magazine, 5(3):26–31, 2022.
  3. Christian Brandli et al. A 240 × 180 130 db 3 µs latency global shutter spatiotemporal vision sensor. IEEE Journal of Solid-State Circuits, 49(10):2333–2341, Oct 2014.
  4. Yu-Hsin Chen et al. Eyeriss: An energy-efficient reconfigurable accelerator for deep convolutional neural networks. IEEE journal of solid-state circuits, 52(1):127–138, 2016.
  5. Sayeed Shafayet Chowdhury et al. Towards understanding the effect of leak in spiking neural networks. Neurocomputing, 464:83–94, 2021.
  6. Sayeed Shafayet Chowdhury et al. Towards ultra low latency spiking neural networks for vision and sequential tasks using temporal pruning. In European Conference on Computer Vision, pages 709–726. Springer, 2022.
  7. Mike Davies et al. Loihi: A neuromorphic manycore processor with on-chip learning. Ieee Micro, 38(1):82–99, 2018.
  8. Michael V DeBole et al. Truenorth: Accelerating from zero to 64 million neurons in 10 years. Computer, 52(5):20–29, 2019.
  9. Jia Deng et al. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
  10. Guillermo Gallego et al. Event-based vision: A survey. IEEE transactions on pattern analysis and machine intelligence, 44(1):154–180, 2020.
  11. Mathias Gehrig et al. Dsec: A stereo event camera dataset for driving scenarios. IEEE Robotics and Automation Letters, 6(3):4947–4954, 2021.
  12. Mathias Gehrig et al. E-raft: Dense optical flow from event cameras. In 2021 International Conference on 3D Vision (3DV), pages 197–206. IEEE, 2021.
  13. Jesse Hagenaars et al. Self-supervised learning of event-based optical flow with spiking neural networks. Advances in Neural Information Processing Systems, 34:7167–7179, 2021.
  14. Mark Horowitz. 1.1 computing’s energy problem (and what we can do about it). In 2014 IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC), pages 10–14. IEEE, 2014.
  15. Max Jaderberg et al. Spatial transformer networks. Advances in neural information processing systems, 28, 2015.
  16. Youngeun Kim et al. Revisiting batch normalization for training low-latency deep spiking neural networks from scratch. Frontiers in neuroscience, page 1638, 2021.
  17. Exploring temporal information dynamics in spiking neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 8308–8316, 2023.
  18. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  19. Adaptive-spikenet: event-based optical flow estimation using spiking neural networks with learnable neuronal dynamics. In 2023 IEEE International Conference on Robotics and Automation (ICRA), pages 6021–6027. IEEE, 2023.
  20. Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009.
  21. Hyoukjun Kwon et al. Understanding reuse, performance, and hardware cost of dnn dataflow: A data-centric approach. In Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture, pages 754–768, 2019.
  22. Chankyu Lee et al. Enabling spike-based backpropagation for training deep neural network architectures. Frontiers in neuroscience, page 119, 2020.
  23. Chankyu Lee et al. Fusion-flownet: Energy-efficient optical flow estimation using sensor fusion and deep fused spiking-analog network architectures. In 2022 International Conference on Robotics and Automation (ICRA), pages 6504–6510. IEEE, 2022.
  24. Spike-flownet: event-based optical flow estimation with energy-efficient hybrid neural networks. In European Conference on Computer Vision, pages 366–382. Springer, 2020.
  25. A 128×\times× 128 120 db 15 μ𝜇\muitalic_μs latency asynchronous temporal contrast vision sensor. IEEE Journal of Solid-State Circuits, 43(2):566–576, Feb 2008.
  26. Simon Meister et al. Unflow: Unsupervised learning of optical flow with a bidirectional census loss. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
  27. Angshuman Parashar et al. Timeloop: A systematic approach to dnn accelerator evaluation. In 2019 IEEE international symposium on performance analysis of systems and software (ISPASS), pages 304–315. IEEE, 2019.
  28. Federico Paredes-Vallés et al. Back to event basics: Self-supervised learning of image reconstruction for event cameras via photometric constancy. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3446–3455, 2021.
  29. Wachirawit Ponghiran et al. Hybrid analog-spiking long short-term memory for energy efficient computing on edge devices. In 2021 Design, Automation & Test in Europe Conference & Exhibition (DATE), pages 581–586. IEEE, 2021.
  30. Wachirawit Ponghiran et al. Event-based temporally dense optical flow estimation with sequential neural networks. arXiv preprint arXiv:2210.01244, 2022.
  31. Christoph Posch et al. Retinomorphic event-based vision sensors: bioinspired cameras with spiking output. Proceedings of the IEEE, 102(10):1470–1484, 2014.
  32. Exploring neuromorphic computing based on spiking neural networks: Algorithms to hardware. ACM Computing Surveys, 2022.
  33. Nitin Rathi et al. Exploring spike-based learning for neuromorphic computing: Prospects and perspectives. In 2021 Design, Automation & Test in Europe Conference & Exhibition (DATE), pages 902–907. IEEE, 2021.
  34. Diet-snn: A low-latency spiking neural network with direct input encoding and leakage and threshold optimization. IEEE Transactions on Neural Networks and Learning Systems, 2021.
  35. Enabling deep spiking neural networks with hybrid conversion and spike timing dependent backpropagation. arXiv preprint arXiv:2005.01807, 2020.
  36. Olaf Ronneberger et al. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18, pages 234–241. Springer, 2015.
  37. Kaushik Roy et al. Towards spike-based machine intelligence with neuromorphic computing. Nature, 575(7784):607–617, 2019.
  38. Deepika Sharma et al. Identifying efficient dataflows for spiking neural networks. In Proceedings of the ACM/IEEE International Symposium on Low Power Electronics and Design, pages 1–6, 2022.
  39. Deqing Sun et al. A quantitative analysis of current practices in optical flow estimation and the principles behind them. International Journal of Computer Vision, 106:115–137, 2014.
  40. Paul J Werbos. Backpropagation through time: what it does and how to do it. Proceedings of the IEEE, 78(10):1550–1560, 1990.
  41. Chengxi Ye et al. Unsupervised learning of dense optical flow, depth and egomotion with event-based sensors. In 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 5831–5838, 2020.
  42. Jason J Yu et al. Back to basics: Unsupervised learning of optical flow via brightness constancy and motion smoothness. In Computer Vision–ECCV 2016 Workshops: Amsterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part III 14, pages 3–10. Springer, 2016.
  43. Alex Zihao Zhu et al. The multivehicle stereo event camera dataset: An event camera dataset for 3d perception. IEEE Robotics and Automation Letters, 3(3):2032–2039, 2018.
  44. Alex Zihao Zhu et al. Unsupervised event-based learning of optical flow, depth, and egomotion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 989–997, 2019.
  45. Ev-flownet: Self-supervised optical flow estimation for event-based cameras. arXiv preprint arXiv:1802.06898, 2018.
User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Shubham Negi (8 papers)
  2. Deepika Sharma (6 papers)
  3. Adarsh Kumar Kosta (9 papers)
  4. Kaushik Roy (265 papers)
Citations (3)