A tool for Behavior benchmARKing
Project description
BARK - A Tool for Behavior benchmARKing
BARK is a semantic simulation framework for autonomous driving. Its behavior model-centric design allows for the rapid development, training, and benchmarking of various decision-making algorithms. It is especially suited for computationally expensive tasks, such as reinforcement learning. A a good starting point, have a look at the content of our BARK-Tutorial on IROS 2020.
Usage
(A) Pip Package
For whom it is: Python evangelists implementing python behavior models or ML scientists using BARK-ML for learning behaviors.
Bark is available as PIP-Package for Ubuntu and MacOS for Python>=3.7. You can install the latest version with
pip install bark-simulator
. The Pip package supports full benchmarking functionality of existing behavior models and development of your models within python.
After installing the package, you can have a look at the examples to check how to use BARK.
Highway Example | Merging Example | Intersection Example |
---|---|---|
(B) Build it from Source
For whom it is: C++ developers creating C++ behavior models, researchers performing benchmarks, or contributors to BARK.
Use git clone https://github.com/bark-simulator/bark.git
or download the repository from this page.
Then follow the instructions at How to Install BARK.
To get step-by-step instructions on how to use BARK, you can run our IPython Notebook tutorials using bazel run //docs/tutorials:run
.
For a more detailed understanding of how BARK works, its concept and use cases have a look at our documentation.
Example Benchmark is a running example of how to use BARK for benchmarking for scientific purposes.
Scientific Publications using BARK
- BARK: Open Behavior Benchmarking in Multi-Agent Environments (IROS 2020)
- Graph Neural Networks and Reinforcement Learning for Behavior Generation in Semantic Environments (IV 2020)
- Counterfactual Policy Evaluation for Decision-Making in Autonomous Driving (IROS 2020, PLC Workshop)
- Modeling and Testing Multi-Agent Traffic Rules within Interactive Behavior Planning (IROS 2020, PLC Workshop)
- Formalizing Traffic Rules for Machine Interpretability (CAVS 2020)
- Robust Stochastic Bayesian Games for Behavior Space Coverage (RSS 2020, Workshop on Interaction and Decision-Making in Autonomous-Driving)
- Risk-Constrained Interactive Safety under Behavior Uncertainty for Autonomous Driving (IV 2021)
- Risk-Based Safety Envelopes for Autonomous Vehicles Under Perception Uncertainty (Arxiv)
BARK Ecosystem
The BARK ecosystem is composed of multiple components that all share the common goal to develop and benchmark behavior models:
- BARK-ML: Machine learning library for decision-making in autonomous driving.
- BARK-MCTS: Integrates a template-based C++ Monte Carlo Tree Search Library into BARK to support development of both single- and multi-agent search methods.
- BARK-Rules-MCTS: Integrates traffic rules within Monte Carlo Tree Search with lexicographic ordering.
- BARK-MIQP: MINIVAN Planner based on MIQP for single- and multi-agent planning. Check out the build instructions.
- BARK-DB: Provides a framework to integrate multiple BARK scenario sets into a database. The database module supports binary serialization of randomly generated scenarios to ensure exact reproducibility of behavior benchmarks across systems.
- BARK-Rule-Monitoring: Provides runtime verification of Rules in Linear Temporal Logic (LTL) on simulated BARK traces.
- CARLA-Interface: A two-way interface between CARLA and BARK. BARK behavior models can control CARLA vehicles. CARLA controlled vehicles are mirrored to BARK.
Paper
If you use BARK, please cite us using the following paper:
@inproceedings{Bernhard2020,
title = {BARK: Open Behavior Benchmarking in Multi-Agent Environments},
author = {Bernhard, Julian and Esterle, Klemens and Hart, Patrick and Kessler, Tobias},
booktitle = {2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
url = {https://arxiv.org/pdf/2003.02604.pdf},
year = {2020}
}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
BARK specific code is distributed under MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for bark_simulator-1.4.10-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d94bbda134dbdbfcec684d88454a9713f2499571770fa897886b12b8c8167f |
|
MD5 | 3b4f95ed73c7ec9cbceb825e29357e34 |
|
BLAKE2b-256 | 9d8886042bf053e384d8361785d4b5f8bd22c39a23161d619cdfd72b67315305 |
Hashes for bark_simulator-1.4.10-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cf1f0bf6f0e792b5538b8f349db0d1907e625029f534247974e3ee58916d5e7 |
|
MD5 | 4114b4d65eb67b9bf8a2dde524ac894d |
|
BLAKE2b-256 | ed0515d3598b6607bd987bc18f7f365b39b9080c8b705629caa8e443a73fbfc4 |
Hashes for bark_simulator-1.4.10-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3376efa23f3367756c060f4f2b57b52c636284c6a27c78c4705c3191bd8037cb |
|
MD5 | 04f405bf0d058d3f75ef7081b43539bc |
|
BLAKE2b-256 | 77bc570fc8b1fd286278575f0b12646ed695cebfc92f99bfef09694088b67797 |
Hashes for bark_simulator-1.4.10-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b58336add240519aafdbbb0f210668fde4bd1d7033f25f73f4a422fc431a973c |
|
MD5 | b6abcde391d717d6cd32b9e8a58fb3e3 |
|
BLAKE2b-256 | baece64fe1d845fb5bd19a588b3a800135023eb5bf0e76cbc6f438ff75c87059 |
Hashes for bark_simulator-1.4.10-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e1de49f85a658ececcd8ca0c6127e4917a61aa9481df8e9df258fa7a8ec70f |
|
MD5 | cd2b085e02012aa2445592597d8e07fe |
|
BLAKE2b-256 | 46629757b4bae44f7682b8ec6a0bc1a5c090456145eac62552b2d9cf4d375bad |
Hashes for bark_simulator-1.4.10-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 650198449ab1bfcbe30171d3e9bdf994041c1823ad936b6cedeba4fc02bc98ca |
|
MD5 | 2352f19289e877e18a63a16e87d19798 |
|
BLAKE2b-256 | dc1ca993fc9518488b653933254bbdfb5d84e6b6c5d989d94f710f780f92b3de |