Differential Convolutional Fuzzy Time Series Forecasting

Tianxiang Zhan, Yuanpeng He, Yong Deng, Zhen LiarXiv 2023 · DOI

TL;DR

The Differential Convolutional Fuzzy Neural Network (DFCNN) breathes new life into fuzzy time series forecasting by replacing rigid expert-defined rules with learnable convolutional layers. By incorporating a differencing step to handle non-stationary data, it solves the long-standing "fuzzy failure" problem and outperforms modern deep learning benchmarks like Transformers and DeepAR on standard time series competitions.

What Problem Does This Paper Address?

Traditional Fuzzy Time Series Forecasting (FTSF) is essentially an "expert system." It relies on human-defined fuzzy sets and rules to handle data uncertainty. However, this approach has two major flaws:

  1. Fuzzy Failure (FF): Most real-world data is non-stationary (it has trends). When data drifts outside the initial fuzzy sets defined by an expert, the system becomes invalid, often outputting a constant, useless value.
  2. Rigidity: Expert systems can't easily learn new features or handle long-range dependencies. They are typically limited to simple "if-then" rules involving only two consecutive time steps.
Fig. 2. The effect of the time node out of fuzzy set

Methods

The authors propose DFCNN, a hybrid architecture that combines the uncertainty-handling strengths of fuzzy logic with the learning power of Convolutional Neural Networks (CNNs).

The pipeline consists of several novel layers:

  • Difference Layer: Applies a differencing algorithm to the input data. This removes trends, making the time series stationary and preventing "fuzzy failure."
  • Sliding Window Layer: Instead of looking at just one previous step, this layer allows the model to consider an arbitrary number of past observations, effectively expanding the length of the fuzzy rules.
  • Fuzzy Generator Layer: This is the core innovation. It transforms raw values into Fuzzy Tokens—vectors that encode how a value relates to its nearest fuzzy boundaries. This preserves the "fuzzy" nature of the data while making it compatible with neural networks.
  • Convolutional Layer: Replaces the manual expert reasoning system. The CNN kernels act as learnable membership functions, automatically discovering complex patterns and relationships in the fuzzy tokens.
  • Linear & Recovery Layers: The final stages synthesize the CNN output into a prediction and then "re-trend" the data to provide a forecast in the original scale.
Fig. 1. Flow chart of FSTF and DFCNN

Datasets

The model was evaluated against a wide range of benchmarks:

  • Construction Cost Index (CCI): A single, highly non-stationary time series used to test the model's ability to handle strong trends.
  • M-Competitions (M1, M2, M3, M4): These are the "gold standard" benchmarks in time series research, containing over 100,000 diverse time series across various domains (finance, industry, micro/macro-economics) and frequencies (yearly to hourly).

Key Insights and Ideas

  • CNNs as Learnable Logic: The most significant insight is that a 1D convolution operation is mathematically equivalent to a fuzzy reasoning process if the inputs are structured correctly. By training the CNN, the model effectively "learns" the best fuzzy rules for the data.
  • Fuzzy Tokens: Rather than just assigning a value to a single fuzzy set, Fuzzy Tokens (illustrated in Fig. 4 below) provide a richer representation by encoding the distance to multiple boundaries, allowing the network to retain more information during the fuzzification process.
  • Stationarity is Key: By differencing the data before fuzzification, the authors ensure that the fuzzy sets remain relevant even as the original data values climb or fall significantly over time.
Fig. 4. The establishment process of fuzzy interval for a difference series of length 9. The triangle is shown as fuzzy membership µ(x), which is skipped in the DFCNN. Here it is only considered that the output of each membership function determined by the input x depends on the two endpoints where x is nearest.

Key Results

  • Superior Accuracy: On the non-stationary CCI dataset, DFCNN achieved a Mean Absolute Error (MAE) of 19.05, a 26.11% improvement over basic FTSF models.
  • Benchmark Dominance: In the massive M4 competition, DFCNN significantly outperformed established statistical models (ARIMA, ETS) and modern deep learning models (Transformer, DeepAR, WaveNet) across almost all time frequencies.
  • Efficiency: Despite its high performance, DFCNN is lightweight. Its time complexity is generally $O(n)$, making it much faster to train and deploy than large-scale Transformer models.

Limitations and Future Work

  • Single-Step Limitation: Currently, DFCNN is designed for single-step forecasting. Because it relies on a differencing algorithm, errors can accumulate quickly if the model is used to predict many steps into the future recursively.
  • Outlier Sensitivity: The model struggled with specific "abnormal" time series in the M2 dataset where the test data behaved radically differently from the training data.
  • Future Directions: The authors suggest exploring RNN-like structures to better handle periodicity and expanding the model to handle multivariate time series (predicting multiple related variables at once).

Summary updated

BibTeX
@misc{zhan2023differential,
  author = {Tianxiang Zhan and Yuanpeng He and Yong Deng and Zhen Li},
  title = {{Differential Convolutional Fuzzy Time Series Forecasting}},
  year = {2023},
  eprint = {2305.08890},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.08890},
}
Figure