DiscoBench: An Open-Ended Benchmark For Algorithm Discovery
This repository contains code for the DiscoBench modular benchmark for automated algorithm discovery.
- Github repository: https://github.com/AlexGoldie/discobench/
- Documentation: https://AlexGoldie.github.io/discobench/
- Blog: https://alexgoldie.github.io/discobench-blog/
Quick Start
Install DiscoBench:
pip install discobench
List available domains:
discobench get-domains
Create a task:
discobench create-task --task-domain OnPolicyRL
See the full documentation for detailed usage. Please note that each task_domain has its own set of requirements which may need to be installed.
Every domain includes references in discobench/tasks/<task_domain>/utils/_reference.txt.
Task Domains
| Task Domain | Modules | Datasets | Description |
|---|---|---|---|
| BayesianOptimisation | acq_fn, acq_optimizer, domain, next_queries, surrogate, surrogate_optimizer | 11 synthetic functions (Ackley, Branin, Bukin, Cosine, DropWave, EggHolder, Griewank, Hartmann, HolderTable, Levy). | Optimization of black-box functions using surrogate models to find global minima/maxima. |
| BrainSpeechDetection | loss, networks, optim | 7 LibriBrain tasks. | Detecting speech features directly from brain activity data. |
| ComputerVisionClassification | loss, networks, optim, preprocess | CIFAR10, CIFAR10C, CIFAR10LT, CIFAR100, FashionMNIST, MNIST, OxfordFlowers, StanfordCars, TinyImageNet. | Image classification on a range of datasets. |
| ContinualLearning | optim, regularizer, replay, sampler, scheduler | PermutedMNIST, SplitCIFAR100, TinyImageNetSplit. | Training a model on continually changing data, such that it can adapt to new data without losing old capabilities. |
| GreenhouseGasPrediction | data_processing, model | 4 Mauna Loa Time-series (CO2, N2O, SF6, CH4). | Time-series forecasting of atmospheric greenhouse gas concentrations. |
| LanguageModelling | loss, networks, optimizer | OPCFineWebCode, OPCFineWebMath, LMFineWeb, TinyStories. | Training transformer-based models on code, mathematics, and narrative text. |
| ModelUnlearning | loss | MUSE, TOFU, WMDP_Cyber. | Fine-tuning pretrained models to remove specific knowledge or data points while retaining others. |
| OffPolicyRL | q_update, policy, networks, optim, rb, train | 4 MinAtar games. | Value-based RL for training an agent in MinAtar. |
| OnPolicyRL | loss, networks, optim, train | 4 MinAtar, 7 Brax, 2 Craftax. | Training an RL agent in a range of different RL environments using PPO-style algorithms. |
| UnsupervisedEnvironmentDesign | sample_levels, train_step, train_loop, config | 3 Kinetix sizes, Minigrid. | Generating and curating training environments/levels to improve RL agent generalization. |
Development Setup
1. Set Up Your Development Environment
Install the environment and the pre-commit hooks with:
make install
This will also generate your uv.lock file.
Contributing
We welcome contributions! DiscoBench grows stronger with more tasks and domains.
- Found a bug? Open an issue
- Want to add a task? See our Contributing Guide
- Adding datasets? Check the Dataset Integration Guide
See CONTRIBUTING.md for detailed development guidelines.
Citation
If you use DiscoBench in your research, please cite:
@article{goldie2025discobench,
title={DiscoBench: An Open-Ended Benchmark For Algorithm Discovery},
author={Alexander D. Goldie and Zilin Wang and Adrian Hayler and Deepak Nathani and Edan Toledo and Ken Thampiratwong and Aleksandra Kalisz and Michael Beukman and Alistair Letcher and Shashank Reddy and Clarisse Wibault and Theo Wolf and Charles O'Neill and Jakob N. Foerster and Shimon Whiteson and Roberta Raileanu},
year={2025}
}
License
DiscoBench is released under the MIT License.
Metadata
Release files for discobench 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| discobench-0.1.0.tar.gz | 1.1 MB | Without provenance | Details for discobench-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discobench-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for discobench-0.1.0-py3-none-any.whl |
Total release size: 1.6 MB
Release files / discobench-0.1.0.tar.gz
| Download URL | discobench-0.1.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f183b3c6ebb0dcd7ad27b61c7e19a872941ab23195e0561fe6d74bb59687c894
|
|
BLAKE2b-256 checksum How to use checksums |
5e3510108c052dc7dd5dfab03133c82e6e6f5252a37b4ba2d59b2ba85454a716
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / discobench-0.1.0-py3-none-any.whl
| Download URL | discobench-0.1.0-py3-none-any.whl |
|---|---|
| Size | 588.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f97e4022002311bb9d6ec5d7c6f0feb11bb138fff185919cd795eb8969bce44a
|
|
BLAKE2b-256 checksum How to use checksums |
2c8b848e67a6d5136f6b7bd8a105a4b978f6292a90e8c0339aa7bb75d115495d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for discobench 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.