{"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/neuralsvg-an-implicit-representation-for-text","title":"NeuralSVG: An Implicit Representation for Text-to-Vector Generation","arxiv_id":"2501.03992","date":"2025-01-07","proceeding":null,"authors":["Sagi Polaczek","Yuval Alaluf","Elad Richardson","Yael Vinker","Daniel Cohen-Or"],"abstract":"Vector graphics are essential in design, providing artists with a versatile medium for creating resolution-independent and highly editable visual content. Recent advancements in vision-language and diffusion models have fueled interest in text-to-vector graphics generation. However, existing approaches often suffer from over-parameterized outputs or treat the layered structure - a core feature of vector graphics - as a secondary goal, diminishing their practical use. Recognizing the importance of layered SVG representations, we propose NeuralSVG, an implicit neural representation for generating vector graphics from text prompts. Inspired by Neural Radiance Fields (NeRFs), NeuralSVG encodes the entire scene into the weights of a small MLP network, optimized using Score Distillation Sampling (SDS). To encourage a layered structure in the generated SVG, we introduce a dropout-based regularization technique that strengthens the standalone meaning of each shape. We additionally demonstrate that utilizing a neural representation provides an added benefit of inference-time control, enabling users to dynamically adapt the generated SVG based on user-provided inputs, all with a single learned representation. Through extensive qualitative and quantitative evaluations, we demonstrate that NeuralSVG outperforms existing methods in generating structured and flexible SVG.","url_abs":"https://arxiv.org/abs/2501.03992v1","url_pdf":"https://arxiv.org/pdf/2501.03992v1.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":"neuralsvg-an-implicit-representation-for-text","repo_url":"https://github.com/SagiPolaczek/NeuralSVG","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"vector-graphics","task_name":"Vector Graphics"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2501.03992","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2501.03992"}},"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/SagiPolaczek/NeuralSVG","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"listed":{"samples":5,"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":"54a4f1da198cb291","entry":"build_model","repo":"SagiPolaczek/NeuralSVG","repo_kind":"listed","path":"CLIP_/clip/model.py","file_url":"https://github.com/SagiPolaczek/NeuralSVG/blob/HEAD/CLIP_/clip/model.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":"54a4f1da198cb291"}},{"code_sha256_prefix":"4a1b70be64371746","entry":"calculate_ratio","repo":"SagiPolaczek/NeuralSVG","repo_kind":"listed","path":"src/models/nerf_mlp_multi.py","file_url":"https://github.com/SagiPolaczek/NeuralSVG/blob/HEAD/src/models/nerf_mlp_multi.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":"4a1b70be64371746"}},{"code_sha256_prefix":"b6bf865ea5dd217b","entry":"exponential_decay_distribution","repo":"SagiPolaczek/NeuralSVG","repo_kind":"listed","path":"src/models/nerf_mlp_multi.py","file_url":"https://github.com/SagiPolaczek/NeuralSVG/blob/HEAD/src/models/nerf_mlp_multi.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":"b6bf865ea5dd217b"}},{"code_sha256_prefix":"9f3cdd853bc0c6f9","entry":"get_attention_map","repo":"SagiPolaczek/NeuralSVG","repo_kind":"listed","path":"src/models/attention_utils.py","file_url":"https://github.com/SagiPolaczek/NeuralSVG/blob/HEAD/src/models/attention_utils.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":"9f3cdd853bc0c6f9"}},{"code_sha256_prefix":"edd74ecca2518f03","entry":"set_init_strokes_with_attention_map","repo":"SagiPolaczek/NeuralSVG","repo_kind":"listed","path":"src/models/attention_utils.py","file_url":"https://github.com/SagiPolaczek/NeuralSVG/blob/HEAD/src/models/attention_utils.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":"edd74ecca2518f03"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}