Coder Social home page Coder Social logo

sciml-bench's Introduction

logo

SciML-Bench: Table of Contents

1. Synopsis

Benchmarking is a well known topic of Computer Science, primarily aimed at comparing software and/or hardware systems. With the rise of machine learning and AI, the overall efforts on AI benchmarking in constantly increasing. The SciMLBench is aimed at the AI for Science domain, as opposed to generic AI benchmarking.

With an ever growing number of machine learning models and algorithms, a range of scientific problems, and the proliferation of AI systems, developing cutting-edge ML/AI algorithms requires a detailed understanding of the interactions between these aspects.

The SciMLBench is aimed at providing an answer to this open question. It is an open-source initiative, and covers a range of scientific problems from various domains of science, including material, life, and earth sciences, particle physics and astronomy. The benchmarks are implemented in Python, relying on one or more machine learning frameworks, such as TensorFlow, PyTorch or SciKit-Learn.

The overarching purpose of this initiative is many-fold, including, supporting benchmarking of machine learning models, AI systems, and supporting the AI for Science community for developing better solutions.

2. Benchmark Suite

2.1 Organisation

The suite has three components, namely,

  1. Benchmarks: The benchmarks are machine learning applications performing a specific scientific task, written in Python. These are included as part of this package, and can be found inside the ./sciml_bench/benchmarks directory. In the scale of micro-apps, mini-apps, and apps, these are full-fledged applications.

  2. Datasets: Each benchmark in (1) relies on one or more datasets, for example for training and/or inferencing. These datasets are open, task- or domain-specific, and FAIR compliant. Most of these datasets being large, they are hosted separately, on one of the servers (or mirrors), and are automatically or explicitly downloaded on demand. The framework (see (3)), supports manual downloading of these datasets.

  3. Framework: The framework serves two purposes: first, at the user level, it facilitates an easier approach to benchmarking, logging and reporting of the results. Secondly, at the developer level, it provides a coherent API for unifying and simplifying the development of AI benchmarks. This can be found in ./sciml_bench/core directory.

The source tree, which captures these aspects, is organised as follows:

├── README.md                  <This file>
├── config                     <Container configuration files>
│   ├── Dockerfile
│   ├── ompi4.def
│   └── sciml-bench.def
├── doc                        <User documentation>
│   ├── benchmarks_datasets.md <List of benchmarks / datasets>
│   ├── contributing.md        <How to contribute>
│   ├── credits.md
│   ├── demo_output__MNIST_torch
│   │   └──                    <Sample benchmark outputs> 
│   ├── resources
│   │   └──                    <Various resources> 
│   └── usage.md               <Usage documentation> 
├── requirements.txt
├── sciml_bench
    ├── benchmarks             <Benchmark sources> 
    │   ├── registration.yml   <Key registration file>
    │   └── template
    │       └── template.py    <Benchmark Template>
    ├── core                   <Core scripts> 
    │   ├── messages           <Display messages>
    └── sciml_bench_config.yml <Directory configurations>

We have annotated the purpose of each folder/directory witin <>.

2.2 Features

A typical user-base for the benchmarking framework may include a number of user communities, such as system manufacturers and integrators (for assessing system performance), scientists (for developing new algorithms), and ML enthusiasts (for understanding the basics of various machine learning models and algorithms). It is a challenging task to design for and cover all these requirements in a single framework. Here, with SciMLBench, we have attempted to cover these requirements through the following set of features:

  • Very flexible, customisable and lightweight framework,
  • Powerful logging and monitoring capabilities,
  • Support for multiple machine learning frameworks (Tensorflow, PyTorch, and SciKit-Learn),
  • Simplified application programming interface (API), to support easier development of benchmarks,
  • Fully customisable installation,
  • Simplified use of framework encouraging a wide range of users, and
  • Fully decoupled, on-demand, and user-initiated data downloads.

2.3 Benchmarks and Datasets

The number of datasets and benchmarks may vary with every release. Please consult the Benchmarks document for this. A number authors have contributed towards the development of the benchmarks, and these can be see in the Credits. If you are thinking of contributing towards the benchmarks or datasets, please see the Contributing Datasets & Benchmarks.

3. Installation and Usage

Please consult the Installation & Usage file, placed inside the doc folder, for getting started.

4. Citation

Cite this benchmark suite as follows:

```
@misc{scimlbench:2021,
    title  = {SciMLBench: A Benchmarking Suite for AI for Science},
    author = {Jeyan Thiyagalingam, Kuangdai Leng, Samuel Jackson,  Juri Papay, Mallikarjun Shankar, Geoffrey Fox,  Tony Hey},
    url    = {https://github.com/stfc-sciml/sciml-bench},
    year   = {2021}
}
```

5. Acknowledgments

This benchmarking programme is supported by [1] Wave I of the UKRI Strategic Priorities Fund under the EPSRC grant (EP/T001569/1), particularly the AI for Science theme in that grant and the Alan Turing Institute, and [2] the Benchmarking for AI for Science at Exascale (BASE), EPSRC ExCALIBUR Phase I grant (EP/V001310/1).

◼︎

sciml-bench's People

Contributors

t-jeyan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.