Chronos-2 fine-tuned for heat demand (Aalborg smart heat meters)
Chronos-2 with all weights fine-tuned on hourly heat demand of district-heated residential buildings in Aalborg, Denmark. The model forecasts both single buildings and sums of buildings (districts, whole network), with the outdoor temperature and a working-day flag as future covariates. It is the model called Chronos-2-FT in the paper Does Fine-Tuning Time Series Foundation Models on Smart Heat Meters Pay Off for Heat Demand Forecasting? (Meyer, Albers, Müller; Paderborn University; preprint, link follows).
Training
| Base model | amazon/chronos-2 (Apache-2.0), all weights trained with Chronos2Pipeline.fit |
| Data | 3,021 smart heat meters, Aalborg, hourly (Schaffer et al. 2022, dataset, CC BY 4.0) |
| Training series | 4,033: the 3,021 meters, 11 pseudo-districts plus the sum of all meters, and 1,000 sums of randomly drawn meters (10 meters to all, log-uniform) |
| Training period | 2018-2019 (all series cut at 2020-01-01); 2020 is the test year |
| Covariates | t_ambient_c (outdoor temperature, ERA5, °C) and is_working_day (0/1), both known for the forecast hours |
| Context length | 2,048 hours |
| Schedule | 16,000 steps, learning rate 1e-5, linear decay, seed 20261022, chronos-forecasting 2.3.2 |
| Hardware | one NVIDIA TITAN RTX, 9.3 hours |
The number of steps was selected on 2019 (validation), then the model was retrained on 2018-2019 with the same schedule.
Use
import pandas as pd
from chronos import Chronos2Pipeline
pipeline = Chronos2Pipeline.from_pretrained("DAG-UPB/chronos-2-heat-demand-aalborg")
# context_df: columns id, timestamp, target, t_ambient_c, is_working_day (hourly, 2,048 h per id)
# future_df: columns id, timestamp, t_ambient_c, is_working_day for the next 24 h
pred = pipeline.predict_df(
context_df, future_df=future_df, prediction_length=24,
quantile_levels=[0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9],
id_column="id", timestamp_column="timestamp", target="target",
)
Results and limitations
Results on the test year 2020 are in the paper. In short: on the Aalborg meters and their sums, fine-tuning made the forecasts more accurate than zero-shot Chronos-2 with the same weather input.
- Intervals too narrow on sums. On the sums of meters, which it saw in training, the model became overconfident (80 % intervals cover clearly less than 80 %). Calibrate the intervals before using them for decisions.
- Little transfer. The gain did not carry over to other networks (Flensburg, Helsinki); there, use zero-shot Chronos-2 or fine-tune on local data.
- One network. Trained on residential buildings in one Danish city and three years of data.
- Oracle weather. In the paper, the covariates for the forecast hours are observed weather, not weather forecasts.
Citation
Please cite the paper (reference follows with the preprint) and the dataset: Schaffer et al. (2022), Scientific Data, doi:10.1038/s41597-022-01502-3.