S4ConvD: Adaptive Scaling and Frequency Adjustment for Energy-Efficient Sensor Networks in Smart Buildings

Melanie Schaller, Bodo RosenhahnarXiv 2025 · DOI

Abstract

Accurate energy consumption forecasting in smart buildings is critical for grid stability and operational efficiency but is often hampered by noisy sensor data and complex environmental variables. We present S4ConvD, a deep learning architecture based on Structured State Space Models (S4D) that incorporates adaptive scaling and frequency adjustments. S4ConvD effectively captures long-range temporal dependencies in raw, uncleaned sensor data. Evaluated on the ASHRAE Great Energy Predictor III benchmark, S4ConvD achieves a Root Mean Squared Logarithmic Error (RMSLE) of 0.395, significantly outperforming traditional ensemble methods and standard S4D models. Furthermore, custom CUDA memory optimizations via block tiling yield a 36% improvement in GPU runtime efficiency, making the model suitable for resource-constrained edge deployment.

Introduction

Predicting energy consumption in smart buildings involves navigating high-dimensional, noisy time-series data influenced by volatile factors such as humidity, temperature, and occupancy. Current state-of-the-art solutions typically rely on massive ensembles of Gradient Boosted Trees (e.g., CatBoost, LightGBM) which require extensive manual data cleaning and feature engineering. While Transformers offer sequence modeling capabilities, their quadratic complexity limits their scalability for long-range sensor data. S4ConvD addresses these challenges by evolving the Structured State Space Model (S4D) framework into a convolutional variant that is both robust to noise and computationally efficient.

Methods

The S4ConvD architecture leverages the Structured State Space Model (S4D) framework, representing sequences through differential equations. The core innovation lies in the "ConvD" extension, which introduces several adaptive mechanisms to the standard SSM approach.

The S4ConvD end-to-end architecture, mapping multi-modal sensor inputs through an adaptive S4D-Conv block to predict energy consumption at the next time step.

Adaptive Convolutional Kernel

Unlike the fixed Cauchy kernels in standard S4D, S4ConvD employs a dynamically parameterized kernel: $K_{S4ConvD}(t) = C \times \sigma(e^{tA_{adaptive}} \cdot B_{adaptive})$. The state transition matrix ($A$) and input matrix ($B$) are learned during training, allowing the model to adapt to real-time changes in temporal dynamics.

Frequency Adjustment and Hardware Optimization

A selective non-linear transformation ($\sigma$) is applied to the kernel to act as a filter, amplifying periodic signals (e.g., daily cycles) while suppressing high-frequency sensor noise. To ensure hardware efficiency, the authors implemented Block Tiling in CUDA. This technique organizes data into tiles that fit within GPU shared memory, reducing global memory latency and increasing GPU utilization from 63% to 99%.

Experimental Setup

The model was evaluated using the ASHRAE Great Energy Predictor III (GEPIII) dataset, comprising approximately 62 million hourly measurements from 2,380 meters across 1,448 buildings. The dataset includes electricity, chilled water, steam, and hot water consumption data, paired with coincident weather features (temperature, cloud cover, dew point). Crucially, the data was used with minimal cleaning to test the model's robustness against real-world "dirty" sensor data.

Key Results

S4ConvD demonstrated superior predictive performance and computational efficiency compared to both classical and modern baselines.

Visual comparison of predicted energy consumption (purple) versus historical readings (blue) across different building sectors, demonstrating the model's ability to capture complex temporal patterns.
  • Predictive Accuracy: S4ConvD achieved an RMSLE of 0.395, outperforming the baseline S4D (0.425) and significantly surpassing traditional ensembles like LightGBM/CatBoost (1.232) on the same data split.
  • Computational Efficiency: The custom CUDA optimizations reduced training time per epoch by 35.38% and lowered RAM and disk I/O requirements, facilitating potential deployment on edge devices.

Conclusion

S4ConvD provides a robust, end-to-end solution for building energy forecasting that eliminates the need for labor-intensive manual preprocessing. By combining adaptive kernels with hardware-aware optimizations, it achieves state-of-the-art accuracy and high efficiency. Future work will focus on real-time integration within IoT platforms for smart grid management and scaling the approach to broader smart city frameworks.

Summary updated

BibTeX
@misc{schaller2025s,
  author = {Melanie Schaller and Bodo Rosenhahn},
  title = {{S4ConvD: Adaptive Scaling and Frequency Adjustment for Energy-Efficient Sensor Networks in Smart Buildings}},
  year = {2025},
  eprint = {2502.21035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.21035},
}
Figure