Recent years have seen a rise in the popularity of quality diversity (QD) optimization, a branch of optimization that seeks to find a collection of diverse, high-performing solutions to a given problem. To grow further, we believe the QD community faces two challenges: developing a framework to represent the field's growing array of algorithms, and implementing that framework in software that supports a range of researchers and practitioners. To address these challenges, we have developed pyribs, a library built on a highly modular conceptual QD framework. By replacing components in the conceptual framework, and hence in pyribs, users can compose algorithms from across the QD literature; equally important, they can identify unexplored algorithm variations. Furthermore, pyribs makes this framework simple, flexible, and accessible, with a user-friendly API supported by extensive documentation and tutorials. This paper overviews the creation of pyribs, focusing on the conceptual framework that it implements and the design principles that have guided the library's development.
翻译:近年来,质量多样性(QD)优化的流行度不断上升,它是一种寻找多样化且高性能解决方案的优化方法。然而,随着该领域不断发展,我们认为QD社区面临两个挑战:开发能够代表该领域多种算法的框架,以及实现一个能够支持研究员和实践者的软件。为了应对这些挑战,我们开发了pyribs,这是一个建立在高度模块化概念框架之上的库。通过替换概念框架中的组件,也就是替换pyribs中的组件,用户可以组合从QD文献中提取的算法,同时还能发现未经探索的算法变种。此外,pyribs简单、灵活和易于使用,拥有用户友好的API以及广泛的文档和教程支持。本文概述了pyribs的创建过程,重点介绍了实现的概念框架和指导库开发的设计原则。