Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17,421 changes: 17,421 additions & 0 deletions src/.vuepress/public/img/ETTh1-tab.csv

Large diffs are not rendered by default.

Binary file added src/.vuepress/public/img/model01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/.vuepress/public/img/model02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/.vuepress/public/img/model03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/.vuepress/sidebar/V2.0.x/en-Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const enSidebar = {
text: 'Monitoring Panel Deployment',
link: 'Monitoring-panel-deployment',
},
{ text: 'AINode Deployment', link: 'AINode_Deployment_apache' },
],
},
{
Expand Down Expand Up @@ -111,6 +112,15 @@ export const enSidebar = {
},
],
},
{
text: 'AI capability',
collapsible: true,
prefix: 'AI-capability/',
children: [
{ text: 'AINode', link: 'AINode_apache' },
{ text: 'TimeSeries Large Model', link: 'TimeSeries-Large-Model' },
],
},
{
text: 'Tools System',
collapsible: true,
Expand Down
10 changes: 10 additions & 0 deletions src/.vuepress/sidebar/V2.0.x/zh-Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const zhSidebar = {
{ text: '单机版部署指导', link: 'Stand-Alone-Deployment_apache' },
{ text: '集群版部署指导', link: 'Cluster-Deployment_apache' },
{ text: 'Docker部署指导', link: 'Docker-Deployment_apache' },
{ text: 'AINode部署', link: 'AINode_Deployment_apache' },
],
},
{
Expand Down Expand Up @@ -102,6 +103,15 @@ export const zhSidebar = {
},
],
},
{
text: 'AI 能力',
collapsible: true,
prefix: 'AI-capability/',
children: [
{ text: 'AINode', link: 'AINode_apache' },
{ text: '时序大模型', link: 'TimeSeries-Large-Model' },
],
},
{
text: '工具体系',
collapsible: true,
Expand Down
10 changes: 10 additions & 0 deletions src/.vuepress/sidebar_timecho/V2.0.x/en-Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const enSidebar = {
link: 'Dual-Active-Deployment_timecho',
},
{ text: 'Docker Deployment', link: 'Docker-Deployment_timecho' },
{ text: 'AINode Deployment', link: 'AINode_Deployment_timecho' },
{
text: 'Monitoring Panel Deployment',
link: 'Monitoring-panel-deployment',
Expand Down Expand Up @@ -116,6 +117,15 @@ export const enSidebar = {
},
],
},
{
text: 'AI capability',
collapsible: true,
prefix: 'AI-capability/',
children: [
{ text: 'AINode', link: 'AINode_timecho' },
{ text: 'TimeSeries Large Model', link: 'TimeSeries-Large-Model' },
],
},
{
text: 'Tools System',
collapsible: true,
Expand Down
10 changes: 10 additions & 0 deletions src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const zhSidebar = {
{ text: '集群版部署指导', link: 'Cluster-Deployment_timecho' },
{ text: '双活版部署指导', link: 'Dual-Active-Deployment_timecho' },
{ text: 'Docker部署指导', link: 'Docker-Deployment_timecho' },
{ text: 'AINode部署', link: 'AINode_Deployment_timecho' },
{ text: '监控面板部署', link: 'Monitoring-panel-deployment' },
],
},
Expand Down Expand Up @@ -105,6 +106,15 @@ export const zhSidebar = {
},
],
},
{
text: 'AI 能力',
collapsible: true,
prefix: 'AI-capability/',
children: [
{ text: 'AINode', link: 'AINode_timecho' },
{ text: '时序大模型', link: 'TimeSeries-Large-Model' },
],
},
{
text: '工具体系',
collapsible: true,
Expand Down
381 changes: 381 additions & 0 deletions src/UserGuide/Master/Table/AI-capability/AINode_apache.md

Large diffs are not rendered by default.

447 changes: 447 additions & 0 deletions src/UserGuide/Master/Table/AI-capability/AINode_timecho.md

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions src/UserGuide/Master/Table/AI-capability/TimeSeries-Large-Model.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<!--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->

# TimeSeries Large Model

## Introduction

A time series large model is a foundational model specifically designed for time series analysis. The IoTDB team has independently developed time series large models, which are pre-trained on massive time series data using technologies such as transformer structures. These models can understand and generate time series data across various domains and are applicable to applications like time series forecasting, anomaly detection, and time series imputation. Unlike traditional time series analysis techniques, time series large models possess the capability to extract universal features and provide technical services based on zero-shot analysis and fine-tuning for a wide range of analytical tasks.

The team's related technologies of time series large models have been published in top international machine learning conferences.

## Application Scenarios

- **Time Series Forecasting**: Provides forecasting services for time series data in industrial production, natural environments, and other areas, helping users to understand future trends in advance.
- **Data Imputation**: For missing segments in time series, perform context imputation to enhance the continuity and completeness of the dataset.
- **Anomaly Detection**: Utilizing regression analysis technology, monitor time series data in real-time and provide timely warnings for potential anomalies.

![](/img/LargeModel10.png)

## Timer Model

The Timer model not only demonstrates excellent few-shot generalization and multi-task adaptation capabilities but also gains a rich knowledge base through pre-training, endowing it with the universal capability to handle a variety of downstream tasks, featuring the following:

- **Generalization**: The model can be fine-tuned using a small number of samples to achieve leading predictive performance in the industry.
- **Versatility**: The model is designed flexibly to adapt to various task requirements and supports variable input and output lengths, enabling it to play a role in various application scenarios.
- **Scalability**: As the number of model parameters increases or the scale of pre-training data expands, the model's performance continues to improve, ensuring the model can optimize its predictive effects with the growth of time and data volume.

![](/img/model01.png)

## Timer-XL Model

Timer-XL is an upgraded version of Timer that further extends the network structure and achieves comprehensive breakthroughs in multiple dimensions:

- **Ultra-long Context Support**: This model breaks through the limitations of traditional time series forecasting models, supporting inputs of thousands of Tokens (equivalent to tens of thousands of time points), effectively solving the context length bottleneck problem.
- **Multi-variable Prediction Scenarios Coverage**: Supports various forecasting scenarios, including non-stationary time series forecasting, multi-variable forecasting tasks, and forecasting with covariates, meeting diverse business needs.
- **Large-scale Industrial Time Series Dataset**: Pre-trained on a trillion-scale industrial IoT time series dataset, which has the important characteristics of huge volume, excellent quality, and rich domains, covering energy, aerospace, steel, transportation, and other fields.

![](/img/model02.png)

## Timer-Sundial Model

Timer-Sundial is a series of generative foundational models focused on time series forecasting. The basic version has 128 million parameters and has undergone large-scale pre-training on 1 trillion time points. Its core features include:

- **Powerful Generalization Performance**: Possesses zero-shot forecasting capabilities, supporting both point forecasting and probabilistic forecasting simultaneously.
- **Flexible Forecasting Distribution Analysis**: Can not only forecast mean values or quantiles but also evaluate any statistical characteristics of the forecasting distribution through the original samples generated by the model.
- **Innovative Generative Architecture**: Adopts a "Transformer + TimeFlow" collaborative architecture—Transformer learns the autoregressive representation of time segments, and the TimeFlow module converts random noise into diversified forecasting trajectories based on the Flow-Matching framework, achieving efficient non-deterministic sample generation.

![](/img/model03.png)

## Effect Demonstration

Time series large models can adapt to real-time series data in various domains and scenarios, demonstrating excellent processing effects on various tasks. The following are real-world performances on different datasets:

**Time Series Forecasting:**

Utilizing the forecasting capability of time series large models, the future change trends of time series can be accurately predicted. In the figure below, the blue curve represents the forecast trend, and the red curve represents the actual trend, with a high degree of 吻合 (coincidence) between the two curves.

![](/img/LargeModel03.png)

**Data Imputation:**

Utilizing time series large models to perform predictive imputation on missing data segments.

![](/img/timeseries-large-model-data-imputation.png)


**Anomaly Detection:**

Utilizing time series large models to accurately identify outliers that deviate significantly from normal trends.

![](/img/LargeModel05.png)

## Deployment Usage

1. Open the IoTDB CLI console and verify that the ConfigNode, DataNode, and AINode statuses are all ​Running.

Check command:

```sql
show cluster
```

![](/img/ainode-timer-1.png)

2. When the AINode is started for the first time in a networked environment, the Timer-XL and Sundial models will be automatically pulled.

3. Verify model registration success

Check command:

```sql
show models
```

![](/img/LargeModel06.png)
Loading