SPECTRA: An Efficient Spectral-Informed Neural Network for Sensor-Based Activity Recognition

arXiv cs.LG / 3/30/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • SPECTRA is proposed as a deployment-first spectral-informed neural network for real-time sensor-based human activity recognition on resource-constrained edge devices.
  • The approach integrates STFT-based spectral feature extraction with depthwise separable convolutions and channel-wise self-attention to model spectral-temporal dependencies more efficiently than “black-box” sequence modeling.
  • A compact bidirectional GRU with attention pooling summarizes within-window dynamics at low computational cost, reducing downstream model burden while maintaining accuracy.
  • Experiments on five public HAR datasets show SPECTRA matches or approaches larger CNN/LSTM/Transformer baselines while significantly reducing parameters, latency, and energy.
  • The paper reports end-to-end deployability demonstrations on a Google Pixel 9 smartphone and an STM32L4 microcontroller, targeting low-latency and privacy-preserving edge inference.

Abstract

Real time sensor based applications in pervasive computing require edge deployable models to ensure low latency privacy and efficient interaction. A prime example is sensor based human activity recognition where models must balance accuracy with stringent resource constraints. Yet many deep learning approaches treat temporal sensor signals as black box sequences overlooking spectral temporal structure while demanding excessive computation. We present SPECTRA a deployment first co designed spectral temporal architecture that integrates short time Fourier transform STFT feature extraction depthwise separable convolutions and channel wise self attention to capture spectral temporal dependencies under real edge runtime and memory constraints. A compact bidirectional GRU with attention pooling summarizes within window dynamics at low cost reducing downstream model burden while preserving accuracy. Across five public HAR datasets SPECTRA matches or approaches larger CNN LSTM and Transformer baselines while substantially reducing parameters latency and energy. Deployments on a Google Pixel 9 smartphone and an STM32L4 microcontroller further demonstrate end to end deployable realtime private and efficient HAR.