Add model card and metadata for MixFlow
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: unconditional-image-generation
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# MixFlow: Mixed Source Distributions Improve Rectified Flows
|
| 7 |
+
|
| 8 |
+
This repository contains the weights for MixFlow, as presented in the paper [MixFlow: Mixed Source Distributions Improve Rectified Flows](https://huggingface.co/papers/2604.09181).
|
| 9 |
+
|
| 10 |
+
MixFlow is a training strategy for rectified flows that reduces generative path curvature and improves sampling efficiency. It introduces **$\kappa$-FC**, a general formulation that conditions the source distribution on an arbitrary signal to align it better with the data distribution.
|
| 11 |
+
|
| 12 |
+
- **GitHub Repository:** [https://github.com/NazirNayal8/MixFlow](https://github.com/NazirNayal8/MixFlow)
|
| 13 |
+
- **Paper:** [https://arxiv.org/abs/2604.09181](https://arxiv.org/abs/2604.09181)
|
| 14 |
+
|
| 15 |
+
## Description
|
| 16 |
+
|
| 17 |
+
Diffusion models and their variations, such as rectified flows, generate diverse and high-quality images, but they are still hindered by slow iterative sampling caused by the highly curved generative paths they learn. MixFlow trains a flow model on linear mixtures of a fixed unconditional distribution and a $\kappa$-FC-based distribution. This simple mixture improves the alignment between the source and data, provides better generation quality with less required sampling steps, and accelerates the training convergence considerably.
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
|
| 21 |
+
Inference is performed using the scripts provided in the official repository. For example, to run inference for one of the experiments:
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
bash scripts/run_inference.sh <experiment_config> /path/to/model.ckpt <output_directory>
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Refer to the [GitHub README](https://github.com/NazirNayal8/MixFlow) for detailed instructions on environment setup and evaluation.
|
| 28 |
+
|
| 29 |
+
## Citation
|
| 30 |
+
|
| 31 |
+
```bibtex
|
| 32 |
+
@inproceedings{
|
| 33 |
+
nayal2026mixflow,
|
| 34 |
+
title={MixFlow: Mixed Source Distributions Improve Rectified Flows},
|
| 35 |
+
author={Nazir Nayal and Christopher Wewer and Jan Eric Lenssen},
|
| 36 |
+
booktitle={ICLR 2026 2nd Workshop on Deep Generative Model in Machine Learning: Theory, Principle and Efficacy},
|
| 37 |
+
year={2026},
|
| 38 |
+
url={https://openreview.net/forum?id=uWktyU3OIJ}
|
| 39 |
+
}
|
| 40 |
+
```
|