Robust control of varying weak hyperspectral target detection with sparse non-negative representation
Raphael Bacher, Celine Meillier, Florent Chatelain, Olivier Michel

TL;DR
This paper introduces a robust hyperspectral source detection method using sparse non-negative representations and false discovery rate control, effectively handling spatially varying faint signals in high-dimensional data.
Contribution
It develops a novel multiple-comparison detection approach with robust error control tailored for hyperspectral data using sparse, non-negative representations on coherent dictionaries.
Findings
Successfully applied to real Multi-Unit Spectrograph Explorer data
Achieves reliable detection of faint hyperspectral sources
Provides controlled false discovery rate in high-dimensional testing
Abstract
In this study, a multiple-comparison approach is developed for detecting faint hyperspectral sources. The detection method relies on a sparse and non-negative representation on a highly coherent dictionary to track a spatially varying source. A robust control of the detection errors is ensured by learning the test statistic distributions on the data. The resulting control is based on the false discovery rate, to take into account the large number of pixels to be tested. This method is applied to data recently recorded by the three-dimensional spectrograph Multi-Unit Spectrograph Explorer.
| PFA 0.05 | PFA 0.001 | FDR 0.2 | |
| Noise-only | |||
| False Detections (pixels) | 144 | 2 | 0 |
| True Detections (pixels) | 0 | 0 | 0 |
| Source + noise area | |||
| False Detections (pixels) | 117 | 2 | 30 |
| True Detections (pixels) | 153 | 106 | 133 |
| False discovery proportion (%) | 43.3 | 1.8 | 18.4 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Robust control of varying weak hyperspectral target detection with sparse non-negative representation
Raphael Bacher, Celine Meillier, Florent Chatelain and Olivier Michel The authors are with the Image and Signal Department, GIPSA-Lab, Grenoble Institute of Technology, Saint Martin d’Heres 38400, France (e-mail: [email protected]).
Abstract
In this study, a multiple-comparison approach is developed for detecting faint hyperspectral sources. The detection method relies on a sparse and non-negative representation on a highly coherent dictionary to track a spatially varying source. A robust control of the detection errors is ensured by learning the test statistic distributions on the data. The resulting control is based on the false discovery rate, to take into account the large number of pixels to be tested. This method is applied to data recently recorded by the three-dimensional spectrograph Multi-Unit Spectrograph Explorer.
I Introduction
With the constant development of new imaging devices, the exploration of massive multi-modalities datasets has become an important field of study, with many challenges to face. In particular, the present study is motivated by the need to detect faint emission line features in massive hyperspectral data produced by the recent three-dimensional (3D) spectrograph Multi-Unit Spectrograph Explorer (MUSE) instrument [1]. The targeted emission lines are markers of spatially extended structures (or ’halos’, surrounding galaxies) that can exhibit spectral variability (spectral shifts). Furthermore, the presence of a large number of nuisance sources with high dynamics in the background makes the estimation of the background statistics particularly challenging. Searching faint signals in massive datasets requires the removal of possibly strong contributions of unwanted objects. Typically, for tracking faint signatures in hyperspectral data with high background dynamics, the spectra baseline must be estimated and removed. Finally, the size of the data to be explored calls for error controls of mis-detections with a global significance, such as the false discovery rate (FDR)[2], to allow unsupervised detection of the targets.
To summarize, the present study addresses a quite general detection problem whose main features are:
- •
highly variable, partially known, weak target signatures;
- •
background difficult to model;
- •
possible presence of strong contributions from unwanted sources that have to be removed;
- •
necessity for robust global mis-detections control.
Many methods have been developed in recent years to detect targets in hyperspectral data [3], all requiring knowledge of the background and/or the target signature. Among these studies, spectral anomaly detectors can be used when the searched signal is unknown, but rely on a parametric statistical modeling of the background signature [4] Spectral matching detectors, such as adaptive matched filters [5] or adaptive cosine estimators [6], exploit prior knowledge of both the target signature and the background characterization. A common feature of these approaches is the lack of global control of false alarm rate. Furthermore, these detectors were developed in a remote-sensing framework [7] at rather high signal-to-noise ratio (SNR) and can barely be adapted to the new challenges (low SNR, absence of ground-truth…) raised by new massive hyperspectral data such as those provided by new instruments in astronomy. An alternate class of methods relies on sparse representation [8] based on a trained dictionary. These are in fact mostly reconstruction methods, exploited for detection purposes. Up to our knowledge these methods do not allow to calibrate the type I error (false alarm) control of the test. Another pitfall is that in general no training set are available in the astronomical context. Finally, recent approaches [9], [10] try to tackle a problem having the same features as ours. However, the Generalized Likelihood Ratio based solutions proposed in these studies do not allow reliable control of detection error. This control is crucial for massive datasets in general, and for the present MUSE dataflow in particular, and is the core of this study.
Rare events or sparse signals detection problems have received much attention in the recent statistical literature. Multiple-comparison procedures, such as higher criticism or Bonferroni-type methods, have been proposed and shown to have asymptotic optimal detection properties under sparsity regimes [11, 12, 13, 14]. Such methods do not require specification of the signals/events to be detected. Higher criticism procedures can be viewed as adaptive to the unknown sparsity level and power of the signals to be detected. These multiple-comparison procedures can be applied on the dictionary-based representations of the signals. Overcomplete and/or coherent dictionaries are prone to provide sparse representation matched to the application at hand, and were shown to greatly improve the detection power[11]. Again no global error control is performed by these methods.
The purpose of the present paper is thus threefold:
- •
derive a detection algorithm that benefits from the detection power of the sparse representation based approaches;
- •
propose a method that requires very weak assumptions on the background or target statistical properties;
- •
operate a test procedure that allow a control of the global false alarm rate (FDR).
The proposed method is built upon a spectral matching approach over a highly coherent dictionary of target spectra, to take the variability into account. It elaborates on the max-test study presented in [13] for the detection of rare events. As such, it is built on a sparse representation whose purpose is to allow the formulation of a detection test, that do not need any signal reconstruction. To insure a calibration of the test procedure (FDR wise) that is robust to background misspecification, a new simple procedure is proposed, that mainly requires symmetry of the noise distribution. Note that exploiting this symmetry of the noise versus the positivity of sources in astronomical context was also developed in [15] but without providing a global control of the errors nor the formalization of a varying target matched over a dictionary of spectral shapes.
The paper is organized as follows. Section II defines the core of the proposed detection approach. The application-oriented design of the dictionary, the data preprocessing step, and the results on the real MUSE data are described in section III. Some conclusions and perspectives are drawn up in section IV.
Notations
In the following, a ’pixel’ refers indifferently to a position in the MUSE spatial grid and to the associated spectrum. A pixel or its associated spectrum vector is represented by bold letters e.g. , and bold capital letters refer to matrices.
II Detection method
II-A Testing problem
We address now the detection of a signal , from noisy data . Let and be the hypotheses denoting, respectively, the absence or presence of the source contribution . The testing problem is:
[TABLE]
where is a noise vector, centered and independent of , for which the distribution is not known.
When is not fully specified, a classical approach for (3) consists of modeling as a sparse superposition of reference signals taken from a massively overcomplete dictionary , see for instance [16], or [17] for classification tasks. The reference signals, or atoms, correspond to the column vector , for , of , where is the total number of references. These atoms are usually scaled to be -normalized: for .
Moreover, in the present context, the signal of interest is generally assumed to be non-negative. Thus, to enforce a non-negative decomposition, the atoms , for are assumed to be non-negative. It should be noted that, unlike most of the sparse representation techniques in the literature, we do not seek to build an optimal dictionary for reconstruction/estimation but for the design of a good detection test. The dictionary construction, based on physical priors and specific to the application at hand, will be addressed in section III-C1 in the framework of MUSE application111Note that in this application the non-negativity constraints can be relaxed. The target and the atoms can have negative or positive contributions, as long as their dot product are non-negative for .. Under the non-negativity and sparsity assumptions, the target signal can be expressed as
[TABLE]
where . Based on this representation, the detection problem reduces to a multiple comparison procedure with one-sided tests:
[TABLE]
II-B Test statistic
We now search a test statistic adapted to the detection problem (5) obtained by sparse representation. Let us first consider the statistic for a single atom. Let be a measure of similarity between the observed data and a normalized reference vector . Popular examples of similarity measures include the matched filter statistic
[TABLE]
or the spectral angular distance (SAD)
[TABLE]
which is a classical distance in hyperspectral analysis [18]. For a given signal amplitude , such similarity measures are maximized when .
Based now on the pairwise similarity measures between the observation and the dictionary atoms , for , a global test for the multiple (with regards to the atoms) testing problem introduced in (5) can be derived from a Bonferroni-like correction. Accounting for (4), this leads us to consider the following one-sided max-test approach:
[TABLE]
where is a given threshold. The motivations for using this max-test approach are two-fold. First, from a theoretical point of view, with highly sparse signals, the max-test method is asymptotically as efficient as the asymptotically optimal higher criticism method, as demonstrated in [11, 13]. Secondly, in finite sample settings such as the MUSE hyperspectral datasets, max-test has been shown to be relatively efficient [9, 19], and empirically more powerful than higher criticism methods [20].
We now tackle the problem of applying the max-test defined in (8) to a large number of data realisations . We are again in a multiple-testing context, now with regards to the number of samples . This is in regards to this context that we seek to control the detection errors. To fix the decision threshold while controlling the type I errors, i.e., the samples under that will be falsely detected as , the distribution under the null hypothesis of the max-test statistic must be known. In real applications such as the MUSE data, due to the physical process and preprocessing steps (e.g., interpolation, background subtraction), noise is spatially and spectrally correlated with an unknown complex dependence structure. Thus the distribution of , where is the noise vector introduced in (3), cannot be easily modeled as a standard parametric distribution. However in a large scale testing framework, it becomes possible to estimate this distribution, as explained in the next section.
II-C Learning the null distribution
Consider now the following assumptions:
A 1**.**
The noise vector is centered and symmetrically distributed: and have the same distribution,
A 2**.**
The similarity measure used to construct the max-test statistics is an odd function of the observations , i.e. for any sample and for any reference vector .
Assumption A1 on the noise is relatively weak and fairly reasonable. This is, for instance, satisfied for any centered elliptical distribution, such as multivariate Gaussian or student distributions. Note also that assumption A2 is clearly satisfied for the matched filter or the SAD statistics described respectively in (6) and (7). A direct consequence of these assumptions is the following key property:
Proposition II.1**.**
Based on assumptions A1 and A2, the max-test statistic and the opposite of the min statistic , where , are identically distributed under the null hypothesis .
Proof.
Under the null hypothesis . According to A1, and are identically distributed. Moreover,
[TABLE]
where the first equality on the second line is due to A2. Thus and - have the same distribution. ∎
In a large-scale testing framework (with regards to the number of samples ), the max and min statistics and are computed for a large number of observations , for . Let be the true proportion of observations distributed according to the null hypothesis, while is the proportion of observations distributed according to the alternative hypothesis for the testing problem (3). Let be the cumulative distribution function of the max statistic . This distribution function can be expressed as a two-groups model:
[TABLE]
where and denote the distribution functions under the null and the alternative hypotheses, respectively. Under the non-negativity assumption introduced in section II-B, should be stochastically larger under than under , i.e., for any . Let be the median of the max test statistics under the null hypothesis222For the sake of simplicity, the observations are assumed to obey absolutely continuous distributions. Thus the test statistics are also continuous, and their median is defined as . The extension to discrete statistics is left to the reader. (referred to as the null median hereafter), i.e., . We now introduce the classical zero assumption, as termed by Efron a different context [21, Chap. 6]. This assumes the existence of a noise-only domain that allows to build a procedure for estimating the null distribution (see Remark 2 hereinafter for a discussion about this assumption).
A 3** (Zero assumption for ).**
* for the region where the max statistics are most likely under .*
From this assumption, we can now derive the following expression:
[TABLE]
In a similar manner, the survival function of the opposite min statistic reads as
[TABLE]
where and are the survival functions of under the null and alternative hypotheses, respectively. This comes from the non-negativity assumption that should be stochastically smaller under than under , i.e., . Note that is also the median of the null distribution of as according to the proposition II.1. This allows us to introduce the following zero assumption.
A 4** (Zero assumption for ).**
* for the region where the opposite min statistics are most likely under .*
Thus
[TABLE]
Since according to the proposition II.1, we can finally derive the following expression:
[TABLE]
The main interest of this expression is that it does not depend on each group distribution function but only on the distribution function of the two-groups model. In particular, assumptions A3 and A4 do not require to fully specify , which is unlikely to be known in practice. Expression (9) is therefore robust to alternative miss-specifications. This expression still depends on the theoretical null median , the proportion of samples under , and the distribution functions and , which are not known. However, when a large number of observations are available, these quantities can be estimated from the empirical distributions of the test statistics. Let
[TABLE]
be the empirical distribution function of and the empirical survival function of , respectively.
A 5** (Weak dependence assumption).**
The empirical functions and converge uniformly toward the theoretical distribution functions and , respectively:
[TABLE]
almost surely as the number of observations grows to infinity.
Statement A5 is verified under weak dependence conditions between the observed samples . In particular, this holds for independent or short-range dependent samples according to the Glivenko-Cantelli theorem. A direct consequence is the pointwise convergence in probability of and toward and , respectively, for any .
Due to zero assumptions A3 and A4 and proposition II.1, satisfies . Therefore, based on assumption A5, an estimator of the null median can be searched as a solution of the following equation for :
[TABLE]
Lemma II.2** (Empirical null median estimator).**
Let be the ordered values of the statistics belonging to the sample . Let be the sample median of , which is defined as
[TABLE]
Then satisfies (10) and is a consistent estimator of the null median , under zero assumptions A3 and A4.
Proof.
See appendix -A1. ∎
Based on the null median estimator given in lemma II.2, we can now obtain the empirical null estimates of and . Let
[TABLE]
be the sample set of the max-test statistics truncated on , the elements of which are denoted as , for , and where . Similarly,
[TABLE]
denotes the set of the opposite min statistics truncated on , the elements of which are denoted as for (according to lemma II.2, these two sets are of equal size).
Proposition II.3** (Empirical estimators under ).**
Under assumptions A3 and A4,
[TABLE]
is a consistent estimator of the null proportion , and
[TABLE]
is a pointwise consistent estimator of the null distribution , for .
Proof.
See appendix -A2. ∎
Remark 1: the dependence structure across a set of observations with is not required to specify the empirical estimators and given in proposition II.3. These non-parametric estimates rely essentially on the noise symmetry assumption A1, which is very weak. As a consequence, these estimators are robust to miss-specifications that are prone to occur with parametric assumptions.
Remark 2: Zero assumptions A3 and A4 provide an idealized mathematical framework for which the empirical estimators are shown to be consistent. However, these assumptions are unlikely to be satisfied in practice. As a consequence, Eq. (9) is an approximation. Note, however, that the closer is to one, the more accurate the approximation is. This is the case in many large-scale testing problems. where the null proportion is usually close to one. The approximation gains also in accuracy the more (resp. ) dominates (resp. ) for (resp. for ). Moreover, if a few observations distributed according to the alternative distribution belong to the regions where they are assumed to be absent, then tends to be biased upward, and tends to be slightly biased toward the alternative distribution . It is of note that from a statistical testing perspective, this slight bias goes in the good way. Indeed, a detection procedure based on (and possibly ) then becomes more conservative as -values are slightly biased upward. This results in a small loss of power but the control of type I errors is still (asymptotically) guaranteed.
Figure 1 shows the empirical density functions associated with the max-test statistics and the opposite min statistics for synthetic data with a testing framework that mimics the MUSE one. We can see that the max density has a heavier right tail than the opposite min one. This is due to the contribution of the samples, while the opposite min density right tail is (approximately) distributed according to the theoretical null density due to (approximation) A4. By symmetry, the opposite min density has a heavier left tail than the max density one.
To appreciate the accuracy of the empirical estimators given in proposition II.3, the empirical null-density function that is obtained from the right-truncated sample and the left-truncated sample that are used to construct , is depicted in Figure 2a. Here, the null proportion estimate is larger than the theoretical value: and . Nevertheless, the empirical null-density function is very close to the theoretical one. This is confirmed by the quantile-quantile plot between and the theoretical distribution shown in Figure 2b. In particular, this remains true in the distributions tails, where the accuracy of the quantile estimates is crucial to the robustness of the test at low control levels.
II-D Error control
In multiple testing (around tested pixels for a patch in the MUSE context), the classical Type I error control of each individual test might not be appropriate; see e.g., [22, 23]. Indeed the number of wrongly rejected null hypotheses can become relatively important (i.e., even larger than the number of true detections) due to the high number of tests. To address this kind of issue, a global error control approach, namely the FDR, was introduced in [2]. The FDR controls the expected proportion of true null hypotheses wrongly rejected, which are referred to as the false discoveries, among all of the rejected tests:
[TABLE]
where is the total number of tests where the null hypothesis is rejected, while is the number of false discoveries among the discoveries. A simple and widely used approach to control this FDR is the Benjamini and Hochberg (BH) procedure that was also developed in [2]. Let be the -value associated with the th test statistics. Let now be the ordered -values, and denote the null hypotheses for this ordering. For a preselected control level , the BHq procedure rejects where
[TABLE]
with by convention. In our right-sided detection framework, the th empirical -value, can be derived from the empirical null distribution given in proposition II.3 as
[TABLE]
Then in the case of independent tests, or under specific positive dependences [24], the BHq procedure controls the FDR at a level . Thus, if is known, the BH procedure can be applied at the nominal level to improve its power while controlling FDR at level . Building on this idea, Storey [25] proposed the following modified estimator of the null proportion :
[TABLE]
where has to arbitrarily fixed (usually at ). Storey showed that under the weak dependence assumption A5, the BH procedure at nominal level asymptotically controls the FDR at level . We show in the following that the same strategy can be applied with the empirical null-estimator .
Proposition II.4** (Storey estimator).**
The empirical null estimator defined in (12) and the Storey estimator derived from the empirical -values defined in (14) are equal for any with , and are asymptotically equivalent for any .
Proof.
See appendix -B. ∎
This equivalence is not surprising since, like the proposed empirical null estimators, Storey estimator is based on a zero assumption (i.e., the -value density function under is zero on ).
This leads us to consider the following multiple testing procedure described in Alg. 1.
Note that it has been shown in [22] that for matched filter statistics, with a non-negative template and under Gaussian assumptions, the test statistics obey a positive regression dependence on a subset (PRDS) condition. Therefore, the BH procedure ensures exact FDR control in finite sample settings. Here the problem is more complex. The test statistics are derived from extreme values that can be correlated. Then PRDS is difficult to ensure theoretically, even under Gaussian assumptions on the noise. However, under weak dependence assumption A5, an Oracle procedure similar to Alg. 1, but where the -values are computed from the theoretical null distribution , can be proven to control asymptotically the FDR at level [25]. As discussed in the previous subsection, the -value empirical estimates tend to be slightly biased in a conservative way. Moreover, if the null distribution can be estimated on a larger sample than the sample to be tested, the variance of these estimates can be reduced. This supports the asymptotic control of the proposed procedure.
II-E Validation
Figure 3 shows the FDR obtained with Alg. 1, on 3D (spatial + spectral) simulated data that are subjected to weak dependence (spatial kernel convolution), for different levels of nominal control and different signal-to-noise ratio (SNR). The SNR is defined here as , where is the number of pixels (i.e., the number of tests to perform), is the number of spectral bands (i.e., the dimension of the observations ), is the marginal variance of the noise, and is the energy of the 3D contribution of the signals to be detected. The experimental set-up is similar to Figure 1, except that a spatial convolution kernel of size 3 by 3 was applied to create local spatial correlations. The empirical null estimators defined on section II-C were computed from extended cubes of 200 by 200 pixels by 30 wavelengths.
This figure emphasizes that control of the FDR is correctly achieved for the different SNR levels. As expected, due to the zero assumption approximations, Alg. 1 is a little more conservative than the Oracle one (based on the true and ) at low SNR, where the alternative distribution is closer to the null one.
Table I shows the advantage of assuring a global control with a detection threshold that adapts to the data. It compares this global control with a pixel-wise control based on the probability of false alarm (PFA). Controlling with a (e.g. 5%) PFA threshold results in detecting all pixels with -values smaller than . Such a PFA control then ensures that in average a fraction of all the tested pixels will be wrongly detected (but says nothing of the proportion of these wrong detections among the detected set).
When confronted to noise-only data, a control procedure with PFA at level 5% detects 144 spurious pixels, that is the size of a possible source. To insure that no source is falsely detected, we may turn to a more conservative level, e.g. 0.1%; this results in poor source detection power (around 55%) whereas a 5% level led to very good power (82%) at the price of a large number of false alarms (false discovery proportion ). On the same dataset, a FDR control at 20% does not lead here to any false detection in the absence of source while maintaining a high detection power (72%) in presence of a source, thus adapting to the data. Table I shows that the false discovery proportion is around 18% for a nominal FDR control of 20%. Note that by applying our procedure we can estimate the FDR level that matches a given detection threshold. For instance a threshold on the -values associated with a 5% PFA level yields a FDR estimate around 44% on data tested here. Table I shows that the false discovery proportion is indeed around 44% for a threshold corresponding to a 5% PFA.
In the next paragraph the ability of the proposed method to control error rate is compared with a generalized likelihood ratio (GLR) approach (inspired by [9] and [10]). Noise is supposed centered Gaussian where the covariance matrix is assumed to be diagonal. We have the following detection test :
[TABLE]
where is the -pseudo-norm (number of non-zero components) and is the non-negativity constraint on the coefficients. The GLR test with 1-sparsity constraint yields the following test statistic([9])
[TABLE]
where denotes the probability density function of under and denotes the probability density function of under . Using the Gaussian assumption it comes that
[TABLE]
where is the index of the non-zero component of the optimal for the GLR statistics, and is estimated from the residuals. There is no closed-form expression of the distribution of this statistic since it consists in taking the max of a correlated Gaussian vector. Thus we calibrated this statistic under (normal centered noise) by Monte-Carlo.
Figures 4 and 5 illustrate the main advantage of the proposed method : the control is ensured when the noise distribution is symmetrical without further assumptions. The GLR approach has to be calibrated under distribution so any deviation from the theoretical results in a loss of control, as illustrated by figure 5 where the noise is drawn from a Student distribution. It can be seen that BH procedure based on the theoritical GLR statistics do not correctly control FDR. In a first time the effective FDR strongly exceeds the given control level (allowing GLR to be “more powerful” at a given nominal control level). In a second time it becomes too conservative. This comportment can be explained by the Gaussian fit of the Student distribution of noise: tails are underestimated (hence the excess in FDR) whereas the bulk is overestimated (hence the loss in power in the second part). It should be noted that a classical ROC curve of the two methods would show very similar performance (same power for an effective error budget) between the two approaches but would hide the inaccuracy of error control of the GLR approach. Moreover figure 4 shows that when GLR is at its best (adequate model), the proposed method does stays really close in term of power despite its versatility.
III Application to the MUSE data
It is believed that young galaxies are often surrounded by halos of hydrogen gas, known as the circum galactic medium. The emissions from these halos can be several orders of magnitude fainter than those from the galaxies. Furthermore, the emission spectrum of the halos are composed of narrow lines, notably with the Lyman- line. The MUSE [1] was developed to detect such emissions. It is a 3D spectrograph that can image and analyze a field of 1 arcmin2 by producing a hyperspectral data cube of 300 by 300 pixels by 3600 wavelengths. Its spectral range covers the visible and near-infrared domain, from 450 nm to 930 nm.
Since the MUSE first light in January 2014, several studies [9, 26] have already been conducted on the MUSE data. The aim has been to detect faint young galaxies, which are also characterized by the presence of a powerful Lyman- emission line in their emission spectrum. Both methods mostly assume spatially and spectrally punctual sources. As a consequence, they efficiently find the core of galaxies, but are not (yet) adapted to detect the faint extended halos.
The purpose here is to explore the vicinity of these already detected galaxies, and track the Lyman- emission line as far away from the galaxy as possible.
III-A The MUSE data
The proposed detection method is applied to the MUSE observations of the sky region known as Hubble Deep Field South (HDFS), as it was previously observed by the Hubble space telescope. The MUSE produces huge amounts of data that have to be processed by a data reduction system before they can be used for scientific analysis. In particular, a resampling process creates local correlations in all directions (spatial and spectral) between voxels that cannot be easily modelled due to the data dimensions. The data reduction system applied to the data used here is detailed in [27]. The output is a 300 by 300 pixels by 3600 wavelengths data cube that is associated with a variance cube of the same dimensions. This latter is estimated by propagating the error estimated at the captor level at each stage of the processing.
A catalog of astronomical objects in HDFS was built in [27]. About 90 of these objects are remote galaxies known as Lyman emitters that are likely to have a halo. For each of these sources, a spatial-spectral neighborhood is defined, which is centered spatially on the galaxy center and spectrally on the emission line peak, and a subcube of 50 by 50 pixels by 30 wavelengths is extracted. This cube extraction is performed for the two following reasons. Spectrally: the signal of interest (hydrogen Lyman emission line) is concentrated in a few wavelengths around the emission peak. Outside of this domain, galaxy spectra (used to built reference spectrum) can contain other features that are not present in the targeted hydrogen surrounding halo. Spatially: as the targeted halo is expected to stay close to the galaxy, exploring empty (only noise) remote regions would only result in a loss in power (in our global control procedure).
III-B Pre-processing workflow
To deal with the MUSE data, several pre-processing steps are needed. First, the spectral continuum is robustly estimated and removed in each pixel using [28]. Then coarse reduction of the data is carried out using the variance cube provided with the data, followed by robust centering and finer reduction, slice by slice [20]. After the reduction by the variance cube, we can make the following assumption of stationarity of the noise.
A 6** (Stationary noise).**
The noise is stationary on each wavelength-slice of the cube.
Spatial matched filter preprocessing
For ground-based astronomical instruments such as MUSE, the spatial system impulse response (FSF) is mainly due to atmospheric turbulence. This FSF is measured for each observation (see [29]), and is independent of the instrumental noise. As such, we can make the following assumption:
A 7**.**
The noise in the observation model (3) is not filtered by the FSF.
Based on A7, the following strategy was chosen to improve the SNR: a spatial convolution with the FSF (which is modeled as a symmetrical function) is applied to each image of the wavelength axis of the data cube. It is not strictly speaking a spatial matched filter to the searched halo. Indeed, the halo extension and its intensity profile are not known. However, this greatly improves the SNR. The price to be paid is that the theoretical spatial extension of the halo is enlarged by this operation. In practice, the halo has a larger extension than the FSF, with an intensity profile that, as does the FSF, decreases quickly toward zero on its support. Therefore, this effect can be neglected in the detection results.
III-C Detection
In the application on hand, we have the following assumptions:
The galaxy spatial center is already known, as well as the spectral position of the emission line in the galaxy spectrum (with e.g., the method developed in [26]); 2. 2.
The emission line in the halo spectra has a shape similar to the emission line in the galaxy spectrum, the continuum of which has been subtracted, but can present a shift along the spectral wavelengths; 3. 3.
Samples (pixels) are weakly dependent.
The second hypothesis is only partially true: in reality the redshift is not a simple spectral shift, but the composition of a shift and a dilatation. However, at the spectral resolution, the deformation can be neglected. The third assumption is justified because dependences between pixels are mainly due to interpolations during the resampling step, and these dependences have short-range effects. Moreover, in the pre-processing workflow, only the convolution by the FSF creates significant spatial dependences, once again with a short-range effect due to the finite support of the FSF. Thus, the weak dependence assumption A5 is fulfilled. Assumptions required to apply the proposed method are also fulfilled. MUSE data result from the summing of a high number of exposures thus the noise tends to be Gaussian (and as such symmetrical) by application of the central limit theorem. The following numerous preprocessing steps (background subtraction, centering, variance reduction,…) all keep the symmetrical property of the centered noise thus ensuring that assumption A1 hold. Assumption A2 (odd similarity measure) is fulfilled by construction as we choose the SAD measure. As pointed out in Remark 2 of II-C, assumptions A3 and A4 can’t be strictly guaranteed. However, outside of this ideal framework, the key point is that equation (9) is a good enough approximation. Indeed, the targeted signal is assumed to be distinct enough from the background noise and well approximated by the dictionary (see section III-C1); thus will be significantly stochastically larger under than under for detectable signals. Moreover the galaxy and halo pixels are supposed to be in strong minority in the spatially explored region, that is is close to one, which enforces these approximations. Finally, as stressed in Remark 2, the approximation errors in equation (9) can only lead to a small loss in power and the control is still guaranteed (the bias is conservative as shown in figure 3 for low SNR).
For a given galaxy, a spatial-spectral neighborhood is defined, centered spatially on the galaxy center and spectrally on the emission line peak. Based on these hypotheses, the approach developed here consists of applying the following steps.
- •
Estimate a reference emission line spectrum by averaging the spectra of a few pixels at the center of the galaxy.
- •
Create a (highly) coherent family of shifted versions of this reference target signature to build a dictionary.
- •
Test each pixel of the defined neighborhood using the method developed in section II.
III-C1 Dictionary
One of the main assumptions here is that the target signature variability can mostly be modeled as a spectral shift. Thus, the dictionary is built here by creating shifted variants of one target signature, . Assuming that comes from sampling of a continuous model , we can define as , the shifted vector that is obtained by sampling . The linearly spaced shifts (LSS) dictionary model on an interval is then defined for a given size , as the dictionary composed of the atoms , where , for .
The key question is then the choice of the number of shifted versions, or in other words, the redundancy of the dictionary. To allow a study of this parameter, we place ourselves in a simplified context:
- •
the noise is supposed to be i.i.d. ;
- •
the similarity measure is a spectral matched filter between a dictionary atom and the tested spectrum, as in (6);
- •
the reference spectrum is a non-negative vector with unit length, where its autocorrelation function is non-increasing in , and has compact support such that , for ;
- •
the target signature is built from a translation of the reference spectrum , where , and is a random shift that is uniformly distributed on .
A measure of the redundancy of a given normalized dictionary can be given by its coherence, which is defined as . For a LSS dictionary , and under the aforementioned assumptions, this coherence reduces to the correlation between two consecutive atoms: , for . As illustrated by figure 6, by design of the dictionary, the larger the dictionary size , the more correlated the atoms are, and the more coherent the dictionary is.
Let be the vector of the matched filter statistics, the elements of which are defined as for . For a given decision threshold , the PFA for the max-test approach is expressed as
[TABLE]
Here the noise vector is distributed under . If the atoms are orthogonal (e.g., if they have disjoint support), the vector is then normally distributed with zero mean and covariance matrix . In this case, we can compute exactly the PFA as
[TABLE]
where is the cumulative function of the normal distribution. In practice, the dictionary is chosen to be highly coherent (as we want to track close translated versions of a reference spectrum). This requires another way to be found to estimate or maximize this probability.
Proposition III.1**.**
For any and , let be defined recursively, under , as
[TABLE]
with . Under the aforementioned assumptions, an upper boundary of the PFA is given by .
Proof.
See Appendix -C. ∎
The interest of expression (17) is that the first factor of the right hand side and the initial value can be evaluated numerically based on quadrature rules for trivariate and bivariate normal distribution functions [30], without the requirement for any Monte-Carlo approximation. Thus, this upper boundary can be easily and accurately computed. When the atoms are uncorrelated, this boundary is sharp and reduces to (16). Moreover this allows appreciation of, for a given threshold , the increase in the PFA as a function of the dictionary size for highly correlated atoms. In a reciprocal way, this allows the evaluation of the threshold , which ensures a false alarm rate that is lower than a given for any .
We can now estimate roughly the potential detection gain under as a function of , as follows: Under , we have assumed that
[TABLE]
with a shift . Then, if we assume that the maximum is obtained for the closest atom, which is by assumption the more correlated with , the expected max-test statistic can be approximated by
[TABLE]
where is the autocorrelation function of and is the shift between and the closest atom.
Using this expected max-test value under and the upper boundary on the false alarm given in proposition III.1, we can see in Figure 8 that when the dictionary size increases, the max-test statistic can still increase under . However, for fixed level control , the test threshold (upper boundary) does not increase significantly above a certain size, e.g., in Figure 8. This is clearly explained by the stronger correlations when adding new atomsConversely, if the atoms are uncorrelated, we see that the threshold deduced from (16) increases faster than the potential gain of the max-test statistic under .
This is confirmed in Figure 7, which shows different empirical ROC curves for different sized of the LSS dictionaries. It can be seen empirically that the more coherent the dictionary, the more powerful becomes the max test.
As a consequence, in the application, the dictionary will be built to be as coherent as possible for the spectral resolution of the MUSE instrument. The reference atom is estimated by averaging the spectra of the 5 pixels at the spatial intensity peak of the galaxy. The spectrum is limited to a spectral band area centered on the spectral emission peak, which ensures the presence of the whole emission line feature. Based on astronomical priors, the spectral shift is limited to the interval with MUSE spectral bands (i.e., 9\text{,}\mathrm{\SIUnitSymbolAngstrom}$$). Shifting is done at the spectral resolution of the instrument, to avoid any interpolations. The dictionary is finally built with the atoms corresponding to these shifted versions of .
III-C2 Similarity measure
To test whether a given spectrum belongs to the extended source, the similarity measure used in this application is the SAD, as defined in (7). Of note, other metrics were explored to build the test statistic, such as the matched filter one (6) and the spectral information divergence defined in [31]. Spectral information divergence is built upon the symmetrical Kullback-Leibler divergence, and it compares the spectra as distribution densities. As it demands positive signals for its computation, it cannot be used directly for our problem, as the MUSE data can be negative due to high symmetrical noise levels. The matched filter approach can be used on the MUSE data, and it gives good results. However SAD appears to be more robust to some systematics of the MUSE data cubes, such as the edges where there is higher variability, and it is preferred here.
III-D Results on real data
The results on several subcubes of pixels by wavelengths centered around interesting objects of the HDFS catalog are shown in Figure 9 for the detection procedure described in Alg. 1. For each of the spectra, the max-test statistics (8) are obtained from the SAD similarity measure, and with a highly coherent dictionary constructed as described in the last paragraph of section III-C1. The empirical null estimators are computed on larger subcubes (centered around the subcube to be tested) that are composed of 200 by 200 spectra. For each object, the first row shows the narrow band image around the emission line (the data subcube is totalled along the spectral bands centered on the emission line peak). The second column of the first row shows the same narrow-band image, but after the different preprocessing steps (which include continuum subtraction and FSF convolution). The last column shows the reference spectrum , built from the pixels at the center of the studied object. On the second row, the first column shows the maps of the empirical -values (14) obtained for the spectra. The maps of the -values are depicted on the second column. Q-values were introduced in [32] and can be seen as the FDR counterpart of the -values. For each test statistic, it is defined as the minimal FDR that allows this test statistic to be a discovery. In our detection framework, this is the minimal FDR control level in Alg. 1, such that a given spectrum is detected as part of the halo. The interest in this global measure of significance is clear here, as it allows us to present more contrasted significance maps than the classical -value maps. The third column shows the binary detection map provided by Alg. 1 for a nominal FDR control level . The contours of the detection region for different values of are also superimposed. From these maps, it can be seen that several of these objects show clear asymmetry, and that they extend beyond the simple support of a punctual source (the black circles show the support of an estimated FSF). Studies are currently being conducted by astronomers at the Centre de Recherche Astrophysique de Lyon to analyze these results and to apply the method to other sky fields.
IV Conclusions
In this paper, a new method is proposed to answer a detection problem of a weak target signature that is partially known, but with a possible large variability within an unknown background that is difficult to model. To answer to this problem, an unsupervised detector was proposed, based on a maximum test approach, as studied in [13]. This detector takes explicitly the possible target variability into account by using a highly coherent dictionary. It does not need any knowledge of the background, but a simple noise symmetry assumption, and the non-negativity of the sparse representation of the targeted signal. This allows to estimate the test statistic distribution and to implement a simple detection procedure robust to model/background miss-specification. Moreover, the error control was developed based on a false discovery rate approach, and a global measure of the significance was obtained. Such a control with detection threshold that adapts to the data is not yet widely used in the signal processing community whereas it is highly pertinent for processing massive datasets. This whole new process was tested on real MUSE data. The promising obtained results are presently analyzed by astronomers. Future extensions of this original method will account for the existence of spatial structure of the target while controlling the FDR. The MUSE data used in this paper is now publicly available at http://muse-vlt.eu/science/hdfs-v1-0/, and the Python code of the proposed method is available on demand.
Acknowledgments
The authors would like to thank the ERC 339659-MUSICOS for its funding, Roland Bacon and Floriane Leclercq for their expertise on the MUSE data, and Jean-Baptiste Courbot for numerous interesting exchanges on weak target detection.
-A Proof for the empirical null estimators
-A1 Proof of lemma II.2
Let be the set composed of the max statistics, the elements of which are denoted as for Similarly is the set composed of the opposite min statistics, the elements of which are denoted as for .
We first show that verifies (10), i.e., that . For absolutely continuous distributions, . Thus from (11), we get that with probability one. The sample set is the union of and : if , then . As a consequence, , which shows that verifies (10).
We show now that converges in probability toward . As satisfies (10), and (resp. ) converges in probability to (resp. ) for any , converges in probability to the solution of
[TABLE]
if this equation admits a unique solution. Assuming that the median of is uniquely defined, it follows that for
[TABLE]
Moreover, for
[TABLE]
where the first equality is due to zero assumption A4. As a consequence, there is no solution of . Similarly, according to zero assumption A3, that for , . Therefore the unique solution is for , where , which concludes the proof.
-A2 Proof of proposition II.3
We first show that the estimator given in (12) is consistent. From lemma II.2, converges in probability toward : . The triangular inequality ensures that . The first term of the right-hand side is dominated by ,, which converges in probability toward [math], according to assumption A5. The second term also converges in probability toward [math], according to the continuous mapping theorem. Thus .
According to (9), . As , this shows that
[TABLE]
Thus also converges in probability to .
We show now the consistency of (13) for . From (9) and assumption A5, it follows now that for all . Then, according to the Slutsky theorem, . As for all , this shows the consistency for . The demonstration for can be done in a similar manner, by noting that for .
-B Proof of proposition II.4
Let be the ordered max-test statistics, while are the ordered -values (while notes the p-value associated with pixel ). From (14), it follows that,
[TABLE]
where . For , thus and . So, for , that is for . For , let . Then so . Thus . If , then . Thus , which shows that .
In the general case where , then and , where , are asymptotically equivalent when grows to infinity. Thus, and are asymptotically equivalent. This concludes the proof.
-C Proof of proposition III.1
Under , for a threshold we have:
[TABLE]
As and under , is positively associated in the sense of [33]. Thus,
[TABLE]
Using the numerical procedures given in [30], we can accurately compute the right-hand side term of (18). Note that this term gives a relatively sharp lower boundary, because and are the more correlated variables with among the for .
Moreover, by construction, the shifts between the atoms in are smaller than those for the atoms in . With the autocorrelation function assumed to be non-increasing with the absolute shifts, it follows that the size Gaussian random vector has larger correlations than the size Gaussian random vector . By assumption, these two vectors are centered with unit marginal variances under . Thus the Slepian lemma [34] yields that:
[TABLE]
By combining (18) and (19), we can then minimise by a function that is defined recursively as:
[TABLE]
where . This gives the upper boundary for the PFA of proposition III.1. Numerical computations emphasize that increases with . Then it is possible to (numerically) inverse to get for a control level : verifies .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Bacon, M. Accardo, L. Adjali, H. Anwand, S. Bauer, I. Biswas, J. Blaizot, D. Boudon, S. Brau-Nogue, J. Brinchmann et al. , “The muse second-generation vlt instrument,” in SPIE Astronomical Telescopes+ Instrumentation . International Society for Optics and Photonics, 2010, pp. 773 508–773 508.
- 2[2] Y. Benjamini and Y. Hochberg, “Controlling the false discovery rate: a practical and powerful approach to multiple testing,” Journal of the Royal Statistical Society. Series B (Methodological) , pp. 289–300, 1995.
- 3[3] D. Manolakis, R. Lockwood, T. Cooley, and J. Jacobson, “Is there a best hyperspectral detection algorithm?” in SPIE Defense, Security, and Sensing . International Society for Optics and Photonics, 2009, pp. 733 402–733 402.
- 4[4] I. S. Reed and X. Yu, “Adaptive multiple-band cfar detection of an optical pattern with unknown spectral distribution,” Acoustics, Speech and Signal Processing, IEEE Transactions on , vol. 38, no. 10, pp. 1760–1770, 1990.
- 5[5] D. G. Manolakis, G. A. Shaw, and N. Keshava, “Comparative analysis of hyperspectral adaptive matched filter detectors,” in Aero Sense 2000 . International Society for Optics and Photonics, 2000, pp. 2–17.
- 6[6] L. L. Scharf and L. T. Mc Whorter, “Adaptive matched subspace detectors and adaptive coherence estimators,” in Signals, Systems and Computers, 1996. Conference Record of the Thirtieth Asilomar Conference on . IEEE, 1996, pp. 1114–1117.
- 7[7] J. Solomon and B. Rock, “Imaging spectrometry for earth remote sensing,” Science , vol. 228, no. 4704, pp. 1147–1152, 1985.
- 8[8] Y. Chen, N. M. Nasrabadi, and T. D. Tran, “Sparse representation for target detection in hyperspectral imagery,” IEEE Journal of Selected Topics in Signal Processing , vol. 5, no. 3, pp. 629–640, 2011.
