{"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/boss-bayesian-optimization-over-string-spaces","title":"BOSS: Bayesian Optimization over String Spaces","arxiv_id":"2010.00979","date":"2020-10-02","proceeding":"NeurIPS 2020 12","authors":["Henry B. Moss","Daniel Beck","Javier Gonzalez","David S. Leslie","Paul Rayson"],"abstract":"This article develops a Bayesian optimization (BO) method which acts directly over raw strings, proposing the first uses of string kernels and genetic algorithms within BO loops. Recent applications of BO over strings have been hindered by the need to map inputs into a smooth and unconstrained latent space. Learning this projection is computationally and data-intensive. Our approach instead builds a powerful Gaussian process surrogate model based on string kernels, naturally supporting variable length inputs, and performs efficient acquisition function maximization for spaces with syntactical constraints. Experiments demonstrate considerably improved optimization over existing approaches across a broad range of constraints, including the popular setting where syntax is governed by a context-free grammar.","url_abs":"https://arxiv.org/abs/2010.00979v1","url_pdf":"https://arxiv.org/pdf/2010.00979v1.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":"boss-bayesian-optimization-over-string-spaces","repo_url":"https://github.com/henrymoss/BOSS","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"bayesian-optimization","task_name":"Bayesian Optimization"}],"methods":[{"method_slug":"gaussian-process","method_name":"Gaussian Process"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.00979","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.00979"}},"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/henrymoss/BOSS","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":9},"by_repo_kind":{"official":{"samples":9,"ran":0,"repositories":1}},"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":0,"samples":[{"code_sha256_prefix":"188e88957d3e32bd","entry":"choice","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/CFG/CFG.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/CFG/CFG.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"188e88957d3e32bd"}},{"code_sha256_prefix":"484b51c1fa63a636","entry":"count_codons","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/emukit_models/emukit_bio_features_model.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/emukit_models/emukit_bio_features_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"484b51c1fa63a636"}},{"code_sha256_prefix":"9232fb37be581cf9","entry":"count_number_basis","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/emukit_models/emukit_bio_features_model.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/emukit_models/emukit_bio_features_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9232fb37be581cf9"}},{"code_sha256_prefix":"b0743369c99e1e3e","entry":"gc_content","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/emukit_models/emukit_bio_features_model.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/emukit_models/emukit_bio_features_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b0743369c99e1e3e"}},{"code_sha256_prefix":"fcb870b56796f525","entry":"map_to_feature_space","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/emukit_models/emukit_bow_model.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/emukit_models/emukit_bow_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fcb870b56796f525"}},{"code_sha256_prefix":"8a64da8f8aaa442c","entry":"map_to_feature_space","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/emukit_models/emukit_linear_model.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/emukit_models/emukit_linear_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8a64da8f8aaa442c"}},{"code_sha256_prefix":"9c753533b7f39f53","entry":"rand_subtree","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/optimizers/GrammarGeneticAlgorithmAcquisitionOptimizer.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/optimizers/GrammarGeneticAlgorithmAcquisitionOptimizer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9c753533b7f39f53"}},{"code_sha256_prefix":"b6df4d6267e817e3","entry":"rand_subtree_fixed_head","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/optimizers/GrammarGeneticAlgorithmAcquisitionOptimizer.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/optimizers/GrammarGeneticAlgorithmAcquisitionOptimizer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b6df4d6267e817e3"}},{"code_sha256_prefix":"a194776a5aa6f109","entry":"unparse","repo":"henrymoss/BOSS","repo_kind":"official","path":"boss/code/optimizers/GrammarGeneticAlgorithmAcquisitionOptimizer.py","file_url":"https://github.com/henrymoss/BOSS/blob/HEAD/boss/code/optimizers/GrammarGeneticAlgorithmAcquisitionOptimizer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a194776a5aa6f109"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}