Manuscript Offprint

arXiv:2610.18763

LayerCanvas: Infographic Generation in AI Learning Assistants via Hybrid Layer-Set Diffusion

Keshav Gupta, Jeremy Owen, Christopher Lloyd, Shaunak Mishra, Manav Sharma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Keshav Gupta 1∗^{1*} Jeremy Owen 2^{2} Christopher Lloyd 2^{2} Shaunak Mishra 2^{2} Manav Sharma 2^{2}

1^{1}University of California, San Diego 2^{2}LinkedIn Inc.

Figure

Figure 1: LayerCanvas generates editable, text-faithful infographics. Current SOTA text-to-image models such as Qwen-Image-2512 (Qwen Team, 2025a) and Ideogram-4 (Ideogram AI, 2026) flatten the graphic and often garble text (top). Given a vector layout, LayerCanvas generates ordered RGB layers and composes them with exact vector text (middle), enabling localization and illustration edits without changing unrelated content (bottom).

ABSTRACT

Online learning platforms are increasingly deploying AI assistants to provide personalized, on-demand tutoring. These can leverage infographics to communicate complex information and improve the learning experience. However, automating effective infographic generation remains a challenging task, requiring a combination of visual richness with precise typography, structured layouts, and continued editability. Existing representation methods satisfy these goals only in part: Scalable Vector Graphics (SVG) representations preserve geometry, hierarchy, and text but provide limited aesthetic flexibility, while raster diffusion models produce richer appearances by flattening content and layout into a single image. Conditioning a diffusion model on a rasterized SVG does not resolve this conflict because the raster preserves approximate placement but discards element ownership, occlusion relationships, and the structure needed to modify and recompose the result. We introduce LayerCanvas, a hybrid approach that retains SVG as the semantic, structural, and typographic program while using diffusion to aestheticize non-text content. Rather than generating one flattened raster, LayerCanvas partitions SVG

*Work done during an internship at LinkedIn Inc.

elements into z-ordered sets of mutually non-overlapping elements and processes them through communicating parallel RGB generation streams. The resulting layers are independently editable and deterministically recomposed, while text is rendered from preserved vector metadata. Our approach combines rich visual synthesis with accurate typography and localized editing. LayerCanvas substantially improves text fidelity over state-of-the-art raster image generators while achieving the highest overall aesthetic quality. We further demonstrate non-destructive content editing, localization, asset reuse, and animation.

1 INTRODUCTION

Visual explanations are a fundamental component of modern learning platforms, where instructional content is increasingly presented through a combination of text, diagrams, illustrations, and infographics. Pairing words with pictures improves comprehension and retention relative to text alone (Mayer, 2009; Clark & Paivio, 1991), while infographics can make dense information more accessible and memorable (Bateman et al., 2010; Bhat & Alyahya, 2024). As learning platforms increasingly deliver and adapt instructional materials digitally, there is a growing need to automatically generate visual explanations that are both pedagogically effective and easy to revise as content evolves. Such explanations must communicate through precise labels and clear visual hierarchy while also providing the visual richness expected from modern image generators (Rombach et al., 2022; Podell et al., 2024; Chen et al., 2025). Meeting these requirements is challenging: precision, structure, and editability are naturally supported by representations such as Scalable Vector Graphics (SVG) (W3C SVG Working Group, 2011), whereas visual richness is most readily produced by raster generative models.

This representational contrast has a fundamental tradeoff. Vector graphics make geometry, grouping, text, and rendering order explicit, which makes direct manipulation possible (W3C SVG Working Group, 2011), but automatically generated SVGs (Rodriguez et al., 2025; Wu et al., 2023; Xing et al., 2024; Wu et al., 2024) often appear visually rigid, and stylizing them by hand is costly and difficult to scale. On the other hand, diffusion and flow models provide richer aesthetic priors (Rombach et al., 2022; Saharia et al., 2022; Esser et al., 2024), but synthesizing the artifact as a single raster makes exact typography and local intervention difficult; even state-of-the-art image models render dense, legible text unreliably, motivating specialized text-rendering methods (Liu et al., 2023b; Chen et al., 2023; Tuo et al., 2024). These limitations are especially consequential for learning platforms, which must serve learners worldwide by localizing explanations into different languages and adapting layouts across display formats, from desktop interfaces to mobile screens. Supporting these uses requires text to remain disentangled from imagery and layout components to remain independently adjustable, properties that are lost when the infographic is flattened into a raster. A natural way then is to rasterize the SVG layout and use it as a conditioning signal for a diffusion model, letting the vector structure guide where content goes while diffusion supplies appearance.

Simply rasterizing an SVG for conditioning does not resolve the mismatch: it preserves coarse spatial placement but discards element ownership, occlusion relationships, and the structure needed to recompose the graphic after an edit. This loss of structure cannot be addressed simply by strengthening raster conditioning. A system designed for editable generation should preserve these compositional units throughout synthesis instead of attempting to recover their ownership from pixels afterward.

Motivated by this principle, LayerCanvas combines the structure of SVGs with the visual capabilities of diffusion models. The SVG defines the semantic layout, hierarchy, paint order, and typography. Its non-text elements are partitioned into ordered, non-overlapping layers and generated through communicating parallel RGB streams, which are then alpha-composited according to the SVG z-order. Text nodes are kept outside the diffusion process entirely and rendered directly from their preserved vector metadata (Figure 1). Outputs remain editable, so users can replace text, move or hide groups, change the z-order, reuse illustrations, or specify animation trajectories. This makes the representation well suited to visual authoring workflows where generated content needs to remain editable and reusable, including educational content creation.

Training such a model requires examples that pair SVG with the corresponding rendered layers and final image. To create this paired supervision, we design a custom multi-agent framework, following recent work on agentic pipelines (Jain et al., 2026; Huang et al., 2026). The agents create concepts and SVG layouts, add illustrations, produce text-free targets and masks, and check that each example renders and reconstructs correctly.

Our contributions are:

• A hybrid formulation that separates deterministic SVG structure and typography from diffusion-based aestheticization;

• A multi-agent pipeline that produces and validates paired SVGs, text-free targets, layers, masks, and provenance metadata;

• A rendering-aligned layer representation that supports parallel generation, explicit occlusion modeling, and deterministic z-order composition, yielding over 25% higher placement-exact OCR character accuracy and approximately 27% higher aggregate aesthetic quality than the strongest raster baseline

• Practical workflows for non-destructive editing, localization, asset reuse, and animated visual explanations.

References (40)