TL;DR
This paper introduces a novel hardware accelerator for Deep Random Forests (DRFs) using ultra-compact ferroelectric analog content-addressable memory (ACAM) cells. This approach significantly boosts energy efficiency and reduces latency for DRF inference, making it a promising alternative to Deep Neural Networks (DNNs) for edge intelligence applications.
What Problem Does This Paper Address?
Deep Random Forests (DRFs) offer a compelling alternative to Deep Neural Networks (DNNs) for edge intelligence due to their comparable accuracy, inherent interpretability, and lower memory and computational overhead. However, the development of efficient hardware accelerators for DRFs has lagged behind that of DNNs. The critical bottleneck for DRF acceleration lies in efficiently implementing the "branch-split" operation at each decision node within the decision trees that form the DRF. Existing hardware solutions for this operation are not as efficient as desired for resource-constrained edge devices.
Methods
The core innovation of this work is the use of ferroelectric analog content-addressable memory (ACAM) cells, built with just two ferroelectric field-effect transistors (FeFETs), to implement the branch-split operation. These FeFET-based ACAM cells store decision boundaries as analog polarization states. By dynamically adjusting the threshold voltage (VTH) of the FeFETs, the ACAM cell can perform the necessary comparisons to determine which branch to take in a decision tree. The authors propose an accelerator architecture where DRF models are mapped onto arrays of these ACAM cells. They experimentally validate the functionality, characteristics, and scalability of these FeFET ACAMs, including their robustness against device non-idealities.
Datasets
The paper uses two representative datasets for benchmarking:
- MNIST: A standard image dataset for handwritten digit recognition.
- sEMG: A time-series dataset for hand movement recognition, consisting of 1,800 records across six hand movement classes.
Key Insights and Ideas
- FeFET ACAMs as a Game-Changer for DRF: The paper demonstrates that ultra-compact FeFET ACAM cells can efficiently implement the crucial branch-split operation in decision trees, a key enabler for DRF hardware acceleration.
- Analog States for Decision Boundaries: Leveraging the analog polarization states in FeFETs to represent decision boundaries is a novel and efficient approach, allowing for fine-grained control over the branch-split thresholds.
- Significant Performance Gains: The proposed FeFET ACAM-based DRF accelerator achieves orders of magnitude improvements in energy and latency compared to existing CPU and ReRAM-based implementations.
- Robustness to Device Variations: The FeFET ACAM DRF demonstrates remarkable robustness against device-to-device variations, a critical factor for practical hardware deployment.
- Compactness and Energy Efficiency: The 2FeFET ACAM cell is exceptionally compact, contributing to high cell density and superior energy efficiency, making it ideal for edge devices.
Key Results
- Energy and Latency Improvements: The FeFET ACAM DRF accelerator shows approximately 10<sup>6</sup>× energy savings and 10× latency reduction compared to state-of-the-art CPU implementations. It also achieves 10<sup>6</sup>× energy savings and 2.5× latency reduction compared to ReRAM-based implementations.
- Accuracy: For the MNIST dataset, an accuracy of 99.2% is achieved, comparable to a 3-layer Convolutional Deep Belief Network. For the sEMG dataset, an accuracy of 72% is achieved, outperforming an advanced LSTM model.
- Precision Impact: Accuracy degradation is observed for the sEMG dataset when decision boundary precision drops below 4 bits, though the FeFET ACAM with 3-bit precision still outperforms LSTM. For MNIST, performance is robust even at 1-bit precision due to the binary nature of the input.
- Device Variation Tolerance: The system exhibits negligible accuracy loss even with a FeFET VTH standard deviation of 4% of the overall memory window, demonstrating great robustness.
Limitations and Future Work
- Precision Extension: While the current FeFET ACAM cell can hold three bits of VTH states, extending this precision for higher-accuracy DRF models is a future direction. The authors suggest splitting critical tree nodes into multiple lower-precision nodes as a potential approach.
- Device-to-Device Variation: Although the current FeFET technology shows good robustness, further improvements in FeFET technology are expected to further suppress variations.
- Trade-offs of Precision Extension: Future work will evaluate the trade-offs between extending precision for FeFET ACAMs and the resulting increase in ACAM area and energy consumption.
- Exploration of Other Datasets/Applications: While MNIST and sEMG are used, further evaluation on a wider range of datasets and applications would be beneficial.
Summary updated