Papers › LayerTracer: Cognitive-Aligned Layered SVG Synthesis via Diffusion Transformer

LayerTracer: Cognitive-Aligned Layered SVG Synthesis via Diffusion Transformer

3 Feb 2025arXiv:2502.01105archive 2025-07-28

Yiren Song, Danze Chen, Mike Zheng Shou

Generating cognitive-aligned layered SVGs remains challenging due to existing methods' tendencies toward either oversimplified single-layer outputs or optimization-induced shape redundancies. We propose LayerTracer, a diffusion transformer based framework that bridges this gap by learning designers' layered SVG creation processes from a novel dataset of sequential design operations. Our approach operates in two phases: First, a text-conditioned DiT generates multi-phase rasterized construction blueprints that simulate human design workflows. Second, layer-wise vectorization with path deduplication produces clean, editable SVGs. For image vectorization, we introduce a conditional diffusion mechanism that encodes reference images into latent tokens, guiding hierarchical reconstruction while preserving structural integrity. Extensive experiments demonstrate LayerTracer's superior performance against optimization-based and neural baselines in both generation quality and editability, effectively aligning AI-generated vectors with professional design cognition.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2502.01105")

Code

Syntology Ran 13 of 17 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

showlab/LayerTracer officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 13 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
9ran
4unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from showlab/LayerTracer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

EmbedND showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · ff3bd9590c746556 · report
LastLayer showlab/LayerTracer/library/flux_models.py official repository ran MIT (permissive) · 1657e2f4b8f0d910 · report
MLPEmbedder showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 6cf66c6c8edfc81d · report
Modulation showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 901a2b936492d22c · report
ModulationOut showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 56b80dad0a888bb4 · report
QKNorm showlab/LayerTracer/library/flux_models.py official repository ran fingerprinted MIT (permissive) · e8f4e017c2ad4d90 · report
RMSNorm showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 4de3b3072dadcd2f · report
SelfAttention showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 597cb2e18f1492d8 · report
SingleStreamBlock showlab/LayerTracer/library/flux_models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 79adbda2334eb842 · report
rope showlab/LayerTracer/library/flux_models.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 6d4efcd033e6cec0 · report
timestep_embedding showlab/LayerTracer/library/flux_models.py official repository ran · our draft was wrong MIT (permissive) · 0a1aadb08bf169c1 · report
to_cpu showlab/LayerTracer/library/flux_models.py official repository ran · our draft was wrong MIT (permissive) · d563d17c7c16ce57 · report
to_cuda showlab/LayerTracer/library/flux_models.py official repository ran · honoured contract MIT (permissive) · ad2b5d7635e16978 · report
DoubleStreamBlock showlab/LayerTracer/library/flux_models.py official repository unverified MIT (permissive) · f46b17d2c0efc87a · report
Flux showlab/LayerTracer/library/flux_models.py official repository unverified MIT (permissive) · 0b34080d58d0c7bf · report
apply_rope showlab/LayerTracer/library/flux_models.py official repository unverified MIT (permissive) · ad4327d0fd3beb3a · report
attention showlab/LayerTracer/library/flux_models.py official repository unverified MIT (permissive) · b4b29f7369dbaf95 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections