# Wasserstein Flow Matching: Generative modeling over families of distributions

Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos · arXiv · 2024년 11월 1일

- **연구 문제** 분포 자체가 샘플인 데이터를 플로 매칭으로 생성하는 문제를 다룹니다.
- **연구 방법** Wasserstein 측지선의 McCann 보간과 최적 속도장을 신경망으로 회귀합니다.
- **주요 결과** 가우시안 설정에서 BW-FM (R)은 비교 방법보다 낮은 최소 W2 거리를 보고합니다.

## 생성 모델링의 대상이 분포로 바뀔 때

기존 플로 매칭은 하나의 소스 분포를 하나의 타깃 분포로 옮기는 흐름을 학습합니다. 그러나 세포 집단이나 3D 형상처럼 각 데이터 샘플 자체가 분포인 경우에는 샘플들 사이의 기하가 반영되지 않습니다. 이 논문은 플로 매칭을 확률분포들의 공간으로 확장한 Wasserstein Flow Matching(WFM)을 다룹니다. 여기서 소스와 타깃은 각각 분포들의 분포이며, 이 설정이 연구의 기본 범위입니다.

![Table 1: Contrasting FM methods over Rd, general manifolds M, categorical and Dirichlet distributions on the d-simplex ∆d, and finally, our approach, FM proble…](https://refivu.com/papers/16ae0b22-be72-43b0-8b5c-dd7077c60943/figures/figure-1e30cc0b12e1ec4aa2d5b7b4afd6ce46.png?thumb=512)

**Table 1** . Contrasting FM methods over Rd, general manifolds M, categorical and Dirichlet distributions on the d-simplex ∆d, and finally, our approach, FM problems defined over P(Rd).

[원문](https://arxiv.org/abs/2411.00698v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos · Wasserstein Flow Matching: Generative modeling over families of distributions · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## Wasserstein 측지선을 회귀하는 학습

WFM은 리만 플로 매칭의 목표를 Wasserstein 공간으로 옮깁니다. 소스 분포에서 뽑은 µ와 타깃 분포에서 뽑은 ν 사이의 최적수송 맵으로 McCann 보간 µt를 만들고, 그 경로의 최적 속도장 vt를 계산합니다. 신경망 f\_θ^geo는 보간 µt와 시간 t를 입력받아 vt를 L2 노름으로 회귀합니다. 이 과정에서 최적수송 맵 자체를 학습하는 것이 아니라 측지선과 속도장을 학습 목표로 사용합니다. 조건부 벡터장이 p1(·\|ν)=ν를 만족한다는 명제 3.1은 이 목표가 유효한 조건부 흐름이라는 근거입니다. 이 결과는 µ와 ν 사이에 최적수송 맵이 존재한다는 내부 연속성 가정 아래에서 성립합니다.

## 가우시안 설정의 Bures–Wasserstein 변형

가우시안 설정에서는 최적수송 맵이 아핀 맵으로 닫힌 형식을 가지므로 McCann 보간도 가우시안으로 유지됩니다. BW-FM은 평균과 공분산 쌍을 직접 다루고, 지수·로그 사상을 이용해 Bures–Wasserstein 기하에 맞춘 업데이트를 수행합니다. 생성 단계에서는 공분산을 I+hS 형태의 행렬로 갱신하여 비퇴화 결과를 유지합니다. 반면 유클리드 방식의 Frobenius FM과 BW-FM(E)은 합성된 공분산을 PSD 행렬 공간으로 투영해야 하며, 기하를 엄밀히 따르지 않는다고 설명됩니다.

![Figure 2: In the presence of sufficiently many samples, all methods generate Gaussians along the whole spiral, and our Riemannian BW-FM algorithm produces the…](https://refivu.com/papers/16ae0b22-be72-43b0-8b5c-dd7077c60943/figures/figure-bc212d71923961f86b32f2fb6969ef23.png?thumb=512)

**Figure 2** . In the presence of sufficiently many samples, all methods generate Gaussians along the whole spiral, and our Riemannian BW-FM algorithm produces the most consistent samples. Other methods produce Gaussians with degenerate covariance, as they do not model geometry of the data. When there are only few examples, BW-FM accurately reconstructs the training data; see Figure S1.

[원문](https://arxiv.org/abs/2411.00698v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos · Wasserstein Flow Matching: Generative modeling over families of distributions · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 가우시안 분포족에서의 비교

Table 2는 생성된 각 가우시안과 데이터셋 사이의 최소 2-Wasserstein 거리 평균을 보고하며, 값이 작을수록 좋습니다. Spiral - 16 (2D) 설정에서 BW-FM (R)은 2.98 × 10^-4, BW-FM (E)은 4.00 × 10^-4, Frobenius FM은 1.03 × 10^-3입니다. 같은 학습 방식에서 BW-FM (R)은 합성 데이터와 seqFISH, scRNA-seq 등 실제 데이터의 여러 차원에서도 다른 방법보다 낮은 값을 보입니다. 이 비교는 최소 W2 거리라는 하나의 지표에 한정되며, 다른 생성 품질 지표를 측정한 결과가 아닙니다.

## 점군으로 표현된 일반 분포 생성

일반 분포에서는 최적수송 맵을 엔트로피 OT로 근사하며, 이를 Sinkhorn 알고리즘으로 GPU에서 계산합니다. 점군 위에서는 트랜스포머가 속도장을 매개변수화합니다. ShapeNet의 chair, car, plane 실험에서 WFM은 CD 기준으로 airplane과 car에서 가장 낮은 값을 보고하며, chair에서는 PVD의 CD가 더 낮습니다. EMD에서는 여러 데이터셋에서 WFM이 최고 값이 아닙니다. MNIST와 Letters 같은 가변 크기 점군과 MERFISH의 고차원 Sst 미세환경에서도 1-Nearest-Neighbour 정확도 결과를 보고합니다. 이 결과들은 각 데이터셋과 지표 설정에 한정됩니다.

![Figure 3: Left. Synthesized samples from WFM trained on the cars, planes or chairs datasets. Right. Examples generated conditionally from the same initial nois…](https://refivu.com/papers/16ae0b22-be72-43b0-8b5c-dd7077c60943/figures/figure-c36c6b18e1057082614625c213b75fae.png?thumb=512)

**Figure 3** . Left. Synthesized samples from WFM trained on the cars, planes or chairs datasets. Right. Examples generated conditionally from the same initial noise via a WFM model trained on the complete 40-class ModelNet dataset.

[원문](https://arxiv.org/abs/2411.00698v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos · Wasserstein Flow Matching: Generative modeling over families of distributions · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 4: Generated distributions from MNIST and Letters datasets using WFM. Each distribution is realized as a point-cloud with naturally varying sample sizes…](https://refivu.com/papers/16ae0b22-be72-43b0-8b5c-dd7077c60943/figures/figure-5fe1a7107dd602da00e2d171035f7739.png?thumb=512)

**Figure 4** . Generated distributions from MNIST and Letters datasets using WFM. Each distribution is realized as a point-cloud with naturally varying sample sizes (n), demonstrating WFM’s unique ability to learn from and generate distributions without requiring fixed-size realizations.

[원문](https://arxiv.org/abs/2411.00698v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos · Wasserstein Flow Matching: Generative modeling over families of distributions · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 4: 1-Nearest-Neighbour Accuracy demonstrating WFM’s unique capabilities. Using transformers and entropic transport maps, WFM handles both variable-sized…](https://refivu.com/papers/16ae0b22-be72-43b0-8b5c-dd7077c60943/figures/figure-f2da088022c95e02cc0f06cb16ba28a4.png?thumb=512)

**Table 4** . 1-Nearest-Neighbour Accuracy demonstrating WFM’s unique capabilities. Using transformers and entropic transport maps, WFM handles both variable-sized realizations and high- dimensional distributions, unlike previous approaches limited to fixed-size, low-dimensional samples.

[원문](https://arxiv.org/abs/2411.00698v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos · Wasserstein Flow Matching: Generative modeling over families of distributions · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## Sst 뉴런 조건부 생성의 라벨 정확도

Sst 뉴런 미세환경을 라벨 조건부로 생성한 실험에서 생성 분포의 라벨 정확도는 63.86%로 보고됩니다. 테스트셋 실제 데이터의 정확도는 62.19%로, 두 값이 거의 같습니다. 이 정확도는 Wormhole 임베딩 기반 최근접 이웃 분류로 측정되었습니다.

## 계산 비용과 적용 범위

Transformer와 Sinkhorn 기반 OT 근사의 계산 복잡도는 점군 크기에 대해 이차적이며, 이 점이 WFM의 확장성을 제한한다고 저자들은 설명합니다. 또한 이론 분석은 classic OT를 다루는 반면 실험은 엔트로피 정규화 근사를 사용하므로 두 설정 사이에 간극이 있습니다. 일반 분포 위의 계산은 엄밀하지 않다고 저자들이 밝힙니다.

## 논문 정보

- **저자**: Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 11월 1일
- **등록일**: 2026년 10월 29일
- **수정일**: 2025년 5월 17일
- **버전**: v2
- **arXiv**: 2411.00698
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2411.00698v2) · [원문 PDF ↗](https://arxiv.org/pdf/2411.00698v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Generative modeling typically concerns transporting a single source distribution to a target distribution via simple probability flows. However, in fields like computer graphics and single-cell genomics, samples themselves can be viewed as distributions, where standard flow matching ignores their inherent geometry. We propose Wasserstein flow matching (WFM), which lifts flow matching onto families of distributions using the Wasserstein geometry. Notably, WFM is the first algorithm capable of generating distributions in high dimensions, whether represented analytically (as Gaussians) or empirically (as point-clouds). Our theoretical analysis establishes that Wasserstein geodesics constitute proper conditional flows over the space of distributions, making for a valid FM objective. Our algorithm leverages optimal transport theory and the attention mechanism, demonstrating versatility across computational regimes: exploiting closed-form optimal transport paths for Gaussian families, while using entropic estimates on point-clouds for general distributions. WFM successfully generates both 2D & 3D shapes and high-dimensional cellular microenvironments from spatial transcriptomics data. Code is available at https://github.com/DoronHav/WassersteinFlowMatching .

## 원문 인용

Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos (2024). Wasserstein Flow Matching: Generative modeling over families of distributions. arXiv:2411.00698v2. https://arxiv.org/abs/2411.00698v2

**BibTeX**

```
@misc{haviv2024wasserstein,
  title = {{Wasserstein Flow Matching: Generative modeling over families of distributions}},
  author = {Doron Haviv and Aram-Alexandre Pooladian and Dana Pe'er and Brandon Amos},
  year = {2024},
  eprint = {2411.00698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.00698v2}
}
```

## 이 논문의 용어

- [트랜스포머](https://refivu.com/terms/515e8433c447-transformer)
- [Chamfer Distance](https://refivu.com/terms/f1d20f2d2c6b-chamfer-distance)
- [ShapeNet](https://refivu.com/terms/d07523c3695f-shapenet)
- [continuity equation](https://refivu.com/terms/b30c12fa53cb-continuity-equation)
- [2-Wasserstein distance](https://refivu.com/terms/4a82b931ba26-2-wasserstein-distance)
- [EMD](https://refivu.com/terms/6bad196a8f72-emd)
- [entropic optimal transport](https://refivu.com/terms/42e5b04eb70d-entropic-optimal-transport)
- [Kantorovich potentials](https://refivu.com/terms/83f48cbc0b56-kantorovich-potentials)
- [MERFISH](https://refivu.com/terms/dff3bb9f5e2b-merfish)
- [ModelNet](https://refivu.com/terms/8dfee68be525-modelnet)
- [Spatial Transcriptomics](https://refivu.com/terms/1ad1f993b5e1-spatial-transcriptomics)

## 다른 논문 해설

- [All-atom Diffusion Transformers: Unified generative modelling of molecules and materials](https://refivu.com/papers/5988715a-9350-41ca-b059-c8f5e81221f1-all-atom-diffusion-transformers-unified-generative-modelling.md)
- [SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoders](https://refivu.com/papers/89ef072f-ec10-4a99-8e82-df98e2c935f7-saeuron-interpretable-concept-unlearning-in-diffusion-models.md)
- [Devil is in the Details: Density Guidance for Detail-Aware Generation with Flow Models](https://refivu.com/papers/53c06b07-254d-422a-b1cb-fa6d8acfc98b-devil-is-in-the-details-density-guidance-for.md)
- [Boost-and-Skip: A Simple Guidance-Free Diffusion for Minority Generation](https://refivu.com/papers/ed45cca8-952f-4987-9e5f-8a9bfae3233b-boost-and-skip-a-simple-guidance-free-diffusion.md)
- [Identifying and Understanding Cross-Class Features in Adversarial Training](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da-identifying-and-understanding-cross-class-features-in.md)
- [One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy](https://refivu.com/papers/067d9910-8121-40b8-86fb-4572b95a59f7-one-stone-two-birds-enhancing-adversarial-defense-through.md)
- [AutoAL: Automated Active Learning with Differentiable Query Strategy Search](https://refivu.com/papers/59e76c50-14a7-4d9a-b1a0-48bb6988c790-autoal-automated-active-learning-with-differentiable-query.md)
- [TimeFilter: Patch-Specific Spatial-Temporal Graph Filtration for Time Series Forecasting](https://refivu.com/papers/ca8e9e0f-1103-4e33-9eb1-1380830bb53c-timefilter-patch-specific-spatial-temporal-graph-filtration.md)
- [Preserving AUC Fairness in Learning with Noisy Protected Groups](https://refivu.com/papers/f3251feb-7418-4327-88ab-b699211b3490-preserving-auc-fairness-in-learning-with-noisy-protected.md)
- [Breaking Silos: Adaptive Model Fusion Unlocks Better Time Series Forecasting](https://refivu.com/papers/cc8323fb-54af-4808-bbbd-3c55bca8b00b-breaking-silos-adaptive-model-fusion-unlocks-better-time.md)
- [SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models](https://refivu.com/papers/32317979-651b-4b77-a1d3-d753caef7bef-slim-llm-salience-driven-mixed-precision-quantization-for.md)
- [Cut out and Replay: A Simple yet Versatile Strategy for Multi-Label Online Continual Learning](https://refivu.com/papers/8326061f-e8e4-4bc8-b9d5-8f9a27d5e37f-cut-out-and-replay-a-simple-yet-versatile.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/16ae0b22-be72-43b0-8b5c-dd7077c60943-wasserstein-flow-matching-generative-modeling-over-families)
