Paper Reading AI Learner

VectorGym: A Multitask Benchmark for SVG Code Generation, Sketching, and Editing

2026-02-22 10:39:14
Juan Rodriguez, Haotian Zhang, Abhay Puri, Tianyang Zhang, Rishav Pramanik, Meng Lin, Xiaoqing Xie, Marco Terral, Darsh Kaushik, Aly Shariff, Perouz Taslakian, Spandana Gella, Sai Rajeswar, David Vazquez, Christopher Pal, Marco Pedersoli

Abstract

We introduce VectorGym, a comprehensive benchmark suite for Scalable Vector Graphics (SVG) that spans generation from text and sketches, complex editing, and visual understanding. VectorGym addresses the lack of realistic, challenging benchmarks aligned with professional design workflows. Our benchmark comprises four tasks with expert human-authored annotations: the novel Sketch2SVG task (VG-Sketch); a new SVG editing dataset (VG-Edit) featuring complex, multi-step edits with higher-order primitives; Text2SVG generation (VG-Text); and SVG captioning (VG-Cap). Unlike prior benchmarks that rely on synthetic edits, VectorGym provides gold-standard human annotations that require semantic understanding and design intent. We also propose a multi-task reinforcement learning approach that jointly optimizes across all four tasks using rendering-based rewards. Our method, built on GRPO with curriculum learning, trains a Qwen3-VL 8B model that achieves state-of-the-art performance among open-source models, surpassing much larger models including Qwen3-VL 235B and matching GPT-4o. We also introduce a VLM-as-a-Judge metric for SVG generation, validated through human correlation studies. Our evaluation of frontier VLMs reveals significant performance gaps, positioning VectorGym as a rigorous framework for advancing visual code generation. VectorGym is publicly available on this http URL.

Abstract (translated)

我们推出VectorGym,这是一个面向可缩放矢量图形(SVG)的综合基准测试套件,涵盖从文本和草图生成、复杂编辑到视觉理解等多种任务。VectorGym解决了缺乏与专业设计工作流对齐的、真实且具有挑战性的基准测试的问题。我们的基准测试包含四个任务,并配有专家人工标注:新颖的Sketch2SVG任务(VG-Sketch);一个新的SVG编辑数据集(VG-Edit),包含复杂的多步编辑及高阶图元;Text2SVG生成(VG-Text);以及SVG描述(VG-Cap)。与依赖合成编辑的先前基准不同,VectorGym提供了需要语义理解和设计意图的黄金标准人工标注。我们还提出了一种多任务强化学习方法,通过基于渲染的奖励联合优化所有四个任务。我们的方法基于GRPO和课程学习,训练了一个Qwen3-VL 8B模型,在开源模型中达到最先进性能,超越了包括Qwen3-VL 235B在内的更大模型,并媲美GPT-4o。我们还引入了用于SVG生成的“视觉语言模型作为评判者”(VLM-as-a-Judge)指标,并通过人类相关性研究进行了验证。我们对前沿视觉语言模型的评估揭示了显著的性能差距,使VectorGym成为推动视觉代码生成的严谨框架。VectorGym已公开可用,地址为:此http URL。

URL

https://arxiv.org/abs/2603.29852

PDF

https://arxiv.org/pdf/2603.29852.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot