{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/the-cma-evolution-strategy-a-tutorial","title":"The CMA Evolution Strategy: A Tutorial","arxiv_id":"1604.00772","date":"2016-04-04","proceeding":null,"authors":["Nikolaus Hansen"],"abstract":"This tutorial introduces the CMA Evolution Strategy (ES), where CMA stands for Covariance Matrix Adaptation. The CMA-ES is a stochastic, or randomized, method for real-parameter (continuous domain) optimization of non-linear, non-convex functions. We try to motivate and derive the algorithm from intuitive concepts and from requirements of non-linear, non-convex search in continuous domain.","url_abs":"https://arxiv.org/abs/1604.00772v2","url_pdf":"https://arxiv.org/pdf/1604.00772v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/JohnYKiyo/coco_trial","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/ShangtongZhang/DistributedES","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/WillButAgain/ENAS","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/bgcarvalho/PINF-6073_natural-computing","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/bionik-berlin/PURE_ES","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/c-bata/goptuna","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/jyyang5/mu_mu_lambda-ES","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/kubeflow/katib","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/nlinc1905/evolutionary-reinforcement-learner","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/ppocma/ppocma","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/srom/cma-es","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/susanwe/ope_worldmodels","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"the-cma-evolution-strategy-a-tutorial","repo_url":"https://github.com/yn-cloud/CMAES.NET","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1604.00772","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1604.00772"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nlinc1905/evolutionary-reinforcement-learner","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bionik-berlin/PURE_ES","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/c-bata/goptuna","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/JohnYKiyo/coco_trial","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bgcarvalho/PINF-6073_natural-computing","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jyyang5/mu_mu_lambda-ES","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yn-cloud/CMAES.NET","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ppocma/ppocma","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ShangtongZhang/DistributedES","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kubeflow/katib","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/WillButAgain/ENAS","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/susanwe/ope_worldmodels","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/srom/cma-es","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"listed":{"samples":5,"ran":0,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":1,"samples":[{"code_sha256_prefix":"70900b15f6128b0f","entry":"fitness_fn","repo":"srom/cma-es","repo_kind":"listed","path":"notebook/tensorboard_example.py","file_url":"https://github.com/srom/cma-es/blob/HEAD/notebook/tensorboard_example.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"70900b15f6128b0f"}},{"code_sha256_prefix":"0d2817c655919766","entry":"objective","repo":"JohnYKiyo/coco_trial","repo_kind":"listed","path":"example.py","file_url":"https://github.com/JohnYKiyo/coco_trial/blob/HEAD/example.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0d2817c655919766"}},{"code_sha256_prefix":"71a1a998f3e3d960","entry":"plot_2d_contour","repo":"srom/cma-es","repo_kind":"listed","path":"notebook/utils/plot.py","file_url":"https://github.com/srom/cma-es/blob/HEAD/notebook/utils/plot.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"71a1a998f3e3d960"}},{"code_sha256_prefix":"eb399eb27455bb02","entry":"plot_3d_surface","repo":"srom/cma-es","repo_kind":"listed","path":"notebook/utils/plot.py","file_url":"https://github.com/srom/cma-es/blob/HEAD/notebook/utils/plot.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eb399eb27455bb02"}},{"code_sha256_prefix":"c1800f95efd222ee","entry":"plot_generations","repo":"srom/cma-es","repo_kind":"listed","path":"notebook/utils/plot.py","file_url":"https://github.com/srom/cma-es/blob/HEAD/notebook/utils/plot.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c1800f95efd222ee"}},{"code_sha256_prefix":"0f3373194a3a7f49","entry":"test","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"0f3373194a3a7f49"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}