Skip to main content

Blackbox Gradient Sensing

Project description

Blackbox Gradient Sensing

Explorations into Blackbox Gradient Sensing (BGS), an evolutionary strategies approach proposed in a Google Deepmind paper for Table Tennis

Note: This paper is from 2022, and PPO is now being used for sim2real for humanoid robots (contradicting the author). However, this is the only work that I know of that successfully deployed a policy trained with ES, so worth putting out there, even if it is not quite there yet.

Will also improvise in a population based variant. Of all the things going on in evolutionary field, I believe crossover may be one of the most important.

Usage

$ pip install -r requirements.txt  # or `uv pip install`, to keep up with the times

You may need to run the following if you see an error related to swig

$ apt install swig -y

Then

$ python train.py

Citations

@inproceedings{Abeyruwan2022iSim2RealRL,
    title   = {i-Sim2Real: Reinforcement Learning of Robotic Policies in Tight Human-Robot Interaction Loops},
    author  = {Saminda Abeyruwan and Laura Graesser and David B. D'Ambrosio and Avi Singh and Anish Shankar and Alex Bewley and Deepali Jain and Krzysztof Choromanski and Pannag R. Sanketi},
    booktitle = {Conference on Robot Learning},
    year    = {2022},
    url     = {https://api.semanticscholar.org/CorpusID:250526228}
}
@article{Lee2024SimBaSB,
    title   = {SimBa: Simplicity Bias for Scaling Up Parameters in Deep Reinforcement Learning},
    author  = {Hojoon Lee and Dongyoon Hwang and Donghu Kim and Hyunseung Kim and Jun Jet Tai and Kaushik Subramanian and Peter R. Wurman and Jaegul Choo and Peter Stone and Takuma Seno},
    journal = {ArXiv},
    year    = {2024},
    volume  = {abs/2410.09754},
    url     = {https://api.semanticscholar.org/CorpusID:273346233}
}
@article{Palenicek2025ScalingOR,
    title   = {Scaling Off-Policy Reinforcement Learning with Batch and Weight Normalization},
    author  = {Daniel Palenicek and Florian Vogt and Jan Peters},
    journal = {ArXiv},
    year    = {2025},
    volume  = {abs/2502.07523},
    url     = {https://api.semanticscholar.org/CorpusID:276258971}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blackbox_gradient_sensing-0.0.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blackbox_gradient_sensing-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file blackbox_gradient_sensing-0.0.1.tar.gz.

File metadata

File hashes

Hashes for blackbox_gradient_sensing-0.0.1.tar.gz
Algorithm Hash digest
SHA256 07d5ca5de74b9f0f2bd5e13892320c24ec67dcfffd5984044ca6d1eea765158a
MD5 f1fea22eddeef2af1cac48567a9ed339
BLAKE2b-256 7f6776a5d76f95ef7769cb3340f0065cfd4e92e842bbb6a651ef8eef8aa1adbb

See more details on using hashes here.

File details

Details for the file blackbox_gradient_sensing-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for blackbox_gradient_sensing-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22a2a078d6812cc93a8f5a806ec57d633b0438433b523765a750cc63ac7c1137
MD5 5c19f612792caea9c68721877c57a6e9
BLAKE2b-256 4141d69dc34d7d81a34e2c676a6511fd64faa53051511548387ca4dcab6c14be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page