NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VectorArk: Learning Practical Image Vectorization with Rounded Polygon Representation

Tarun Gehlaut, Difan Liu, Charu Bansal, Krutik Malani, Souymodip Chakraborty, Ankit Phogat, Matthew Fisher, Vineet Batra

TL;DR

VectorArk is a robust vision-language model (VLM) framework designed to convert raster images into clean, editable vector graphics (SVGs). By introducing a novel "rounded polygon" representation and an outline-based training pipeline, it successfully overcomes the brittleness of prior methods, enabling high-quality vectorization of messy, real-world inputs like AI-generated images.

What Problem Does This Paper Address?

Converting raster images (pixels) into vector graphics (scalable paths) is a classic computer graphics challenge. While recent data-driven approaches fine-tune VLMs to generate SVG code directly, they suffer from a major flaw: brittleness.

Because these models are typically trained and evaluated on pristine, synthetically rendered SVGs, they generalize poorly to real-world images. A slight change in the rendering backend (e.g., switching from CairoSVG to Skia) can cause existing models to output corrupted geometries. Furthermore, they struggle heavily with low-resolution images or outputs from text-to-image models, which often contain subtle artifacts and distortions.

Additionally, standard SVG path commands (like complex Bézier curves) possess too many degrees of freedom. When translated into text tokens for an autoregressive LLM, they generate excessively long sequences that amplify small coordinate errors over time.

Figure 3. Sensitivity to rasterization methods. Given the same input SVG (left), existing methods like StarVector [17] produce drastically different outputs when the rasterization backend is changed (CairoSVG [2] vs. Skia [9]). This brittleness demon- strates that prior work is not robust to practical vectorization sce- narios where input characteristics vary.

Methods

VectorArk decouples geometry prediction from styling through three core innovations:

  1. Rounded Polygon Representation: Instead of using standard SVG path commands, VectorArk represents shapes as a polygonal scaffold where each vertex is assigned a "roundness" radius defining an inscribed arc. This reduces a cubic Bézier curve's four parameters to just three, enforcing piecewise-constant curvature and naturally producing smoother, more visually appealing primitives.
  2. Outline Raster Representation: To prevent the VLM from getting distracted by colors and textures, the input image is first processed by a classical vectorizer to extract a colorless, black-and-white outline. The VLM is trained entirely in this "decolorized" domain to predict clean geometry. Color and layer ordering are restored later via a post-processing step from the original image.
  3. Degradation Model & Test-Time Scaling: During training, a vectorization-based degradation model artificially blurs and downscales images to simulate real-world imperfections. At inference, the pipeline uses stochastic decoding to generate multiple vector candidates, ranking them using a frozen DINO-ViT encoder to select the output with the highest semantic similarity to the input.
Figure 2. Training and inference pipelines. (a) Training: Both paths are used during training. The upper path converts clean SVGs to rounded polygon ground truth tokens via line-arc fitting. The lower path generates degraded outline rasters through downscaling, rasterization, and classical vectorization. The VLM learns to predict clean geometry from degraded inputs using cross-entropy loss. (b) Test-time scaling: At inference, input rasters are stochastically decoded into multiple SVG candidates, post-processed for color and z-order, then ranked by DINO similarity to select the best output (checkmark indicates highest score).

Datasets

The authors benchmarked VectorArk on two recent SVG generation datasets:

  • SArena: Categorized by the authors into difficulty tiers based on primitive counts (Easy: <64, Medium: 64–128, Hard: >128 paths).
  • SVGenius: Evaluated using its predefined complexity levels.

The model was trained on a massive dataset of approximately 5 million SVGs consisting of icons, logos, and flat graphics.

Key Insights and Ideas

  • Constraining Expressivity Improves Accuracy: Standard SVG syntax is too redundant for language models. Restricting the vocabulary to rounded polygons acts as a powerful geometric prior, reducing coordinate drift and sequence length.
  • Outlines as a Normalization Step: Forcing the VLM to operate purely on black-and-white outlines eliminates appearance-related training-testing mismatches, making the model highly robust to out-of-distribution inputs like Stable Diffusion or Midjourney outputs.
  • Synergy with Classical Tools: Rather than trying to entirely replace classical vectorization tools (like Adobe Illustrator's Image Trace), VectorArk strategically uses them as a front-end filter to normalize inputs and a training-time simulator to model real-world noise.
Figure 4. Rounded polygon representation example. Conver- sion process from an input SVG to our rounded polygon format. (a) Original source SVG with smooth curves. (b) Line-arc decom- position where red segments represent lines and green/blue seg- ments represent circular arcs fitted to the original curves. (c) Cor- responding polygon vertices (intersection points) before applying corner radii; the final representation includes these vertices plus the encoded radius.

Key Results

  • State-of-the-Art Performance: VectorArk consistently outperformed top baselines—including OmniSVG, StarVector, GPT-4o, and Gemini—across all evaluation metrics (LPIPS, SSIM, DINO, and MSE) on both benchmarks. The performance gap was particularly pronounced on "Hard" complexity tiers.
  • Significant Token Efficiency: The rounded polygon format achieved a 27.9% to 46.6% reduction in token count compared to standard SVG representations, drastically lowering memory footprint and inference costs.
  • Artifact Suppression: Qualitative evaluations on text-to-image generations demonstrated that VectorArk successfully ignores raster noise and generates clean, well-regularized paths suitable for graphic design editing.

Limitations and Future Work

While VectorArk excels at flat vector graphics, icons, and logos, it is currently optimized for medium-complexity designs. Highly detailed illustrations, text elements, and complex styling like gradients or blur effects are simplified during the pipeline. Additionally, resolving dense local path structures remains a challenge.

The authors note that future work will focus on scaling the framework to handle richer vector primitives under controlled constraints and integrating a learned appearance/styling module directly into the network.

Summary updated

BibTeX
@inproceedings{gehlaut2026vectorark,
  author = {Tarun Gehlaut and Difan Liu and Charu Bansal and Krutik Malani and Souymodip Chakraborty and Ankit Phogat and Matthew Fisher and Vineet Batra},
  title = {{VectorArk: Learning Practical Image Vectorization with Rounded Polygon Representation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=ZUjMl0kM6m},
}
Figure