{"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/hierarchical-neural-coding-for-controllable","title":"Hierarchical Neural Coding for Controllable CAD Model Generation","arxiv_id":"2307.00149","date":"2023-06-30","proceeding":null,"authors":["Xiang Xu","Pradeep Kumar Jayaraman","Joseph G. Lambourne","Karl D. D. Willis","Yasutaka Furukawa"],"abstract":"This paper presents a novel generative model for Computer Aided Design (CAD) that 1) represents high-level design concepts of a CAD model as a three-level hierarchical tree of neural codes, from global part arrangement down to local curve geometry; and 2) controls the generation or completion of CAD models by specifying the target design using a code tree. Concretely, a novel variant of a vector quantized VAE with \"masked skip connection\" extracts design variations as neural codebooks at three levels. Two-stage cascaded auto-regressive transformers learn to generate code trees from incomplete CAD models and then complete CAD models following the intended design. Extensive experiments demonstrate superior performance on conventional tasks such as random generation while enabling novel interaction capabilities on conditional generation tasks. The code is available at https://github.com/samxuxiang/hnc-cad.","url_abs":"https://arxiv.org/abs/2307.00149v1","url_pdf":"https://arxiv.org/pdf/2307.00149v1.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":"hierarchical-neural-coding-for-controllable","repo_url":"https://github.com/samxuxiang/hnc-cad","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"cad-reconstruction","task_name":"CAD Reconstruction"},{"task_slug":"model","task_name":"model"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/cad-reconstruction-on-deepcad","task":"CAD Reconstruction","dataset":"DeepCAD","model":"HNC-CAD","rank_in_archive_order":9,"of":11,"metrics":{"Camfer Distance (median)":"8.64","IoU":"65.3"},"uses_additional_data":false},{"leaderboard":"/sota/cad-reconstruction-on-fusion-360-gallery","task":"CAD Reconstruction","dataset":"Fusion 360 Gallery","model":"HNC-CAD","rank_in_archive_order":6,"of":11,"metrics":{"Chamfer Distance (median)":"36.8","IoU":"63.5"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2307.00149","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2307.00149"}},"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":"deterministic:regex_extraction","url":"https://github.com/samxuxiang/hnc-cad","reach":null}],"summary":{"unverified":1},"by_repo_kind":{"official":{"samples":1,"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":1,"samples":[{"code_sha256_prefix":"52c5cce439db8955","entry":"SolidDecoder","repo":"samxuxiang/hnc-cad","repo_kind":"official","path":"codebook/model/decoder.py","file_url":"https://github.com/samxuxiang/hnc-cad/blob/HEAD/codebook/model/decoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"52c5cce439db8955"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}