Abstract
Time series forecasting (TSF) has been a challenging research area, and various models have been developed to address this task. However, almost all these models are trained with numerical time series data, which is not as effectively processed by the neural system as visual information. To address this challenge, this paper proposes a novel machine vision assisted deep time series analysis (MV-DTSA) framework. The MV-DTSA framework operates by analyzing time series data in a novel binary machine vision time series metric space, which includes a mapping and an inverse mapping function from the numerical time series space to the binary machine vision space, and a deep machine vision model designed to address the TSF task in the binary space. A comprehensive computational analysis demonstrates that the proposed MV-DTSA framework outperforms state-of-the-art deep TSF models, without requiring sophisticated data decomposition or model customization.
Introduction
Traditionally, time series forecasting (TSF) is treated as a numerical regression problem. While architectures like Transformers and CNNs have advanced the field, they primarily operate on sequences of raw numbers. This paper challenges that paradigm by leveraging the visual processing strengths of neural systems. The human brain interprets trends and patterns far more effectively through visual shapes than through lists of values. The proposed Machine Vision Assisted Deep Time Series Analysis (MV-DTSA) framework explores whether deep learning models can achieve superior forecasting by "looking" at time series as 2D binary images.
The MV-DTSA Framework
The MV-DTSA framework reimagines the forecasting pipeline by translating numerical sequences into a visual domain. This allows the use of off-the-shelf computer vision architectures for a task traditionally reserved for sequential models.
The process consists of three core stages:
- Mapping to Binary Space: Numerical data is transformed into a 2D binary tensor. This "image" represents the time series as a set of activated pixels on a grid.
- Deep Machine Vision Modeling: Standard image segmentation models, such as U-Net or DeepLabV2, are employed to predict future "frames" of the time series image based on historical visual patterns.
- Inverse Mapping: The predicted binary image is converted back into numerical values for evaluation and practical use.
Mapping Mechanism
The mapping process is governed by resolution ($h$) and scale hyperparameters. By discretizing the numerical values into a grid, the framework creates a spatial representation of the data's trajectory.
The authors provide a mathematical proof for System Measurement Error (SME), demonstrating that as the image resolution increases, the reconstruction error converges to zero, ensuring minimal information loss during the transformation.
Experimental Evaluation
The framework was tested against six benchmark datasets: Electricity, Exchange Rate, Traffic, Weather, ILI, and ETTm2. MV-DTSA was compared against state-of-the-art (SOTA) models including Informer, Autoformer, FEDformer, PatchTST, and DLinear.
Key Insights
- Visual Tendency Over Precision: The success of binary images suggests that the "shape" or spatial-temporal tendency of a time series is often more critical for long-term forecasting than the exact decimal precision of individual points.
- Architectural Versatility: Standard vision models like DeepLabV2, despite not being designed for time series, outperformed specialized TSF models simply by changing the data representation.
- Implicit Decomposition: Unlike many top-tier TSF models that require explicit "Trend-Seasonal" decomposition, MV-DTSA identifies these patterns naturally within the 2D visual space.
Results and Discussion
MV-DTSA consistently outperformed Group 1 benchmarks (Informer, Autoformer, FEDformer) across nearly all horizons. It showed particular robustness in Mean Absolute Error (MAE), indicating high resilience to outliers. Even when compared to advanced models like PatchTST, the vision-based approach remained highly competitive, particularly on the Weather and ILI datasets.
Limitations
Despite its performance, the framework faces challenges regarding computational overhead. Processing high-resolution 2D images is more resource-intensive than 1D numerical operations. Furthermore, at extremely high resolutions, data sparsity can hinder the model's ability to fit the data effectively.
Conclusion
The MV-DTSA framework demonstrates that time series data is indeed "worth a binary image." By shifting the problem from numerical regression to visual pattern recognition, the framework achieves state-of-the-art results without complex data preprocessing, opening new avenues for machine vision in temporal analysis.
Summary updated