Official implementation of the confidence-sequence constructions and experiments from the paper "On the Tightness and Computational Tractability of Higher-Dimensional Confidence Sequences", currently under review at NeurIPS 2026.
The current manuscript is available as a PDF.
The accompanying tutorial, Monitoring ML Models with Confidence Sequences, shows how to use the bounding-box construction to monitor overall and subgroup model performance.
The experiments were run with Python 3.9. Create a virtual environment and install the dependencies:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txtRun the synthetic-data experiments with:
python run_experiments_async.pySet small_scale = True near the bottom of run_experiments_async.py for the small-scale Bounded UP appendix experiment. Keep it False for the main-paper configuration. Results are written to logs/.
Additional applications:
python -m adaptive_sample.conf_sequences.ab_testingruns the multi-metric A/B testing experiment.adaptive_sample/conf_sequences/model_comparison/README.mddocuments the Adult dataset model-comparison experiment.python examples/model_monitoring/tutorial.pyreproduces the figures used in the tutorial.
The primary experiment configuration and available methods are defined in main.py and run_experiments_async.py.
adaptive_sample/: confidence-sequence implementations and experiment codeshared/: command-line and experiment utilitiesexamples/: runnable code accompanying the tutorial_posts/,_layouts/, andassets/: GitHub Pages blog source
If you use this code, please cite the paper:
@misc{denoodt2026tightness,
title = {On the Tightness and Computational Tractability of Higher-Dimensional Confidence Sequences},
author = {Denoodt, Fabian and Hess, Sibylle and Vanschoren, Joaquin and Naesseth, Christian A.},
year = {2026},
note = {Manuscript under review at the 40th Conference on Neural Information Processing Systems (NeurIPS 2026)},
url = {https://github.com/fdenoodt/higher-dimensional-confidence-sequences/blob/main/paper.pdf}
}This project is released under the MIT License.