TLDR: A new study explores how deep learning models can proactively manage indoor environmental quality (IEQ) in smart buildings, balancing occupant comfort with energy efficiency. Researchers benchmarked LSTM, GRU, and hybrid CNN-LSTM models using the ROBOD dataset to forecast CO2, temperature, and humidity. The GRU model demonstrated the best short-term prediction accuracy and computational efficiency, while CNN-LSTM excelled in long-term feature extraction. These findings offer actionable insights for intelligent Building Management Systems (BMS) to implement predictive HVAC control, reducing energy consumption and enhancing occupant well-being.
Maintaining a comfortable and healthy indoor environment is essential for everyone, whether at home, in the office, or at school. This is known as Indoor Environmental Quality (IEQ), and it significantly impacts our health, comfort, and how productive we are. However, keeping IEQ optimal often comes at a high energy cost, especially with traditional heating, ventilation, and air conditioning (HVAC) systems that consume a large portion of a building’s total energy.
A recent study by Youssef Sabiri, Walid Houmaidi, Aaya Bougrine, and Salmane El Mansour Billah from Al Akhawayn University in Ifrane, Morocco, introduces a groundbreaking approach to tackle this challenge. Their research, titled “Optimizing Indoor Environmental Quality in Smart Buildings Using Deep Learning,” proposes using deep learning to proactively manage key IEQ parameters like CO2 concentration, temperature, and humidity, all while ensuring buildings remain energy efficient. You can read the full research paper here.
The Challenge of Indoor Environments
The U.S. Environmental Protection Agency (EPA) highlights that people spend about 90% of their time indoors, where pollutant levels can be 2 to 5 times higher than outdoors. This increases the risk of various health issues, from respiratory diseases to more severe conditions. The World Health Organization (WHO) also reported millions of premature deaths globally due to household air pollution in 2020, underscoring the urgent need for better indoor air management. Factors like CO2 levels, humidity, and temperature directly affect our cognitive function and efficiency. Traditional HVAC systems, which account for roughly 40% of a building’s energy use, often operate on fixed schedules and react slowly to changes, leading to wasted energy and delayed comfort adjustments.
A Smart Solution: Deep Learning for Predictive IEQ
To overcome these limitations, the researchers explored the power of deep learning models for predictive modeling. Instead of reacting to changes, these models can forecast IEQ parameters in advance, allowing HVAC systems to adjust proactively. The study specifically benchmarked three deep learning architectures: Long Short-Term Memory (LSTM), Gated Recurrent Units (GRU), and a hybrid Convolutional Neural Network–LSTM (CNN-LSTM).
The team utilized the ROBOD dataset, which was collected from a net-zero energy academic building and includes comprehensive data on indoor environmental conditions, energy consumption, HVAC operations, and even occupancy information from various rooms like lecture halls, offices, and a library. This rich dataset allowed the models to learn complex patterns and dependencies.
How the Models Were Trained
Before training, the data underwent careful preprocessing. Missing values were estimated using polynomial interpolation to maintain the integrity of the time-series data. Key features selected for prediction were air temperature, indoor CO2 levels, and humidity, as these directly impact occupant well-being and energy use. Time gaps in the dataset were addressed by retaining only continuous intervals, and timestamps were transformed into cyclical features to help the models understand daily and monthly trends. All features were normalized, and a sliding window approach was used to capture short-term dependencies, feeding the models one hour of past data (12 five-minute intervals) to predict future values.
Key Findings: GRU Leads the Way for Short-Term Predictions
After extensive training, the models were evaluated, and the results showed distinct differences in their performance:
- The **GRU model** emerged as the top performer for overall predictive accuracy and efficiency. It achieved the lowest Mean Absolute Error (MAE) and the highest R-squared (R2) value, indicating its superior ability to predict air temperature, CO2 levels, and humidity accurately. This makes GRU an excellent choice for short-term forecasting in real-world building operations.
- The **LSTM model** also showed competitive performance, demonstrating its strength in capturing long-range temporal dependencies, which is crucial for parameters that fluctuate with seasons, daily cycles, and occupancy changes.
- The **Hybrid CNN-LSTM model**, while powerful for extracting dominant features over longer forecasting windows, exhibited higher error rates in this study, particularly for CO2 prediction. Its complexity might have led to challenges in effectively modeling the specific temporal dependencies in this dataset.
The research highlights that the reliability of predictions depends on factors like data resolution, sensor placement, and fluctuating occupancy conditions. These insights are invaluable for developing intelligent Building Management Systems (BMS) that can implement predictive HVAC control, leading to significant reductions in energy consumption and enhanced occupant comfort.
Also Read:
- Digital Twins in Industrial Maintenance: A Comprehensive Review of Predictive Strategies and Future Directions
- Predicting NBA Player Career Trajectories with Machine Learning and Deep Learning
Looking Ahead
The study concludes that GRU offers an optimal balance of accuracy and computational efficiency for short-term IEQ forecasting, while CNN architectures show promise for long-term feature extraction. The authors suggest future work could involve integrating additional environmental and contextual features, such as weather forecasts and occupancy patterns, to further enhance model accuracy. Exploring advanced architectures like transformers and evaluating these models in real-time smart building deployments are also key next steps. Ultimately, this research paves the way for more sustainable and energy-efficient building operations, contributing to both environmental goals and human well-being.


