arXiv:2610.39420cs.AROct 2026

Manuscript Offprint

arXiv:2610.39420

Energy-Efficient Memristor Accelerator for Depression Detection with a CNN-LSTM Hybrid Model

Jiaqi Liu, Yun Yu, Fenglin Xi, Shenjian Zhang, Shenghao Liao, Wenze Zheng, Mingxuan Hu, Yangbin Chen, Xinhong Chen, Chun Zhao

Jiaqi Liu 1,†^{1,\dagger}, Yun Yu 1,†^{1,\dagger}, Fenglin Xi 1,†^{1,\dagger}, Shenjian Zhang 1^{1}, Shenghao Liao 1^{1}, Wenze Zheng 1^{1}, Mingxuan Hu 1^{1}, Yangbin Chen 1,∗^{1,*}, Xinhong Chen 1,∗^{1,*}, Chun Zhao 1,2,∗^{1,2,*}

1^{1} School of Advanced Technology, Xi'an Jiaotong-Liverpool University, Suzhou, China

2^{2} HC Cloudminds Microelectronics Technology Co., Limited

Email: Jiaqi.Liu03@xjtlu.edu.cn

†^{\dagger}These authors contributed equally to this work and share first authorship.

∗^{*}Corresponding authors: Yangbin Chen, Xinhong Chen, and Chun Zhao.

Abstract—Early screening of depression requires efficient analysis of audio and speech data, while conventional CPU and GPU platforms incur high latency and energy consumption for CNN-LSTM inference. To address this challenge, we propose a unified resistive RAM (ReRAM) processing-in-memory accelerator for a CNN-LSTM attention workload. The architecture integrates convolutional, recurrent, attention, and multi-layer perceptron (MLP) stages within a crossbar-based framework, reducing intermediate data movement between spatial and temporal branches. CNN operations are mapped through im2col-based vectorization, while LSTM gate computations are reformulated using concatenated input-state vectors and mapped onto ReRAM crossbars. We further provide module-level workload breakdown, parameter sensitivity analysis, and matched-workload context against representative ReRAM/PIM accelerators. Experimental results show 32.1 times and 9.3 times latency reduction over CPU and GPU baselines, respectively, with about 160 times and 140 times energy reduction. Simplified weight-perturbation tests characterize ASLF sensitivity in an untrained pipeline with synthetic spectrogram-shaped inputs. Task-level prediction accuracy and robustness remain to be evaluated.

Index Terms—ReRAM accelerator, processing-in-memory, CNN-LSTM, depression detection, device nonideality.

I. INTRODUCTION

Depression is a major global health issue, affecting a large population worldwide and often remaining undiagnosed until severe stages. Early screening is important because timely intervention can improve treatment outcomes and reduce long-term societal and economic burdens. Recently, deep neural network (DNN)-based methods have shown strong potential for automatic depression detection, providing objective and scalable alternatives to traditional clinical assessment [1].

Hybrid models combining convolutional neural networks (CNNs) and long short-term memory networks (LSTMs) are particularly suitable for speech-based depression detection. CNNs extract local time–frequency patterns from spectrograms, while LSTMs capture temporal dependencies across speech frames. However, such CNN–LSTM pipelines are computationally expensive: convolutional layers require intensive matrix operations, and LSTM gates must be evaluated sequentially across time steps. Executing these workloads on CPUs and GPUs therefore incurs high latency and energy consumption, limiting real-time deployment in resource-constrained scenarios [2].

Processing-in-memory (PIM) architectures based on resistive RAM (ReRAM) provide an attractive solution by executing matrix-vector multiplications close to where weights are stored. Prior ReRAM accelerators have demonstrated high efficiency for neural-network inference, including CNN-oriented, pipelined, and recurrent workloads [3]–[7]. Nevertheless, many existing designs mainly target individual workload types. A speech-based CNN–LSTM attention model requires not only convolutional and recurrent computation, but also feature transfer, attention fusion, and final MLP processing within a unified dataflow.

To address this need, we propose a unified ReRAM-based accelerator for a CNN–LSTM attention pipeline in depression detection. The architecture uses heterogeneous CNN and LSTM tiles connected through a hierarchical network-on-chip (NoC), with fixed-weight fully connected (FC) operations mapped onto ReRAM crossbars and input-dependent attention handled by on-chip digital vector units and special function units (SFUs) in the evaluated dataflow. The design supports spatial feature extraction, temporal modeling, audio segment-level feature (ASLF) representation extraction, and final prediction within one ReRAM-based framework.

The main contributions are summarized as follows:

• We propose a unified ReRAM-based accelerator for hybrid CNN–LSTM inference, integrating CNN tiles, LSTM tiles, NoC-based feature transfer, attention fusion, and final MLP processing.

• We reformulate CNN, LSTM, and FC operations for ReRAM crossbar execution, while input-dependent attention is handled by on-chip digital vector units and nonlinear operations by SFUs.

• We provide module-level workload breakdown, parameter sensitivity analysis, and matched-workload context with representative ReRAM/PIM accelerators, including ISAAC, ERA-LSTM, and PUMA.

• We characterize ASLF-level sensitivity to simplified weight variation and drift in an untrained pipeline with synthetic inputs, without inferring task-level prediction robustness.