[Paper Review] Memristive LSTM network hardware architecture for time-series predictive modeling problem
This paper proposes a voltage-based analog hardware architecture for Long Short-Term Memory (LSTM) networks using CMOS and HP memristor technology, designed for accurate time-series prediction. It implements high-precision voltage-domain sigmoid and hyperbolic tangent activation functions, a four-quadrant multiplier, and a control circuit for multi-step prediction, achieving a root mean square error (RMSE) of 0.1004 in analog hardware, closely matching the software benchmark (RMSE = 0.1059).
Analysis of time-series data allows to identify long-term trends and make predictions that can help to improve our lives. With the rapid development of artificial neural networks, long short-term memory (LSTM) recurrent neural network (RNN) configuration is found to be capable in dealing with time-series forecasting problems where data points are time-dependent and possess seasonality trends. Gated structure of LSTM cell and flexibility in network topology (one-to-many, many-to-one, etc.) allows to model systems with multiple input variables and control several parameters such as the size of the look-back window to make a prediction and number of time steps to be predicted. These make LSTM attractive tool over conventional methods such as autoregression models, the simple average, moving average, naive approach, ARIMA, Holt's linear trend method, Holt's Winter seasonal method, and others. In this paper, we propose a hardware implementation of LSTM network architecture for time-series forecasting problem. All simulations were performed using TSMC 0.18um CMOS technology and HP memristor model.
Motivation & Objective
- To develop a low-area, high-accuracy analog hardware implementation of LSTM for time-series prediction, overcoming limitations of current-based designs.
- To address the need for precise analog output in regression tasks like time-series forecasting, where digital thresholds are insufficient.
- To integrate memristor crossbar arrays with CMOS circuits for efficient weight storage and computation in recurrent neural networks.
- To validate the hardware design through simulation using TSMC 0.18 µm CMOS and HP memristor models, ensuring accuracy and energy efficiency.
- To demonstrate that analog LSTM hardware can achieve prediction performance comparable to software-based LSTM models.
Proposed method
- Designs a voltage-based LSTM cell using CMOS circuits to improve accuracy and reduce conversion overhead compared to current-mode implementations.
- Employs differential amplifier-based circuits for high-precision sigmoid and hyperbolic tangent activation functions with adjustable input/output ranges.
- Adapts a low-voltage four-quadrant transconductance multiplier from prior work, enhanced with CMOS current sources and signal scaling for accuracy.
- Introduces a control circuit with pass-logic and sub-cycle timing to manage sequential computation across time steps, enabling multi-step prediction.
- Uses a two-layer architecture: an LSTM layer with four hidden units and two time steps, followed by a linear-output dense layer for final prediction.
- Simulates the entire system using TSMC 0.18 µm CMOS technology and HP memristor models, with inputs normalized between 0 and 1.
Experimental results
Research questions
- RQ1Can a voltage-based analog LSTM hardware design achieve prediction accuracy comparable to software-based LSTM for time-series forecasting?
- RQ2How does the integration of CMOS circuits with memristor crossbars affect area, power, and accuracy in LSTM hardware implementation?
- RQ3What is the impact of using voltage-domain activation functions versus current-domain functions on prediction precision in regression tasks?
- RQ4To what extent can analog hardware reduce simulation time and power consumption while maintaining performance in LSTM inference?
- RQ5How do sub-cycle control and intentional delays affect convergence and stability in multi-step analog LSTM computation?
Key findings
- The analog hardware implementation achieved a root mean square error (RMSE) of 0.1004, closely matching the software benchmark RMSE of 0.1059.
- The mean squared error (MSE) for the analog implementation was 0.0101, compared to 0.0112 for the software model, indicating strong performance parity.
- The total simulation time for predicting 45 test points was 3.96 ms, with each cycle lasting 88 µs, demonstrating real-time feasibility.
- The circuit consumed 210.67 mW at peak power when all inputs were at 1V, with a total area of 58,569 µm² per LSTM cell.
- The use of voltage-based activation functions and signal scaling reduced circuit complexity and improved output predictability compared to current-mode designs.
- Intentional 2 µs delays in sub-cycles prevented convergence issues and ensured stable computation across time steps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.