Fast Object Tracking on a Many-Core Neural Network Chip

Lei Deng, Zhe Zou, Xin Ma, Ling Liang, Guanrui Wang, Xing Hu, Liu Liu, Jing Pei, Guoqi Li, Yuan XieFrontiers in Neuroscience 2018 · DOI

TL;DR

This paper presents a novel approach to achieve high-speed object tracking on resource-constrained embedded devices by mapping a continuous attractor neural network (CANN) model onto a custom many-core neuromorphic chip. The authors demonstrate that their system can achieve impressive tracking speeds of nearly 800 FPS while maintaining comparable accuracy to existing methods, paving the way for more intelligent and responsive embedded systems.

What Problem Does This Paper Address?

Real-time object tracking is crucial for many applications like autonomous driving, drones, and surveillance. However, existing tracking models often suffer from high computational complexity and require powerful, energy-hungry hardware like CPUs and GPUs, making them unsuitable for embedded systems with limited resources. While some specialized neuromorphic chips offer near-data processing for efficiency, they often lack flexibility and have not been extensively validated on diverse datasets. This paper aims to bridge this gap by developing a hardware-friendly object tracking model and implementing it on a flexible many-core neuromorphic architecture.

Methods

The core of this work involves adapting a Continuous Attractor Neural Network (CANN) model, known for its smooth dynamics and potential for efficient hardware implementation, for object tracking. To make it hardware-friendly, they introduced a "distance-aware local connection" strategy, significantly reducing the number of connections between neurons.

The authors then designed a custom many-core neuromorphic architecture. This architecture features:

  • Functional Cores (FunCs): These are the building blocks, designed to efficiently handle vector and matrix operations common in neural networks.
  • Scalable Many-Core Network: Multiple FunCs are interconnected via a routing infrastructure, allowing for scalability.

To deploy the CANN model onto this hardware, a comprehensive mapping framework was developed, consisting of three key stages:

  1. Dynamics Discretization: The continuous differential equations of the CANN model were converted into discrete iterative steps suitable for digital circuits.
  2. Topology Mapping: A "slicing scheme" was devised to efficiently map the network's topology onto the many-core architecture, overcoming the limited fan-in/fan-out of individual FunCs. This involved partitioning the network into manageable slices.
  3. Data Quantization: To handle the fixed-point precision limitations of the hardware, a "constant-restricted scaling chain rule" was introduced to minimize accuracy loss during data conversion.

Finally, a physical many-core neural network chip was fabricated to evaluate the real-world performance of their system.

Datasets

The paper evaluated the tracking accuracy of their model on several standard video datasets:

  • OTB-13
  • OTB-15

The specific videos used for analysis included "sylvester," "jogging-1," "jogging-2," "tiger1," and "tiger2." The paper also provides a table detailing the attributes of these videos, such as illumination variation, occlusion, deformation, and motion blur.

Key Insights and Ideas

  • Hardware-Friendly CANN: The "distance-aware local connection" is a crucial modification that significantly reduces hardware complexity without substantial accuracy loss, making CANN models viable for neuromorphic chips.
  • Slicing Scheme for Mapping: The proposed slicing scheme is essential for overcoming the fan-in/fan-out limitations of individual cores, enabling the mapping of larger, more complex network structures onto the many-core architecture.
  • Constant-Scaling Quantization: The "constant-restricted scaling chain rule" is a clever technique to maintain accuracy when converting floating-point model parameters to fixed-point for hardware implementation, especially critical for recurrent networks.
  • End-to-End Tracking on a Single Chip: The ability to fit the entire object tracking model onto a single chip is a major achievement, enabling high-speed performance in power- and resource-constrained environments.

Key Results

  • High Speed: The fabricated chip achieved a remarkable tracking speed of nearly 800 FPS. This is significantly faster than many existing CPU/GPU-based trackers.
  • Comparable Accuracy: The proposed method demonstrated comparable tracking accuracy to existing algorithms on typical video datasets, as evidenced by success rate and AUC scores.
  • Resource Efficiency: The local connection restriction and efficient mapping scheme allowed a network of up to 50x70 size to be accommodated on a single chip, which would have required more resources without this optimization.
  • Power Consumption: While not explicitly detailed for the entire system, the paper mentions that each FunC consumes 1.95-6.29 mW, indicating a focus on energy efficiency.

Limitations and Future Work

  • Disturbance Sensitivity: The authors acknowledge that the CANN model, driven by difference signals, can be sensitive to object edges and may perform worse than combined detection-recognition methods in scenarios with strong disturbances, close objects, or variable backgrounds.
  • Object Edge Sensitivity: The model's reliance on difference signals makes it more sensitive to object edges, which can introduce noise and potentially degrade accuracy based on current evaluation metrics.
  • Future Work: The paper suggests that the developed framework is suitable for various embedded systems and can be scaled to multi-chip systems for larger networks, indicating potential for future expansion and application in more complex scenarios. The authors also mention that the precision can be extended beyond 8 bits if needed.

Summary updated

Abstract

Fast object tracking on embedded devices is of great importance for applications such as autonomous driving, unmanned aerial vehicle, and intelligent monitoring. Whereas, most of previous general solutions failed to reach this goal due to the facts that (i) high computational complexity and heterogeneous operation steps in the tracking models and (ii) parallelism-limited and bloated hardware platforms (e.g., CPU/GPU). Although previously proposed devices leverage neural dynamics and near-data processing for efficient tracking, their flexibility is limited due to the tight integration with vision sensor and the effectiveness on various video datasets is yet to be fully demonstrated. On the other side, recently the many-core architecture with massive parallelism and optimized memory locality is being widely applied to improve the performance for flexibly executing neural networks. This motivates us to adapt and map an object tracking model based on attractor neural networks with continuous and smooth attractor dynamics onto neural network chips for fast tracking. In order to make the model hardware friendly, we add local-connection restriction. We analyze the tracking accuracy and observe that the model achieves comparable results on typical video datasets. Then, we design a many-core neural network architecture with several computation and transformation operations to support the model. Moreover, by discretizing the continuous dynamics to the corresponding discrete counterpart, designing a slicing scheme for efficient topology mapping, and introducing a constant-restricted scaling chain rule for data quantization, we build a complete mapping framework to implement the tracking model on the many-core architecture. We fabricate a many-core neural network chip to evaluate the real execution performance. Results show that a single chip is able to accommodate the whole tracking model, and a fast tracking speed of nearly 800 FPS (frames per second) can be achieved. This work enables high-speed object tracking on embedded devices which normally have limited resources and energy.
BibTeX
@inproceedings{deng2018fast,
  author = {Lei Deng and Zhe Zou and Xin Ma and Ling Liang and Guanrui Wang and Xing Hu and Liu Liu and Jing Pei and Guoqi Li and Yuan Xie},
  title = {{Fast Object Tracking on a Many-Core Neural Network Chip}},
  booktitle = {Frontiers in Neuroscience},
  year = {2018},
  doi = {10.3389/fnins.2018.00841},
}
Figure