{"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/neural-circuit-synthesis-from-specification","title":"Neural Circuit Synthesis from Specification Patterns","arxiv_id":"2107.11864","date":"2021-07-25","proceeding":"NeurIPS 2021 12","authors":["Frederik Schmitt","Christopher Hahn","Markus N. Rabe","Bernd Finkbeiner"],"abstract":"We train hierarchical Transformers on the task of synthesizing hardware circuits directly out of high-level logical specifications in linear-time temporal logic (LTL). The LTL synthesis problem is a well-known algorithmic challenge with a long history and an annual competition is organized to track the improvement of algorithms and tooling over time. New approaches using machine learning might open a lot of possibilities in this area, but suffer from the lack of sufficient amounts of training data. In this paper, we consider a method to generate large amounts of additional training data, i.e., pairs of specifications and circuits implementing them. We ensure that this synthetic data is sufficiently close to human-written specifications by mining common patterns from the specifications used in the synthesis competitions. We show that hierarchical Transformers trained on this synthetic data solve a significant portion of problems from the synthesis competitions, and even out-of-distribution examples from a recent case study.","url_abs":"https://arxiv.org/abs/2107.11864v1","url_pdf":"https://arxiv.org/pdf/2107.11864v1.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":"neural-circuit-synthesis-from-specification","repo_url":"https://github.com/reactive-systems/ml2","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2107.11864","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2107.11864"}},"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/reactive-systems/ml2","reach":null}],"summary":{"ran_draft_wrong":2},"by_repo_kind":{"official":{"samples":2,"ran":2,"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":"971057717dc06c73","entry":"translate_substrings","repo":"reactive-systems/ml2","repo_kind":"official","path":"ml2/ltl/ltl_syn/ltl_syn_data_gen_patterns.py","file_url":"https://github.com/reactive-systems/ml2/blob/HEAD/ml2/ltl/ltl_syn/ltl_syn_data_gen_patterns.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"971057717dc06c73"}},{"code_sha256_prefix":"4d3c105c9df9d8d3","entry":"weighted_random","repo":"reactive-systems/ml2","repo_kind":"official","path":"ml2/ltl/ltl_syn/ltl_syn_data_gen_patterns.py","file_url":"https://github.com/reactive-systems/ml2/blob/HEAD/ml2/ltl/ltl_syn/ltl_syn_data_gen_patterns.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"none","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d3c105c9df9d8d3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}