TILDE-Q: A Transformation Invariant Loss Function for Time-Series Forecasting

Hyunwook Lee, Chunggi Lee, Hongkyu Lim, Sungahn Ko
10/26/2022
cs.LG

Official code: HyunWookL/TILDE-Q (24 stars, Shell, last commit 2025-02-11).

Abstract

Time-series forecasting has gained increasing attention in the field of artificial intelligence due to its potential to address real-world problems across various domains, including energy, weather, traffic, and economy. While time-series forecasting is a well-researched field, predicting complex temporal patterns such as sudden changes in sequential data still poses a challenge with current models.

Show full abstract

This difficulty stems from minimizing Lp norm distances as loss functions, such as mean absolute error (MAE) or mean square error (MSE), which are susceptible to both intricate temporal dynamics modeling and signal shape capturing. Furthermore, these functions often cause models to behave aberrantly and generate uncorrelated results with the original time-series. Consequently, developing a shape-aware loss function that goes beyond mere point-wise comparison is essential. In this paper, we examine the definition of shape and distortions, which are crucial for shape-awareness in time-series forecasting, and provide a design rationale for the shape-aware loss function. Based on our design rationale, we propose a novel, compact loss function called TILDEQ (Transformation Invariant Loss function with Distance EQuilibrium) that considers not only amplitude and phase distortions but also allows models to capture the shape of time-series sequences. Furthermore, TILDE-Q supports the simultaneous modeling of periodic and nonperiodic temporal dynamics. We evaluate the efficacy of TILDE-Q by conducting extensive experiments under both periodic and nonperiodic conditions with various models ranging from naive to state-of-the-art. The experimental results show that the models trained with TILDE-Q surpass those trained with other metrics, such as MSE and DILATE, in various real-world applications, including electricity, traffic, illness, economics, weather, and electricity transformer temperature (ETT).

View on arXivView PDF

Code Implementations(1)

HyunWookL/TILDE-QOfficial100%

Official Implementation of TILDE-Q: A Transformation Invariant Loss Function for Time-Series Forecasting

243Shell, PythonMar 17, 20231 years ago

Similar Papers

Cite this paper

@article{lee2022tildeq,
  title  = {TILDE-Q: A Transformation Invariant Loss Function for Time-Series Forecasting},
  author = {Hyunwook Lee and Chunggi Lee and Hongkyu Lim and Sungahn Ko},
  year   = {2022},
  eprint = {2210.15050},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15050}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.15050.svg)](https://codeofpaper.com/paper/2210.15050)

Discussion