Metadata-Version: 2.4
Name: dmpo
Version: 0.0.3
Summary: Maximum a Posteriori Policy Optimization and Related Algorithms
Project-URL: Homepage, https://pypi.org/project/dmpo/
Project-URL: Repository, https://codeberg.org/lucidrains/dmpo
Author-email: Phil Wang <lucidrains@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Phil Wang
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: artificial intelligence,deep learning,mpo,reinforcement learning,tpo
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: accelerate
Requires-Dist: discrete-continuous-embed-readout
Requires-Dist: einops>=0.8.1
Requires-Dist: memmap-replay-buffer>=0.1.4
Requires-Dist: torch-einops-utils>=0.1.2
Requires-Dist: torch>=2.5
Requires-Dist: tqdm
Requires-Dist: x-mlps-pytorch
Requires-Dist: x-transformers
Provides-Extra: examples
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Description-Content-Type: text/markdown

## DMPO (wip)

Implementation and explorations into [MPO](https://arxiv.org/abs/1806.06920) / DMPO

## Citations

```bibtex
@article{Haarnoja_2024,
    title     = {Learning agile soccer skills for a bipedal robot with deep reinforcement learning},
    volume    = {9},
    ISSN      = {2470-9476},
    url       = {http://dx.doi.org/10.1126/scirobotics.adi8022},
    DOI       = {10.1126/scirobotics.adi8022},
    number    = {89},
    journal   = {Science Robotics},
    publisher = {American Association for the Advancement of Science (AAAS)},
    author    = {Haarnoja, Tuomas and Moran, Ben and Lever, Guy and Huang, Sandy H. and Tirumala, Dhruva and Humplik, Jan and Wulfmeier, Markus and Tunyasuvunakool, Saran and Siegel, Noah Y. and Hafner, Roland and Bloesch, Michael and Hartikainen, Kristian and Byravan, Arunkumar and Hasenclever, Leonard and Tassa, Yuval and Sadeghi, Fereshteh and Batchelor, Nathan and Casarini, Federico and Saliceti, Stefano and Game, Charles and Sreendra, Neil and Patel, Kushal and Gwira, Marlon and Huber, Andrea and Hurley, Nicole and Nori, Francesco and Hadsell, Raia and Heess, Nicolas},
    year      = {2024},
    month     = {Apr}
}
```

```bibtex
@misc{abdolmaleki2018maximumposterioripolicyoptimisation,
    title         = {Maximum a Posteriori Policy Optimisation},
    author        = {Abbas Abdolmaleki and Jost Tobias Springenberg and Yuval Tassa and Remi Munos and Nicolas Heess and Martin Riedmiller},
    year          = {2018},
    eprint        = {1806.06920},
    archivePrefix = {arXiv},
    primaryClass  = {cs.LG},
    url           = {https://arxiv.org/abs/1806.06920}
}
```

```bibtex
@misc{song2019vmpoonpolicymaximumposteriori,
    title         = {V-MPO: On-Policy Maximum a Posteriori Policy Optimization for Discrete and Continuous Control},
    author        = {H. Francis Song and Abbas Abdolmaleki and Jost Tobias Springenberg and Aidan Clark and Hubert Soyer and Jack W. Rae and Seb Noury and Arun Ahuja and Siqi Liu and Dhruva Tirumala and Nicolas Heess and Dan Belov and Martin Riedmiller and Matthew M. Botvinick},
    year          = {2019},
    eprint        = {1909.12238},
    archivePrefix = {arXiv},
    primaryClass  = {cs.AI},
    url           = {https://arxiv.org/abs/1909.12238}
}
```

```bibtex
@InProceedings{pmlr-v235-li24z,
    title     = {Value-Evolutionary-Based Reinforcement Learning},
    author    = {Li, Pengyi and Hao, Jianye and Tang, Hongyao and Zheng, Yan and Barez, Fazl},
    booktitle = {Proceedings of the 41st International Conference on Machine Learning},
    pages     = {27875--27889},
    year      = {2024},
    editor    = {Salakhutdinov, Ruslan and Kolter, Zico and Heller, Katherine and Weller, Adrian and Oliver, Nuria and Scarlett, Jonathan and Berkenkamp, Felix},
    volume    = {235},
    series    = {Proceedings of Machine Learning Research},
    month     = {21--27 Jul},
    publisher = {PMLR},
    pdf       = {https://raw.githubusercontent.com/mlresearch/v235/main/assets/li24z/li24z.pdf},
    url       = {https://proceedings.mlr.press/v235/li24z.html}
}
```

```bibtex
@article{kaddour2026target,
    title   = {Target Policy Optimization},
    author  = {Kaddour, Jean},
    journal = {arXiv preprint arXiv:2604.06159},
    year    = {2026}
}
```

```bibtex
@misc{qu2026listwisepolicyoptimizationgroupbased,
    title   = {Listwise Policy Optimization: Group-based RLVR as Target-Projection on the LLM Response Simplex},
    author  = {Yun Qu and Qi Wang and Yixiu Mao and Heming Zou and Yuhang Jiang and Yingyue Li and Wutong Xu and Lizhou Cai and Weijie Liu and Clive Bai and Kai Yang and Yangkun Chen and Saiyong Yang and Xiangyang Ji},
    year    = {2026},
    eprint  = {2605.06139},
    archivePrefix = {arXiv},
    primaryClass = {cs.LG},
    url     = {https://arxiv.org/abs/2605.06139},
}
```
