{"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/svgdreamer-text-guided-svg-generation-with","title":"SVGDreamer: Text Guided SVG Generation with Diffusion Model","arxiv_id":"2312.16476","date":"2023-12-27","proceeding":"CVPR 2024 1","authors":["XiMing Xing","Haitao Zhou","Chuang Wang","Jing Zhang","Dong Xu","Qian Yu"],"abstract":"Recently, text-guided scalable vector graphics (SVGs) synthesis has shown promise in domains such as iconography and sketch. However, existing text-to-SVG generation methods lack editability and struggle with visual quality and result diversity. To address these limitations, we propose a novel text-guided vector graphics synthesis method called SVGDreamer. SVGDreamer incorporates a semantic-driven image vectorization (SIVE) process that enables the decomposition of synthesis into foreground objects and background, thereby enhancing editability. Specifically, the SIVE process introduces attention-based primitive control and an attention-mask loss function for effective control and manipulation of individual elements. Additionally, we propose a Vectorized Particle-based Score Distillation (VPSD) approach to address issues of shape over-smoothing, color over-saturation, limited diversity, and slow convergence of the existing text-to-SVG generation methods by modeling SVGs as distributions of control points and colors. Furthermore, VPSD leverages a reward model to re-weight vector particles, which improves aesthetic appeal and accelerates convergence. Extensive experiments are conducted to validate the effectiveness of SVGDreamer, demonstrating its superiority over baseline methods in terms of editability, visual quality, and diversity. Project page: https://ximinng.github.io/SVGDreamer-project/","url_abs":"https://arxiv.org/abs/2312.16476v6","url_pdf":"https://arxiv.org/pdf/2312.16476v6.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":"svgdreamer-text-guided-svg-generation-with","repo_url":"https://github.com/ximinng/SVGDreamer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"svgdreamer-text-guided-svg-generation-with","repo_url":"https://github.com/ximinng/pytorch-svgrender","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MPL-2.0"}},{"paper_slug":"svgdreamer-text-guided-svg-generation-with","repo_url":"https://github.com/MindSpore-scientific/code-13/tree/main/SVGD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"svgdreamer-text-guided-svg-generation-with","repo_url":"https://github.com/pwc-1/Paper-9/tree/main/7/SVGD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"vector-graphics","task_name":"Vector Graphics"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2312.16476","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.16476"}},"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/ximinng/SVGDreamer","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pwc-1/Paper-9/tree/main/7/SVGD","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ximinng/pytorch-svgrender","reach":{"status":"ok","spdx":"MPL-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MindSpore-scientific/code-13/tree/main/SVGD","reach":null}],"summary":{"ran":7,"unverified":5},"by_repo_kind":{"official":{"samples":9,"ran":7,"repositories":1},"listed":{"samples":3,"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":"78b8ac06cdb89338","entry":"area","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/painter/loss.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/painter/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"78b8ac06cdb89338"}},{"code_sha256_prefix":"17f4407d2b4a1208","entry":"build_sysout_print_logger","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/libs/logging.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/libs/logging.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"17f4407d2b4a1208"}},{"code_sha256_prefix":"75de0b4f69fd8177","entry":"channel_saturation_penalty_loss","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/painter/loss.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/painter/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"75de0b4f69fd8177"}},{"code_sha256_prefix":"cbc591940d7b4d9c","entry":"get_circle_coordinates","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/painter/component_painter_params.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/painter/component_painter_params.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cbc591940d7b4d9c"}},{"code_sha256_prefix":"f3c20de4690dc924","entry":"get_optimizer","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/libs/optim.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/libs/optim.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f3c20de4690dc924"}},{"code_sha256_prefix":"0b48f28e17fb46c5","entry":"softmax_t","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/painter/component_painter_params.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/painter/component_painter_params.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0b48f28e17fb46c5"}},{"code_sha256_prefix":"69b23c90ca4b2659","entry":"triangle_area","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/painter/loss.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/painter/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"69b23c90ca4b2659"}},{"code_sha256_prefix":"99b3f249d01cac0c","entry":"dictconfig_diff","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/libs/model_state.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/libs/model_state.py","link_basis":"first_harvest_node","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":"99b3f249d01cac0c"}},{"code_sha256_prefix":"16298c972234921e","entry":"generate_sample","repo":"MindSpore-scientific/code-13","repo_kind":"listed","path":"QuantExplainNLP_AlgoAnalysis/data_preprocessing.py","file_url":"https://github.com/MindSpore-scientific/code-13/blob/HEAD/QuantExplainNLP_AlgoAnalysis/data_preprocessing.py","link_basis":"harvester_set","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":"16298c972234921e"}},{"code_sha256_prefix":"5919a74fc358ee01","entry":"get_feature_names","repo":"MindSpore-scientific/code-13","repo_kind":"listed","path":"QuantExplainNLP_AlgoAnalysis/explainability.py","file_url":"https://github.com/MindSpore-scientific/code-13/blob/HEAD/QuantExplainNLP_AlgoAnalysis/explainability.py","link_basis":"harvester_set","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":"5919a74fc358ee01"}},{"code_sha256_prefix":"de7eae39bfa8797d","entry":"get_sdf","repo":"ximinng/SVGDreamer","repo_kind":"official","path":"svgdreamer/painter/painter_params.py","file_url":"https://github.com/ximinng/SVGDreamer/blob/HEAD/svgdreamer/painter/painter_params.py","link_basis":"first_harvest_node","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":"de7eae39bfa8797d"}},{"code_sha256_prefix":"ef93260b5137f73b","entry":"maybe_num_nodes","repo":"MindSpore-scientific/code-13","repo_kind":"listed","path":"RGNN/model_simple.py","file_url":"https://github.com/MindSpore-scientific/code-13/blob/HEAD/RGNN/model_simple.py","link_basis":"harvester_set","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":"ef93260b5137f73b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}