Adaptive density estimation for directional data using needlets
P. Baldi, G. Kerkyacharian, D. Marinucci, D. Picard
Introduction
There is an abundant literature about this type of problems. In particular, minimax results have been obtained (see [Kle99],[Kle03]). These procedures are generally obtained using either kernel methods (but in this case the manifold structure of the sphere is not well taken into account), or using orthogonal series methods associated with spherical harmonics (and in this case the ’local performances of the estimator are quite poor, since spherical harmonics are spread all over the sphere).
In our approach we focus on two important points. We aim at a procedure of estimation which is efficient from a point of view (as it is a tradition in statistics to evaluate the procedure with the mean square error). On the other hand, we would like it to perform satisfactorily also from a local point of view (in infinity norm, for instance). To have these two requirements together seems to us a warrant to have good results in practice. In effect, it is very difficult to produce a loss function which reflects at the same time the requirement of clearly seeing the bumps of the density, of being able to well estimate different level sets, of testing whether there is a difference between the northern and southern hemispheres and so on.
In addition, we require this procedure to be simple to implement, as well as adaptive to inhomogeneous smoothness.
This type of requirements is generally well handled using thresholding estimates associated to wavelets. The problem requires a special construction adapted to the sphere, since usual tensorized wavelets will never reflect the manifold structure of the sphere and will necessarily create unwanted artifacts. Recently in ([NPW06b],[NPW06a]) a tight frame (i.e. a redundant family) was produced which enjoys enough properties to be successfully used for density estimation.
The fundamental properties of wavelets are their concentration in the Fourier domain as well as in the space domain. Here, obviously the ’space’ domain is the sphere itself whereas the Fourier domain is now obtained by replacing the ’Fourier’ basis by the basis of Spherical Harmonics which plays an analogous role on the sphere.
The construction [NPW06b],[NPW06a] produces a family of functions which very much resemble to wavelets, the needlets, and in particular have very good concentration properties.
We use these needlets to construct an estimation procedure, and prove that this procedure attains optimal rates over various spaces of regularity.
Again, the problem of choosing appropriated spaces of regularity on the sphere in a serious question, and we decided to consider the spaces which may be the closest to our natural intuition: those which generalize to the sphere case the classical Hölder spaces.
In the first section we present ([NPW06b]) needlets, and describe spaces of regularity on the sphere. In the second one we define our estimation procedure, and describe its properties.
The novelties of this paper lie in the application of thresholding to the needlet coefficients, which gives a very simple and adaptive procedure which works on the sphere. We also focus here on giving the results in norm, and obtain the rates of convergence for many other loss functions as a consequence of the previous ones.
Our results are motivated by many recent developments in the area of observational astrophysics. As an example, we refer to experiments measuring incoming directions of Ultra High Energy Cosmic Rays, such as the AUGER Observatory (http://www.auger.org). Here, efficient estimation of the density function of these directional data may yield crucial insights into the physical mechanisms generating the observations. More precisely, a uniform density would suggest the High Energy Cosmic Rays are generated by cosmological effects, such as the decay of massive particles generated during the Big Bang; on the other hand, if these Cosmic Rays are generated by astrophysical phenomena (such as acceleration into Active Galactic Nuclei), then we should observe a density function which is highly non-uniform and tightly correlated with the local distribution of nearby Galaxies. Massive amount of data in this area are expected to be available in the next few years. The Auger observatory will be based on two arrays of detectors; the first one covers an area larger than 3000 Km2 in Pampa Amarilla (Argentina), and has already started to collect observations: some preliminary evidence was provided in [Col08], and a non-uniform distribution seems to be favored. The whole celestial sphere will actually be covered only when the construction of the northern hemisphere array, due to be built in eastern Colorado, will be completed, a few years from now. Hence, in the immediate future efficient statistical techniques will be eagerly requested for the analysis of the forthcoming datasets.
A survey of statistical methodologies dealing with directional data on the sphere may be found in [Mar72], [Jup95], [MJ00]. The generalization of estimation using orthogonal series methods to the case of compact Riemannian manifold can be found in [Hen03]. See related works in [HK96], [Ruy89], [HJR93], [Pel05], [Jup08]. Kernel methods on the sphere have been investigated in [HWC87]. Minimax rates for the equivalent of Sobolev spaces on the sphere associated can be found in [Kle99], [Kle00], [Kle03].
The plan of the paper is as follows. In §2 and §3 we review some background material on needlets and Besov spaces. §4 introduces our thresholding estimator, whose minimax performances are stated in §5. §6 shows the performance of the estimators on some simulated data. §7–§9 contain the proofs.
Needlets
This construction is due to Narcowich, Petrushev and Ward [NPW06b]. Its aim is essentially to build a very well localized tight frame constructed using spherical harmonics, as discussed below. It was recently extended with fruitful statistical applications to more general Euclidean settings (see [KPPW07]) and already exploited for estimation and testing problems in [BKMP06], [BKMP07].
For the main situation of interest, , the right hand side above is equal to . Recall that if , the usual normalization of the Legendre polynomial () gives the square of their norm equal to . Therefore these must be multiplied by , in order to satisfy (3).
Let us point out the following reproducing property of the projection operators:
The construction of needlets is based on the classical Littlewood-Paley decomposition and a subsequent discretization.
Remark that only if . Let us now define the operator and the associated kernel
Moreover, if , then
Then the operator defined in the subsection above is such that: , so that
The choice of the sets of cubature points is not unique, but one can impose the conditions
for some . Actually in the simulations of §6 we make use of some sets of cubature points for such that exactly (the corresponding weights being however not identical). We have, using (6)
where is the natural geodesic distance on the sphere (for , ). In other words needlets are almost exponentially localized around any cubature point, which motivates their name. From this localization property it follows (see [NPW06b]) that for there exists positive constants such that
Let us prove (13) for . Using (11) and Lemma 6 of [BKMP06]
If , by Hölder inequality, if so that ,
where the last inequality comes again from (11) and Lemma 6 of [BKMP06]. Now integrating and using (12) for ,
from which (13) follows. The remaining case follows immediately by subadditivity, as
But, by Holder inequality, for such that and
Relation (12) for states that the norm of is bounded with respect to and also bounded away from from below. Assume . Then using (4) it is actually easy to see that, keeping in mind that ,
Assuming that the cubature points are of cardinality and that they sum up to , as . If the previous relation were an equality we could recognize in the right hand term the Riemann sum
that converges, as , to the integral
which depends on the choice of the function . This norm shall appear frequently in the sequel. For instance, if we write down the development (10) or the function , then the coefficient would be exactly equal to . As it is clear that it would be desirable for this coefficient to be as large as possible, the value of the integral above can be seen as a measure of the localization properties of the system of needlets and can be used as a criterion of goodness of the choice of the function . With the choice we made (see §6) the quantity above is .
Besov spaces on the sphere and needlets
In this section we summarize the main properties of Besov spaces and needlets, as established in [NPW06b].
the infimum of the distances in of from the polynomials of degree . Then the Besov space is defined as the space of functions such that
Remarking that is decreasing, by a standard condensation argument this is equivalent to
Let , , . Let a measurable function and define
provided the integrals exists. Then if and only if, for every ,
for some positive constants , the Besov space turns out to be a Banach space associate to the norm
In the sequel we shall denote by the ball of radius of the Besov space .
(The Besov embedding) If then . If ,
On the other hand, if ,
Needlet estimation of a density on the sphere
Let us suppose that we observe , i.i.d. random variables taking values on the sphere having common density with respect to . can be decomposed using the frame of needlets described above.
The needlet estimator is based on hard thresholding of a needlet expansion as follows. We start by letting:
The tuning parameters of the needlet estimator are:
The range of resolution levels (frequencies) where the approximation (17) is used:
We shall see that the choice 2^{J}=\big{(}\frac{n}{\log n}\big{)}^{\frac{1}{d}} is appropriate.
The threshold constant . Evaluations of are given in the following Section and also discussed in §6.
: is a sample size-dependent scaling factor. We shall see that an appropriate choice is
which is a quantity already discussed in Example 3. As for the correlation between coefficients, it is given by the function , whose graph, for some values of is plotted in Figure 2.
Whereas coefficients associated to cubature points that are not too close are only slightly correlated, the random needlet coefficients , are not independent and they even satisfy the linear relation
This comes from the fact that, as for is a polynomial of degree , one has
For , , we have
a) For any , there exist some constants such that if ,
b) For there exist some constant such that if ,
where , if , whereas
which, as remarked above gives an indication about the square of the value of the norm of a needlet . In both the examples below we considered samples of cardinality and . The hint for the value of of Theorem 8 is J=\frac{1}{2}\,\log_{2}\big{(}\frac{n}{\log n}\big{)}, which gives the values and respectively. One should keep in mind that at a given level it is necessary to have enough cubature points in order to integrate exactly all polynomials up to the degree , which means cubature points with Womersley’s set (recall that on the sphere the polynomials of degree form a vector space of dimension ). This gives cubature points for , for and for . To avoid to have more coefficients than observations, we decided to set for and for .
As for the value of , we shall give the result with , where is an a bound for , trying different values of . Recall that this means that the threshold kills all coefficients such that
, the uniform density. In this case in the development (10) it holds for every and . Therefore a first simple way of assessing the performance of the procedure is to count the number of coefficients that survive thresholding. Of course in this case a good estimate is such that the coefficients fall below the threshold. Taking into account Lemma 2 the square root of the sum of the squares of the coefficients surviving thresholding gives an estimate of . Therefore a measure of the goodness of the fit is obtained by taking the sum of their squares. Tables 1 and 2 give the number of surviving coefficients for different values of the constant .
In order to kill all the coefficients one should choose for and for . The estimate of the norm of the difference between and by taking the square root of the sum of the squares of the coefficients is
Let us consider a mixture of two densities of the form , , for and and with weights and respectively. Here the centers of the two bell-shaped densities were taken to be , . With these choices it turns out that . The graph of in the coordinates (longitude, colatitude) is given in Figure 4.
The estimator obtained with the choice has the graph of Figure 5.
If one chooses the graph becomes the one of Figure 6. At a closer inspection it turns out that with this value of all coefficients at level do not pass the thresholding. It looks very much like the graph of , even though some differences in shape are apparent. An estimate of the norm computed on a grid gives .
We repeated the simulation with observations. The results are reported in Figures 7 and 8 and are to be considered rather satisfactory. It should be stressed that a very limited number of coefficients passes thresholding at a frequency . This behaviour is expected: being very regular, it belongs to a space and thus its needlet coefficients decay very rapidly.
In the sequel we note , so that the needlet estimator (17) is
The following proposition collects the main estimates needed in the proof.
Let be such that, for all , (possibly ; obviously, when belongs to a Besov class, depends on the “regularity” ). Then for any , we have
1) if
We delay the proof of Proposition 14 to §8 and derive from it the proof of Theorem 8. In this proof will denote an absolute constant which may change from line to line. Let us now prove that Proposition 14 yields to the statements of Theorem 8:
Let us prove the upper bound (19), first under the condition
The term is easy to analyze: as belongs to , we have using (12) and 13,
Then we only need to remark that for .
As for , using the triangular inequality together with Hölder inequality, then (12), and (22) with , we get
As belongs to , and we can see that
For arbitrary (19) is now easy to deduce from the previous computation by the Besov embedding (Theorem 5) Let us prove (21), that is the regular case. We observe first that since for , this case will be assimilated to the case , and from now on, we only consider . We follow the same arguments as above. (25) can be replaced by
For using the embedding , for , we have
And it is easy to verify that on the zone that we are considering in this part. In effect as , we have .
For , we have using the triangular inequality together with Hölder inequality,
Then we need only to use (24), with , to obtain
is adequate, and to observe that the first term in the sum has the right order. For the second term, it can be bounded (as ) by
as, Now, this term obviously is of the right order.
Again we proceed as above and observe first that in order to have as well as , it is necessary that :
For using the embedding, , for , we have:
And it is easy to verify that , since , when .
For , again, we have using the triangular inequality together with Hölder inequality,
Then we need to use (23), with , to obtain:
as we are in the sparse region. It is easy to realize that now, again because we are in the sparse region
is adequate, and to observe then that the first term in the sum has the right order. For the second term, let us introduce
We easily observe that , and that Then, as
which gives the right order. Observe that the term (which is of logarithmic order), can be avoided by choosing instead of in such a way that , but . This can be done except for the case where where this logarithmic term is unavoidable.
The proof of Proposition 14 relies on the following lemma:
There exist constants , such that, as soon as ,
Proof of the lemma (28) is simply Bernstein inequality, noticing that
and . The following inequality directly follows from (28), when .
using the change of variables .
(30) also follows from (32): take
Now, if , . Similarly , so that
Let us now turn to the proof of the Proposition. We partition our sum in four regions:
We use extensively Lemma 15 in order to bound separately each of the four terms .
where is chosen such that for , . Also
which gives the proper rate of convergence. Moreover, using (30) and (31),
where . Finally, using (31), and the fact that for bounded,
for .
This proof follows along the lines of the previous one. (24) is a consequence of (23), and the two inequalities will be proved together. We again separate the four cases.
Let us now bound separately each of the four terms . Using (29)
where again is chosen such that for , . To prove (23), we stop in (*), the next bound yields (24).
which gives the proper rate of convergence. Again, to prove (23), we stop in (*), the next bound yields (24). Moreover, using (30) and (31),
for . Finally, using (31), and the fact that for bounded,
Let us recall that given two probabilities , on some measure space their Kullback-Leibler distance is
We make use of Fano’s lemma below, see [Tsy04] and the references therein. We use the point of view introduced in [Bir01].
(Fano’s Lemma) Let be a sigma algebra on the space Let such that Let , be probability measures on If
We prove first that the minimax -loss is with . For every let us consider the family of densities
where is a subset of to be made precise later, and is chosen so that all these functions are positive. We are going to show that for every estimator ,
Throughout this section we shall note , whenever it holds or respectively, being a strictly positive constant independent of . We shall note whenever both and hold. Thanks to (12) for these functions to be positive it is enough that . Such a can even be chosen in such a way that all the densities (37) are bounded from below by a strictly positive constant. If the functions were orthonormal we would have immediately that
Needlets are not a basis, but their scalar product is close enough to if the respective cubature points are far enough. Hence one can get the following lemma that states that a subset can be chosen so that it is quite large and inequalities (14) and (13), in a sense, can be reversed.
There exists a subset such that and
Let us now impose conditions that ensure that belongs to the ball . Now, recalling (15),
where we use the fact that . Therefore the condition follows from
In order to apply Fano’s Lemma and get a lower bound of the left hand side let us first get an upper bound for the Kullback-Leibler distances , which comes from (33) and (12) for ,
Thanks to Lemma 17, the set of functions has a cardinality that is . By the Varshanov-Gilbert Lemma ([Tsy04] e.g.) there exists a subset such that and such that if , then . Therefore, as can be or only and by (12),
which implies that the events are disjoint. The family of densities given by the Varshanov-Gilbert Lemma has cardinality and by (39) and (38)
We apply now Fano’s lemma to the probabilities that are the times product of and to the events . It is well known that
Now let be so that , that is . With this choice one has
We prove now that the minimax -loss is . Let us consider the two densities
with such that the above are positive ( is enough). If , then thanks to (15) both and belong to the ball . Remark that this condition implies , as we assume . Also
so that,if we denote by the -times product of and by itself respectively, . By (13) and Lemma 17 we have
We choose , so that . Moreover with this choice of , , so that again by Fano’s lemma,
Thanks to (39) the events are disjoint if . Therefore by Fano’s lemma
Putting things together and checking for which values of the parameters one rate is larger than the other one concludes the proof of Theorem 10. Note that, as , if