File size: 6,157 Bytes
0715444
 
edb1e80
 
 
 
 
 
 
 
 
 
0715444
edb1e80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
---
license: apache-2.0
pipeline_tag: time-series-forecasting
tags:
  - time series
  - forecasting
  - pretrained models
  - foundation models
  - time series foundation models
  - time-series
  - tinytimemixer
  - granite-ttm-r3
---

# Granite-TTM-R3 Model Card

![](./ttm_image.webp)

Building on top of **TTM-R1** and **TTM-R2**, we introduce the next generation of TinyTimeMixer under the Granite time-series foundation model family — **Granite-TTM-R3**. This release incorporates several novel *tiny-neural architectural innovations* designed to push the limits of **accuracy in high-speed forecasting**, a critical requirement for real-world production deployments.

---

## Supported Tasks & Capabilities

**Granite-TTM-R3** is a family of pretrained models supporting multiple real-world forecasting scenarios:

- **Zero-shot forecasting** across unseen datasets
- **Few-shot adaptation** effective with as few as ~1K samples
- **Full fine-tuning** for domain-specific optimization
- **Multivariate time-series forecasting**
- **Exogenous / control variable integration**
- **High-throughput batch inference** for production systems

---

## Accuracy & Speed

**Granite-TTM-R3** is engineered to achieve a strong balance between **state-of-the-art accuracy** and **extreme inference efficiency**, making it well-suited for real-world, high-throughput deployments.

### Accuracy on GIFT-Eval 

- Maintains **top-tier performance** on the GIFT-Eval benchmarks. 

**Fine-tuned FM**

- MASE: **0.718**
- CRPS: **514**


**Pre-trained FM**

- MASE: **0.727**
- CRPS: **523**

---

## ⚡ Inference Throughput

**Granite-TTM-R3** delivers orders-of-magnitude faster inference compared to existing popular SOTA models.

### GPU Throughput

- Typical SOTA models: **~20–500 samples/sec**
- **Granite-TTM-R3**: **~7,500 samples/sec**

### CPU Throughput

- Typical SOTA models: **~1–20 samples/sec**
- **Granite-TTM-R3**: **~180 samples/sec**

**Granite-TTM-R3 achieves ~15× speedup** over many existing approaches, without compromising accuracy, setting a strong benchmark for fast and reliable time-series forecasting.

---

## Architecture Overview

Granite-TTM adopts a mixture-of-experts paradigm composed of models with varying complexities — approximately **1M–35M parameters** — coupled with a lightweight routing mechanism that automatically selects or blends the most suitable expert based on input data characteristics.

This enables adaptive model selection, improving both accuracy and efficiency across diverse time-series scenarios.

The architecture is built on efficient mixer-based designs that avoid expensive self-attention. Instead, Granite-TTM-R3 leverages linear gating-based attention mechanisms to capture temporal dependencies with significantly lower computational overhead.

This combination allows **Granite-TTM-R3** to deliver scalable, adaptive, and ultra-fast forecasting performance suitable for real-time and large-scale deployments.

---

## What’s New in Granite-TTM-R3

- **Trend–Residual Decomposition**  
  Separately models long-term trends and high-frequency residuals for improved structural learning.

- **Three-Stage Pre-Training**  
  Sequential training of trend, residual, and joint components for better stability and convergence.

- **Student-Teacher Pretraining**  
  Student-teacher based pretraining for stable learning in noisy datasets.

- **Enhanced Data Augmentation**  
  Structured perturbations improve robustness across domains.

- **Improved Normalization Strategy**  
  Stabilizes training across scale shifts and heterogeneous datasets.

- **GLU Gating**  
  Dynamic information flow control within mixer blocks.

- **Multi-Resolution Temporal Layer**  
  Captures dependencies across short-, medium-, and long-term horizons.

- **FFT-Based Embeddings**  
  Incorporates frequency-domain signals to model periodicity and seasonality.

- **Register Tokens**  
  Learnable global tokens to encode sequence-level semantics.

- **Multi-Quantile Forecasting Head**  
  Enables probabilistic forecasting with multiple quantiles.

- **Refined Loss Weighting**  
  Balances trend, residual, and quantile objectives for improved calibration.

---

## ⚡ Why Granite-TTM-R3

**Granite-TTM-R3** is purpose-built for production-grade time-series systems where:

- **Low latency** is critical for real-time inference
- **High scale** is required for millions of forecasts
- **Data is heterogeneous and evolving**
- **Compute constraints exist**, including CPU-friendly deployment

It provides a practical combination of compactness, speed, and accuracy, making it suitable for industrial deployment.

---

## Example Recipes and Notebooks

To be released.

---

## Publication

- **Granite-TTM-R3 Paper**: To be released.
- **Base TTM Paper**: [Tiny Time Mixers (TTMs): Fast Pre-trained Models for Enhanced Zero/Few-Shot Forecasting of Multivariate Time Series](https://proceedings.neurips.cc/paper_files/paper/2024/hash/874a4d89f2d04b4bcf9a2c19545cf040-Abstract-Conference.html)

---

## Training Data

- Select Datasets from [GiftEvalPretrain](https://huggingface.co/datasets/Salesforce/GiftEvalPretrain) and [GIFT-Eval Train](https://huggingface.co/datasets/Salesforce/GiftEval), using non-leaking historical context.
- Custom synthesized data based on [KernelSynth](https://github.com/amazon-science/chronos-forecasting/blob/main/scripts/kernel-synth.py).

---

## Model Card Authors

Vijay Ekambaram, Arindam Jati, Haoxiang Qiu, Takayuki Katsuki, Tomoya Sakai, Priyanshul Govil, Pankaj Dayama

---

## Citation

Please cite the following paper if you intend to use this model or its associated architectures and approaches in your work.

```bibtex
@inproceedings{ekambaram2024tinytimemixersttms,
  title={Tiny Time Mixers (TTMs): Fast Pre-trained Models for Enhanced Zero/Few-Shot Forecasting of Multivariate Time Series},
  author={Vijay Ekambaram and Arindam Jati and Pankaj Dayama and Sumanta Mukherjee and Nam H. Nguyen and Wesley M. Gifford and Chandra Reddy and Jayant Kalagnanam},
  booktitle={Advances in Neural Information Processing Systems (NeurIPS 2024)},
  year={2024},
}