When Baidu's ERNIE Multimodal Team released baidu/Unlimited-SVG under an MIT license on December 1, 2026 via Hugging Face and GitHub, the headline pitch was efficiency: redrawing complex images into editable SVGs while activating roughly 0.5B parameters per token. Look past the vectorization demo, though, and a sharp contrast emerges. Baidu frames SVG code as a foundational spatial representation for multimodal pretraining and embodied agents, yet builds directly on DeepSeek-OCR's optical-compression stack with an inference setup locked to single-request concurrency and a 6000-second timeout.
The 10,000-token wall in vector generation
Teaching vision-language models to emit SVG code is not new, but sequence length and inference cost have kept dense scenes out of reach for small local checkpoints. On the Unlimited SVG project page, Baidu argues that natural language descriptions hit a hard ceiling: words can name objects, yet they drop exact geometry, fonts, colors, and occlusion order, leaving no way to verify fidelity against the source pixels. Renderable SVG turns every visual element into explicit coordinates and layered groups, but converting a dense photograph, chart, or CAD diagram routinely exceeds 10,000 tokens.

Until now, sustaining coherent code across that horizon has mostly belonged to heavy frontier APIs. Baidu's project page explicitly positions Unlimited-SVG as a locally deployable alternative to GPT-6.2 Astra, Claude Fable 5.2, and Gemini 4 Argon, citing their September and November 2026 releases. For document pipelines or design tools, paying per-token API rates for outputs past 10,000 tokens on every asset quickly breaks unit economics, while high latency makes interactive iteration sluggish.
Borrowing DeepSeek-OCR's two-sided compression
Rather than designing a new vision backbone from scratch, Baidu adapted the architecture introduced in DeepSeek-OCR (listed as Reference 1 on the project site, alongside a deepseek_vl_v2 architecture tag in the Hugging Face metadata). Opting to build on a peer lab's open-source OCR stack instead of rolling a bespoke vision encoder is telling: 2D optical compression has already solved the hardest prefix bottleneck, signaling that specialized encoders like DeepEncoder are hardening into a shared cross-lab baseline for long-horizon multimodal tasks.

Looking at both components explains how a 3B-class checkpoint (3,336,106,240 BF16 parameters) handles long-context vector synthesis without stalling. In the October 2025 DeepSeek-OCR paper, the authors investigated compressing long contexts through optical 2D mapping:
- Optical input compression: DeepSeek-OCR introduced
DeepEncoderto hold activations low on high-resolution pages. In its benchmarks, the encoder kept OCR precision at 97% below a 10x compression ratio and still held roughly 60% at 20x, surpassing GOT-OCR2.0 (256 tokens per page) with 100 vision tokens and outperforming MinerU2.0 (6000+ tokens per page) using under 800 vision tokens, while generating 200k+ pages per day on a single A100-40G. Unlimited-SVG applies that same mechanism to squash an entire 2048 x 2048 image into 1024 vision tokens without tiling, keeping thin strokes and small text intact while leaving context budget free. - Sparse MoE decoding: Mirroring DeepSeek-OCR's
DeepSeek3B-MoE-A570Mdecoder design, Unlimited-SVG activates ~0.5B parameters per generated token. Pairing a 1024-token visual prefix with sparse active compute lets a single BF16 GPU run up to the 30000-token generation cap inside a 32768-token window.
That engineering shortcut contrasts with prior academic SVG specialists. Earlier vectorization work often produced unstructured outputs or remained limited to simplified monochrome icons. OmniSVG, published in April 2025, tackled those limits by parameterizing SVG commands and coordinates into discrete tokens to decouple structural logic from geometry, alongside the two-million-asset MMSVG-2M dataset. Baidu's release skips custom coordinate tokenization in favor of porting a proven optical document-compression backbone straight into layered vector reconstruction—explicitly separating foreground from background and reasoning about occluded shapes behind overlapping layers.
Why the roadmap looks toward pretraining and robotics
If Unlimited-SVG were meant solely as a design utility, its launch page would not dedicate its closing section to foundational VLM research. Under the Looking Ahead heading, Baidu outlines three broader ambitions for renderable vector code.

First, the team proposes SVG synthesis as a VLM pretraining objective: unlike captions that reward high-level summaries, SVG forces a model to account for every stroke orientation—down to where a single strand of hair sits—with pixel rendering acting as an automatic verification loop. Second, writing renderable code collapses visual understanding and image generation into a single objective, making scene parsing and reconstruction identical operations rather than separate training targets. Third, Baidu pitches SVG geometry—complete with occlusion order and part-whole links such as a handle on a drawer—as a perceptual backbone for embodied intelligence, allowing agents to sketch a scene into a verifiable spatial plan before moving, with future extensions into depth and video for dynamic environments.
Measured against the shipped inference configuration, though, those ambitions run straight into a throughput wall. Both VLM pretraining at scale and pre-action spatial sketching for robotics demand high concurrency and low latency, yet Baidu's official vLLM setup locks --max-num-seqs to 1, disables prefix and multimodal processor caching, and sets a 6000-second client timeout to survive 10,000+-token autoregressive runs.
Separating shipped weights from the research pitch
Comparing those long-term claims against the GitHub repository shows a clear gap between what is shipped today and what remains unverified. On the delivery side, developers get MIT-licensed BF16 weights alongside reproducible Transformers and vLLM inference scripts—so tightly tied to DeepSeek-OCR that the vLLM guide patches deepseek_ocr.py directly.
On the evidence side, however, the project page still reads "Technical report coming soon," and the repository includes neither training recipes nor dataset details. There is also no benchmark table comparing Unlimited-SVG against OmniSVG, GPT-6.2 Astra, or Claude Fable 5.2 on editability, geometric accuracy, or failure rates when long sequences hit the 30000-token ceiling. Until those benchmark numbers arrive, Unlimited-SVG proves a narrower point: pairing optical compression with sparse MoE decoding makes 10,000+-token local generation operationally viable on a single BF16 GPU, while whether its vector fidelity can actually match frontier APIs remains unverified.
Sources & references
Copy the link to save or share this article.



