Back to home
Blog

All Posts

Mathematical notes, tutorials, and paper walk-throughs on diffusion and flow distillation, reinforcement learning, long-context attention, and mixture of experts.

Fu-Yun Wang · Newest first

14 posts

Refine, Don’t Re-roll: Few-Step Generation by Iterating in Data Space

Our work on few-step distillation without a timestep schedule: the generator refines its own image prediction instead of re-noising it.

Read

LLM 都会画画了,还需要训练视觉生成模型吗?

从一只小猫开始讲起。

Read

So, What is Jev?

Is it really something new?

Read

Mixture of Experts: How Routing Becomes GPU Computation

Why fewer active parameters don’t automatically mean faster models.

Read

RL, OPD, VSD, and GANs: One Density Ratio, Different Updates

How a log-density ratio connects policy gradients, Gaussian mean MSE, diffusion scores, and discriminator feedback—and where the equivalences end.

Read

Scaling Long-Context Attention I: Exact Blocks, Rings, and Sparsity

A unified view of block attention: FlashAttention, Ring Attention, and sparse attention share the same blockwise computation but obey different contracts.

Read

Scaling Long-Context Attention II: From MHA to MLA

How MHA, GQA, MQA, split-KV, Paged Attention, and MLA reshape the KV cache and its decode kernels.

Read

Scaling Long-Context Attention III: Recurrent and Learned Memory

How Linear Attention, chunkwise training, DeltaNet, TTT, and LaCT replace a growing token history with recurrent and learned memory.

Read

Distributional Distillation I: From a Marginal KL to Two Scores

A first-principles derivation of distributional distillation, from marginal KL objectives to two-score and f-divergence gradients.

Read

Distributional Distillation II: What the Methods Actually Estimate

A method-by-method map of what SDS, VSD, Diff-Instruct, DMD, DMD2, and Phased DMD actually estimate.

Read

Distributional Distillation III: From Scores to Particle Flows

From score differences to particle motion, connecting DMD, Drifting Models, and the Sinkhorn-based W-Flow through Wasserstein gradient-flow geometry.

Read

Theoretical Analysis of ConsistencySolver (CVPR 2026 Highlight)

A numerical-analysis view of ConsistencySolver, deriving its learnable update rule from PF-ODEs and linear multistep methods.

Read

Theoretical Analysis of Rectified Diffusion (ICLR 2025)

An optimal-transport analysis extending rectification, path straightening, and O(1/K) convergence from linear flows to general diffusion schedules.

Read

On the Equivalence of Consistency Models and MeanFlow

A continuous-time derivation showing that consistency training reduces to MeanFlow, with an extension from one-step CM to multi-step CTM.

Read