Sightline: Long-Window Speculative Decoding for Fast SVG Generation
Yanchao Li, Ben Gao, Jiaqing Xie, Yusu Zhang, Beilun Wang, Yanbo Wang, Xiaohua Xu, Nanqing Dong, Tianfan Fu, Zhongyu Huang
Abstract
Scalable Vector Graphics (SVG) generation models write a graphic as code with one forward pass per token, so drawing is slow. Speculative decoding speeds them up losslessly, and block drafters guess many tokens per pass. On SVG, many of their rounds accept the whole draft and end only at the verification window. We find that their misses are rare and clumped, and that they stay accurate far deeper into a block than on natural language. A run-length identity and three propositions show that a longer window pays once the candidates are wide, up to the drafter's horizon. We propose Sightline, which pairs a window as long as the drafter's horizon with a draft tree wide enough to fill it. Experiments cover text-to-SVG and image-to-SVG with three models on six benchmarks from MMSVG, MMSVG-2M and SArena. In every setting, Sightline is the fastest of the compared lossless decoders. On SArena, it stays the fastest when every decoder shares one loop control. It also leads in almost every setting of six models from four other families, which write SVG code, compressed SVG tokens or Lottie JSON. Analyses trace the lead to rounds that shorter windows cut off, both in loop-free content and in loops. Speculative decoding also saves time for choosing samples by rendering, which beats choosing by likelihood. These results suggest that speculative decoding on vector graphics should verify as far as the drafter sees. Code and data are available at https://github.com/LiZaiyuan0619/Sightline.
Create a lesson
Related papers
Frequency-Synchronized Boundary Coupling for Training-Free Multi-Prompt Long Video Generation
Shared title terminology · Yipan Xu, Shuyong Gao, Jiyuan Fu et al.
CaT-Movie: Balancing Global Planning and Local Rendering for Long Multi-Shot Video Generation
Shared title terminology · Jinpeng Lu, Haoyuan Shi, Yuanshen Guan et al.
Raptor: Rejection-aware Adaptive Tree based on Speculative Decoding
Shared title terminology · Qishu Hu, Haozhao Wang, Zicong Hong et al.
MoHA: Model-Conditioned Harness Adaptation for Long-Video Agents
Shared title terminology · Jianghan Chao, Wenhui Tan, Hang Su et al.
When Visually Rich Documents Meet Multi-Vector Retrieval for Region-level Retrieval-Augmented Generation
Shared title terminology · Xu Yuan, Liangbo Ning, Yujuan Ding et al.
Fix Where It Fails: Root-Cause-Guided Agentic Harness Optimization for Scene Graph Generation
Shared title terminology · Jee Eun Kim, Donghyeon Choi, Sangjune An et al.