Interpolating between the Jaccard distance and an analogue of the normalized information distance
Official code: bjoernkjoshanssen/jaccard (1 star, TeX, last commit 2026-06-25).
Abstract
Jiménez, Becerra, and Gelbukh (2013) defined a family of "symmetric Tversky ratio models" $S_{α,β}$, $0\leα\le 1$, $β>0$. Each function $D_{α,β}=1-S_{α,β}$ is a semimetric on the powerset of a given finite set.
Show full abstractHide
We show that $D_{α,β}$ is a metric if and only if $0\leα\le \frac12$ and $β\ge 1/(1-α)$. This result is formally verified in the Lean proof assistant. The extreme points of this parametrized space of metrics are $\mathcal V_1=D_{1/2,2}$, the Jaccard distance, and $\mathcal V_{\infty}=D_{0,1}$, an analogue of the normalized information distance of M. Li, Chen, X. Li, Ma, and Vitányi (2004). As a second interpolation, in general we also show that $\mathcal V_p$ is a metric, $1\le p\le\infty$, where $$Δ_p(A,B)=(|B\setminus A|^p+|A\setminus B|^p)^{1/p},$$ $$\mathcal V_p(A,B)=\frac{Δ_p(A,B)}{|A\cap B| + Δ_p(A,B)}.$$