This repository provides the code for the BEDTime benchmark .Here's a concise overview of how you can use this repository:
-
Load Time Series Data: Run the script
read_data.pyto automatically download all four cleaned datasets from Hugging Face. This script will also generate plots for each time series, save the images locally, and update the dataframe with the corresponding image file paths before saving it as a pickle. -
Generate Negative Samples: : With the pre-saved dataframes from Step 1, run the negative sampling scripts to create distractor options. These are organized into two folders:
-
With_Constraints (for TaxoSynth and Sushi): applies extra rules to ensure that distractor time series are not sampled from the same class as the original.
-
Without_Constraints (for TRUCE-Stock and TRUCE-Synthetic): performs negative sampling without those class-based restrictions.
Each script takes a dataframe as input and produces a new pickle file containing the original data along with generated distractors. It will also generate the prompt columns for both diffetrentiation and recognition experiments with their accompanying labels.
-
Utilize Pre-implemented Models: The
Modelsdirectory houses implementations for various language models (LLMs), vision-language models (VLMs), and time series-specific language models (TSLMs) such as GPT-4o, Gemini, Llama, Qwen, Phi, ChatTime, and ChatTS. These models are loaded and used for inference within the experiment scripts. -
Assess Performance with Metrics: The
results.pyscript is used to calculate and report performance metrics (like Accuracy and F1 Score) for the models on the defined tasks (recognition, differentiation).
@misc{sen2025bedtimeunifiedbenchmarkautomatically,
title={BEDTime: A Unified Benchmark for Automatically Describing Time Series},
author={Medhasweta Sen and Zachary Gottesman and Jiaxing Qiu and C. Bayan Bruss and Nam Nguyen and Tom Hartvigsen},
year={2025},
eprint={2509.05215},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2509.05215},
}