idegen commited on
Commit
c229435
·
verified ·
1 Parent(s): 69ef126

updated citation and edited text for clarity fixing some spelling mistakes

Browse files
Files changed (1) hide show
  1. README.md +37 -48
README.md CHANGED
@@ -1365,14 +1365,15 @@ pretty_name: CSTS
1365
  funded_by: "UK Research and Innovation (UKRI), through the UKRI Doctoral Training in Interactive Artificial Intelligence (AI) under grant EP/S022937/1"
1366
  repo: https://github.com/isabelladegen/corrclust-validation
1367
  demo: https://colab.research.google.com/github/isabelladegen/corrclust-validation/blob/main/src/utils/hf_tooling/CSTS_HuggingFace_UsageExample.ipynb
 
 
1368
  dataset_summary: "CSTS (Correlation Structures in Time Series) is a synthetic benchmarking dataset for evaluating correlation structure discovery in time series data, featuring controlled properties with ground truth labels to bridge the gap between theoretical models and real-world data."
1369
  description: "CSTS (Correlation Structures in Time Series) is a comprehensive synthetic benchmarking dataset for evaluating correlation structure discovery in time series data. The dataset systematically models known correlation structures between three different time series variates and enables examination of how these structures are affected by distribution shifting, sparsification, and downsampling."
1370
  ---
1371
  # CSTS - Correlation Structures in Time Series
1372
- GitHub Repository: [CSTS GitHub Repository](https://github.com/isabelladegen/corrclust-validation)
1373
-
1374
- To get started quickly you can follow our dataset loading demo in Google Colab:
1375
- [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/isabelladegen/corrclust-validation/blob/main/src/utils/hf_tooling/CSTS_HuggingFace_UsageExample.ipynb)
1376
 
1377
  ## Dataset Description
1378
  CSTS (**C**orrelation **S**tructures in **T**ime **S**eries) is a comprehensive synthetic benchmarking dataset for
@@ -1389,24 +1390,26 @@ and messy real-world data.
1389
  - Establishing **performance thresholds** for high-quality clustering result
1390
 
1391
  ### Correlation Structures
1392
- The dataset features 23 distinct correlation structures representing different combinations of strong positive, negligible, and strong negative correlations between three time series variates. These structures are based on meaningful thresholds for strong negative ([-1,-0.7]), negligible ([-0.2,0.2]), and strong positive ([0.7,1]) correlations.
 
 
1393
 
1394
  ### Dataset Structure
1395
  CSTS provides **two main splits** (exploratory and confirmatory) with **30 subjects** each, enabling proper statistical validation.
1396
  The dataset structure includes:
1397
  - **12 data variants**: 4 generation stages × 3 completeness levels for each split
1398
- - **Generation stages**: raw (unstructured data), correlated (normal-distributed data), nonnormal (extreme value and negative binomial distribution shifts), downsampled (1s→1min)
1399
  - **Completeness levels**: complete (100% of observations), partial (70% of observations), sparse (10% of observations)
1400
 
1401
  ### Subjects
1402
- There are in total 60 subjects. Each subject contains 100 segments of varying lengths (900-36000) and each segment encodes one of the 23 specific correlation
1403
- structures. Each subject uses all 23 patterns 4-5 times. For the complete data variants each subject consists of ~1.26 mio
1404
  observations.
1405
 
1406
  Subjects each have the following information, accessible as subsets:
1407
  - a time series **data file** with three variates (iob, cob, ig) and time stamps (datetime)
1408
  - a **label file** specifying the ground truth segmentation and clustering
1409
- - 67 **bad clustering label files** with controlled degradations (varying numbers of segmentations and/or cluster assignment mistakes) spanning the entire Jaccard Index range [0,1]
1410
 
1411
  ### Additional Splits
1412
  CSTS also includes versions (configured as splits) that allow exploring how cluster and segment counts affect
@@ -1421,25 +1424,23 @@ GitHub codebase includes the generation, validation and use case code and is con
1421
  ## Usage Guidance
1422
  ### Configuration Concept
1423
  The configuration follows the convention: `<generation_stage>_<completeness_level>_<file_type>` and allows
1424
- access to a specific subset of the data.
1425
 
1426
- Possible values are:
1427
-
1428
- Generation Stages:
1429
- - **raw**: raw data, segmented but not correlated
1430
- - **correlated**: correlated data according to a specific correlation strtucture, normal distributed
1431
- - **nonnormal**: distribution shifted, correlated data
1432
  - **downsampled**: resampled non-normal data from 1s to 1min
1433
 
1434
- Completeness Levels:
1435
  - **complete**: 100% of the data
1436
  - **partial**: 70% of the data (30% of observations dropped at random)
1437
  - **sparse**: 10% of the data (90% of observations dropped at random)
1438
 
1439
- **File Type**
1440
- - **data**: loads the times series data file (needed for training algorithms)
1441
- - **labels**: loads the labels file for the ground truth (perfect) segmentation and clustering (needed for validating the results)
1442
- - **badclustering_labels**: loads the labels file for a degraded clustering with controlled segmentation and/or cluster assignment mistakes
1443
 
1444
  ### Splits
1445
  The main splits are:
@@ -1449,7 +1450,7 @@ Consider that depending on the application and study design, a single subject mi
1449
 
1450
  Additional splits are:
1451
  - **reduced_11_clusters**(_exploratory or _confirmatory): same data including 11 of the original 23 clusters (selected at random)
1452
- - **reduced_6_clusters**(_exploratory or _confirmatory): same data including t of the original 23 clusters (selected at random)
1453
  - **reduced_50_segments**(_exploratory or _confirmatory): same data including 50 of the original 100 segments (selected at random)
1454
  - **reduced_25_segments**(_exploratory or _confirmatory): same data including 25 of the original 100 segments (selected at random)
1455
 
@@ -1474,44 +1475,32 @@ df_correlated_labels = correlated_labels.to_pandas()
1474
  df_correlated_labels.head()
1475
  ```
1476
 
1477
- Comprehensive examples can be found here:
1478
  [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/isabelladegen/corrclust-validation/blob/main/src/utils/hf_tooling/CSTS_HuggingFace_UsageExample.ipynb)
1479
 
 
1480
 
1481
- ## Authors
1482
  - Isabella Degen, University of Bristol
1483
  - Zahraa S Abdallah, University of Bristol
1484
  - Henry W J Reeve, University of Nanjing
1485
  - Kate Robson Brown, University College Dublin
1486
 
1487
- ## Pre-Publication Release Details
1488
- - **Release Date:** 29 Apr 2024
1489
- - **Version:** 1.0-pre
1490
- - **Status:** Pre-publication release
1491
- - **Paper Status:** Forthcoming on arXiv (expected publication: May 2025)
1492
-
1493
- ## Citation
1494
- Please use the following temporary citation until our paper is published:
1495
 
1496
  ```bibtex
1497
- # BibTeX citation format - update when paper is published
1498
- @misc{csts2025,
1499
- author = {Degen, I and # First author
1500
- Abdallah, Z S and # Second author
1501
- Reeve, H W J, # Third author
1502
- Robson Brown, K}, # Third author
1503
- title = {CSTS: Evaluating Correlation Structures in Time Series}},
1504
- year = {2025},
1505
- publisher = {Hugging Face},
1506
- howpublished = {Pre-publication dataset release},
1507
- url = {https://huggingface.co/datasets/idegen/csts}
1508
- note = {ArXiv preprint forthcoming} # Uncomment when preprint is available
1509
  }
1510
  ```
1511
 
1512
- Once our paper is published on arXiv, we will update this README with the proper citation information.
1513
- **Please check back for updates.**
1514
-
1515
- ## Acknowledgements
1516
  We would like to thank UK Research and Innovation (UKRI) for funding author ID's PhD research through the UKRI Doctoral Training in Interactive Artificial Intelligence (AI) under grant EP/S022937/1. The authors extend their gratitude to the faculty, staff and colleagues of the Interactive AI Centre for Doctoral Training at Bristol University for their valuable support and guidance throughout this research.
1517
  We acknowledge the use of Claude 3.7 Sonnet by Anthropic as a research dialogue tool throughout the development of this work, assisting with dataset documentation, iterative refinement of ideas, and evaluating the clarity of our methods and contributions.
 
1365
  funded_by: "UK Research and Innovation (UKRI), through the UKRI Doctoral Training in Interactive Artificial Intelligence (AI) under grant EP/S022937/1"
1366
  repo: https://github.com/isabelladegen/corrclust-validation
1367
  demo: https://colab.research.google.com/github/isabelladegen/corrclust-validation/blob/main/src/utils/hf_tooling/CSTS_HuggingFace_UsageExample.ipynb
1368
+ paper: https://arxiv.org/abs/2505.14596
1369
+ arxiv: 2505.14596
1370
  dataset_summary: "CSTS (Correlation Structures in Time Series) is a synthetic benchmarking dataset for evaluating correlation structure discovery in time series data, featuring controlled properties with ground truth labels to bridge the gap between theoretical models and real-world data."
1371
  description: "CSTS (Correlation Structures in Time Series) is a comprehensive synthetic benchmarking dataset for evaluating correlation structure discovery in time series data. The dataset systematically models known correlation structures between three different time series variates and enables examination of how these structures are affected by distribution shifting, sparsification, and downsampling."
1372
  ---
1373
  # CSTS - Correlation Structures in Time Series
1374
+ - **Repository:** https://github.com/isabelladegen/corrclust-validation
1375
+ - **Paper:** https://arxiv.org/abs/2505.14596
1376
+ - **Demo:** https://colab.research.google.com/github/isabelladegen/corrclust-validation/blob/main/src/utils/hf_tooling/CSTS_HuggingFace_UsageExample.ipynb
 
1377
 
1378
  ## Dataset Description
1379
  CSTS (**C**orrelation **S**tructures in **T**ime **S**eries) is a comprehensive synthetic benchmarking dataset for
 
1390
  - Establishing **performance thresholds** for high-quality clustering result
1391
 
1392
  ### Correlation Structures
1393
+ The dataset contains 23 distinct correlation structures, each representing a valid combination of relationships between three time series variables. These relationships fall into three categories: strong positive ([0.7,1]), negligible ([-0.2,0.2]), and strong negative ([-1,-0.7]) correlations.
1394
+
1395
+ These correlation structures vary between segments, modelling a regime-switching time series with stationary segments. Notably, the time series data does not incorporate temporal dependencies such as autocorrelation, trends, or seasonality.
1396
 
1397
  ### Dataset Structure
1398
  CSTS provides **two main splits** (exploratory and confirmatory) with **30 subjects** each, enabling proper statistical validation.
1399
  The dataset structure includes:
1400
  - **12 data variants**: 4 generation stages × 3 completeness levels for each split
1401
+ - **Generation stages**: raw (unstructured data, i.i.d), correlated (normal-distributed data, not independent), nonnormal (extreme value and negative binomial distribution shifts, not independent, not identically distributed), downsampled (1s→1min, non-normal, not independent, not identically distributed)
1402
  - **Completeness levels**: complete (100% of observations), partial (70% of observations), sparse (10% of observations)
1403
 
1404
  ### Subjects
1405
+ In total there are 60 subjects. Each subject contains 100 segments of varying lengths (900-36000), and each segment encodes one of the 23 specific correlation
1406
+ structures. Each subject uses all 23 patterns 4-5 times. For the complete data variants, each subject consists of ~1.26 million
1407
  observations.
1408
 
1409
  Subjects each have the following information, accessible as subsets:
1410
  - a time series **data file** with three variates (iob, cob, ig) and time stamps (datetime)
1411
  - a **label file** specifying the ground truth segmentation and clustering
1412
+ - 66 **bad clustering label files** with controlled degradations (varying numbers of segmentations and/or cluster assignment mistakes) spanning the entire Jaccard Index range [0,1]
1413
 
1414
  ### Additional Splits
1415
  CSTS also includes versions (configured as splits) that allow exploring how cluster and segment counts affect
 
1424
  ## Usage Guidance
1425
  ### Configuration Concept
1426
  The configuration follows the convention: `<generation_stage>_<completeness_level>_<file_type>` and allows
1427
+ access to a specific subset of the data. The possible values are all combinations of:
1428
 
1429
+ `<generation_stage>`:
1430
+ - **raw**: raw data, segmented but not correlated, i.i.d
1431
+ - **correlated**: correlated data according to a specific correlation structure, normally distributed, no longer independent
1432
+ - **nonnormal**: distribution shifted, correlated data, no longer identically distributed
 
 
1433
  - **downsampled**: resampled non-normal data from 1s to 1min
1434
 
1435
+ `<completeness_level>`:
1436
  - **complete**: 100% of the data
1437
  - **partial**: 70% of the data (30% of observations dropped at random)
1438
  - **sparse**: 10% of the data (90% of observations dropped at random)
1439
 
1440
+ `<file_type>`:
1441
+ - **data**: the time series data (needed for training algorithms)
1442
+ - **labels**: the labels containing the ground truth (perfect) segmentation and clustering (needed for validating the results)
1443
+ - **badclustering_labels**: the 66 labels files for a degraded clustering with controlled segmentation and/or cluster assignment mistakes (needed for validating validation methods)
1444
 
1445
  ### Splits
1446
  The main splits are:
 
1450
 
1451
  Additional splits are:
1452
  - **reduced_11_clusters**(_exploratory or _confirmatory): same data including 11 of the original 23 clusters (selected at random)
1453
+ - **reduced_6_clusters**(_exploratory or _confirmatory): same data including 6 of the original 23 clusters (selected at random)
1454
  - **reduced_50_segments**(_exploratory or _confirmatory): same data including 50 of the original 100 segments (selected at random)
1455
  - **reduced_25_segments**(_exploratory or _confirmatory): same data including 25 of the original 100 segments (selected at random)
1456
 
 
1475
  df_correlated_labels.head()
1476
  ```
1477
 
1478
+ Comprehensive examples can be found in this Google Colab Notebook:
1479
  [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/isabelladegen/corrclust-validation/blob/main/src/utils/hf_tooling/CSTS_HuggingFace_UsageExample.ipynb)
1480
 
1481
+ ## Additional Information
1482
 
1483
+ ### Authors
1484
  - Isabella Degen, University of Bristol
1485
  - Zahraa S Abdallah, University of Bristol
1486
  - Henry W J Reeve, University of Nanjing
1487
  - Kate Robson Brown, University College Dublin
1488
 
1489
+ ### Citation Information
1490
+ Please use the following citation. This is the arXiv preprint version check back for updates:
 
 
 
 
 
 
1491
 
1492
  ```bibtex
1493
+ @misc{degen2025csts,
1494
+ title={CSTS: A Benchmark for the Discovery of Correlation Structures in Time Series Clustering},
1495
+ author={Isabella Degen and Zahraa S Abdallah and Henry W J Reeve and Kate Robson Brown},
1496
+ year={2025},
1497
+ eprint={2505.14596},
1498
+ archivePrefix={arXiv},
1499
+ primaryClass={cs.LG},
1500
+ url={https://arxiv.org/abs/2505.14596},
 
 
 
 
1501
  }
1502
  ```
1503
 
1504
+ ### Acknowledgements
 
 
 
1505
  We would like to thank UK Research and Innovation (UKRI) for funding author ID's PhD research through the UKRI Doctoral Training in Interactive Artificial Intelligence (AI) under grant EP/S022937/1. The authors extend their gratitude to the faculty, staff and colleagues of the Interactive AI Centre for Doctoral Training at Bristol University for their valuable support and guidance throughout this research.
1506
  We acknowledge the use of Claude 3.7 Sonnet by Anthropic as a research dialogue tool throughout the development of this work, assisting with dataset documentation, iterative refinement of ideas, and evaluating the clarity of our methods and contributions.