mlsanityData to 7 Oct 2026

GeoSVG-RL: Geometry-Aware Reinforcement Learning for Layout-Constrained Text-to-SVG Diagram Generation

arXiv 2605.25447 ↗First posted 25 May 2026cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Generating structured, editable diagrams remains a significant challenge for contemporary large language models, despite their proficiency in general-purpose vector code generation. The primary difficulty lies in the structural fragility of the output; minor errors such as misaligned connector endpoints, text labels overlapping borders, or complex layouts drifting beyond the canvas boundaries render the resulting SVG files functionally unusable for professional applications. To address these issues, we introduce GeoSVG-RL, a specialized reinforcement learning framework designed for layout-constrained text-to-SVG generation. Unlike standard training objectives that rely solely on maximizing token-level likelihood, our approach optimizes the policy against explicit, executable geometric feedback. The model first produces a structured layout plan that serves as a geometric contract for the subsequent generation of the SVG code. This code is then rendered through a browser-backed verifier, enabling the calculation of fine-grained rewards across six critical dimensions: rendering validity, canvas fitting, precise anchor placement, text containment, graph consistency, and code cleanliness. We utilize Group Relative Policy Optimization (GRPO) to refine the model, sampling multiple candidates per prompt to facilitate updates based on relative quality. Starting from a supervised warm-start phase on synthetic data, GeoSVG-RL achieves substantial gains in structural reliability, particularly in arrow-anchor accuracy and text-in-box rates. Quantitative evaluations demonstrate that our method consistently outperforms current state-of-the-art systems in local geometric precision and the preservation of graph connectivity, providing a robust pathway toward automated yet reliable technical illustration.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 17 of its 19 references that are in the map. First posted on arXiv 25 May 2026.

Builds on

17 of 19 references.

References · 17

  1. 2023StarVector: Generating Scalable Vector Graphics Code from Images and Textcited by 96
  2. 2025OmniSVG: A Unified Scalable Vector Graphics Generation Modelcited by 71
  3. 2024Empowering LLMs to Understand and Generate Complex Vector Graphicscited by 63
  4. 2025Rendering-Aware Reinforcement Learning for Vector Graphics Generationcited by 36
  5. 2024SVGEditBench: A Benchmark Dataset for Quantitative Assessment of LLM's SVG Editing Capabilitiescited by 25
  6. 2026AutoFigure: Generating and Refining Publication-Ready Scientific Illustrationscited by 20
  7. 2025SVGenius: Benchmarking LLMs in SVG Understanding, Editing and Generationcited by 16
  8. 2025UniSVG: A Unified Dataset for Vector Graphic Understanding and Generation with Multimodal Large Language Modelscited by 14
  9. 2025SVGen: Interpretable Vector Graphics Generation with Large Language Modelscited by 13
  10. 2026AutoFigure-Edit: Generating Editable Scientific Illustrationcited by 12
  11. 2025DiagramEval: Evaluating LLM-Generated Diagrams via Graphscited by 7
  12. 2026Reliable Reasoning in SVG-LLMs via Multi-Task Multi-Reward Reinforcement Learningcited by 6
5 more
  1. 2026VectorGym: A Multi-Task Benchmark for SVG Code Generation, Sketching and Editingcited by 5
  2. 2026VFIG: Vectorizing Complex Figures in SVG with Vision-Language Modelscited by 4
  3. 2026IntroSVG: Learning from Rendering Feedback for Text-to-SVG Generation via an Introspective Generator-Critic Frameworkcited by 3
  4. 2026TechING: Towards Real World Technical Image Understanding via VLMscited by 2
  5. 2026Structural Evaluation Metrics for SVG Generation via Leave-One-Out Analysiscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025SVGThinker: Instruction-Aligned and Reasoning-Driven Text-to-SVG Generation
  2. 2024Chat2SVG: Vector Graphics Generation with Large Language Models and Image Diffusion Models
  3. 2025Reason-SVG: Enhancing Structured Reasoning for Vector Graphics Generation with Reinforcement Learning
  4. 2026VAnim: Rendering-Aware Sparse State Modeling for Structure-Preserving Vector Animation
  5. 2026RefineSVG: Visual Feedback-Driven Reinforcement Learning for Image-to-SVG Generation
  6. 2026RULER: Instance-aware Rubric Rewards for SVG Generation
  7. 2024CraftSVG: Multi-Object Text-to-SVG Synthesis via Layout Guided Diffusion
  8. 2026Reinforcement Learning from Intermediate Renders for Image-to-Code Generation