AB
AiBoss
project

TimesFM 2.0 - An open-source time series forecasting model from Google Research.

TimesFM 2.0 is an open-source time series forecasting model developed by Google's research team. It boasts powerful forecasting capabilities, handling univariate time series with up to 2048 time points and supporting arbitrary forecast time spans. The model employs a solution-only approach...

What is TimesFM 2.0?

TimesFM 2.0 is an open-source time series forecasting model developed by Google Research. It boasts powerful predictive capabilities, handling univariate time series with up to 2048 time points and supporting arbitrary forecast time spans. The model employs a decoder-only architecture, combining input imputation and imputation masking techniques to achieve efficient training and inference, supporting zero-shot prediction. A rich pre-training dataset covering multiple domains ensures excellent generalization ability. TimesFM 2.0 can be used in common scenarios such as retail sales forecasting and financial market trend analysis, and plays a crucial role in numerous fields including website traffic forecasting, environmental monitoring, and intelligent transportation, providing strong decision support for various industries.

Main features of TimesFM 2.0

  • powerful predictive capabilitiesIt can handle univariate time series forecasts with up to 2048 time points and supports arbitrary forecast time spans.
  • Flexible prediction frequency selectionUsers can freely choose the prediction frequency based on different time series characteristics, which enhances the flexibility of prediction.
  • Experimental quantile head predictionThe model primarily performs point predictions, while experimentally providing 10 quantile heads to generate uncertainty estimates for the predictions, but these have not been calibrated after pre-training.
  • Rich data pre-trainingIt integrates multiple datasets, including the pre-training set of TimesFM 1.0 and additional datasets from LOTSA, covering multiple fields such as residential electricity load, solar power generation, and traffic flow, providing a broad foundation for model training.
  • Zero-shot learning abilityAlthough the maximum training context length of the model is 2048, it can handle longer contexts in practical applications, demonstrating excellent zero-shot learning capabilities.

Technical Principles of TimesFM 2.0

  • Pure decoder architectureTimesFM 2.0 employs a pure decoder architecture, which has higher computational efficiency when processing time series data, can more effectively capture long-distance time dependencies, and can make unidirectional predictions more naturally.
  • Time series segmentation and positional encodingThe model divides the time series into blocks, injects positional encoding, and extracts the temporal order information and the relationship between different time points from the data through stacked Transformer layers.
  • Input patch and patch maskBy employing input patching and patch masking techniques, the model achieves efficient training and inference processes, and also supports zero-shot prediction, thereby improving the model's training efficiency and generalization ability.
  • Pre-training processTimesFM 2.0 is pre-trained on a massive time-series corpus containing 100 billion real-world time points, covering data from multiple domains and at different temporal granularities. The pre-training process employs a self-supervised learning method to predict the next time point in the sequence.
  • Flexible input processingIt supports processing time series inputs of varying lengths and frequencies, adapting to diverse real-world application scenarios. Although the maximum context length during pre-training is 2048, in practice, the model can be extended to handle longer time series.
  • Experimental support for quantile predictionThe model introduces 10 quantile heads, allowing users to obtain predicted values for different quantiles based on single-point predictions, providing new possibilities for uncertainty analysis.

The project address for TimesFM 2.0

Application scenarios of TimesFM 2.0

  • RetailIt can be used to predict sales volume, helping merchants to better manage inventory and formulate sales strategies.
  • Financial MarketsIt can predict stock trends and provide decision-making references for investors.
  • Website OperationIt can predict website traffic, helping with website optimization and resource allocation.
  • Environmental monitoringBased on historical data, it predicts environmental change trends, such as air quality and climate change, providing a basis for environmental protection and response measures.
  • Intelligent TransportationBased on historical traffic flow data, it can predict future road conditions, providing a reference for urban planning and traffic signal optimization, and helping to manage peak hours and reduce traffic congestion.