Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Dirichlet Flow Matching with Applications to DNA Sequence Design

About

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.

Hannes Stark, Bowen Jing, Chenyu Wang, Gabriele Corso, Bonnie Berger, Regina Barzilay, Tommi Jaakkola• 2024

Related benchmarks

TaskDatasetResultRank
Graph generationENZYMES
Clustering0.101
45
Molecular GenerationZINC 250K
FCD14.222
45
Molecular GenerationQM9 (test)
Validity99.1
32
Molecular GenerationZINC250k (test)
Validity97.52
32
Molecule GenerationZINC250K
Validity97.32
32
Synthetic Graph GenerationPlanar Dataset
Degree Statistic6.4
27
Molecular GenerationQM9
Validity99.1
26
Unconditional Image GenerationMNIST Binary
FID77.35
25
Molecule GenerationQM9H
Validity (%)92.2
21
Graph generationSBM
Degree4.26
18
Showing 10 of 23 rows

Other info

Follow for update