Metadata-Version: 2.4
Name: transformer-directed-evolution
Version: 0.0.3
Summary: Directed Evolution with Transformer
Project-URL: Homepage, https://pypi.org/project/transformer-directed-evolution/
Project-URL: Repository, https://github.com/lucidrains/transformer-directed-evolution
Author-email: Phil Wang <lucidrains@gmail.com>
License: MIT License
        
        Copyright (c) 2025 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,attention mechanisms,deep learning,evolution
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: assoc-scan>=0.0.2
Requires-Dist: einops>=0.8.0
Requires-Dist: evolutionary-policy-optimization>=0.0.29
Requires-Dist: torch>=2.0
Requires-Dist: wandb
Requires-Dist: x-transformers>=2.0.0
Provides-Extra: examples
Requires-Dist: tqdm; extra == 'examples'
Requires-Dist: wandb; extra == 'examples'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Description-Content-Type: text/markdown

## Transformer RL Directed Evolution (wip)

Explorations into whether a transformer with RL can direct a genetic algorithm to converge faster

## Citations

```bibtex
@article{Song2023ReinforcementLE,
    title   = {Reinforcement Learning-assisted Evolutionary Algorithm: A Survey and Research Opportunities},
    author  = {Yanjie Song and Yutong Wu and Yangyang Guo and Ran Yan and Ponnuthurai Nagaratnam and Suganthan and Yue Zhang and Witold Pedrycz and Ying Wu Chen and Swagatam Das and R. Mallipeddi and Solomon Ajani},
    journal = {Swarm Evol. Comput.},
    year   = {2023},
    volume = {86},
    pages  = {101517},
    url    = {https://api.semanticscholar.org/CorpusID:261214753}
}
```

```bibtex
@inproceedings{mysore2022multicritic,
    title   = {Multi-Critic Actor Learning: Teaching {RL} Policies to Act with Style},
    author  = {Siddharth Mysore and George Cheng and Yunqi Zhao and Kate Saenko and Meng Wu},
    booktitle = {International Conference on Learning Representations},
    year    = {2022},
    url     = {https://openreview.net/forum?id=rJvY_5OzoI}
}
```

```bibtex
@article{ShemTov2024DeepNC,
    title  = {Deep Neural Crossover: A Multi-Parent Operator That Leverages Gene Correlations},
    author = {Eliad Shem-Tov and Achiya Elyasaf},
    journal = {Proceedings of the Genetic and Evolutionary Computation Conference},
    year   = {2024},
    url    = {https://api.semanticscholar.org/CorpusID:268512900}
}
```
