Skip to main content
QUICK REVIEW

[论文解读] Dirichlet Flow Matching with Applications to DNA Sequence Design

H. Stärk, Bowen Jing|PubMed|Feb 8, 2024
Machine Learning and AlgorithmsComputer Science被引用 10
一句话总结

Dirichlet flow matching (Dirichlet FM) 被提出用于在单位简额度上对离散数据建模,实现一步蒸馏和引导生成;在 DNA 启动子/增强子设计任务上优于基线,并且相比自回归模型有显著的加速。

ABSTRACT

Discrete diffusion or flow models could enable faster and more controllable sequence generation than autoregressive models. We show that na\"ive linear flow matching on the simplex is insufficient toward this goal since it suffers from discontinuities in the training target and further pathologies. To overcome this, we develop Dirichlet flow matching on the simplex based on mixtures of Dirichlet distributions as probability paths. In this framework, we derive a connection between the mixtures' scores and the flow's vector field that allows for classifier and classifier-free guidance. Further, we provide distilled Dirichlet flow matching, which enables one-step sequence generation with minimal performance hits, resulting in $O(L)$ speedups compared to autoregressive models. On complex DNA sequence generation tasks, we demonstrate superior performance compared to all baselines in distributional metrics and in achieving desired design targets for generated sequences. Finally, we show that our classifier-free guidance approach improves unconditional generation and is effective for generating DNA that satisfies design targets. Code is available at https://github.com/HannesStark/dirichlet-flow-matching.

研究动机与目标

  • 为离散数据在简单形上使用线性流匹配所存在的局限性提供动机与解决方案。
  • 提出使用 Dirichlet 分布混合作为概率路径的 Dirichlet flow matching。
  • 在 Dirichlet FM 中推导引导机制(分类器与无分类器引导)。
  • Demonstrate distillation for one-step generation to achieve large speedups.
  • Evaluate on promoter and enhancer DNA design tasks, showing superior distributional quality and design target satisfaction。

提出的方法

  • 把 Dirichlet flow matching 定义为通过一个随时间演化的 Dirichlet 条件 p_t(x|x1) 将均匀 Dirichlet 先验传输到离散数据分布。
  • 使用基于 Dirichlet 的条件路径 p_t(x|x1=e_i)=Dir(x; alpha=1+t e_i) 以保持完整的 simplex 支持并避免线性 FM 路径的病态。
  • 将条件向量场参数化为 u_t(x|x1=e_i)=C(x_i,t)(e_i−x) 并给出推导出的 C(x_i,t),产生平滑、收缩受控的概率路径。
  • 建立模型后验 p(x1|x) 与边际流 v_t(x) 之间的联系,以实现基于分数的引导和无分类器引导(通过线性关系 v = U D^{-1} s)。
  • 实现蒸馏以将教师(多步 Dirichlet FM)映射到一秒钟学生模型,从而实现显著的推理加速。
  • 扩展到无分类器引导,并在可用时通过将分数投影到 simplex 切平空间并求解后验 p,从而得到分类器引导的变体。

实验结果

研究问题

  • RQ1如何在概率 simplex 上为离散数据有效定义流匹配,而不产生线性 FM 的病态?
  • RQ2Dirichlet FM 是否在复杂的 DNA 序列设计任务上优于线性 FM 和离散扩散模型(如 DDSM)?
  • RQ3是否可以将引导(分类器与无分类器引导)集成到 Dirichlet FM 中,以提高条件生成或无条件生成的质量?
  • RQ4对于 Dirichlet FM,蒸馏是否可实现以在最小性能损失的情况下实现一步生成?

主要发现

  • Dirichlet FM 在更高的 simplex 维度上比线性 FM 的扩展性更好,避免了线性 FM 的病态后验支撑收缩。
  • 在启动子设计中,Dirichlet FM 在 100 次函数评估下实现 MSE 0.0269(对比 DDSM 为 0.0334,语言模型为 0.0333);蒸馏的 Dirichlet FM 在同样的条件下达到 0.0278(1 次 NFEs)。
  • 在增强子生成上,Dirichlet FM 达到 Fréchet Biological Distance (FBD) 5.3(Melanoma)和 15.2(Fly Brain),优于基线;蒸馏变体分别达到 6.1 和 15.8,分类器无引导引导(CFG)在 200 NFEs 时达到 1.9(Melanoma)和 1.0(Fly Brain)。
  • 分类器无引导引导提升了无条件生成质量并实现了对细胞类型的条件增强子设计;引导样本在目标分布和目标类别概率方面显著改善了 FBD 与分布匹配。
  • 蒸馏实现了一步生成,并带来数量级的加速(例如相较基线 100x 到 1024x 的加速),在启动子和增强子任务中几乎不损失性能。
  • Dirichlet FM 在三个 DNA 数据集(启动子和两个增强子数据集)上在分布性指标上优于自回归和离散扩散基线。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。