Light Unbalanced Optimal Transport

While the continuous Entropic Optimal Transport (EOT) field has been actively developing in recent years, it became evident that the classic EOT problem is prone to different issues like the sensitivity to outliers and imbalance of classes in the source and target measures. This fact inspired the development of solvers that deal with the unbalanced EOT (UEOT) problem $-$ the generalization of EOT allowing for mitigating the mentioned issues by relaxing the marginal constraints. Surprisingly, it turns out that the existing solvers are either based on heuristic principles or heavy-weighted with complex optimization objectives involving several neural networks. We address this challenge and propose a novel theoretically-justified, lightweight, unbalanced EOT solver. Our advancement consists of developing a novel view on the optimization of the UEOT problem yielding tractable and a non-minimax optimization objective. We show that combined with a light parametrization recently proposed in the field our objective leads to a fast, simple, and effective solver which allows solving the continuous UEOT problem in minutes on CPU. We prove that our solver provides a universal approximation of UEOT solutions and obtain its generalization bounds. We give illustrative examples of the solver's performance. The code is publicly available at https://github.com/milenagazdieva/LightUnbalancedOptimalTransport.

Paper

Similar papers

Peer review

Reviewer WAcu5/10 · confidence 3/52024-07-10

Summary

This paper proposes U-LightOT, a lightweight solver for the Unbalanced Entropic Optimal Transport (UEOT) problem. This method uses a Gaussian Mixture approximation for the potential $v_{\theta}(y)$ and measure $u_{w}(x)$. This paper proves that under this approximation, the KL divergence to the ground truth UEOT plan has a tractable form. U-LightOT is evaluated on Gaussian Mixture and Unpaired Image-to-Image Translation tasks.

Strengths

1. This paper provides a theoretical analysis of the generalization bounds and the universal approximation property for the Gaussian mixture parametrization. 2. The proposed method is a lightweight solver for the UEOT problem, which requires several minutes of CPU training for the experiment in Sec 5. 3. This paper is easy to follow.

Weaknesses

1. The optimization objective and Gaussian Mixture approximation in Sec 4 are similar to [1]. 2. While this paper provides the universal approximation property for Gaussian Mixure approximation, I have concerns about whether this Gaussian Mixture parametrization can achieve decent results for more complex distributions, such as in generative modeling within the data space on CIFAR-10. [1] Korotin, Alexander, Nikita Gushchin, and Evgeny Burnaev. "Light schr\" odinger bridge." ICLR 2024.

Questions

1. In the Unpaired Image-to-Image Translation task, Table 2 only presents the accuracy of keeping the attributes of the source images. However, since the goal of this task is semantic translation, the accuracy of the target semantic is also required. For example, in the Young-to-Adult task, the accuracy of whether the generated image is indeed an adult image. Could you provide this target semantic accuracy results? 2. In the Appendix, Tables 5 and 7 show the Frechet distance (FD) between the learned and target measures. I believe this FD metric evaluates whether the semantic translation is successful, at the marginal level. Generally, increasing τ\tauτ decreases (improves) FD metrics in Table 5 and 7. Could you clarify how the optimal $\tau$ is selected? I am curious because when $\tau$ is overly large, U-LightOT achieves worse accuracy compared to other models in Table 2. 3. Could you present the FD results (Tables 5 and 7) for the other models? 4. For the optimal $\tau=500$ in the Man-to-Woman task, Table 6 shows an accuracy of 83.85 at best, while Table shows an accuracy of 92.85. Could you clarify which result is correct?

Rating

5

Confidence

3

Soundness

2

Presentation

3

Contribution

3

Limitations

The authors addressed the limitations and broader impact of their work.

Reviewer bWBu6/10 · confidence 4/52024-07-11

Summary

The proposal focuses on developing a fast solver for the unbalanced entropy-regularized optimal (EOT) transport between continuous Radon measures. The authors utilize the dual formulation of unbalanced EOT and use the relationship between the optimal potentials (i.e., the dual variables) and the primal transport plan. They then consider a parameterization of the transport plan and plan to minimize the KL divergence between this parameterized transport plan and the optimal one. Given that the optimal transport plan is unknown, the authors first use the relationship between the primal and dual solutions to reparameterize the dual variables and then derive a tight upper bound for the KL between the optimal plan and the parameterized one, which they propose to minimize. To deal with the normalization terms in their upper bound, the authors use a similar framework to that of Gushchin et al. [29] and assume the reparameterized dual variables are unnormalized Gaussian mixtures; this assumption enables analytic solutions to the otherwise difficult-to-calculate terms in the upper bound. Lastly, the authors provide a generalization error bound for their proposed framework. The paper provides two small-scale numerical examples to demonstrate their solver's efficiency: 1) two-dimensional Gaussian mixtures and 2) unpaired-image-to-image translation in the embedding space of an autoencoder, specifically ALAE, on an unbalanced subset of FFHQ dataset for Adult, Young, Man, Woman face.

Strengths

+ The paper is very well written and straightforward to follow. + The clever parameterizations used in this paper (while they appear in some prior work), provide a unique approach for solving the UEOT problem between continuous measures. + The provided generalization error bounds (while straightforward to derive), are important and certainly add value to the paper. + The method is easy to implement and fast to train. Quick convergence on the CPU is a notable achievement unlocked by this work.

Weaknesses

- One major weakness is that the paper does not discuss how $K$ and $L$, i.e., the number of Gaussians in the mixtures, affect the results. The generalization error bound mentions that $K$ and $L$ will appear as constants in the error bound, but the practical implications of the choice of $K$ and $L$ are missing from the paper. - Experiments are relatively modest: 2 experiments in low dimensions. It would be beneficial to have an experiment on robustness to outliers, as this is included in the main claim. - The paper claims to have a fast solver but lacks a detailed speed comparison for either experiment. It would be great to have a wall-clock comparison of competing methods. - The Gaussian mixture assumption limits the method's applicability to only low-dimensional problems, and it is not clear whether this limitation can be overcome.

Questions

* How does the performance change as a function of $K$ (assuming $L=K$)?

Rating

6

Confidence

4

Soundness

4

Presentation

4

Contribution

3

Limitations

Limitations are provided in the appendix.

Reviewer vYvs6/10 · confidence 2/52024-07-12

Summary

This work focuses on the largely computationally intractable efforts in unbalanced OT dual form where neural networks are used as a proxy (used as potentials) in order to approximate Wasserstein distances. In this work, the authors set out to significantly reduce this optimization procedure by decomposing the join optimal solution into conditionals which allows for both easier inference and a reduction in the number of parameters required. Experimental results are then carried out to show the success of this method beyond the improved efficiency.

Strengths

[+] The reduction in efficiency seems to be quite strong and effective way to reduce the overall parameters required to approximate OT distances [+] The theoretical results are sound and well motivated. [+] A generalization bound is also presented, attesting to the soundness one achieves with this light variation.

Weaknesses

[-] Appears to be specific only to the case of having KL divergence penalties for the mass constraints. [-] Paper can appear a bit difficult and dense to read.

Questions

(1) The reduction you get appears to have (perhaps even superficially) some relationship to the way WAE decomposes the coupling into conditionals. More coincidentally, WAE also uses conditional Gaussians to parametrize the encoder distribution, although for different purposes. Do you have any comments if there is any deeper link here? (2) Do you have any intuition if one were to use other penalties beyond KL to enforce the mass constraint?

Rating

6

Confidence

2

Soundness

3

Presentation

2

Contribution

3

Limitations

Yes

Reviewer t9a36/10 · confidence 3/52024-07-12

Summary

The paper presents a novel approach to solving the continuous Unbalanced Entropic Optimal Transport (UEOT) problem. The authors introduce a lightweight, theoretically-justified solver that addresses the challenges of sensitivity to outliers and class imbalance in traditional Entropic Optimal Transport (EOT). The proposed method features a non-minimax optimization objective and employs Gaussian mixture parametrization for UEOT plans, resulting in a fast, simple, and effective solver. The authors provide theoretical guarantees for their solver's performance and apply it to simulated and image data.

Strengths

- The paper is well-written and easy to follow - The paper describes well related literature and clearly motivates the approach / why there is a need for this solver - The paper introduces a novel way to solve UEOT problems using Gaussian mixtures, even if the approach was previously used for balanced EOT problems as mentioned by the authors. - The authors thoroughly study generalization bounds. - The authors consider a wide range of competing methods.

Weaknesses

- While the authors provide generalisation bounds, it would be helpful to assess the performance of the method on the UEOT plan between Gaussian distributions, see Janati et al. ,2020 - As mentioned by the authors, the Gaussian mixture approach is likely to work only in low dimensions. It would be interesting to see when it fails, e.g. using the benchmark above.

Questions

- The authors state that for OT-FM and UOT-FM in the FFHQ dataset, they use a 2-layer feed-forward network with 512 hidden neurons and ReLU activation. Where does this parameterization come from? It seems to be relatively small for a flow matching architecture on images, and does not seem to be the architecture used in the original papers. - Why are FID scores not reported for the image translation tasks?

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

2

Limitations

The authors have considered the limitations and potential negative societal impact.

Reviewer nig35/10 · confidence 3/52024-07-13

Summary

This paper presents a lightweight solver for Unbalanced Entropic Optimal Transport (UEOT) that does not rely on neural network parametrization. Instead, the authors parameterize the potential functions of UEOT using Gaussian Mixture Models (GMM). This parametrization enables the derivation of a tractable joint coupling. By incorporating the parameterized potential into the dual objective, the authors achieve a simple and tractable loss function. Additionally, the paper provides a universal approximation result for GMM parametrization. Experiments are conducted on toy data (GMM) and image-to-image (I2I) translation.

Strengths

- The paper proposes a simple and fast UEOT algorithm. - The paper justifies the GMM parametrization by presenting generalization bounds. - The paper demonstrates applicability to large-scale tasks such as I2I translation when combined with an autoencoder (AE). - The paper is well-written, clear, and easy to follow.

Weaknesses

- The method of parameterizing the potential function using GMMs was already proposed in LightSB [1]. The only change here is the switch to a UOT objective, making the methodological contribution minimal. Aside from the universal approximation result, the theoretical contributions are also limited. - The experiments are not comprehensive. First, the experiments are conducted only on face-related data. More diverse datasets should be included. Second, the fairness of the comparisons is questionable. In the I2I experiments, the authors use the ALAE autoencoder, while some of comparison methods are implemented directly in the image space. All of the comparisons should be implemented in the latent space for fairness. Third, since U-LightOT are implemented on a latent space that captures attributes well, the attribute accuracy is expected to be high. Other than accuracy, more general metrics such as c-FID or FID should be used for comparison. Fourth, there is a lack of ablation studies on the number of Gaussian modals $N$ and $M$. This is very important and expected to be sensitive hyperparameter, thus, I believe authors should provide ablation studies on this parameter. Overall, the practical utility of the approach is questionable. [1] Light Schrodinger Bridge, ICLR, 2024.

Questions

- How does the performance change when parameterizing very high-dimensional and multi-modal GMM data with fewer or more $N,M$? - In the I2I experiments, how does the number of modes in the GMM affect performance? - In toy data experiments, does U-LightOT has lower transport plan costs and smaller Wasserstein distances between the target and generated distributions compared to other comparisons?

Rating

5

Confidence

3

Soundness

3

Presentation

3

Contribution

2

Limitations

Discussed in Weakness section.

Authorsrebuttal2024-08-07

**References.** [1] Korotin et al. "Light schrodinger bridge", ICLR 2024. [2] L. Eyring et al. Unbalancedness in neural monge maps improves unpaired domain translation. ICLR, 2024 [3] K. D. Yang et al. Scalable unbalanced optimal transport using generative adversarial networks. ICLR, 2018. [4] J. Choi et al. Generative modeling through the semi-dual formulation of unbalanced optimal transport. NeurIPS, 2023

Authorsrebuttal2024-08-09

Further clarifications (1)

**In toy data experiments, does U-LightOT has lower transport plan costs and smaller Wasserstein distances between the target and generated distributions compared to other comparisons?** To answer this question, we compared our solver with different unbalancedness parameters $\tau\in\{1,10,50,100\}$ and LightSB for an experiment with a mixture of Gaussians. The results are presented in the table below. Note that our solver is designed to solve an unbalanced EOT problem with relaxed boundary conditions. This entails two properties. Firstly, our solver better preserves the properties of the input objects - indeed, it allows for the domain translation which preserves object classes even in the case of class imbalance. Secondly, due to the relaxed boundary condition for the target distribution, the distribution generated by our solver is naturally less similar to the target distribution than for balanced methods. The above intuitive reasoning is confirmed by the metrics we obtained. Indeed, as the $\tau$ parameter increases, when our method becomes more and more similar to balanced approaches, the normalized OT cost ($\mathbb{E}\_{x\sim p} \mathbb{E}\_{y\sim \gamma(y|x)} \frac{(x-y)^2}{2}$) between the source and generated distributions increases, and the Wasserstein distance between mapped $p$ and target distribution $q$ decreases. This property of our solver was noted in our paper, see Appendix C. LightSB [1] baseline, which is a purely balanced approach, shows the best quality in terms of Wasserstein distance and the worst in terms of OT cost. | | LightSB | U-LightOT (ours, $\tau=100$) | U-LightOT (ours,$\tau=50$) | U-LightOT (ours,$\tau=10$) | U-LightOT (ours,$\tau=1$) | |-------------------------|---------|----------------------|---------------------|--------------------|------| | OT cost | 3.952 | 3.931 | 3.874 | 2.913 | 2.023 | | $\mathbb{W}_2$-distance | 0.088| 0.091 | 0.138 | 1.107 | 2.044 | It is important to note that our method offers a flexible way to select a domain translation configuration that allows for better preserving the properties of the original objects or generating a distribution closer to the target one. The final optimal configuration selection remains at the discretion of the user. At the same time, balanced approaches do not allow making a choice in favor of preserving the properties of the original objects.

Authorsrebuttal2024-08-09

Further clarifications (2)

**(a) In the I2I experiments, how does the number of modes in the GMM affect performance?** **(b) ...since U-LightOT are implemented on a latent space that captures attributes well, the attribute accuracy is expected to be high** Up to the request, we perfom an ablation study of our U-LightOT solver with different number on Gaussian components in potentials $N,M$. Similarly to Appendix C of our paper, we run the solver in $\textit{Young}\rightarrow\textit{Adult}$ translation with 3K steps, $\varepsilon=0.1$ and set $\tau=100$. The quantitative results (accuracy of keeping the class, accuracy of mapping to the target, FD of generated latents vs target latents) are presented in the Tables below. *FD of generated latents (less is better)* | N/M | 1 | 2 | 4 | 8 | 16 | 32 | 64 | |-----|--------------|--------------|--------------|--------------|--------------|--------------|--------------| | 1 | 29.18 ± 0.05 | 31.43 ± 2.83 | 31.49 ± 1.65 | 31.66 ± 2.36 | 32.59 ± 2.12 | 31.11 ± 2.65 | 33.60 ± 3.40 | | 2 | 29.38 ± 0.70 | 27.75 ± 0.12 | 27.98 ± 0.30 | 30.15 ± 2.33 | 31.61 ± 2.65 | 30.46 ± 2.71 | 29.60 ± 1.29 | | 4 | 29.44 ± 1.05 | 28.63 ± 2.18 | 28.78 ± 1.06 | 28.17 ± 1.35 | 28.95 ± 2.21 | 27.94 ± 1.18 | 30.29 ± 2.72 | | 8 | 30.79 ± 2.67 | 28.55 ± 0.75 | 29.54 ± 3.23 | 27.82 ± 0.89 | 27.10 ± 0.23 | 29.98 ± 0.50 | 27.57 ± 1.03 | | 16 | 27.15 ± 0.34 | 30.95 ± 1.20 | 27.69 ± 0.66 | 28.71 ± 2.17 | 28.19 ± 0.50 | 27.58 ± 0.78 | 28.31 ± 0.92 | | 32 | 28.86 ± 1.35 | 30.64 ± 4.05 | 27.36 ± 0.85 | 28.01 ± 0.87 | 27.99 ± 1.59 | 29.52 ± 1.65 | 29.14 ± 1.91 | | 64 | 30.08 ± 3.63 | 29.12 ± 1.58 | 30.07 ± 2.67 | 30.04 ± 1.05 | 29.15 ± 2.00 | 29.48 ± 2.43 | 29.08 ± 1.53 | *Accuracy of keeping the class (less is better)* | N/M | 1 | 2 | 4 | 8 | 16 | 32 | 64 | |-----|--------------|--------------|--------------|--------------|--------------|--------------|--------------| | 1 | 87.78 ± 0.62 | 88.11 ± 0.69 | 88.50 ± 0.27 | 88.38 ± 0.30 | 87.97 ± 0.38 | 88.19 ± 0.49 | 88.45 ± 0.37 | | 2 | 88.65 ± 0.25 | 88.57 ± 0.64 | 87.54 ± 1.08 | 88.62 ± 0.75 | 88.09 ± 0.44 | 88.06 ± 0.39 | 88.75 ± 0.51 | | 4 | 87.89 ± 0.44 | 87.84 ± 0.39 | 88.22 ± 0.87 | 87.82 ± 0.64 | 88.85 ± 0.70 | 87.25 ± 0.43 | 88.09 ± 0.66 | | 8 | 88.54 ± 0.95 | 88.52 ± 0.48 | 88.29 ± 0.40 | 88.27 ± 0.37 | 87.93 ± 0.73 | 88.88 ± 0.78 | 87.56 ± 0.75 | | 16 | 88.38 ± 0.73 | 88.89 ± 0.50 | 88.02 ± 0.45 | 88.19 ± 0.32 | 87.80 ± 0.70 | 87.84 ± 0.62 | 87.94 ± 0.57 | | 32 | 87.97 ± 0.75 | 88.87 ± 0.59 | 86.99 ± 0.16 | 87.71 ± 0.50 | 87.50 ± 0.44 | 87.71 ± 0.76 | 88.08 ± 0.37 | | 64 | 87.13 ± 0.73 | 88.23 ± 0.58 | 87.70 ± 0.91 | 87.56 ± 0.52 | 87.99 ± 0.48 | 88.83 ± 0.43 | 88.30 ± 0.59 | *Accuracy of mapping to the target (less is better)* | N/M | 1 | 2 | 4 | 8 | 16 | 32 | 64 | |-----|--------------|--------------|--------------|--------------|--------------|--------------|--------------| | 1 | 79.09 ± 0.02 | 79.48 ± 0.17 | 79.09 ± 0.72 | 78.85 ± 0.41 | 78.86 ± 0.04 | 79.02 ± 0.31 | 78.00 ± 0.34 | | 2 | 79.26 ± 0.52 | 79.10 ± 0.66 | 78.95 ± 0.49 | 79.68 ± 0.46 | 79.65 ± 0.29 | 79.44 ± 0.74 | 79.49 ± 0.42 | | 4 | 78.80 ± 0.71 | 79.27 ± 0.64 | 79.68 ± 0.31 | 79.84 ± 0.50 | 79.16 ± 0.47 | 79.57 ± 0.92 | 78.88 ± 1.34 | | 8 | 78.41 ± 0.16 | 79.36 ± 0.54 | 78.74 ± 0.20 | 78.80 ± 0.69 | 79.11 ± 0.89 | 78.43 ± 1.01 | 79.06 ± 0.71 | | 16 | 79.44 ± 0.82 | 79.27 ± 0.40 | 79.21 ± 1.15 | 79.47 ± 0.57 | 79.35 ± 0.63 | 79.70 ± 0.67 | 78.34 ± 1.15 | | 32 | 78.59 ± 0.42 | 79.55 ± 0.59 | 79.27 ± 0.79 | 78.70 ± 1.09 | 79.37 ± 0.63 | 78.68 ± 0.77 | 79.42 ± 0.77 | | 64 | 79.11 ± 1.02 | 78.41 ± 0.66 | 79.29 ± 0.36 | 77.91 ± 0.45 | 78.19 ± 1.18 | 80.27 ± 0.96 | 79.60 ± 0.47 | The results show that in the considered task, our solver provides good performance even for small number of Gaussian components. This can be explained by the smoothness of the latent representations of data in ALAE autoencoder.

Reviewer nig32024-08-11

I appreciate the authors for their clarifications, particularly regarding the comparison between this work and [1]. Moreover, I thank the authors for the extensive experiments conducted. Based on this, I would like to raise my score to 5.

Reviewer t9a32024-08-09

I thank the reviewers for their clarifications, and apologise for having missed this difference explained in lines 91-92. Thus, I increase my score to 6.

Authorsrebuttal2024-08-10

Further clarifications

**In the Unpaired Image-to-Image Translation task, Table 2 only presents the accuracy of keeping the attributes of the source images. However, since the goal of this task is semantic translation, the accuracy of the target semantic is also required. For example, in the Young-to-Adult task, the accuracy of whether the generated image is indeed an adult image. Could you provide this target semantic accuracy results? [...] Could you present the FD results (Tables 5 and 7) for the other models?** As per your request, we provide the Accuracy (of mapping to the target) and FD (between learned and target latents) results for our solver and its unbalanced competitors (in Young$\rightarrow$Adult translation) in the Table below. For completeness, we also include the results for balanced LightSB [1] solver. | | Choi et al. [3] | Yang et al. [4] | UOT-FM [2] | LightSB [1] | ULight-OT (ours, $\tau=100$) | |-------------------------------------------|-------|-------|-------|---------|-------| | Accuracy (mapping to the target) | 85.36 | 80.32 | 83.27 | 88.14 | 81.14 | | FD (between generated and target latents) | 13.24 | 11.50 | 10.27 | 24.66 | 27.72 | The results show that *balanced* LightSB solver outperforms other methods according to the target accuracy results. Note that FD metrics is based on the first and second moments of distributions, therefore, there is a chance that it can provide imprecise results (as it, possibly, happens for the case of LightSB). Our method provides the target accuracy results on par with UOT-FM model (which is the second-best model according to the accuracy of keeping the class, see Table 2). Other unbalanced solvers (Yang et al., Choi et al.) provide better accuracies of mapping to the target and FD results, but are slightly worse in keeping the attributes (classes) of the source latents. Besides, our solver is simpler and and faster than its competitors, especially, those from (Yang et al., Choi et al.) which are based on adversarial learning, see the speed-up comparison in our answer to the reviewer bWBu (https://openreview.net/forum?id=co8KZws1YK&noteId=akup4rEAWd). [1] Korotin et al. "Light schrodinger bridge", ICLR 2024. [2] L. Eyring et al. Unbalancedness in neural monge maps improves unpaired domain translation. ICLR, 2024 [3] J. Choi et al. Generative modeling through the semi-dual formulation of unbalanced optimal transport. NeurIPS, 2023. [4] K. D. Yang et al. Scalable unbalanced optimal transport using generative adversarial networks. ICLR, 2018.

Reviewer WAcu2024-08-11

I appreciate the author for their clarifications and additional experiments. These have been helpful in addressing my concerns. Hence, I will raise my rating to 5.

Reviewer bWBu2024-08-10

Response to rebuttal

I appreciate the authors' extensive responses and clarifications. The experiment on varying $K$ and $L$ is particularly insightful, as it demonstrates that even in a simple toy problem, the method's performance is highly sensitive to the appropriate selection of these hyperparameters. I believe the paper would benefit from reporting the method's results on large-scale experiments across a range of $K$ and $L$ values, perhaps in the supplementary material. I also appreciate the wall-clock performance data provided by the authors. A more rigorous analysis of the wall-clock time, considering different sample sizes and varying $K$ and $L$ values on toy datasets, could further enhance the paper’s practical value to the community. Overall, I find this paper well-written, easy to follow, novel, and of potential interest to the community. The strengths of the paper outweigh the weaknesses, and I am increasing my score to Weak Accept.

Reviewer vYvs2024-08-11

Thank you for responding to my questions, I don't have any concerns after reading the response.

Authorsrebuttal2024-08-14

Concluding remarks

Since the end of the rebuttal period is approaching, we want to thank the reviewers for their time spent on their reviews and subsequent discussion. We are grateful for your interesting and valuable suggestions and will add the changes to the final version of our paper. In addition to the changes listed in the [general comment](https://openreview.net/forum?id=co8KZws1YK&noteId=CR3zz8IfwE), we will include 1. (Addition to **Appendix C**) Table with OT cost between the source and generated distributions and Wasserstein-2 distance between the generated and target distributions in Gaussian mixture experiment (with varying parameter $\tau$); 2. (Addition to **Appendix E**) Tables with additional metrics for comparing our method and its competitors (accuracy, FD, FID between the generated latents and the target ones).

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC