A Two-Step Approach for Narrowband Source Localization in Reverberant Rooms
Abstract
This paper presents a two-step approach for narrowband source localization within reverberant rooms. The first step involves dereverberation by modeling the homogeneous component of the sound field by an equivalent decomposition of planewaves using Iteratively Reweighted Least Squares (IRLS), while the second step focuses on source localization by modeling the dereverberated component as a sparse representation of point-source distribution using Orthogonal Matching Pursuit (OMP). The proposed method enhances localization accuracy with fewer measurements, particularly in environments with strong reverberation. A numerical simulation in a conference room scenario, using a uniform microphone array affixed to the wall, demonstrates real-world feasibility. Notably, the proposed method and microphone placement effectively localize sound sources within the 2D-horizontal plane without requiring prior knowledge of boundary conditions and room geometry, making it versatile for application in different room types.
Index Terms— Source localization, reverberant environments, sparse representation, sound field decomposition, dereverberation
1 Introduction
Sound source localization plays a crucial role in various acoustic applications, such as speech enhancement [enhancement1, enhancement2], source separation [fahim, s-sh], and sound field translation [translation]. In environments with strong reverberation, the challenge of source localization experiences a considerable escalation. Several source localization methods have been applied to reverberant environments, such as beamforming [beamforming], MUSIC [music_l10n_2, music_l10n], SRP-PHAT [srp-phat], and CLEAN [clean]. These methods use statistical properties of signals to estimate source positions. However, their performance declines significantly when processing narrowband sources and correlated reflections.
Recently, some sparsity-based methods, such as LASSO [lasso], Orthogonal Matching Pursuit (OMP) [omp_l10n], and sparse bayesian learning [sbl], have been introduced to overcome the limitation of narrowband localization by assuming sparse distribution of sources in spatial domain. Nevertheless, these methods continue to struggle in strong reverberation due to the interference of room reflections. Overcoming this challenge often requires either prior knowledge of room geometry and boundary conditions [prior] or the use of sound field decomposition [decompose]. Sound field decomposition entails separating the sound field into a direct component and reverberant component and modeling room reflections as a sum of planewaves or spherical-harmonics [vekua2]. For source localization tasks, the latter approach models room reflections through a sum of planewaves and estimate the source positions based on the dereverberated sound field, such as wavefield separation projector processing (WSPP) [wspp] and sparsity-based spherical harmonics model (S-SH) [s-sh]. These approaches can handle a wide range of scenarios without requiring prior information. However, these methods demand a large number of microphones for modeling the reverberant component and are restricted by the geometry of the microphone array.
In this paper, we propose a similar two-step approach of dereverberation and sparsity based source localization that uses fewer microphones. We first dereverberate the sound field captured in a room by modeling the reverberant component as an equivalent planewave decomposition model [vekua2]. The second step models the dereverberated sound field as superposition of the sparse point-sources and determine the source positions based on the sparse equivalent source method [fernandez2017sparse]. We verify the proposed method through simulations in a conference room scenario, using a linear microphone array around the middle horizontal plane of the wall. The proposed placement effectively captures sound field information, while also not being constrained by room geometry. The results demonstrate that the two-step approach using separate algorithms improves source localization with fewer microphones, especially in rooms with strong reverberation.
2 Problem Formulation
Consider sound sources in a reverberant room, along with microphones uniformly placed affixed to the walls, as illustrated in Fig. 1. The positions of the sound sources and microphones are defined as for and for , respectively, with respect to the coordinate origin at the front-left-bottom corner of the room. Note, this configuration indicates that the sources are positioned inside the microphone array.
The sound pressure received by the microphone is:
(1) |
where is the wave number, is frequency, is the speed of sound, represents the pressure, denotes the room transfer function between the source and the microphone, and denotes the signal produced by the source. Note that this formulation does not include additive noise for brevity, which will be considered in the simulation.
Based on sound field decomposition [decompose] and Vekua’s theory [vekua2, vekua], any reverberant sound field can be partitioned into a sum of its particular and homogeneous solutions—equivalent to the direct and reverberant components, respectively. Within a bounded convex region, the reverberant sound field component can be well approximated using a finite number of planewave functions distributed over a spherical region. Consequently, the soundfield can be expressed as a linear combination of direct-path point-source Green’s function and planewave Green’s function. Equation (1) can thus be decomposed as follows:
(2) |
where represents the direct-path Green’s function between the source and the microphone in a free-field environment. represents the planewave Green’s function at microphone, with denoting the planewave’s incident direction for . The coefficient represents the weight of the planewave.
In order to find the source positions, the direct component is modeled using a dictionary of point-sources within the room based on the sparse equivalent source method [fernandez2017sparse]. This method assumes that sound sources exhibit quantity sparsity in spatial domain, indicating . Finally, equation (2) can be reformulated as follows:
(3) |
where denotes the free-field point-source Green’s function between the grid point and the microphone. Hence, equation (3) is represented in matrix form as:
(4) |
where denotes the measured pressure from microphones, and and represent the dictionary matrices for point-sources and planewaves, respectively. The weight coefficient vectors for point-sources and planewaves are denoted as and .
Equation (4) is the sound field decomposition model in reverberant environments. As becomes sufficiently large, most elements of can be approximated as nearly zero. Additionally, relying on the spatial sparsity assumption for sound source distribution, the vector tends to also have few non-zero elements, given that is significantly smaller than . Therefore, the weight coefficients for point sources and plane waves can be determined through sparse optimization, as shown below [s-sh]:
(5) |
where is a regularization term.
The objective in this study is to estimate and determine the corresponding source positions by solving (4), while assuming that the number of sources is known. In the following section, we propose to solve (4) in a two-step process.
3 Two-Step Sparse Localization Method
3.1 Dereverberation
The first step, we estimate the reverberant component and perform dereverberation. We start by rearranging (4) as:
(6) |
where , and . In this context, we assume , such that the number of measurements is fewer than the combined total modeled point-sources (grid points) and planewaves in the dictionary. Hence, the estimation of is an underdetermined problem.
We consider solving the linear regression problem (6) through Iteratively Reweighted Least Squares (IRLS) [irls], exploiting an -norm approach by adding weights to -norm optimization that iteratively refine the solution’s sparsity (where ):
(7) |
where are the weights computed from the previous iteration . Hence, this iterative optimization is a objective function. The next iteration is as follows:
(8) |
where is the diagonal matrix with . We obtain the reverberant component of the sound field from the estimated weight coefficients of planewaves , which is extracted from . Therefore, the dereverberation process can be represented as:
(9) |
where denotes the estimated direct component, which we use as the dereverberated sound field component in the subsequent source localization step.
3.2 Source Localization
For the second step, we re-estimate from the dereverberated component using OMP. Given the spatial sparsity assumption for sound source distribution, it follows that is assumed to have non-zero elements. Hence, we propose using OMP. OMP is a greedy algorithm, adapting an iterative process to select the most relevant sound source at each step [omp]. By forcing inactive weights to zero, OMP improves the accuracy of source localization estimation. Utilizing the result from (9), we express the direct sound field component as:
(10) |
where denotes the estimated point-source weight vector determined by OMP. In practice, source positions are found by selecting the weight coefficient with the highest correlation in each iteration. The OMP algorithm as follows:
Input: measurements , point-source dictionary , number of sources
Output: estimated weight coefficients , estimated source positions
4 SIMULATION RESULTS
In this section, we evaluate the proposed method in a simulated reverberant room. To emulate practical scenarios, we focus on a conference room environment with multiple participants conversing. We assume that all sound sources are positioned at approximately 1.6 m height from the ground sitting around the conference table. Therefore, we evaluate the performance of the proposed method for 2D-horizontal plane localization as this minimizes the required microphones for a practical implementation.
For comparison, we evaluate three other methods: non-dereverberation by OMP (ND-OMP), WSPP [wspp], and simultaneous dereverberation and localization by IRLS (D-IRLS). Specifically, ND-OMP estimates the source position directly using OMP without the dereverberation step. WSPP is a method based on planewave decomposition using OMP, eliminating the ambient interference by a linear projection operator. D-IRLS estimates both the direct and reverberant component simultaneously through IRLS, thereby determining by solving (6). Here, we select planewaves for WSPP and for D-IRLS.
We use the RIR generator toolbox [rirgenerator] to simulate a m reverberant room. We note that while here we model a rectangular shoebox room, our proposed localzation method does not rely on a known room geometry. We position sources within the height range of m. Then, we generate the source signals by convolving the image source RIRs with clean speech signals. We select two female and two male speech sources taken from the MS-SNSD dataset [ms-snsd]. The sampling frequency is 16 kHz. The measurements SNR are 30 dB. The STFT parameters are 16384 for the frame length with 50% overlap. The frequency bin we select is 1 kHz, as while the speed of sound is 340 m/s. Matching the room geometry, we use a uniform rectangular microphone array with microphones, spaced 0.2 m apart, affixed to the perimeter of the walls at a height of m. For the reverberant sound field, we select planewaves and point-sources (grid points) on the m plane, following the 2D localization in a conference room scenario. We assume that the reflection from ceilings and floor are inactive. This implies that we are simulating a 2D soundfield using [rirgenerator].
We first evaluate two specific cases, as shown in Fig. 2. We fix the four source positions as detailed in Fig. 2(a). We select two sets of wall reflection coefficients to compare the performance at different reverberation time (): [] and [] with the reflection order of image source model as 30, equivalent to 0.75 s and 1.5 s , respectively.
In Fig. 2, we present the estimated weight vector of point-sources compared to the true source weights for both a high and extreme reverberation room. Fig. 2(a) shows the ground truth. Starting with ND-OMP in (b), we see that this method can successfully localize the sources without dereverberation when is medium. However, the performance in (f) degrades when is high owing to interference from room reflections. Although D-IRLS in (c) and (g) provides a good ability to cancel interference from room reflections, this method is unstable to obtain a sparse solution when estimating . In figure (d) and (h), the WSPP method is typically effective with a grid-point microphone array [omp_l10n], but struggles in our setup due to its constrained microphone placements.
The proposed method as observed in (e) and (i) is seen to have the best performance. The two-step approach offers robust localization by combining the advantages of IRLS and OMP. IRLS excels at solving underdetermined systems, so it is not necessary to comply , where is the measurement area radius, for optimal dereverberation [vekua2]. This enhances dereverberation performance and prevents overfitting of the reverberant component, allowing flexibility in the number of planewaves to deal with different frequency bins. OMP then provides a strict sparse solution, enhancing source localization and enabling source loudness estimation.
In the second evaluation, we compare the average localization errors (LE) across 100 Monte Carlo test samples for different reverberation scenarios. We randomly placed the four sources inside the conference room at a height range m. The is varied from 0.5 to 1.5 s. We define the LE between the estimated and true source positions to evaluate the performance of the source localization methods as follows:
(11) |
The results of Fig. 3 show that the proposed method provides robust source position estimation. As increases, the method maintains stable LE values, while the performances of other methods degrade. However, we note that the average LE of the proposed method at s remains relatively high, primarily due to the magnitude differences among different sources. Specifically, if the magnitude of one source is much lower than of the other sources, localizing this particular source becomes challenging because it might be regarded as noise when using sparse recovery methods. The presented results illustrated the robust performance achieved in 2D horizontal-plane localization. However, it is worth to note that the proposed method can be extended to 3D scenarios with 3D point-source and planewave dictionaries, and a 3D microphone array.
5 CONCLUSION
In this paper, we have introduced an enhanced method for narrowband source localization in reverberant environments. Based on sparse representation and planewave dereverberation, the two-step approach improves the localization accuracy by estimating the direct and reverberant component separately. The simulation results show that the proposed method can effectively localize multiple sources with a reduced number of measurements, particularly in scenarios with high . Moreover, our method overcomes the overfitting problem in planewave decomposition, allowing for a more flexible and straightforward determination of planewave quantities. The scope of future work includes resolving the magnitude issue in sparse recovery algorithms and considering wideband scenarios to reduce microphones further.