Building Power Consumption Forecasting with MTLTFT
Building Power Consumption Forecasting with MTLTFT
Article
Multi-Task Learning and Temporal-Fusion-Transformer-Based
Forecasting of Building Power Consumption
Wenxian Ji 1 , Zeyu Cao 2 and Xiaorun Li 1, *
1 College of Electrical Engineering, Zhejiang University, 866 Yuhangtang Rd., Hangzhou 310058, China;
11910094@[Link]
2 School of Spatial Planning and Design, Hangzhou City University, 51 Huzhou Street,
Hangzhou 310015, China; caozy@[Link]
* Correspondence: lxr@[Link]
Abstract: Improving the accuracy of the forecasting of building power consumption is helpful in
reducing commercial expenses and carbon emissions. However, challenges such as the shortage of
training data and the absence of efficient models are the main obstacles in this field. To address these
issues, this work introduces a model named MTLTFT, combining multi-task learning (MTL) with the
temporal fusion transformer (TFT). The MTL approach is utilized to maximize the effectiveness of
the limited data by introducing multiple related forecasting tasks. This method enhances the learning
process by enabling the model to learn shared representations across different tasks, although the
physical number of data remains unchanged. The TFT component, which is optimized for feature
learning, is integrated to further improve the model’s performance. Based on a dataset from a
large exposition building in Hangzhou, we conducted several forecasting experiments. The results
demonstrate that MTLTFT outperforms most baseline methods (such as LSTM, GRU, N-HiTS) in
terms of Root Mean Squared Error (RMSE) and Mean Absolute Percentage Error (MAPE), suggesting
that MTLTFT is a promising approach for the forecasting of building power consumption and other
similar tasks.
Keywords: power consumption forecasting; multi-task learning; deep learning; time series analysis;
Citation: Ji, W.; Cao, Z.; Li, X.
intelligent building
Multi-Task Learning and
Temporal-Fusion-Transformer-Based
Forecasting of Building Power
Consumption. Electronics 2023, 12,
4656. [Link]
1. Introduction
electronics12224656 In order to slow down the trend of global warming and protect the Earth’s ecologi-
cal environment, more and more countries and regions are committed to mitigating the
Academic Editors: Katia Lida
greenhouse effect by reducing carbon emissions. A significant portion of carbon emis-
Kermanidis, Phivos Mylonas and
Manolis Maragoudakis
sions is produced through the use of fossil fuels, which provide electricity for commercial
and domestic needs. As the primary consumers of electricity, commercial buildings hold
Received: 6 October 2023 great potential for reducing carbon emissions and alleviating global warming [1]. If the
Revised: 13 November 2023 power consumption of commercial buildings can be accurately predicted without affect-
Accepted: 14 November 2023 ing normal commercial demand, building operators can purchase electricity according to
Published: 15 November 2023
actual demand [2] and reduce the cost of electricity while enabling power suppliers to
allocate electricity more efficiently, reducing waste. Thus, the accurate prediction of power
consumption in commercial buildings has garnered increasing attention from researchers.
Copyright: © 2023 by the authors.
The task of forecasting power consumption can be considered as a subfield of time
Licensee MDPI, Basel, Switzerland. series analysis, which has been extensively studied by researchers. Time series analysis
This article is an open access article aims to understand the underlying structure and patterns within sequential data points,
distributed under the terms and making it a vital tool in various applications, from finance to meteorology. Statistical
conditions of the Creative Commons methods such as Auto-Regressive (AR) and Auto-Regressive Integrated Moving Average
Attribution (CC BY) license (https:// (ARIMA) have been successfully used by Box and Jenkins [3] in the economic sphere. The
[Link]/licenses/by/ AR and ARIMA models, in particular, leverage the correlation between successive data
4.0/). points in a time series to make predictions. Their popularity in economic forecasting is
attributed to their ability to capture and model seasonality, trends, and other patterns in the
data. These methods usually have a complete theoretical derivation process and modeling
steps that are suitable for data with a priori knowledge or empirical assumptions. However,
these methods may not be suitable for complex nonlinear data. The nonlinearity in data
can arise from various factors such as abrupt changes, external influences, or inherent
complexities in the underlying system. Traditional statistical methods might struggle to
capture these nonlinearities, leading to suboptimal forecasting performance. Hence, the
need for alternative methodologies that can handle such complexities becomes evident.
To better predict complex nonlinear time series, many machine learning (ML) meth-
ods have been used in the forecasting of building energy consumption, such as artificial
neural networks (ANNs) [4], gene expression programming (GEP) [5], and support vector
regression (SVR) [6]. With the help of ML, more complex distributions can be modeled,
resulting in increased accuracy in the forecasting of power consumption. In recent years,
the rise of deep learning [7,8] has further improved the accuracy of time series forecasting.
Various neural network modules have been introduced for time series analysis, including
convolutional neural networks (CNsN) [9], recurrent neural networks (RNNs) [10], and
long-short term memory (LSTM) networks [11]. These different neural network models
have various advantages for feature extraction and pattern recognition. As a result, some
methods have utilized several modules for the forecasting of power consumption, such as
CNN-LSTM [12] and RNN-LSTM [13]. These hybrid models take advantage of different
modules and have achieved impressive prediction results.
In recent years, a novel module named Transformer [14] has garnered significant
attention for its prowess in handling time series data. Unlike traditional methods, the
Transformer is built upon a unique architecture that leverages an attention mechanism.
This attention mechanism is pivotal in understanding the importance of different features
within a dataset. It works by dynamically allocating varying weights to different features
based on their relevance in a given context. As a result, the Transformer can discern and
emphasize critical patterns while de-emphasizing less relevant ones. This capability not
only enhances the accuracy of time series predictions but also provides insights into the
underlying structure of the data. With its ability to assign different weights to distinct
features, the Transformer has exhibited remarkable feature-learning ability, setting it apart
from many conventional models.
Many Transformer-based algorithms have been proposed for time series forecasting,
such as [15], which used Transformer for influenza prevalence analysis [16], which ad-
dressed the memory bottleneck of the Transformer for time series forecasting; and [17],
which improved the Transformer for long sequence time series forecasting. For the forecast-
ing of power consumption, some works have adopted the Transformer, such as [18], which
proposed a Transformer-based model for power consumption prediction and anomaly
detection, and [19], which combined Transformer and Light Gradient-Boosting Machine
(Light-GBM) [20] for medium-term power consumption forecasting.
While deep learning approaches have shown remarkable outcomes, they are widely
recognized for their extensive data demands [21–23]. Nevertheless, in practical settings,
energy consumption behaviors tend to be distinct among various buildings. Such distinctions
suggest that data might be somewhat limited when designing a prediction model specific to a
single structure. Therefore, it can be challenging to directly utilize deep learning models for
building power consumption forecasting [24]. To solve the data-deficiency problem in deep
learning algorithms, multi-task learning (MTL) [25] has been considered as a promising area.
MTL aims to improve the performance of multiple related learning tasks by leveraging useful
information among them. By learning multiple tasks, models can capture more important
information for the main task, especially when data are limited. Several works have been
performed to adopt MTL in deep learning for time series forecasting. For instance, [26]
adopted MTL for univariate time series forecasting, [27] improved the time series forecasting
results by fusing near and distant future visions, and [28] used old data to transfer useful
knowledge to current prediction for better time series prediction results.
Electronics 2023, 12, 4656 3 of 15
2. Related Works
2.1. Multi-Task Learning
Multi-task learning (MTL) aims to train multiple tasks in parallel, enhancing the
performance of the main task through the incorporation of training signals from other
related tasks [29]. By introducing auxiliary tasks, models can learn from both the main and
auxiliary tasks, yielding improved forecasting results. The selection of auxiliary tasks is a
critical aspect of MTL.
For time series forecasting, various approaches have been explored. The Multi-Level
Construal Neural Network (MLCNN) [27] posits that near and distant future forecasting
can serve as beneficial auxiliary tasks. Reference [30] employed a deep multi-task learning
framework to forecast air quality by integrating data from different but related tasks. In
another study, ref. [31] utilized MTL for electricity load forecasting, while the auxiliary
task was to predict the outdoor temperature. The authors of [32] provide a comprehensive
survey of MTL methodologies, underlining their effectiveness across different domains,
including time series forecasting.
By leveraging information from auxiliary tasks, MTL is demonstrated to enhance prediction
accuracy and model robustness, which is particularly valuable in time series forecasting.
3. Dataset
For the experiment, we obtained a dataset on building power consumption from the
Hangzhou International Expo Center (HIEC) in China. HIEC covers a total floor area
of 850,000 square meters, and by the end of December 2022, HIEC had witnessed more
Electronics 2023, 12, 4656 4 of 15
than 7400 conferences and more than 260 exhibitions. Hangzhou, where HIEC is located,
experiences a humid subtropical climate characterized by four distinct seasons: a warm
and humid spring, a hot and humid summer with frequent rainfalls, a cool and clear
autumn, and a cold and cloudy winter. This climate information is crucial as weather
variations significantly influence building power consumption patterns. As a building
with great power consumption, HIEC is a good research object for the forecasting of
power consumption. Specifically, we collected the day-level electricity load information
for HIEC for nearly three years (1 September 2019–30 December 2022). The center consists
of three parts: conference, hotel, and exhibition areas. These areas are used for different
purposes, so their electricity load patterns may vary. However, we found similar patterns
of power consumption on air conditioners in different areas. It is important to note that
in our analysis, we focused primarily on the consumption patterns of air conditioners,
excluding other electricity consumption patterns. Furthermore, it was observed that the
consumption of air conditioners accounted for approximately 40% of the total electricity
usage across these areas. This significant proportion highlights the relevance of our focus
on air conditioning systems in understanding the overall energy consumption at the center.
So we recorded the air conditioning power consumption in these three areas as part of
the dataset. We also recorded weather history information from China Meteorological
Data Service Center because knowing the temperature range in the future can be helpful
in forecasting the power consumption of air conditioners. Specifically, we recorded the
maximum and minimum temperatures for each day in the dataset.
A sample display of the dataset can be found in Table 1. Different areas were cate-
gorically encoded, such that 0 means conference area, 1 means hotel area, and 2 means
exhibition area. In the dataset, every record can be identified by the Date and Area columns.
The Consumption (kWh) column is the consumption of air conditioners, which is the
target value to forecast. The Max_temperature (°C) and Min_temperature (°C) columns are
auxiliary input variables to help forecasting.
We also show part of the dataset in Figure 1. In the hotel area, the consumption of air
conditioners is obviously higher in summer than in other months. This pattern is similar in
the other two areas. This implies that temperature is an important variable that influences
the power consumption of air conditioners. Also, some anomaly points (zero values) in
the dataset are shown in Figure 1, so we cleaned the data before building the training and
testing set. For those points with zero values, we replaced them with the mean of the
neighboring normal values within a 15-day range. In our observations of the data, we have
not come across a situation where there are zero values persisting for a consecutive span of
fifteen days. Thus, this filling method is feasible and does not pose any issues.
4. Methodology
We adopted a temporal fusion transformer and multi-task learning to deal with the
real data for building power consumption. We divided the datasets into two primary parts:
the training set and the testing set. Specifically, the proportion allocated for the training set
was 80%, while the testing set constituted 20% of the total data. It is essential to note that
we utilized 20% of the training set specifically as a validation set. This segmentation was
pivotal as it ensured that we had a dedicated subset for model evaluation and fine-tuning.
Subsequently, we leveraged these distinct sets to generate the requisite data for the various
tasks inherent to our multi-task learning approach.
GLU( X ) = σ (W 1 X + b1 ) (W 2 X + b 2 ) (1)
Electronics 2023, 12, 4656 6 of 15
Figure 2. Structure of simplified temporal fusion transformer. GRN represents gated residual
network blocks that enable efficient information flow with skip connections and gating layers. Time-
dependent processing is based on LSTMs for local processing, and multi-head attention for integrating
information from any time step.
Add&Norm means the combination of residual connection and layer normalization [37].
This layer has proven efficient for feature extraction in various transformer structures. Further-
more, the gated residual network (GRN) was proposed to give the model the flexibility to apply
non-linear processing only where needed. Equations (2)–(4) illustrate the GRN. LayerNorm(.)
is standard layer normalization, a, c are the inputs of the GRN, a is seen as the primary input,
and c is seen as an optional context vector. ELU is the Exponential Linear Unit function [38],
and η1 ∈ Rdmodel , η2 ∈ Rdmodel are intermediate layers. And W 3, W 4, W 5 are weight matrix
parameters, while b3, b4 are the corresponding bias parameters.
η1 = W 3 η2 + b 3 (3)
η2 = ELU(W 4 a + W 5 c + b4 ) (4)
GRN enables efficient information flow with skip connections and gating layers.
Except for the GRN, masked interpretable multi-head attention layers [33] are also special
components in TFT; with the rectified multi-head attention, the attention in the TFT becomes
interpretable and easy to understand. So we used the same multi-head attention layers in
our model; more details can be found in the original TFT. Finally, like the TFT, we adopted
quantile loss [39] as our loss function. With the help of these useful blocks, the simplified
version of TFT model is still good for forecasting tasks.
Electronics 2023, 12, 4656 7 of 15
QK T
Attention( Q, K, V ) = softmax √ V, (5)
dk
where Q, K, and V represent the query, key, and value matrices, respectively, and dk is the
dimension of the keys.
In the MIMHA, a masking matrix M is introduced to the attention mechanism to
control the information flow, making the attention scores more interpretable. The masked
attention is computed as
QK T + M
MaskedAttention( Q, K, V, M ) = softmax √ V. (6)
dk
The masking matrix M is designed such that it contains large negative values where
attention should be masked, forcing the softmax function to output near-zero values at
these positions. This enables the model to focus its attention on the unmasked positions,
making the attention scores more interpretable.
Furthermore, the MIMHA employs a rectification strategy to ensure that the attention
scores are non-negative, which simplifies the interpretation of the attention mechanism.
The rectified attention is computed as
where relu is the Rectified Linear Unit function, which zeroes out negative values, ensuring
that all attention scores are non-negative.
Through the incorporation of a masking strategy and rectification, the MIMHA pro-
vides a more interpretable and easily understandable attention mechanism, which is crucial
for analyzing and debugging the model, especially in tasks where understanding the
model’s focus is essential for ensuring correct and reliable predictions.
additional information and constraints to help the model better capture the patterns and
relationships in the data, thus improving the performance of the main task. Furthermore,
the MTL framework allows the model to share the learned representations among different
tasks, which can also help the model to better generalize to new data. Therefore, MTLTFT
can make the best use of limited data and improve the accuracy of the forecasting of
building power consumption.
Auxiliary Task
Temporal Fusion Transformer h-i ahead outputs
···
···
Main Task
Inputs Temporal Fusion Transformer h ahead outputs
···
···
Auxiliary Task
Temporal Fusion Transformer h+i ahead outputs
Unlike the original MLCNN implementation, we did not design explicitly seperated
parts for the main task and auxiliary tasks in the model. Instead, we shared the model
weight among the auxiliary tasks and the main task, hoping that the multi-task generation
can also act as a data-augmentation method. In the training phase, we directly put all the
data segments together for training. This way, more data can be used for model training,
improving the performance of the model.
where Yi is the forecast for the ith task, T is the total number of tasks, and X is the input
data. The shared encoder is represented by TFTencoder , and the task-specific decoders are
represented by TFTdecoderi .
In our experiments, we observed that the integrated MTL-TFT model outperformed
single-task models in terms of forecasting accuracy and robustness, especially when there
were limited data for individual tasks.
The evaluation metrics are Root Mean Squared Error (RMSE) and Mean Absolute
Percentage Error (MAPE). RMSE is a measure of the average deviation of the predicted
values from the actual values. As shown in Equation (9), RMSE is computed with three
variables: yi is the actual value of the i-th observation, ŷi is the predicted value of the i-th
observation, and n is the total number of observations.
s
1 n
n i∑
RMSE = (yi − ŷi )2 (9)
=1
Electronics 2023, 12, 4656 10 of 15
MAPE is a measure of the percentage difference between the predicted and actual values.
Equation (10) shows how MAPE is computed, yi is the actual value of the i-th observation, ŷi is
the predicted value of the i-th observation, and n is the total number of observations
100% n yi − ŷi
n i∑
MAPE = (10)
=1
yi
To extend these metrics for relative comparison, Relative RMSE and Relative MAPE
are utilized. Relative RMSE is calculated by comparing the RMSE of the proposed model to
that of a baseline model. It quantifies the improvement in or degradation of the proposed
model over the baseline. The formula for Relative RMSE is given in Equation (11), where
RMSEmodel is the RMSE of the proposed model, and RMSEbaseline is the RMSE of the
baseline model.
RMSEmodel − RMSEbaseline
Relative RMSE = (11)
RMSEbaseline
Similarly, Relative MAPE is defined as the MAPE of the proposed model in relation to
the MAPE of a baseline model. This metric offers a way to compare the percentage error of
the model against a standard baseline, providing a relative scale of error. The equation for
Relative MAPE is given in Equation (12), with MAPEmodel representing the MAPE of the
proposed model, and MAPEbaseline representing the MAPE of the baseline model.
MAPEmodel − MAPEbaseline
Relative MAPE = (12)
MAPEbaseline
5.2. Results
The forecasting experimental results are shown in Table 3. Obviously, simply using
the last known value as the prediction value is not good enough in our dataset. So Baseline
obtained the worst results in terms of both two metrics. Four other deep learning models,
including MTLTFT, achieved better results with RMSE lower than 1800. Furthermore,
MTLTFT achieved the smallest RMSE of 1761.15, outperforming all the methods. Although
MTLTFT was the best in terms of RMSE, N-HiTS achieved the smallest MAPE of 1.14. This
shows that N-HiTS is good at minimizing the percentage errors between the actual values
and the forecast values. However, MTLTFT achieved a close MAPE of 1.18, implying that
MTLTFT makes a good trade-off between MAPE and RMSE.
Table 3. A comparison of forecasting results, including RMSE, relative RMSE, MAPE, and relative
MAPE. The best results in each row are shown in bold.
ing set and validation set, and thus, we obtained training loss curves and validation loss
curves. According to the curves, the model costs about 200 epochs for convergence. With
the progress of training, training loss and validation loss decreased gradually and they
became close in the end. This means that the distributions of the training set and validated
set are similar and the model may have good generalization.
However, the validation loss is a bit smaller than the training loss. This may be
because the model performed better on the unseen validation set. We hold the opinion
that a shortage of data is the reason that the validation loss is lower than the training loss.
Data in the validation set are too similar to the training set, so it is too easy for the model to
forecast on the validation set. As a result, we still need more data or data-augmentation
methods for further exploration.
For further illustration, we show two visualizations of the forecasting results in
Figure 5 (larger error) and Figure 6 (smaller error). In these figures, blue curves are actual
values and orange curves are predicted values. Grey curves represent the attention val-
ues. The attention values are the features generated in Masked Interpretable Multi-head
Attention part in Figure 2, which has the same length as the input variables. Different
shades and colors indicate the probability of the predicted value produced by the model
during the prediction. The deeper the color is, the larger the probability is. According to
the figures, MTLTFT pays more attention to the increase in the input and responds to it in
the prediction. The prediction of the model tends to be in the middle of the actual value
range. This is why MTLTFT can obtain the smallest RMSE value and the best forecasting
accuracy. However, MTLTFT is still not able to fit the actual value perfectly because of the
shortage of data.
Electronics 2023, 12, 4656 12 of 15
Figure 5. A forecasting example for the testing results of MTLTFT (larger error).
Figure 6. A forecasting example for the testing results of MTLTFT (smaller error).
6. Conclusions
In this research endeavor, we have pioneered the introduction of MTLTFT, a ground-
breaking algorithm combining the robustness of a multi-task learning approach with the
precision of temporal fusion transformers, optimized specifically for forecasting building
power consumption. Our salient contributions encompass the following:
1. Innovating a multi-task learning technique that serves dual purposes: data augmenta-
tion and efficient model training;
2. Customizing temporal fusion transformers to cater specifically to the nuances of
building power consumption forecasting;
Electronics 2023, 12, 4656 13 of 15
Abbreviations
The following abbreviations are used in this manuscript:
References
1. Ürge-Vorsatz, D.; Cabeza, L.F.; Serrano, S.; Barreneche, C.; Petrichenko, K. Heating and cooling energy trends and drivers in
buildings. Renew. Sustain. Energy Rev. 2015, 41, 85–98. [CrossRef]
2. Li, W.; Xu, P.; Lu, X.; Wang, H.; Pang, Z. Electricity demand response in China: Status, feasible market schemes and pilots. Energy
2016, 114, 981–994. [CrossRef]
3. Box, G.E.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control; John Wiley & Sons: Hoboken, NJ,
USA, 2015.
4. Moon, J.; Park, S.; Rho, S.; Hwang, E. A comparative analysis of artificial neural network architectures for building energy
consumption forecasting. Int. J. Distrib. Sens. Netw. 2019, 15, 1550147719877616. [CrossRef]
5. Kaboli, S.H.A.; Fallahpour, A.; Kazemi, N.; Selvaraj, J.; Rahim, N. An expression-driven approach for long-term electric power
consumption forecasting. Am. J. Data Min. Knowl. Discov. 2016, 1, 16–28.
6. Chen, Y.; Mao, B.; Bai, Y.; Feng, Y.; Li, Z. Forecasting traction energy consumption of metro based on support vector regression.
Syst. Eng. Eory Pract. 2016, 36, 2101–2107.
7. Mehta, C.; Chandel, N.; Dubey, K. Smart Agricultural Mechanization in India—Status and Way Forward. In Smart Agriculture for
Developing Nations: Status, Perspectives and Challenges; Springer: Singapore, 2023; pp. 1–14.
8. Verma, J. Deep Technologies Using Big Data in: Energy and Waste Management. In Deep Learning Technologies for the Sustainable
Development Goals: Issues and Solutions in the Post-COVID Era; Springer: Singapore, 2023; pp. 21–39.
9. Albawi, S.; Mohammed, T.A.; Al-Zawi, S. Understanding of a convolutional neural network. In Proceedings of the 2017
International Conference on Engineering and Technology (ICET), Antalya, Turkey, 21–23 August 2017; pp. 1–6.
10. Medsker, L.R.; Jain, L. Recurrent neural networks. Des. Appl. 2001, 5, 64–67.
Electronics 2023, 12, 4656 14 of 15
11. Graves, A.; Graves, A. Long short-term memory. In Supervised Sequence Labelling with Recurrent Neural Networks; Springer:
Berlin/Heidelberg, Germany, 2012; pp. 37–45.
12. Shao, X.; Pu, C.; Zhang, Y.; Kim, C.S. Domain fusion CNN-LSTM for short-term power consumption forecasting. IEEE Access
2020, 8, 188352–188362. [CrossRef]
13. Yuniarti, E.; Nurmaini, N.; Suprapto, B.Y.; Rachmatullah, M.N. Short term electrical energy consumption forecasting using
rnn-lstm. In Proceedings of the 2019 International Conference on Electrical Engineering and Computer Science (ICECOS), Batam,
Indonesia, 2–3 October 2019; pp. 287–292.
14. Han, K.; Xiao, A.; Wu, E.; Guo, J.; Xu, C.; Wang, Y. Transformer in transformer. Adv. Neural Inf. Process. Syst. 2021, 34, 15908–15919.
15. Wu, N.; Green, B.; Ben, X.; O’Banion, S. Deep transformer models for time series forecasting: The influenza prevalence case. arXiv
2020, arXiv:2001.08317.
16. Li, S.; Jin, X.; Xuan, Y.; Zhou, X.; Chen, W.; Wang, Y.X.; Yan, X. Enhancing the locality and breaking the memory bottleneck of
transformer on time series forecasting. In Proceedings of the Advances in Neural Information Processing Systems 32 (NeurIPS
2019), Vancouver, BC, Canada, 8–14 December 2019; Volume 32.
17. Zhou, H.; Zhang, S.; Peng, J.; Zhang, S.; Li, J.; Xiong, H.; Zhang, W. Informer: Beyond efficient transformer for long sequence
time-series forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 2–9 February
2021; Volume 35, pp. 11106–11115.
18. Zhang, J.; Zhang, H.; Ding, S.; Zhang, X. Power consumption predicting and anomaly detection based on transformer and
K-means. Front. Energy Res. 2021, 9, 779587. [CrossRef]
19. Yang, G.; Du, S.; Duan, Q.; Su, J. A Novel Data-Driven Method for Medium-Term Power Consumption Forecasting Based on
Transformer-LightGBM. Mob. Inf. Syst. 2022, 2022, 5465322. [CrossRef]
20. Qi, M.L. A highly efficient gradient boosting decision tree. In Neural Information Processing Systems; Curran Associates Inc.: Red
Hook, NY, USA, 2017.
21. Lim, B.; Zohren, S. Time-series forecasting with deep learning: A survey. Philos. Trans. R. Soc. A 2021, 379, 20200209. [CrossRef]
[PubMed]
22. Sai Surya Teja, T.; Venkata Hari Prasad, G.; Meghana, I.; Manikanta, T. Publishing Temperature and Humidity Sensor Data to
ThingSpeak. In Embracing Machines and Humanity Through Cognitive Computing and IoT; Springer: Singapore, 2023; pp. 1–9.
23. Rashid, E.; Ansari, M.D.; Gunjan, V.K.; Ahmed, M. Improvement in extended object tracking with the vision-based algorithm. In
Modern Approaches in Machine Learning and Cognitive Science: A Walkthrough: Latest Trends in AI; Springer: Cham, Switzerland,
2020; pp. 237–245.
24. Somu, N.; MR, G.R.; Ramamritham, K. A deep learning framework for building energy consumption forecast. Renew. Sustain.
Energy Rev. 2021, 137, 110591. [CrossRef]
25. Zhang, Y.; Yang, Q. An overview of multi-task learning. Natl. Sci. Rev. 2018, 5, 30–43. [CrossRef]
26. Cirstea, R.G.; Micu, D.V.; Muresan, G.M.; Guo, C.; Yang, B. Correlated time series forecasting using deep neural networks: A
summary of results. arXiv 2018, arXiv:1808.09794.
27. Cheng, J.; Huang, K.; Zheng, Z. Towards better forecasting by fusing near and distant future visions. In Proceedings of the AAAI
Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 34, pp. 3593–3600.
28. Ye, R.; Dai, Q. MultiTL-KELM: A multi-task learning algorithm for multi-step-ahead time series prediction. Appl. Soft Comput.
2019, 79, 227–253. [CrossRef]
29. Crawshaw, M. Multi-task learning with deep neural networks: A survey. arXiv 2020, arXiv:2009.09796.
30. Chen, L.; Ding, Y.; Lyu, D.; Liu, X.; Long, H. Deep multi-task learning based urban air quality index modelling. Proc. Acm Interact.
Mob. Wearable Ubiquitous Technol. 2019, 3, 1–17. [CrossRef]
31. Liu, C.L.; Tseng, C.J.; Huang, T.H.; Yang, J.S.; Huang, K.B. A multi-task learning model for building electrical load prediction.
Energy Build. 2023, 278, 112601. [CrossRef]
32. Vandenhende, S.; Georgoulis, S.; Van Gansbeke, W.; Proesmans, M.; Dai, D.; Van Gool, L. Multi-task learning for dense prediction
tasks: A survey. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 44, 3614–3633. [CrossRef]
33. Lim, B.; Arık, S.Ö.; Loeff, N.; Pfister, T. Temporal fusion transformers for interpretable multi-horizon time series forecasting. Int.
J. Forecast. 2021, 37, 1748–1764. [CrossRef]
34. Wu, B.; Wang, L.; Zeng, Y.R. Interpretable wind speed prediction with multivariate time series and temporal fusion transformers.
Energy 2022, 252, 123990. [CrossRef]
35. Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [CrossRef] [PubMed]
36. Dauphin, Y.N.; Fan, A.; Auli, M.; Grangier, D. Language modeling with gated convolutional networks. In Proceedings of the
International Conference on Machine Learning, PMLR, Sydney, Australia, 6–11 August 2017; pp. 933–941.
37. Ba, J.L.; Kiros, J.R.; Hinton, G.E. Layer normalization. arXiv 2016, arXiv:1607.06450.
38. Clevert, D.A.; Unterthiner, T.; Hochreiter, S. Fast and accurate deep network learning by exponential linear units (elus). arXiv
2015, arXiv:1511.07289.
39. Wen, R.; Torkkola, K.; Narayanaswamy, B.; Madeka, D. A multi-horizon quantile recurrent forecaster. arXiv 2017, arXiv:1711.11053.
40. Challu, C.; Olivares, K.G.; Oreshkin, B.N.; Garza, F.; Mergenthaler, M.; Dubrawski, A. N-hits: Neural hierarchical interpolation
for time series forecasting. arXiv 2022, arXiv:2201.12886.
Electronics 2023, 12, 4656 15 of 15
41. Dey, R.; Salem, F.M. Gate-variants of gated recurrent unit (GRU) neural networks. In Proceedings of the 2017 IEEE 60th
International Midwest Symposium on Circuits and Systems (MWSCAS), Boston, MA, USA, 6–9 August 2017; pp. 1597–1600.
42. Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. Pytorch:
An imperative style, high-performance deep learning library. In Proceedings of the Advances in Neural Information Processing
Systems 32 (NeurIPS 2019), Vancouver, BC, Canada, 8–14 December 2019; Volume 32.
43. Koenker, R.; Hallock, K.F. Quantile regression. J. Econ. Perspect. 2001, 15, 143–156. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual
author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to
people or property resulting from any ideas, methods, instructions or products referred to in the content.