Entropic Optimal Transport (Sinkhorn) Distance
Optimal transport measures the least total cost of moving one group's distribution of points onto the other's. The entropic version adds a smoothing term that makes the problem fast to solve by Sinkhorn matrix scaling, works in several dimensions, and with the debiased Sinkhorn divergence gives zero for identical distributions.
최적 수송은 한 집단의 점 분포를 다른 집단의 분포로 옮기는 데 드는 최소 총비용을 잽니다. 엔트로피 정규화를 더한 판은 싱크혼 행렬 스케일링으로 빠르게 풀리고 여러 차원에서도 쓸 수 있으며, 편향을 없앤 싱크혼 발산은 같은 분포에 대해 0이 됩니다.
How far apart are the multivariate distributions of two groups, taking the whole shape into account rather than only the means?
두 집단의 다변량 분포는 평균만이 아니라 모양 전체를 놓고 볼 때 얼마나 떨어져 있을까요?
The cost between every pair of points from the two groups is computed (squared or plain Euclidean, on standardised features when there are several), and the entropic transport problem is solved by Sinkhorn iterations. The transport cost, the regularised objective and the Sinkhorn divergence are reported, with the exact transport cost when the sizes allow and a permutation test of equal distributions.
When to use Entropic Optimal Transport (Sinkhorn) Distance
- You compare two groups on several numeric variables at once and care about the full distribution.
- You need a transport distance for samples too large for exact optimal transport.
- You want a distance that respects the geometry of the measurement space.
When to use something else
- There is one variable and you want the exact distance: use Wasserstein Distance Between Two Empirical Distributions
- You only need a test of equal distributions with a kernel: use Kernel Two-Sample Test (Maximum Mean Discrepancy)
- You compare mean vectors only: use Hotelling's T-squared Test
Assumptions and requirements
- Independent observations within and between groups
- Features on comparable scales (standardised by default when several)
- The value depends on the regularisation eps
What the analysis reports
- Sinkhorn transport cost and entropic objective
- Debiased Sinkhorn divergence
- Exact transport cost for comparison
- Permutation p-value
- Histogram of ground costs
How to report it
Between [value] (n = [value]) and [value] (n = [value]), the entropic optimal transport cost with squared Euclidean ground cost and eps = [value] was [value] (Sinkhorn divergence [value]); permutation test p = [value].
Related methods
- Wasserstein Distance Between Two Empirical Distributions
- Energy Distance Test of Equal Distributions (Two- and k-Sample)
- Kernel Two-Sample Test (Maximum Mean Discrepancy)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Entropic Optimal Transport (Sinkhorn) Distance on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns and a grouping variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.