Sightline:面向快速SVG生成的长窗口投机解码
Sightline: Long-Window Speculative Decoding for Fast SVG Generation
Sightline 将验证窗口拉长到 drafter 的预测视野,并配以足够宽的 draft tree 填满窗口,用于加速 SVG 生成的无损投机解码。在 MMSVG、MMSVG-2M 和 SArena 六个基准的 text-to-SVG 与 image-to-SVG 实验中,Sightline 在全部设置下都是所比较的无损解码器中最快的,在 SArena 上各解码器共用同一循环控制时仍保持最快。
arXiv:2611.23807v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org