Gradient Boosting Time Series Forecasting with Automatic Hyperparameter Tuning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current time series forecasting algorithms face challenges such as limited ability to handle multiple seasonal components, holiday effects, and require significant tuning with domain knowledge and machine learning expertise, leading to slow training times and high memory consumption, while often providing low accuracy.

Innovation Solution

A modified gradient boosting decision tree (GBDT) algorithm that supports multiple seasonal components detection, automatic data cleaning, unidirectional feature weights adjustment, linear trend extrapolation, holiday effects, and automatic hyperparameter tuning, enabling fast and accurate time series forecasting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional time series forecasting algorithms are used, then they can handle basic forecasting tasks, but they struggle with multiple seasonal components and holiday effects, requiring significant manual tuning

Engineering Contradiction:
Improveability to handle multiple seasonal components and holiday effectsVSAvoidmanual tuning requirements and domain knowledge needed
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The algorithm performs automatic hyperparameter tuning and automatic data cleaning without requiring manual intervention. The system self-adjusts to handle multiple seasonal components and holiday effects by automatically detecting patterns in the time series data, eliminating the need for domain experts to manually configure the model for different seasonal patterns.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The algorithm dynamically adjusts hyperparameters based on the characteristics of the input data. It automatically modifies model parameters to adapt to different seasonal periods, holiday patterns, and data characteristics, allowing the same algorithm to handle diverse time series forecasting scenarios without manual reconfiguration.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If complex statistical models are used to improve forecasting accuracy, then prediction quality increases, but training time increases and memory consumption increases

Engineering Contradiction:
Improveforecasting accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The algorithm uses gradient boosting decision trees with controlled tree depth and number of iterations to achieve sufficient forecasting accuracy without over-engineering the model. By using an ensemble of relatively simple decision trees rather than a single complex model, it achieves high accuracy while keeping individual component complexity and training time manageable.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The algorithm breaks down the complex forecasting problem into multiple simpler decision trees that are trained sequentially. Each tree handles a portion of the prediction task, and their combined output achieves high accuracy. This segmentation allows parallel training of individual trees and reduces the computational burden on any single model component.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If complex statistical models are used to improve forecasting accuracy, then prediction quality increases, but memory consumption increases

Engineering Contradiction:
Improveforecasting accuracyVSAvoidmemory consumption
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The model is divided into an attributes model and a trend detection model, each handling specific aspects of the forecasting task. The attributes model processes seasonal and holiday patterns while the trend detection model handles linear trends. This segmentation reduces memory requirements compared to a single monolithic complex model by distributing computational load across specialized components.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The algorithm uses gradient boosting decision trees that create simplified surrogate models (copies) of the complex relationships in the data. These tree-based approximations capture the essential patterns with much lower memory requirements than the original complex statistical models, enabling accurate forecasting with reduced memory consumption.

Inventive Principle:
Principle #26Copying

4Measurement precision

If manual tuning with domain knowledge is performed, then forecasting accuracy improves, but the process becomes slower and more resource-intensive

Engineering Contradiction:
Improveforecasting accuracyVSAvoidforecasting speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The algorithm automatically detects seasonal periods, holiday patterns, and trend characteristics from the input data without requiring domain experts to manually specify these parameters. The automatic hyperparameter tuning system searches for optimal configuration settings based on data characteristics, eliminating the time-consuming manual tuning process while maintaining or improving forecasting accuracy.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The algorithm incorporates automatic evaluation and feedback mechanisms during the hyperparameter tuning process. It systematically tests different parameter configurations, evaluates their performance on validation data, and iteratively improves the model settings. This automated feedback loop replaces manual trial-and-error tuning with an efficient systematic search that achieves high accuracy faster.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12026221B2Enhanced time series forecasting
Publication Date: 2024.07.02 SNOWFLAKE INC
  • US12026221B2 patent drawing
  • US12026221B2 patent drawing
  • US12026221B2 patent drawing

AI summary

Using an attributes model of a time series forecasting model, determine a set of features based on time series data, the set of features including periodic components. The time series data may be divided into a set of segments. For each segment of the set of segments, a weight may be assigned using an age of the segment, resulting in a set of weighted segments of time series data. Using a trend detection model of the time series forecasting model, trend data from the set of weighted segments of time series data may be determined. A time series forecast may be generated by combining the set of features and the trend data.