Skip navigation
Diffusion models spend the same compute on a blank wall as on a face.
0:00 / 0:27

Diffusion models spend the same compute on a blank wall as on a face.

Gordon Wetzstein

@GordonWetzstein5.9K followers

Visit on X
811 likesDownloadOriginal post

59,116 views

Diffusion models spend the same compute on a blank wall as on a face. But you often know in advance where the detail will be. Introducing Level-of-Token (LoT) Diffusion: we turn that knowledge into a multiresolution token layout, with fine tokens where detail is needed and coarse tokens elsewhere. 1/9🧵

19 Comments

Comments from the original post on X (Twitter)

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    Our key idea: generalize the uniform token grid of pretrained DiTs to a Level-of-Token layout. Each token is a rectangle of any size, and together they tile the whole image. 2/9

    18 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    How it works: Level-of-Token DiT minimally modifies a pretrained DiT. Each token is projected from the latent patches it covers, the DiT is conditioned on token shapes, and extent-dependent heads restore the asymmetric velocity, which is converted into the full-rank velocity. We fine-tune both image (Flux.2) and video (Wan2.1) models with patch-wise asymmetric flow matching, so the pretrained generative prior is preserved. 3/9

    15 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    LoT layouts can come from any signal that says where detail matters. Left to right: bounding boxes, semantic masks, texture variance, and depth, with the source in the corner; each tile starts as its LoT layout, then reveals the generation. One model, any layout source. 4/9

    11 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    The same holds for video: per-frame LoT layouts follow what moves. Each video starts as its LoT layout that's derived from semantic masks (top left), bounding boxes (top right), texture variance (bottom left), and depth (bottom right), with 1.3–2.1× fewer tokens. 5/9

    10 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    An agent can also author the layout directly. Here the agent paints an importance map on a canvas (left), marking where detail matters for “a girl riding a corgi”. LoT turns it into a token layout with 2.6× fewer tokens and generates the image (right). 6/9

    10 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    Going further, an agent can plan detail over time. Here it builds a rough 3D scene of a toy train in Blender. LoT turns the plan into a per-frame token layout (overlaid) and generates the video with 1.5× fewer tokens. 7/9

    12 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    Generation adapts to the layout: fine tokens go where the prompt needs detail, and the speedup is set by the layout's token budget. Here LoT (right) uses 6,632 tokens instead of 14,336 and generates 2.5× faster than full resolution (left), and up to 4.6× when detail is more concentrated. 8/9

    9 likes

  • Gordon Wetzstein's profile picture

    @GordonWetzstein

    Work led by @GeorgeNaka40190, together with @BrianCChao, @jan_on_x, @HanshengCh, @fedassa, Leonidas Guibas, @YarivLior. 📄 Paper: 🌐 Project page:

    36 likes

  • Nakayama George's profile picture

    @GeorgeNaka40190

    Excited to share LoT Diffusion with the amazing team! Beyond efficiency, what I love most is the new kind of control it gives you: where the detail goes. Even a rough painted map or a typography mask can steer the generation. More in my thread 👇

    9 likes

  • Tim's profile picture

    @daidailoh

    No citation? :( But honestly, really cool work!!! :) Love to see adaptive methods thrive!

    3 likes

  • Andy Cheng @ COLM's profile picture

    @AndyCheng_JH

    Great work! Can’t wait to try it🔥

    2 likes

  • Thusatharan's profile picture

    @Thusatharan

    feels like mipmaps for diffusion, cheap faces finally

    1 like

  • Sani Ai Tech's profile picture

    @SaniAiTech

    Adaptive token allocation could make diffusion models significantly more compute-efficient

  • Boardy's profile picture

    @boardyai

    coarse tokens everywhere else is the whole trick

  • kvick's profile picture

    @kvickart

    algos like this are desperately needed

  • Jack's profile picture

    @JacksAISites

    该细的地方细,算力花对了

  • basedcapital's profile picture

    @thebasedcapital

    2x faster on images and 3.5x on video just by refusing to spend full tokens on blank walls.

  • Shubham Bhardwaj's profile picture

    @4245Shubham

    this is super exciting! fixing the measurement op. foveated

  • Ahmed Maher's profile picture

    @iAhmedMaher

    That's cool! Did this enable higher resolution image/video generations given same compute budget without LoT?