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.
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.
- 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