<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Flow Matching on Yiwen Cai</title><link>https://yiwencai.com/tags/flow-matching/</link><description>Recent content in Flow Matching on Yiwen Cai</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>me@yiwencai.com (Yiwen Cai)</managingEditor><webMaster>me@yiwencai.com (Yiwen Cai)</webMaster><copyright>© 2026 Yiwen Cai</copyright><lastBuildDate>Tue, 03 Nov 2026 15:44:47 +0800</lastBuildDate><atom:link href="https://yiwencai.com/tags/flow-matching/index.xml" rel="self" type="application/rss+xml"/><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 7 章：离散扩散模型：用 CTMC 构建语言模型</title><link>https://yiwencai.com/notes/diffusion/discrete-diffusion/</link><pubDate>Tue, 03 Nov 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/discrete-diffusion/</guid><description>用连续时间马尔可夫链（CTMC）的跳转速率把简单离散分布逐步演变为文本分布：从速率矩阵、小步 Euler 转移与因子化 CTMC 出发，经条件混合路径、Kolmogorov Forward Equation 与后验加权边缘化，将 Discrete Flow Matching 与掩码扩散语言模型（MDLM）的训练化为逐位置干净 token 的交叉熵分类问题。</description></item><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 6 章：构建大规模图像与视频生成器</title><link>https://yiwencai.com/notes/diffusion/large-scale-generators/</link><pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/large-scale-generators/</guid><description>从「网络到底长什么样」出发，讲清时间、类别与文本如何嵌入成向量，Diffusion Transformer 的 patchify、AdaLN 与交叉注意力，U-Net 的编解码结构；再推导 VAE 的重建项、先验项与重参数化，说明为什么现代生成模型都在潜空间里训练；最后用 Stable Diffusion 3 与 Movie Gen Video 把前五章的方法串起来。</description></item><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 5 章：Guidance 与无分类器引导</title><link>https://yiwencai.com/notes/diffusion/guidance/</link><pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/guidance/</guid><description>从 Vanilla Guidance 的训练目标出发，用贝叶斯公式把条件向量场拆成无条件向量场加分类器梯度，推出 Classifier-Free Guidance 的线性组合形式，说明 label dropping 如何让单一网络同时学条件与无条件向量场，以及 guidance scale 只存在于采样阶段。</description></item><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 4 章：Score 函数与 Score Matching</title><link>https://yiwencai.com/notes/diffusion/score-based-diffusion/</link><pubDate>Fri, 11 Sep 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/score-based-diffusion/</guid><description>从条件 score 的后验平均出发，推导高斯路径下 score、去噪器与速度场的转换，用 Fokker–Planck 方程解释如何给 ODE 加噪而保持边缘分布，并将 score matching 化为噪声回归。</description></item><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 3 章：流匹配</title><link>https://yiwencai.com/notes/diffusion/flow-matching/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/flow-matching/</guid><description>Flow Matching 通过回归可解析的条件向量场，间接学到边缘向量场，实现 simulation-free 训练。涵盖条件概率路径、边缘化技巧、连续性方程与 Gaussian CondOT 的完整推导。</description></item><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 1 章：生成建模即采样</title><link>https://yiwencai.com/notes/diffusion/generative-modeling/</link><pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/generative-modeling/</guid><description>生成建模的核心任务不是寻找唯一的「最佳答案」，而是学习一个未知的数据分布并从中采样：把图像、视频、分子统一表示为向量，用有限数据集逼近 p_data，并区分无条件生成与条件生成。</description></item><item><title>MIT 6.S184: Flow Matching and Diffusion Models — 第 2 章：流模型与扩散模型</title><link>https://yiwencai.com/notes/diffusion/flow-and-diffusion-models/</link><pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate><author>me@yiwencai.com (Yiwen Cai)</author><guid>https://yiwencai.com/notes/diffusion/flow-and-diffusion-models/</guid><description>深入解析连续时间生成模型的基础范式：从向量场定义、ODE 与 Flow 映射，到布朗运动、SDE 随机动力学及数值模拟（Euler 与 Euler-Maruyama 方法），建立确定性流与随机扩散的统一视角。</description></item></channel></rss>