1. Introduction
Non-stationary signals, produced by numerous phenomena that are the focus of various disciplines of engineering, demand particular techniques of representation and analysis due to their frequency content, which varies over time [
1].
Two-dimensional energy time-frequency distributions (TFDs) have been found to be particularly useful tools when dealing with challenging features, such as multiple components presenting variable instantaneous frequencies (IFs), or unwanted presence of noise.
In various engineering applications, what is often considered the useful information content of a signal consists of signal components represented in the time-frequency (TF) plane by continuous energy regions, peaks of which correspond to the IFs of the noise-free signal.
However, degradation of the signal quality, which may occur due to noise present during the signal acquisition or transmission, makes the extraction of the signal components from the background noise a challenging task.
A variety of scientific and engineering applications are focused on the extraction of the signal’s components from the noisy mixture [
2,
3,
4,
5,
6,
7,
8].
Approaches that make use of knowledge of specific signal patterns have been applied to particular signal categories, such as EEG, seismic signals, and speech [
9,
10,
11,
12,
13,
14,
15].
On the other hand, methods that are not limited to particular types of signals have been proposed, but these often put constraints on the signal structure (a constant or known number of components is required in the entire measurement time, or signals components are not allowed to intersect) [
16,
17,
18,
19].
Selection of the TFD regions that support the signal components have also been proposed by thresholding methods (usually as a percentage of the maximal TFD value) [
2,
4,
7]. However, if the choice of the threshold is not driven by trial-and-error procedures, it can produce significant errors in the extracted information.
New insights into the TFD structure have been provided by local TF entropy analysis. In [
20], a TFD amplitude segmentation is proposed to partition the TFD into classes, whose local Rényi entropies (LRE) are evaluated and compared in order to select only those classes that contain the signal components. Compared to methods that make use of 2-D entropy maps for signal denoising [
21], the LRE approach, which is a 1-D estimation, drastically reduces the computational cost.
In this paper, we propose a 1-D entropy-based method that, unlike the one in [
20], is adapted to perform in conditions of variable noise intensity. This is possible due to multiple partitioning of the signal TFD; the TFD is initially divided into time building blocks, and each block is then subject to amplitude segmentation. The method is not limited to certain types of signals and does not require any previous knowledge of the signal.
2. Materials and Methods
2.1. Background Theory
A non-stationary multi-component signal can be written in the form [
1]
with
L being the total number of signal components,
the amplitude of each of the individual components
, and
the instantaneous phase. The IF corresponds to the derivative of the instantaneous phase as
.
Such signals, however, may be distorted at the time of their collection from noisy environments, as well as during the transmission process.
An additive signal model that takes into account the presence of independent additive white Gaussian noise (AWGN),
, reads
On the other hand, more complex noise conditions may occur as in the case of non-stationary noise, which may be the result of noise intensity modulation. In this case, the noise is of the form
, with
being unit normal distribution variance and
non-constant positive. For any
, the random variable
is the unit normal distribution, hence the process is Gaussian, but, since the amplitude of the process
varies, the process is not stationary in either a strict or weak sense. Thus, even in an ostensibly Gaussian case, non-trivial effects may occur.
The simultaneous presence of multiple spectral components and noise privileges representations of such signals in the joint time-frequency domain.
The general class of quadratic time-frequency distributions (TFDs) is defined in terms of the noisy signal instantaneous autocorrelation function, and the time-lag kernel
, as [
1]
A discrete model of the noisy signal reads
where
The discrete quadratic class TFD is computed as the discrete Fourier transform (DFT) of the convolution of the time-lag kernel filter
and the instantaneous autocorrelation function as [
1]
for
i in an interval of integers.
In the attempt to select the TFD regions that are considered useful for further analysis, i.e., signal component, data amplitude can be considered as a discriminant. In fact, signal components, when represented in the TF domain, tend to be prominent energy ridges emerging from the noisy background. However, establishing a threshold value to discriminate useful data from noise appears far from practicable.
In this sense, machine learning methods can be considered useful tools for initial data segmentation.
Amplitude discrimination of data in the TFD can be achieved by application of the
K-means algorithm [
22]. If the TFD,
, is considered as an
-dimensional set of observations, the K-means algorithm partitions these
observations into
K sets
by minimizing the within-cluster sum of squares as:
where
is the mean of each set
.
Thus
K classes
, are obtained from the TFD as collection of coefficients
satisfying
with the set indicator function defined by
Yet, the segmentation procedure itself can not be considered a predictor of the origins of data contained in a particular class. Namely, classes containing mainly noise-originated data should be discarded from further analysis, while classes containing data signal components should be preserved.
The white noise assumption predicts noise power spectral density evenly spread over the signal bandwidth. In fact, a TFD of dimension
N computed over
M frequency bins, with
L components supported over 1-D trajectories, with
, imposes a sparse distribution on the TF plane [
23].
In light of the above, classes containing mainly noise coefficients are expected to present large frequency supports (intended as the subset of the frequency domain containing non-zero elements), in comparison to classes containing signal components.
As a result, the segmentation procedure, ruled by Exp. (
8), assigns densely distributed classes to components, due to their fast amplitude changes. Accordingly, data in the resulting classes will present fractional frequency supports in comparison to classes populated by noise-originated data.
2.2. A LRE-Based Criterion for Useful Class Selection
In [
20], the properties of the LRE, well-known measures of signal supports in the TF plane, have been exploited in order to identify structural differences between the noise classes and signal component classes.
The LRE is obtained by estimating the Rényi entropy over a short time slice of duration
of one class of a positive TFD, as:
with
n constrained to the interval
,
m going over all frequency bins, and
normalized to 1 across the computation domain.
The LRE measure, highly indicative of TFD supports, is then used as input to a selection procedure that provides classes containing signal components. This procedure produces highly reliable discrimination of classes containing noise from classes containing signal components.
The TFD of a two-component noisy signal and LRE estimates
for
K-means segmentation into five classes are reported in
Figure 1a,b.
The selection procedure reported in the steps below is based on a relative distance criterion of the LRE functions :
- 1.
The first class
, consisting of the smallest coefficients obtained from expression Exp. (
8), associated to the LRE function
, is discarded as noise.
- 2.
Starting from the second class, , all consecutive classes for which for at least one instant p holds are classified as noise, and thus discarded.
- 3.
Considering that in the previous steps a total of
r classes have been discarded, for the remaining classes,
we introduce a threshold
i as follows. We first introduce a closeness value
on the remaining classes by
We now define i as the least index of such that for and for .
- 4.
The remaining classes, with indexes , are added up to obtain the useful information content of the signal, i.e., the signal components.
The criterion for class selection requires, according to Exp. (
8), that the first class
is populated by coefficients with the smallest amplitudes. By this assumption, the first class is discarded. The algorithm then relies on a class’s structural affinity criterion: if a class,
, presents larger frequency supports than
, it will be also considered populated by noise coefficients. In other words, all the classes that for at least one instant
p satisfy
are also discarded.
The remaining classes, starting from the two consecutive classes whose LRE presents the smallest difference , are classified as useful classes, i.e., containing coefficients generated from signal components.
The useful classes summed up, representing the extracted signal components, are shown in
Figure 1c.
However, the method has been initially formulated for noisy signals in the form of Equation (
4), which implies constant noise intensity over the measurement time. This fact then puts into question the suitability of the method for a more generalized signal of the form
with non-constant noise intensity
.
In fact, in the case of noise with variable intensity, the region of the signal presenting the largest local signal-to-noise ratio (SNR) will be the one dictating the number of classes to be discarded. This will cause an unjustified loss of useful information in the regions of the TF plane where the components’ structure is better preserved.
The described scenario can be observed in
Figure 1: the two-component non-stationary signal is embedded in AWGN modulated by a Gaussian window of the form
,
. As can be observed, the intense noise level in the central part of the signal forces classes
, and
to be discarded, since in the central part of the signal noise content is significant. On the other hand, in the initial and final part of the measurement interval, the presence of noise is negligible, which is ignored by the selection criterion. This results in severe loss of signal components in the regions of the TF plane where the level of noise is low.
2.3. A Short-Term LRE Approach for Variable Noise Intensity Conditions
In order to address the problem of component extraction in the case of noise with variable intensity over time, we propose a local approach, which accounts for variable degradation of useful content over the temporal axis. To achieve a local insight into the TFD structure, we split the TFD into temporal segments,
representing the TFD as the sum of
blocks of duration
.
The amplitude segmentation based on the
K-means over
blocks will result in
K classes for each block:
Again, the within-cluster sum of squares minimization is applied to produce these
K classes for each building block, as
where
is the mean of each set
.
Thus we obtain
K classes
, derived form one TFD block
, as follows
For a non-negative TDF, the LRE is now well-defined and dependent both on
t, representing the block index, and
p, the temporal index
inside one block:
with
n constrained to the interval
,
m going over all frequency bins, and where
is normalized across the summation domain.
Since the local Rényi entropy of Equation (
18) is frequency-shift invariant, by shifting different energy regions inside one time slice
we can obtain a single energy region with compact frequency support
, centered around an arbitrary frequency
.
Taking a non-zero region inside a short time interval and frequency m, with frequency support , we approximate all non-zero elements in one class by . This approximation is justified since the K-means clustering is done across amplitudes.
The adopted approximation makes the amplitude homogenous of order in the expression for the Rényi entropy, so it cancels out.
The local Rény entropy of
now becomes
Thus, regardless of the choice of , the LRE describes a normalized weight of the TFD domain belonging to a certain amplitude class and point in time dependent on p and t.
The criterion for selecting classes containing useful information is now applied to each time block t ranging from 1 to . Thus, the algorithm can be summarized as follows:
- 1.
Initially t is set to one.
- 2.
The first class
, consisting of the smallest coefficients obtained from Exp. (
15) and associated with the LRE function
, is discarded as noise.
- 3.
Starting from the second class, , all consecutive classes for which for at least one instant p holds are discarded as noise.
- 4.
Assuming that in steps 2 and 3 a total of
classes has been discarded, for the remaining classes
,
we introduce a threshold
as follows. We first introduce a closeness value
on the remaining classes by
We now define as the least index of such that for and for .
- 5.
The classes with indices
are summed together to obtain the TFD building block with the useful information content of the signal at block
t,
- 6.
t is incremented by one and the procedure is repeated from step 2, until .
- 7.
The total useful information of the signal is obtained by summing the extracted information over all the building blocks as
The performance of the proposed method, applied over
TFD blocks with
, is reported in
Figure 2. The noisy TFD is partitioned in five blocks of duration
(
Figure 2a). The LRE is estimated for five classes of each of the TFD blocks (
Figure 2b), and the output of the algorithm according to the selection criterion applied to each of the TFD building blocks is shown in
Figure 2c.
Compared to the extracted components when the LRE is estimated over the entire time axis (
Figure 1c), the presented approach, which estimates the LRE over individual time blocks, clearly preserves useful information (as visible from the first and last time blocks) by adapting the number of removed coefficients over the measurement time.
3. Results
3.1. Real Data
As illustrative examples of real-life signals, acoustic waves propagated in air, namely a flute sound signal and a bird song signal, are considered (the omnidirectional microphone used for data collection has a sample/bit rate of 48 kHz/16-bit, frequency response of 20 Hz–20 kHz, and sensitivity −36 dB (1 V/Pa at 1 kHz)).
The flute signal has been collected by a bit depth of 16 bits per sample, with a sampling rate of 8 kHz degraded by transient television static.
The noisy TFD, together with results produced by the non-adaptive LRE-based algorithm [
20] and the proposed block-adaptive LRE algorithm is reported in
Figure 3a,c,e.
The bird song signal has been collected in an environment of howling wind and rustling leaves (psithurism), by a bit depth of 16 bits per sample, with a sampling rate of 12 kHz. The noisy TFD, the outputs of the non-adaptive LRE-based algorithm [
20] and the proposed block-adaptive LRE algorithm are reported in
Figure 3b,d,f.
For both reported real-life signals, the non-adaptive LRE approach results in a significant loss of useful information compared to the proposed block-adaptive LRE algorithm.
In fact, for both considered signals, the non-adaptive LRE estimation applies an excessively strict criterion on signal components, as shown in
Figure 3c,d.
The non-adaptive LRE criterion is determined by the worst noise conditions encountered over the entire measurement time. As a result, the non-adaptive LRE provides near-to-optimal denoising only for the most compromised parts of the signal TFD, with unnecessary useful information loss elsewhere. On the other hand, the block-partitioning treats sub-regions with less variable noise levels, which assures locally adequate
K-means segmentation and efficient noise removal, with a contained loss of useful information (
Figure 3e,f).
For real-life signals, an ideal, noise-free counterpart of the signal is not available, as well as a numerical assessment of the algorithms’ performance. However, the visual assessment suggests the method provides a more favorable trade-off between noise suppression and useful information loss when compared to the non-adaptive LRE approach.
This, however, needs to be corroborated by numerical evidence on synthetic data.
3.2. Simulation Results
The results provided by the proposed block-adaptive LRE algorithm are compared to those obtained by the non-adaptive LRE-based algorithm presented in [
20] and the well-performing
K-means ICI algorithm, which combines TFD
K-means segmentation with an intersection of confidence intervals (ICI) statistical criterion on classes supports to recover useful information [
8].
The performance quality is evaluated by means of the error-rate measure. The error rate is calculated by subtracting the denoised TFDs from the reference, noise-free TFD. The number of residual non-zero elements represents the error rate as a percentage of the -dimensional set of observations.
The results are presented for two multi-component test signals for different SNRs.
The first of the test signals, which will be referred to as Sig 1, consists of two linearly frequency modulated components, with the addition of non-stationary white Gaussian noise.
The second signal, which will be referred to as Sig 2, presents two components, with sinusoidal and parabolic frequency modulations, respectively. Sig 2, which is embedded in additive non-stationary uniform white noise, and presents intersecting components. The signals’ parameters are reported in
Table 1.
The spectrograms of the noise-free and noisy signals (computed with a
Hamming window with a duration of round (N/7) the information content extracted by the non-adaptive LRE algorithm, the
K-means/ICI method, and the block-adaptive LRE algorithm are shown in
Figure 4.
Table 2 reports the obtained results in terms of error rate (ER), and false negative (FN) estimates, representing the useful information damage. Results are based on 1000 independent noise realizations for the two test signals and four different SNRs. For the proposed algorithm, results are reported for three different values of
(building-block duration).
4. Discussion
As visible from
Figure 4 and corroborated by numerical results in
Table 2, the proposed adaptive method convincingly outperforms the non-adaptive LRE-based algorithm and the ICI method in terms of ER; even better results are obtained for both the test signals over the entire simulation set while maintaining stable performance with respect to the parameter
.
In terms of ER performance, improvement compared to the non-adaptive LRE-based algorithm spans from ( = N/5, 6 dB) to ( = N/9, 0 dB) in the case of Sig 1.
For Sig 2, the lowest error-rate improvement compared to the non-adaptive LRE-based algorithm is close to ( = N/9, 3 dB), while the largest reaches up to ( = N/5, 6 dB).
When compared to the ICI method, the proposed algorithm reduces the ER in the range of ( = N/9, −3 dB) to ( = N/9, 6 dB) in the case of Sig 1.
For Sig 2 the ER reduction varies from ( = N/9, 6 dB), to ( = N/9, 0 dB).
Considering the FN component of the ER brings detailed insight into the performance of the compared methods.
Compared to the proposed method, the non-adaptive LRE-based algorithm presents significantly larger ER and FN estimates, suggesting that it provides a too strict criterion in the case of variable noise conditions, causing unjustified loss of useful information.
In terms of FN estimates, the ICI method performs similarly to the proposed algorithm, while maintaining a substantially larger ER. This is to indicate that the criterion applied by the ICI method is too concessive for signals embedded in non-stationary noise.
Partitioning of the TFD allows the proposed block-adaptive algorithm to enhance the sensitivity of the K-means amplitude segmentation since inside one time block near-to-stationary noise conditions are achieved. As a result, time blocks present lower noise levels and better-preserved components are spared from the strict criterion that is applied to blocks severely degraded by noise presence. This results in a generally better recovery of signal components while maintaining accurate denoising over different time blocks.
The partitioning does not add a significant computational burden. The computation of local entropy is in effect done here across the whole TFD, so the total computational cost is , the same as the non-adaptive LRE approach. The block-based method presented here can be seen as iterative applications of non-adaptive LRE over smaller segments, so K-means is done multiple times but over smaller segments. The approximate K-means algorithm’s cost is controlled by an iteration count I and is linear in the size of the blocks. Thus, we apply K-means times on blocks with individual complexity , resulting in , asymptotically the same as for non-adaptive LRE.
The complexity of the 2-D entropy estimation [
21], on the other hand, is
, which is impeditive for application on real-life signals and extensive simulations.
Concerning parameter tuning, the selection of K, , and should be discussed.
The number of classes
K, analyzed in [
24], is recommended to be in the range
. If chosen from the reported interval, the influence of the number of classes on the segmentation results is marginal.
As for the size of the building block length
, the obvious relation
is imposed, where
, is a constant in Equation (
19) [
20]. The size of the building block length
determines the degree of the algorithm’s adaptability. Values that are too large would result in the algorithm’s poor adjustment to the signal’s local conditions. For values that are too small, the windows would cause a loss of the TFD’s structural features, which are the core of the denoising process. However, both these extremes can be intended as loose constraints, since results are stable for independent ranges
and
.
Thus, none of the parameters can be considered critical.
5. Conclusions
This paper presents a method for signal denoising in time-variable noise conditions. The denoising criterion is based on amplitude segmentation and LRE estimation over individual time building blocks of the signal spectrogram. By introducing the block-adaptive approach, the effects of noise non-stationarity are minimized.
In view of these considerations, and based on the reported results, the local estimation approach of the TFD’s structural features results in being beneficial for efficient denoising in the case of non-stationary noise.
Furthermore, in this work, we have considered only non-stationary signals with variable noise intensity over time. On the other hand, if signals were corrupted by colored noise with uneven frequency distribution, an extension of the methods’ adaptivity should be considered. Band-limited block LRE estimation, representing a multi-dimensional adaptive denoising method, will be the focus of our future work.