![Arxiv:1604.08634V2 [Stat.ML] 14 Nov 2016 Between the Data-Points](https://data.docslib.org/img/3a60ab92a6e30910dab9bd827208bcff-1.webp)
OPTIMAL TRANSPORT VS. FISHER-RAO DISTANCE BETWEEN COPULAS FOR CLUSTERING MULTIVARIATE TIME SERIES G. Marti(1;2), S. Andler(1;3), F. Nielsen(2), P. Donnat(1) (1)Hellebore Capital Management, [email protected] (2) Ecole Polytechnique, [email protected] (3) Ecole Normale Superieure´ de Lyon, [email protected] ABSTRACT al. [6] cluster stocks based on the pairwise correlation of We present a methodology for clustering N objects which are their returns. Yet, we may want to represent an object by described by multivariate time series, i.e. several sequences more than a single time series. For instance, a company could of real-valued random variables. This clustering methodol- be represented by a 4-variate time series consisting in (i) the ogy leverages copulas which are distributions encoding the returns of the stock, (ii) the traded stock volumes, (iii) the dependence structure between several random variables. To returns of its 5-year credit default swap (CDS) [7], (iv) the take fully into account the dependence information while traded CDS volumes. Distances proposed so far [8, 9, 10] clustering, we need a distance between copulas. In this for clustering such multivariate time series do not aim specif- work, we compare renowned distances between distributions: ically at discriminating on dependence. To this aim, Copula the Fisher-Rao geodesic distance, related divergences and Theory provides convenient tools to encode the dependence optimal transport, and discuss their advantages and disad- between several time series as a distribution, the copula. In vantages. Applications of such methodology can be found order to cluster N objects (for instance, companies) based in the clustering of financial assets. A tutorial, experiments on the dependence between their multivariate time series, we and implementation for reproducible research can be found need a relevant distance between copulas. Thus, our approach at www.datagrapple.com/Tech. (depicted in Fig. 1) is to leverage distances from Information Geometry to compare distributions - the copulas encoding Index Terms— clustering; multivariate time series; copu- dependence between the variates - in order to discriminate las; Fisher-Rao geodesic distance; divergences; optimal trans- on the dependence between the random variables (but not port; Wasserstein distances on their distributions). What kind of distances is relevant for comparing copulas? Far from being comprehensive, we 1. INTRODUCTION illustrate our point with Wasserstein distances, Fisher-Rao geodesic distance and related divergences. What is clustering? Clustering is the task of grouping a set of objects in such a way that objects in the same group, also 2. CLUSTERING METHODOLOGY called cluster, are more similar to each other than those in different groups. Besides being hard to formalize and hard 2.1. A reminder on copulas to solve, clustering essentially relies on the definition of a proper, but usually unknown, pairwise similarity measure Copulas are functions that couple multivariate distribution arXiv:1604.08634v2 [stat.ML] 14 Nov 2016 between the data-points. Which class of distances should functions to their one-dimensional marginal distribution func- one use when the data-points are time series? Several sur- tions [11]. This relationship is precised by Sklar’s Theorem: veys and experimental studies [1, 2, 3] have tried to organize Theorem. Sklar’s Theorem [12]. For any random vectors and benchmark this tentacular field of clustering time se- X = (X1;:::;Xd) having continuous marginal cumulative ries: many application domains (e.g., astronomy, biology, distribution functions Pi, 1 ≤ i ≤ d, its joint cumulative energy, environment, medicine, robotics, speech recognition, distribution P is uniquely expressed as P (X1;:::;Xd) = finance) offer many goals that require specific distances and C(P1(X1);:::;Pd(Xd)), where C, the multivariate distribu- clustering approaches. When time series are considered as tion of uniform marginals, is known as the copula of X. sequences of random variables, we can identify two main Copulas are central for studying the dependence between approaches: those who process signals by comparing their random variables: their uniform marginals jointly encode all distributions [4, 5] (Information Geometry), and those who the dependence. They allow to study scale-free measures of measure the dependence (e.g., correlation, tail dependence) dependence and are invariant to monotonous transformations between them. In Econophysics, for example, Mantegna et of the variables. D(X; Y ) 3. SENSITIVITY OF DISTANCES WITH RESPECT Quantitative Finance TO DEPENDENCE Copula Theory 3.1. A reminder on statistical distances Statistical distances are distances between probability distri- butions. Many such distances have been designed to deal with Signal Processing practical problems in signal processing [15]. Information Geometry One of the leading approaches is to consider the param- D R compare distributions discriminate on dependence eter space Θ = fθ 2 R j pθ(x)dx = 1g of a family of d parametric probability distributions fpθ(x)gθ with x 2 R and θ 2 RD as a Riemannian manifold endowed with the D Our approach is las 2 PD PD tan pu Fisher-Rao metric ds (θ) = i=1 j=1 gij(θ)dθidθj [16]. ces b en co etwe h 1 @p 1 @p i The coefficients gij(θ) = Eθ = gji(θ) are p(θ) @θi p(θ) @θj known as the Fisher Information Matrix coefficients. Two Fig. 1. Statistical distances from Information Geometry de- probability distributions represented by their respective den- signed to compare distributions can help for clustering time sity pθ1 and pθ2 are considered as two points θ1 and θ2 on series based on their dependence. Which ones are relevant the manifold (Θ; ds2). The Fisher-Rao geodesic distance be- for this task? And which ones are not? tween these two probability distributions can be computed by integrating the Fisher-Rao metric along the geodesics (locally shortest paths) between the corresponding points θ1 and θ2: 2.2. Clustering multivariate time series using copulas R θ2 D(θ1; θ2) = ds. θ1 Since computing geodesics which requires solving ordi- We elaborate on a clustering methodology first described in nary differential equations (ODEs) can be intractable, one [13]. Besides the associated paper, the basic methodology often considers related divergences such as Kullback-Leibler, is illustrated at www.datagrapple.com/Tech. Authors symmetrized Jeffreys, Hellinger, or Bhattacharrya diver- have suggested to: gences which coincide with the quadratic form approxima- tions of the Fisher-Rao distance between two close distribu- • transform the data to its underlying copula, tions, and which are computationally more tractable. These divergences all belong to the class of Ali-Silvey-Csiszar´ f- • compare this copula to other relevant copulas using the divergences, enjoy the information monotonicity [17] (coars- Earth Mover Distance [14] (algorithmic version of a ing bins decrease the divergence value), are invariant under Wasserstein distance formulated as a linear problem reparametrizations, and furthermore induce the ±α-geometry 000 and solved with the Hungarian algorithm), for α = 3 + 2f (1) (where f is a convex function). Alternatively to the Fisher-Rao geometry, Wasserstein distances [18] provide another natural way to compare prob- • use any appropriate clustering algorithm that can han- ability distributions. Given a metric space M, these distances dle a dissimilarity matrix as input. optimally transport the probability measure µ defined on M to turn it into ν: The methodology presented in [13] has several advantages: Z 1=p p non-parametric, robust to noise and deterministic (proper- Wp(µ, ν) := inf d(x; y) dγ(x; y) ; ties of the Earth Mover Distance); non-parametric, robust to γ2Γ(µ,ν) M×M noise, fast converging, accurate and generic representation where p ≥ 1, Γ(µ, ν) denotes the collection of all measures of dependence (properties of empirical copulas). But the ap- on M × M with marginals µ and ν. It can be observed that proach has also some serious scaling issues: (i) in dimension, computing the Wasserstein distance between two probability non-parametric estimations of density suffer from the curse measures amounts to finding the most correlated copula as- of dimensionality, (ii) in time, the Earth Mover Distance is sociated with these measures. Notice also that unlike Fisher- costly to compute. Rao and related divergences, Wasserstein distances work with In order to alleviate the previous drawbacks, we may con- probability measures instead of probability density functions. sider a parametric version of this clustering methodology. It implies the choice of a parametric copula (e.g., Gaussian cop- 3.2. Distances between Gaussian copulas ula, Student-t copula, Archimedean copula) and the choice of a statistical distance to compare the copulas. What is a rele- We illustrate the behaviour of these distances in the simple vant distance to measure the resemblance of copulas? case where the underlying copula is a Gaussian (which may no density. So, perfect positive dependence (for a bivariate Gaussian, it means that the two variates are perfectly corre- lated: ρ = 1) is not a point of the manifold. Unlike these distances, Wasserstein distances are defined between proba- bility measures, so no such problem arises for the Frechet-´ Hoeffding upper bound copula. In the Gaussian case consid- ered, the closed-form formulas for these distances can make this intuition clearer. For Fisher-Rao and related divergences,
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages5 Page
-
File Size-