This paper, presented at the 16th IBPSA Conference, explores how to overcome the "data hunger" of machine learning models in the building sector. Specifically, it demonstrates how transfer learning can slash the time required to model residential hot water systems from years to just a few weeks.
TL;DR
Modeling individual residential hot water systems is traditionally slow and data-intensive, often requiring months of sensor data to reach accuracy. By using transfer learning to share "knowledge" across different houses and system types, the authors developed reliable models in just a few weeks, effectively turning a 20-year data collection problem into a manageable task.
What Problem Does This Paper Address?
To optimize energy use or provide flexibility to the electric grid, we need accurate dynamic models of hot water systems (HWS). Historically, we’ve had two choices:
- White-box models: Built by experts using physics. These are accurate but don't scale because every house is slightly different, and hiring experts for every home is impossible.
- Black-box models: Purely data-driven (machine learning). These scale well but require massive amounts of data. Because a hot water tank might only go through one or two reheat cycles a day, it can take months or even years of monitoring a single house to gather enough "interesting" data to train a reliable model.
The authors tackle this "cold-start" problem: How do we get an accurate model for a new house quickly without needing an army of engineers?
Methods
The researchers employed Deep Neural Networks (DNNs) implemented in Keras, but the real innovation lies in their application of Transfer Learning (TL). They categorized their approach into two main types:
- Transductive Transfer: Sharing data between "homogeneous" systems (houses with the same HWS hardware). Here, they used feature sharing, essentially pooling data from multiple houses to train a single shared model.
- Inductive Transfer: Moving knowledge between "heterogeneous" systems (different hardware). They used parameter sharing, where a model is pre-trained on a large dataset from one project and then "fine-tuned" using a tiny amount of data from a different project.
Crucially, they moved away from "naive" time-series modeling. Instead of feeding the network raw sensor streams, they extracted episodic features (e.g., initial temperature, duration of use, ambient conditions). This reduced the input dimensionality by two orders of magnitude, making the learning process much more efficient.
Datasets
The study used real-world data from 61 net-zero energy houses in the Netherlands:
- Project A: 53 houses (used as the primary source for transfer).
- Project B: 8 houses with different HWS hardware (used to test inductive transfer).
- Data Streams: Vessel temperature, hot water flow, ambient temperature, and electricity consumption of the heat pumps.
Key Insights and Ideas
- The "20-Year" Shortcut: For the heating model (predicting heat pump energy use), the authors found that a single house would need nearly 20 years of data to reach the accuracy that transfer learning achieves in a fraction of that time by leveraging other houses.
- Data vs. Agency: In homogeneous systems, collecting data from 32 houses for 1 week is roughly equivalent to collecting data from 1 house for 32 weeks. This "agency" allows for massive parallelization of the learning process.
- Physics Matters (Even in Black Boxes): The authors didn't just look at error metrics ($R^2$, MAE); they performed "thermodynamic validation." They found that models trained with transfer learning respected physical laws (like "more heating requires more energy") far better than models trained on limited data from a single site.
- The Curse of Dimensionality: Using raw time-series data led to severe overfitting. The "aha moment" was realizing that HWS behavior is episodic; treating it as a series of discrete events rather than a continuous stream was key to success.
Key Results
- Convergence Speed: Transfer learning allowed models to converge to a reliable state in weeks, compared to the months or years required for traditional black-box methods.
- Accuracy: In the heating model, transfer learning (specifically parameter induction) significantly outperformed naive models. For example, after 4 weeks of data, the transfer-learned model had a Mean Absolute Error (MAE) roughly 3x lower than the non-transfer model.
- Robustness: The transfer-learned models showed much higher $R^2$ values (often >0.90 for energy prediction) and maintained thermodynamic consistency even when data was sparse.
Limitations and Future Work
- Negative Transfer: The authors acknowledge the risk of "negative transfer," where knowledge from a source domain actually hurts performance in the target domain if they are too different.
- Sensor Reliance: The method still requires at least one temperature sensor in the tank. Many existing systems are "dark" and lack this basic instrumentation.
- Geographic Specificity: The models are influenced by ambient conditions; a model learned in the Netherlands might need significant recalibration for a tropical climate.
- Future Directions: The authors suggest exploring more diverse systems, such as resistance heaters and different heat pump configurations, to build a more universal "base model" for residential HWS.
Summary updated