chattime-eval
ChatTime: A Unified Multimodal Time Series Foundation Model Bridging Numerical and Textual Data — Chengsen Wang et al. (2024) (arXiv:2412.11376, 2024)
What this evaluates
Evaluates a multimodal time series foundation model on zero-shot forecasting, context-guided forecasting, and time series question answering. It probes the model's ability to handle discretized numerical time series alongside textual prompts for prediction and feature recognition without task-specific fine-tuning.
Datasets
- Electric, Exchange, Traffic, Weather, and ETT datasets — total ?; splits: train (-1), val (-1), test (-1)
- Context-guided multimodal datasets — total ?; splits: train (-1), val (-1), test (-1)
- Synthesized TSQA dataset — total ?; splits: test (-1)
Metrics
MAE (primary) — range: other
- Mean Absolute Error: the average of the absolute differences between predicted and actual values. Lower values indicate better performance.
Accuracy — range: [0, 1]
- Proportion of correctly identified time series features (trend, volatility, season, outlier). Higher values indicate better performance.
Average Rank — range: other
- Average of per-dataset/model ranks across all evaluated datasets or features. Lower values indicate better performance.
Input / output format
Input: Tokenized time series sequences (discretized with mark characters) optionally concatenated with textual context or questions. History length is set to 2–5× the prediction length.
Output: Forecasted time series values (as tokens) or natural language answers to time series feature questions.
Scoring recipe
def compute_mae(preds, gold):
return np.mean(np.abs(preds - gold))
def compute_accuracy(preds, gold):
return np.mean(preds == gold)
def compute_avg_rank(results_per_dataset):
ranks = []
for ds, scores in results_per_dataset.items():
sorted_models = sorted(scores.items(), key=lambda x: x[1])
ranks.append({m: r+1 for r, (m, _) in enumerate(sorted_models)})
avg_ranks = {m: np.mean([r[m] for r in ranks]) for m in ranks[0]}
return avg_ranks
Common pitfalls
- Datasets are chronologically split 6:2:2; random shuffling violates temporal integrity and causes data leakage.
- History length must be scaled to 2–5× prediction length to ensure ≥2 complete periods; fixed windows cause insufficient context or leakage.
- Closed-source baselines (e.g., TimeGPT) use official APIs, while open-source baselines use GitHub implementations with recommended hyperparameters, creating a slight evaluation asymmetry.
Evidence (verbatim from paper)
We report the Mean Absolute Error (MAE) as the evaluation metric, where lower values mean better performance. ... Given the nature of feature recognition, we report the accuracy (Acc) as evaluation metric, with higher scores indicating better performance.
Citation
@misc{wang2024chattime,
title={ChatTime: A Unified Multimodal Time Series Foundation Model Bridging Numerical and Textual Data},
author={Chengsen Wang et al. (2024)},
year={2024},
note={arXiv:2412.11376}
}
1---2name: chattime-eval3description: Evaluates a multimodal time series foundation model on zero-shot forecasting, context-guided forecasting, and time series question answering. It probes the model's ability to handle discretized numerical time series alongside textual prompts for prediction and feature recognition without task-specific fine-tuning. Use when the user wants to benchmark on Electric, Exchange, Traffic, Weather, and ETT datasets, Context-guided multimodal datasets, Synthesized TSQA dataset, or asks about evaluating this task. Reports MAE.4---56# chattime-eval78> ChatTime: A Unified Multimodal Time Series Foundation Model Bridging Numerical and Textual Data — Chengsen Wang et al. (2024) (arXiv:2412.11376, 2024)910## What this evaluates1112Evaluates a multimodal time series foundation model on zero-shot forecasting, context-guided forecasting, and time series question answering. It probes the model's ability to handle discretized numerical time series alongside textual prompts for prediction and feature recognition without task-specific fine-tuning.1314## Datasets1516- **Electric, Exchange, Traffic, Weather, and ETT datasets** — total ?; splits: train (-1), val (-1), test (-1)17- **Context-guided multimodal datasets** — total ?; splits: train (-1), val (-1), test (-1)18- **Synthesized TSQA dataset** — total ?; splits: test (-1)1920## Metrics2122- `MAE` **(primary)** — range: other23 - Mean Absolute Error: the average of the absolute differences between predicted and actual values. Lower values indicate better performance.24- `Accuracy` — range: [0, 1]25 - Proportion of correctly identified time series features (trend, volatility, season, outlier). Higher values indicate better performance.26- `Average Rank` — range: other27 - Average of per-dataset/model ranks across all evaluated datasets or features. Lower values indicate better performance.2829## Input / output format3031**Input**: Tokenized time series sequences (discretized with mark characters) optionally concatenated with textual context or questions. History length is set to 2–5× the prediction length.3233**Output**: Forecasted time series values (as tokens) or natural language answers to time series feature questions.3435## Scoring recipe3637```python38def compute_mae(preds, gold):39 return np.mean(np.abs(preds - gold))4041def compute_accuracy(preds, gold):42 return np.mean(preds == gold)4344def compute_avg_rank(results_per_dataset):45 ranks = []46 for ds, scores in results_per_dataset.items():47 sorted_models = sorted(scores.items(), key=lambda x: x[1])48 ranks.append({m: r+1 for r, (m, _) in enumerate(sorted_models)})49 avg_ranks = {m: np.mean([r[m] for r in ranks]) for m in ranks[0]}50 return avg_ranks51```5253## Common pitfalls5455- Datasets are chronologically split 6:2:2; random shuffling violates temporal integrity and causes data leakage.56- History length must be scaled to 2–5× prediction length to ensure ≥2 complete periods; fixed windows cause insufficient context or leakage.57- Closed-source baselines (e.g., TimeGPT) use official APIs, while open-source baselines use GitHub implementations with recommended hyperparameters, creating a slight evaluation asymmetry.5859## Evidence (verbatim from paper)6061> We report the Mean Absolute Error (MAE) as the evaluation metric, where lower values mean better performance. ... Given the nature of feature recognition, we report the accuracy (Acc) as evaluation metric, with higher scores indicating better performance.6263## Citation6465```bibtex66@misc{wang2024chattime,67 title={ChatTime: A Unified Multimodal Time Series Foundation Model Bridging Numerical and Textual Data},68 author={Chengsen Wang et al. (2024)},69 year={2024},70 note={arXiv:2412.11376}71}72```7374- arXiv: 2412.11376