Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Computable Bounds and Monte Carlo Estimates of the Expected Edit Distance - MaRDI portal

Computable Bounds and Monte Carlo Estimates of the Expected Edit Distance

From MaRDI portal
Publication:6507053

arXiv2211.07644MaRDI QIDQ6507053

Gianfranco Bilardi, Michele Schimd


Abstract: The edit distance is a metric of dissimilarity between strings, widely applied in computational biology, speech recognition, and machine learning. Let ek(n) denote the average edit distance between random, independent strings of n characters from an alphabet of size k. For kgeq2, it is an open problem how to efficiently compute the exact value of alphak(n)=ek(n)/n as well as of alphak=limnoinftyalphak(n), a limit known to exist. This paper shows that alphak(n)Q(n)leqalphakleqalphak(n), for a specific Q(n)=Theta(sqrtlogn/n), a result which implies that alphak is computable. The exact computation of alphak(n) is explored, leading to an algorithm running in time T=mathcalO(n2kmin(3n,kn)), a complexity that makes it of limited practical use. An analysis of statistical estimates is proposed, based on McDiarmid's inequality, showing how alphak(n) can be evaluated with good accuracy, high confidence level, and reasonable computation time, for values of n say up to a quarter million. Correspondingly, 99.9% confidence intervals of width approximately 102 are obtained for alphak. Combinatorial arguments on edit scripts are exploited to analytically characterize an efficiently computable lower bound to alphak, such that . In general, ; for k greater than a few dozens, computing is much faster than generating good statistical estimates with confidence intervals of width . The techniques developed in the paper yield improvements on most previously published numerical values as well as results for alphabet sizes and string lengths not reported before.












This page was built for publication: Computable Bounds and Monte Carlo Estimates of the Expected Edit Distance

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6507053)