Enhancing Time Series Forecasting via Logic-Inspired Regularization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Jianqi, Wang, Jingyao, Shen, Xingchen, Qiang, Wenwen
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915189596618752
author Zhang, Jianqi
Wang, Jingyao
Shen, Xingchen
Qiang, Wenwen
author_facet Zhang, Jianqi
Wang, Jingyao
Shen, Xingchen
Qiang, Wenwen
contents Time series forecasting (TSF) plays a crucial role in many applications. Transformer-based methods are one of the mainstream techniques for TSF. Existing methods treat all token dependencies equally. However, we find that the effectiveness of token dependencies varies across different forecasting scenarios, and existing methods ignore these differences, which affects their performance. This raises two issues: (1) What are effective token dependencies? (2) How can we learn effective dependencies? From a logical perspective, we align Transformer-based TSF methods with the logical framework and define effective token dependencies as those that ensure the tokens as atomic formulas (Issue 1). We then align the learning process of Transformer methods with the process of obtaining atomic formulas in logic, which inspires us to design a method for learning these effective dependencies (Issue 2). Specifically, we propose Attention Logic Regularization (Attn-L-Reg), a plug-and-play method that guides the model to use fewer but more effective dependencies by making the attention map sparse, thereby ensuring the tokens as atomic formulas and improving prediction performance. Extensive experiments and theoretical analysis confirm the effectiveness of Attn-L-Reg.
format Preprint
id arxiv_https___arxiv_org_abs_2503_06867
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing Time Series Forecasting via Logic-Inspired Regularization
Zhang, Jianqi
Wang, Jingyao
Shen, Xingchen
Qiang, Wenwen
Artificial Intelligence
Machine Learning
Time series forecasting (TSF) plays a crucial role in many applications. Transformer-based methods are one of the mainstream techniques for TSF. Existing methods treat all token dependencies equally. However, we find that the effectiveness of token dependencies varies across different forecasting scenarios, and existing methods ignore these differences, which affects their performance. This raises two issues: (1) What are effective token dependencies? (2) How can we learn effective dependencies? From a logical perspective, we align Transformer-based TSF methods with the logical framework and define effective token dependencies as those that ensure the tokens as atomic formulas (Issue 1). We then align the learning process of Transformer methods with the process of obtaining atomic formulas in logic, which inspires us to design a method for learning these effective dependencies (Issue 2). Specifically, we propose Attention Logic Regularization (Attn-L-Reg), a plug-and-play method that guides the model to use fewer but more effective dependencies by making the attention map sparse, thereby ensuring the tokens as atomic formulas and improving prediction performance. Extensive experiments and theoretical analysis confirm the effectiveness of Attn-L-Reg.
title Enhancing Time Series Forecasting via Logic-Inspired Regularization
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2503.06867