TFEformer Multi-Scale Forecasting for Long-Range Time-Series Accuracy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing time-series forecasting models, particularly those based on the Transformer architecture, struggle with poor accuracy in long-term prediction tasks due to deficiencies in the attention mechanism and the inability to perceive multi-scale temporal dependencies, limiting their ability to model both global and local information effectively.

Innovation Solution

The TFEformer model employs a multi-branch structure with patch-series attention, adaptive feature fusion, variate-wise attention, and a redesigned gated feedforward network to extract and fuse global and local features at multiple temporal scales, enhancing the model's ability to predict long-term trends and reduce short-term fluctuations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the Transformer architecture with single-step attention mechanism is used, then the model can capture temporal dependencies, but it fails to extract meaningful temporal features and perceive multi-scale temporal dependencies, limiting forecasting accuracy

Engineering Contradiction:
Improveforecasting accuracyVSAvoidmodel structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the time series into multiple scales (e.g., daily, weekly, monthly patterns) and processes each scale separately through dedicated attention mechanisms. This segmentation allows the model to capture temporal dependencies at different granularities, resolving the limitation of single-step attention while maintaining manageable complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a multi-scale dimension to the traditional single-step attention mechanism. By adding temporal scale as an additional dimension and using scale-aware embeddings, the model transforms the problem from capturing dependencies at one time step to capturing dependencies across multiple temporal scales simultaneously, thereby improving forecasting accuracy without excessive complexity increase.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If deep learning models with increased network depth are used to extract long-range dependencies, then the model capacity increases, but the models become inadequate in extracting long-range dependencies due to vanishing gradient and computational constraints

Engineering Contradiction:
Improvelong-range dependency extraction capabilityVSAvoidnetwork depth
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-processing the time series data to extract multi-scale temporal features before feeding them into the attention mechanism. Scale-aware embeddings are pre-computed to encode temporal position information at multiple scales, allowing the attention mechanism to directly access long-range dependency information without requiring excessively deep networks to learn these patterns from raw data.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces scale-aware embeddings as an intermediary between the raw time series input and the attention mechanism. These embeddings serve as a bridge that pre-encodes temporal position and scale information, enabling the attention mechanism to effectively capture long-range dependencies without requiring increased network depth. The intermediary transforms the input representation to make long-range patterns more accessible.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of information

If the traditional Transformer embedding layer vectorizes single time step information, then the computational unit is simple, but it fails to provide meaningful temporal feature information for the attention mechanism to extract correlations

Engineering Contradiction:
Improvetemporal feature informationVSAvoidembedding mechanism complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent applies local quality by making different parts of the embedding represent different temporal characteristics. Instead of uniform single-step embeddings, the model uses scale-aware embeddings where each embedding contains information about its temporal scale (e.g., daily vs. monthly patterns). This allows the attention mechanism to differentiate and process temporal features at different granularities, reducing information loss while keeping the embedding mechanism moderately complex.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the parameters of the embedding by incorporating scale-aware positional encodings that vary according to temporal scale. The embedding dimension and structure are adapted to reflect multi-scale temporal patterns, transforming the static single-step embedding into a dynamic multi-scale representation. This parameter change enriches the temporal feature information provided to the attention mechanism.

Inventive Principle:
Principle #35Parameter changes

4Adaptability or versatility

If the model focuses on temporal dependencies at a single time scale, then the attention mechanism is simple, but it cannot perceive the diversity of temporal dependencies at different scales, limiting the model's ability to model both global and local information

Engineering Contradiction:
Improvemulti-scale temporal dependency perceptionVSAvoidattention mechanism complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent achieves universality by designing a unified multi-scale attention mechanism that can handle multiple temporal scales within a single framework. The scale-aware embeddings and multi-scale attention layers work together to process both global (long-term) and local (short-term) temporal dependencies using the same attention computation, allowing the model to perceive diverse temporal patterns without requiring separate specialized mechanisms for each scale.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250390715A1Multivariate time-series long-term forecasting based on multi-scale temporal feature enhancements
Publication Date: 2025.12.25 ZHEJIANG UNIV
  • US20250390715A1 patent drawing
  • US20250390715A1 patent drawing
  • US20250390715A1 patent drawing

AI summary

A method for multivariate time-series long-term forecasting based on multi-scale temporal feature enhancements, includes a time-series forcasting model TFEformer. The model utilizes a multi-branch structure and a patch-series attention mechanism to extract global and local time-series features at multiple temporal scales, and designs an adaptive feature fusion mechanism to achieve adaptive fusion of multi-scale temporal features. It employs an variate-wise attention mechanism and a redesigned gated feedforward network to perform feature fusion among multivariate variables and within the time-series, respectively. The time-series forcasting model TFEformer proposed by the present invention significantly improves the prediction of long-term trends in time-series and enhances the fitting ability for short-term local fluctuations, comprehensively increasing prediction accuracy across different prediction time lengths in multivariate time-series forcasting tasks.