Rust in Everything
← Papers

Nemotron-Labs-VisualCreation: Pixel as Code for Agentic Visual Creation

Guo Chen, Fuxiao Liu, Haoqin Tu, Yiyang Zhou, Andrew Tao, Bryan Catanzaro et al.

2026-11-24▲ 35arXiv 2611.31358v1Hugging Face

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

Nemotron-Labs-VisualCreation is an agentic visual-creation framework that unifies learned discrete image tokens and explicit structured programs (SVG, HTML/CSS, plotting code, document markup) behind a shared generate-render-inspect interface, with targeted repair driven by multimodal visual audits.

Problem

Visual creation requests often require expressive imagery together with exact text, layout, and structure, and an editable deliverable. Existing work supplies either image synthesis representations or explicit program generation, but not a common interface that lets planning, rendering, and visual inspection coordinate both. The paper argues that a shared interface is needed so that generated raster assets and explicit structured artifacts can be executed, rendered, visually checked, and revised in one workflow.

Method

The paper formulates Pixel as Code: a generator G_r produces a discrete representation c_r (learned visual tokens or explicit artifact code) and a renderer R_r produces a view I-hat, which is inspected and, when editable, revised. A Nemotron-native harness routes requests, plans with Nemotron 3 Ultra, and uses Nemotron-3.5-Super-VL for routing, visual auditing, and candidate selection; direct raster requests use candidate generation plus pairwise selection, while browser-based structured/hybrid requests use a Dual Coder, a frozen layout contract, renderer evidence, root-cause diagnosis, and bounded targeted repair with checkpoint retention. Nemotron-Labs-Image-Tokenizer (about 642M parameters, 16x16 patches, fixed 196,560-entry normalized Leech-lattice codebook) is trained for 670K steps with L1 reconstruction, LPIPS, DINOv2 feature distillation, and PatchGAN adversarial losses, freezing the encoder after 480K steps. Nemotron-Labs-Image-30B-A3B, initialized from Nemotron 3 Nano, is mid-trained autoregressively in three stages (256^2, 512^2, 1024^2 max pixels) and then optimized with GRPO using a 0.7 alignment / 0.3 quality pointwise VLM-judge reward. Nemotron-Labs-VisionCode variants (30B-A3B and 120B-A12B) receive multimodal-coding supervised fine-tuning on about 4.7M effective examples followed by GRPO with sandbox-executed task-specific rewards.

Results

  • The image tokenizer improves reconstruction PSNR over Emu3.5 IBQ on the six-domain, approximately 178K-image evaluation, with SSIM up, LPIPS down, and GMSD down. §6.1
  • At batch size one on A100 with 1024x1024 inputs, the tokenizer has lower encode and decode latency than Emu3.5, and larger-batch throughput is also higher. §6.1
  • The Nemotron-family agentic configuration raises compositional and knowledge-reasoning scores over the standalone raster generator using the same image generator. §6.2.1
  • VisionCode-120B-A12B has the highest combined five-task score among models with complete coverage, ahead of Kimi K3.1 Pro, with fewer total and active parameters than Kimi K3.1 Pro. §6.3
  • The 30B VisionCode variant improves Chart2Code and Img2SVG metrics over its GA base model, including render success rising to full coverage. §6.3
  • On BizGenEval commercial design, the Nemotron-family configuration trails the reported GPT Image 2 and Nano Banana Pro scores while the GPT-6-assisted configuration exceeds both; the standalone generator score is unreported. §6.2.5

Limitations

  • Text-and-image-conditioned generation (TI2I) is included in training but has not been evaluated (stated in §6.2).
  • The reported system scores measure complete configurations and do not isolate individual planning, search, inspection, or revision steps (§6.2, §8); the paper states future work can isolate individual agent capabilities under matched inference budgets (§8).
  • Reconstruction gains vary across perceptual and distribution metrics: MUSIQ and CLIP-IQA are slightly lower overall, and FID and FD-DINOv2 gains do not hold in every domain (§6.1, §C.3, §8).
  • BizGenEval omits the standalone generator's score, so that table cannot quantify the agentic gain over the baseline (§6.2.5); TI2I and multi-reference generation remain unevaluated (§8).

Key points

  • Pixel as Code represents artifacts as either learned discrete visual tokens or explicit programs, and requires only that a representation can be generated, rendered, inspected, and (if editable) revised. §2.1
  • The tokenizer uses 16x16 patches, 24 encoder and decoder layers, hidden width 1024, 16 heads, 24-dimensional quantized embeddings, and a fixed 196,560-entry Leech-lattice codebook with about 642M parameters. §3.3.1
  • The 16x16 patch setting represents a 256x256 image with 256 tokens versus 1,024 tokens for 8x8 patches, enabling 4x more samples per node in the tokenizer study. §5.1
  • The browser-based repair loop permits up to three accepted repairs within eight attempted repair cycles, retains the incumbent on a tie or confidence below 0.75, and generates up to four raster candidates per job. §2.2
  • RL uses GRPO on a discrete visual-token policy with a composite reward of 0.7 alignment and 0.3 quality from a pointwise VLM judge, sampling 32 candidates for each of 48 prompts (1,536 trajectories) per rollout iteration. §5.2.2
  • Stage II RL refreshes the prompt distribution when within-group alignment range contracts, keeping only groups whose range on the 0-10 scale is at least 2. §5.2.2
  • VisionCode variants are trained with multimodal-coding supervised fine-tuning followed by GRPO whose rewards execute Python, render SVG and HTML/CSS, and compile LaTeX in a custom sandbox. §5.3
  • On visual text rendering, agents raise LongTextBench-EN from 94.30 to 97.00 (Nemotron agents) and 97.98 (GPT-6 agents), but SenseNova-U1.5 remains ahead at 98.80. §6.2.2

Mind map

Nemotron-Labs-VisualCreation
Pixel as Code interface
Discrete visual tokens rendered by decoder
Explicit programs: SVG, HTML/CSS, plots
Hybrid artifacts with embedded rasters
Harness and routing
Super-VL routing and visual audit
Ultra planning and layout contract
Dual Coder and bounded repair loop
Checkpoint selection by pairwise judge
Models
Image tokenizer 642M params
Image-30B-A3B autoregressive generator
VisionCode 30B and 120B variants
Training
Tokenizer 670K steps, encoder frozen at 480K
Three-stage mid-training 256 to 1024 pixels
GRPO with judge reward 0.7 align 0.3 quality
VisionCode SFT then sandbox-reward GRPO
Results
PSNR 26.08 to 29.57 dB
Encoding 7.13x decoding 10.93x faster on A100
GenEval2 31.71 to 52.56 with Nemotron agents
WISE Verified 46.30 to 88.60
VisionCode combined 98.27 vs Kimi 94.44
Stated limitations
TI2I trained but not evaluated
System scores do not isolate agent steps
Perceptual and FID gains vary by domain

Related papers

💬 Related discussions

Loading...