Skip to content

About

My experiments for the ADIA Lab Structural Break Challenge (CrunchDAO, 2025): detecting structural breaks in univariate time series with statistical-test features, gradient boosting, and deep learning (Siamese, CNN-BiLSTM, attention).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structural Break Challenge

My experiments for the ADIA Lab Structural Break Challenge on CrunchDAO (May – September 2025).

The challenge

Each sample is a univariate time series (roughly 1,000–5,000 points) with a known boundary point that splits it into two periods. The task is to predict the probability that a structural break occurred at that boundary, i.e. that the process generating the data changed. Submissions are scored with ROC AUC.

It's a code competition: a submission is a Python file or notebook exposing train() and infer() functions that run on the CrunchDAO platform.

What I tried

This repo is a record of exploration rather than a polished solution. The approaches fall into three groups:

Statistical tests and hand-crafted features + gradient boosting

  • Classical break tests computed on the two periods: t-test, Kolmogorov–Smirnov, Levene, Chow, CUSUM / CUSUM of squares, MOSUM, and others
  • Time-series feature libraries: tsfresh, pycatch22, nolds, wavelets, change-point detection with ruptures
  • Models: LightGBM, XGBoost, CatBoost, and ensembles of them; feature-subspace ensembles; AutoGluon

Deep learning

  • Siamese network comparing the pre- and post-boundary segments
  • CNN + BiLSTM classifier
  • Attention / Transformer-based models, plus attention-derived features fed into boosting models
  • neuralforecast models

Probabilistic

  • A Bayesian model of the change between periods

Repository layout

notebooks/
  LightGBM_*.ipynb, XGBoost_*.ipynb   Boosting models built on the CrunchDAO quickstarter
  statistical_tests.ipynb             Statistical break-test features
  features.ipynb, feature_model.ipynb Feature engineering + boosting
  feature_subspaces_model.ipynb       Ensembles trained on feature subspaces
  GROUNDUP_Model.ipynb                Combined pipeline: hand-crafted + attention features
  AutoML.ipynb                        AutoGluon / CatBoost
  Siamese_Network_*.ipynb, siamese_network.ipynb
  CNN_BiLSTM.ipynb
  attention_model.ipynb, attention_models.ipynb
  NeuralForecast.ipynb
  bayesian_model.ipynb
  exploration/                        Early baselines and package exploration
src/                                  Script versions of several models (feature model, Bayesian,
                                      Siamese, anomaly detection) and a submission entry point

Running the code

  1. Install dependencies (not every notebook needs all of them):
    pip install -r requirements.txt
  2. The competition data isn't included. Download it with the CrunchDAO CLI, using the token from your CrunchDAO account:
    crunch setup-notebook structural-break <YOUR_CRUNCH_TOKEN>
    Wherever a notebook contains <YOUR_CRUNCH_TOKEN>, replace it with your own token. Most notebooks were written in Google Colab, so some paths point to Google Drive and need adjusting for a local run.

About

My experiments for the ADIA Lab Structural Break Challenge (CrunchDAO, 2025): detecting structural breaks in univariate time series with statistical-test features, gradient boosting, and deep learning (Siamese, CNN-BiLSTM, attention).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages