Full Report
IT之家 December 1 news: Baidu's ERNIE multimodal team has released a dedicated vector graphics model, "ERNIE Unlimited SVG," which can progressively reconstruct input content such as photos, screenshots, floor plans, part diagrams, and paper structure diagrams into editable SVG vector code.
The model is built on DeepSeek-OCR and adopts a mixture-of-experts architecture, activating only about 0.5B parameters per token, with a total parameter count of about 3B, and supports global inference on 2048×2048 images.
Unlike describing images in words, SVG records lines, color blocks, coordinates, font styles, and layer occlusion relationships in the form of code, and can be rendered directly into high-definition images, making it easy to check and modify item by item. When traditional models generate complete SVGs for complex images, they often require more than 10,000 tokens, resulting in slow long-context processing and high costs.
Unlimited-SVG uses DeepEncoder to compress an entire 2048×2048 image into only 1,024 visual tokens while preserving key details such as small text, fine lines, and precise spatial coordinates; the decoding side relies on sparse activation computation to maintain real-time generation capability even beyond 10,000 tokens. This enables complex, long-sequence SVG conversion to be completed on a compact model that can be deployed locally, reducing dependence on large cloud APIs.

The model uses the MIT license and provides two inference methods: Transformers and vLLM. The official recommendation is that when processing images such as CAD drawings, charts, and schematic diagrams that require precise geometry and text consistency, a lower sampling temperature (a parameter used to control the "randomness" of results) should be used; when processing natural scenes and photos, the temperature can be appropriately increased to avoid repeated strokes and improve output diversity.
IT之家 attaches the reference addresses