• Sonuç bulunamadı

MULTI-OBJECT TRACKING OF SINUSOIDAL COMPONENTS IN AUDIO WITH THE GAUSSIAN MIXTURE PROBABILITY HYPOTHESIS DENSITY FILTER Daniel Clark

N/A
N/A
Protected

Academic year: 2021

Share "MULTI-OBJECT TRACKING OF SINUSOIDAL COMPONENTS IN AUDIO WITH THE GAUSSIAN MIXTURE PROBABILITY HYPOTHESIS DENSITY FILTER Daniel Clark"

Copied!
4
0
0

Yükleniyor.... (view fulltext now)

Tam metin

(1)

2007 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics October 21-24, 2007, New Paltz, NY

MULTI-OBJECT TRACKING OF SINUSOIDAL COMPONENTS IN AUDIO WITH THE GAUSSIAN MIXTURE PROBABILITY HYPOTHESIS DENSITY FILTER

Daniel Clark

, Ali-Taylan Cemgil, Paul Peeling and Simon Godsill

Signal Processing and Communications Laboratory University of Cambridge

{dec30, atc27, php23, sjg30}@cam.ac.uk UK

ABSTRACT

We address the problem of identifying individual sinusoidal tracks from audio signals using multi-object stochastic filtering techniques.

Attractive properties for audio analysis include that it is concep- tually straightforward to distinguish between measurements that are generated by actual targets and those which are false alarms.

Moreover, we can estimate target states when observations are missing and can maintain the identity of these targets between time-frames. We illustrate a particularly useful variant, the Prob- ability Hypothesis Density (PHD) filter, on measurements of mu- sical harmonics determined by high resolution subspace methods which provide very accurate estimates of amplitudes, frequencies and damping coefficients of individual sinusoidal components. We demonstrate this approach in a musical audio signal processing application for extracting frequency tracks of harmonics of notes played on a piano.

1. INTRODUCTION

Sinusoidal modelling is a well established technique in coding and analysis of audio [1]. Typically, the sinusoidal components are detected frame by frame using Fourier techniques and consecu- tive frames are connected by heuristic tracking methods. In recent years, application of subspace based high resolution techniques have become popular in the audio community where highly ac- curate estimates of signal poles (damping factors and frequencies) and complex amplitudes can be obtained, at least in high SNR con- ditions [2, 3, 4]. However, since analysis is carried out frame by frame the sinusoidal tracks need to be estimated separately, which is crucial in many signal processing applications such as coding, time/pitch modification or feature extraction.

We attempt to address the problem of identification of the indi- vidual frequencies over their duration by using a technique devised by the object-tracking community called the Probability Hypoth- esis Density filter [5]. In the next section, we briefly describe the subspace method used to generate the data from the musical audio data. Section 3 presents the Probability Hypothesis Density filter and its closed-form solution [6]. The tracking model used in our implementation is presented in section 4, together with results of the sinusoidal tracking. A discussion of the proposed technique for this application of audio tracking is given in the conclusions.

This work was funded by the EU Framework 6, Network MUSCLE project and the EPSRC project ”Probabilistic Modelling of Musical Audio for Machine Listening”.

2. SINUSOIDAL ESTIMATION USING SUBSPACE TECHNIQUES

In this section we review the parameter extraction techniques based on subspace methods [7, 8, 2, 3, 4]. The objective is to find param- eters of a set of damped sinusoidals to represent a small frame of audio data. The damped sinusoidal model is given by

˜yn(α, d, ω, φ) = αe−dncos(ωn + φ) (1) whereα is the (real) amplitude, d is the log-damping coefficient, ω is the frequency andφ is the phase. An equivalent representation by complex poles and amplitudes can be derived by using the basic trigonometric identitycos(θ) = (e+ e−jθ)/2

˜yn = αe−dncos(ωn + φ) =α

2e−dn(ejωn+jφ+ e−jωn−jφ)

= α

2(e(−d+jω)ne+ e(−d−jω)ne−jφ)

= czn+ cz∗n≡ ˜yn(c, z)

here,∗ denotes complex conjugate and we use the fact that e(−d+jω)n= (e−d+jω)nand define

c ≡ α

2e complex amplitudes

z ≡ e−d+jω complex poles

Audio signals encountered in practice can be represented com- pactly by a sum ofW damped sinusoids where

yn= XW k=1

˜yn(ck, zk) = XW k=1

(ckznk+ ckzkn) (2)

This notation highlights the Vandermonde structure of the sys- tem which is useful for efficient calculations via fast transforms.

For example, note the equivalence to the inverse Fourier transform whenzk= e2πjkn/N.

Sinusoidal estimation is then equivalent to estimation of signal polesz1:Wand complex amplitudesc1:W. In principle, this can be achieved by a direct approach where we minimize directly a cost function of the form

X

n

˛˛˛˛

˛yn−X

k

(ckzkn+ ckzkn)˛˛

˛˛˛

2

There is some analytic structure in this model: when conditioned on the polesz (i.e. frequencies ω and log damping coefficients

(2)

2007 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics October 21-24, 2007, New Paltz, NY

d), the complex amplitudes c can be found easily by least squares.

However, finding the poles can be hard because the objective func- tion has many local minima. Consequently, a direct approach turns out to be computationally expensive and is applied only in low SNR conditions. Subspace methods rely on an alternative alge- braic formulation of the model and using fast singular value de- composition, one can estimate the signal poleszkand the complex amplitudes from an observed data vectory [7, 2, 4].

3. THE PROBABILITY HYPOTHESIS DENSITY (PHD) FILTER

The mathematical theory of filtering is concerned with estimat- ing the state of a stochastic process recursively based on (partial) noisy observations up to the current time. A natural application of filtering theory is the problem of target tracking, i.e. to track the state (eg. position, velocity, area etc.) based on detections ob- served from a sensor. If the state transition and observation func- tions are linear and the process and observation noises are Gaus- sians, then an optimal solution can be computed analytically in the form of a Kalman filter [9]. When the problem is extended to a multiple-target tracking scenario where the sensor observed mul- tiple noisy observations with false alarms and missed detections, the problem becomes much more complex. Most approaches to this problem involve associating measurements to individual fil- ters using data association techniques such as Nearest Neighbour (NN), Joint Probabilistic Data Association (JPDA), and Multiple Hypothesis Tracking (MHT) [10]. These techniques can be diffi- cult to implement and there is no notion of optimality.

The Probability Hypothesis Density (PHD) filter is a multiple- target filtering algorithm which recursively updates a distribution based on sets of measurements [5]. From this distribution, we can determine how many targets there are and the states of these tar- gets. This algorithm has the advantage that it can eliminate false alarms (measurements which do not arise from a real target) and can still estimate targets when there are no measurements arising from a target. The PHD filter is a recursion which propagates the first-order moment of a multi-target posterior distribution which is known in the tracking community as the PHD [5]. Sets of target estimates are determined by obtaining peaks of the PHD. Recent studies have show that this approach compares favourably to tra- ditional approaches such as JPDA and MHT [11, 12].

3.1. The PHD Recursion

The PHD recursion involves predicting an intensity function of a spatial point process through a Markov transition, and updating it with a set of noisy observations of targets. Letvkandvk|k−1 denote the respective intensities for the multi-target prediction and update recursion. The prediction equation is given by

vk|k−1(x) = Z

pS,k(ζ)fk|k−1(x|ζ)vk−1(ζ)dζ + γk(x), (3) wherefk|k−1(·|ζ) is the single target transition density at time k, pS,k(ζ) is the probability of target survival at time k, γk(·) is the intensity of spontaneous births at timek. The update equation is given by

vk(x) =[1 − pD,k(x)]vk|k−1(x) (4)

+ X

z∈Zk

pD,k(x)gk(z|x)vk|k−1(x) κk(z) +R

pD,k(ξ)gk(z|ξ)vk|k−1(ξ)dξ,

whereZkis the measurement set at timek, gk(·|x) is the single target measurement likelihood at timek, pD,k(x) is the probability of target detection at timek, and κk(·) is the intensity of clutter measurements at timek.

3.2. The Gaussian Mixture PHD filter

A closed-form solution to the PHD filter was derived by Vo and Ma [6] under linear assumptions on the system and observation equations and Gaussian process and observation noises, called the Gaussian Mixture PHD (GM-PHD) filter. The PHD is approxi- mated at each stage with a weighted mixture of Gaussians, where the means and covariances of the Gaussian components are calcu- lated according to the Kalman filter equations [9], and the weights are calculated according to the PHD filter equations [5]. The mul- tiple target states in the GM-PHD filter are estimated by taking the Gaussian components with highest weights. This leads naturally to an extension of the GM-PHD filter which allows the evolution of individual target states to be determined over time, which en- sures the continuity of the target tracks [12]. This has been used for tracking objects in forward-scan sonar images [13].

Each target follows a linear Gaussian dynamical and observa- tion model i.e.

fk|k−1(x|ζ) = N (x; Fk−1ζ, Qk−1), (5) gk(z|x) = N (z; Hkx, Rk), (6) whereN (·; m, P ) denotes a Gaussian density with mean m and covarianceP , Fk−1is the state transition matrix,Qk−1is the pro- cess noise covariance,Hkis the observation matrix, andRkis the observation noise covariance. The survival and detection probabil- ities are state independent, i.e.

pS,k(x) = pS,k, (7)

pD,k(x) = pD,k. (8)

The PHD for the birth of new targets is a Gaussian mixture of the form

γk(x) =

JXγ,k i=1

w(i)γ,kN (x; m(i)γ,k, Pγ,k(i)), (9)

whereJγ,k,wγ,k(i),mγ,k(i),Pγ,k(i),i= 1, . . . , Jγ,k, are given model parameters that determine the birth intensity.

GM-PHD Prediction

Suppose that the posterior intensity at timek− 1 is a Gaussian mixture of the form

vk−1(x) =

JXk−1 i=1

w(i)k−1N (x; m(i)k−1, Pk−1(i) ). (10) Substituting linear transition densityfk|k−1, posterior intensity vk−1and and birth intensityγkinto the PHD prediction, we have

vk|k−1(x) = = pS,k JXk−1

i=1

w(i)k−1N (x; m(i)k|k−1, Pk|k−1(i) ) + γk(x) (11) where the meansm(i)k|k−1and covariancesPk|k−1(i) of each compo- nent in the Gaussian mixture are given by the Kalman prediction

m(i)k|k−1= Fk−1m(i)k−1, (12) Pk|k−1(i) = Qk−1+ Fk−1Pk−1(i) Fk−1T . (13)

(3)

2007 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics October 21-24, 2007, New Paltz, NY

GM-PHD Update

Now suppose that the predicted intensity to timek is a Gaussian mixture of the form

vk|k−1(x) =

Jk|k−1X

i=1

w(i)k|k−1N (x; m(i)k|k−1, Pk|k−1(i) ). (14)

Substituting the prediction intensityvk|k−1and linear Gaussian observationgkinto the PHD update equation, we get

vk(x) = (15)

(1 − pD,k)vk|k−1(x) + X

z∈Zk Jk|k−1X

j=1

w(j)k (z)N (x; m(j)k|k(z), Pk|k(j))

where the means and covariances are calculated with the Kalman update equations and the weights of the components are given by

wk(j)(z) = pD,kw(j)k|k−1N (z; ˆzk|k−1(j) , S(j)k|k−1) κk(z) + pD,k

PJk|k−1

=1 w()k|k−1N (z; ˆzk|k−1() , S()k|k−1) (16) m(i)k|k(z) = m(i)k|k−1+ Kk(z − ˆzk|k−1), (17) Pk|k(i)= [I − KkHk]Pk|k−1(i) , (18)

ˆzk|k−1= Hkmk|k−1 (19)

Kk= Pk|k−1HkTSk|k−1−1 (20)

Sk|k−1= HkPk|k−1HkT+ Rk. (21) To alleviate the computational complexity of an increasing number of Gaussian components, methods for pruning and merg- ing are introduced [6, 14].

4. TRACKING RESULTS

In this section we describe the tracking model for the frequency and amplitude sinusoid tracking. Essentially we use 2-dimensional tracking in the joint frequency and amplitude domain and consider the sinusoids to be the targets we track. In the frequency domain, we use a constant position model and in the amplitude domain, we use the use the damping coefficient as a coefficient of the state in the prediction model. More specifically, we use linear Gaussian dynamics with the following state space model:

xk=

„ 1 0

0 dk

«

xk−1+ vk−1, (22)

and observation model:

zk= xk+ k. (23) vkandkare the uncorrelated process and measurement noises, respectively, anddkis the mean damping coefficient at timek. The state vectorxkis defined to be the frequency and amplitude of the sinusoidal component(ω α)T, and the observation vectorzkis defined as the noisy estimate of this determined with the subspace method.

A sequence of notes has been played on the piano and the fre- quency, amplitude and damping of the sinusoidal components have been determined with the subspace method. For each time-step,

0 50 100 150 200 250 300 350

0−500 1000500 20001500 2500 35003000

−0.5 4000 0 0.5

1 1.5

2 2.5

3x 10

4

Hz Time

Tracking Results

Amplitude

Figure 1: Tracking Results over time

the mean of the damping coefficients has been used to determine the prediction. Measurements of the sinusoidal components de- termined by the subspace method, consisting of the frequency and amplitude of the components, are used as input to the tracker as noisy data,zk. The tracker provides estimates of the states of the targets, i.e. the amplitude and frequency, at each iteration and de- scribes the trajectories of each individual target over time. The results of the tracking over the sequence are presented in figures 1 to 3. Figure 1 shows the 2-dimensional tracking of frequency and amplitude over time, and figures 2 and 3 show the tracking in the frequency and amplitude domains, respectively. Figure 4 shows the estimated number of sinusoids at each time-step from the PHD filter. We can clearly see from figure 4 that the estimated number of targets corresponds well to the onset and termination of the notes played. When a new note is played, the estimated num- ber of harmonics rapidly increases, showing that the harmonics are rapidly identified. Similarly, when the note terminates, there is a corresponding dip in the estimated number of harmonics.

The identfication of the correct harmonics can also be seen from figure 2, tracking in the frequency domain. Since the fre- quency of the harmonics are generally constant, we can identify the harmonic tracks as the horizontal lines. The distinct notes are clear and the onset and termination of harmonics are easy to iden- tify. Figure 4 shows the tracking in the amplitude domain which is more challenging than in the frequency domain due to the rapid de- cay of the amplitude. In the amplitude domain, there is sometimes difficulty in identifying the onset of the strongest harmonics due to the large variation in the first few amplitudes. However, the tracker is able to identify most of the harmonics reasonably quickly and maintain them throughout the course of each note.

5. CONCLUSIONS

The Gaussian mixture Probability Hypothesis Density filter has been applied to the problem of multiple-target tracking of sinu- soidal components from harmonics of notes played on a piano.

The filter uses a 2-dimensional model for tracking the frequency and amplitude of these components. The state space model as-

(4)

2007 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics October 21-24, 2007, New Paltz, NY

0 50 100 150 200 250 300 350

0 500 1000 1500 2000 2500 3000 3500

4000 Tracking Results

Time

Frequency (Hz)

Figure 2: Estimated tracks in frequency domain

0 50 100 150 200 250 300 350

0 0.5

1 1.5

2 2.5

3 x 10

4 Tracking Results

Time

Amplitude

Figure 3: Estimated tracks in amplitude domain

0 2 4 6 8 10 12 14

0 50 100 150 200 250 300 350

Estimated Number of Harmonics

Time Step Number of Harmonics Estimated

Figure 4: PHD filter estimated number of targets

sumes a constant position model for the frequency domain and uses the mean damping coefficient at each time-step to predict the amplitude of the sinusoids. The results show that the Gaussian mixture PHD filter can effectively identify the onset and termi- nation of individual harmonics produced from notes played on a piano and maintain their identities. We have also shown that the PHD filter can be used to estimate the number of harmonics and that this information is particularly useful to identify the times when notes begin and end. These estimates may then be incor- porated in subsequent processing algorithms, such as sinusoidal coders or for music transcription.

6. REFERENCES

[1] R. J. McAulay and T. F. Quatieri, “Speech analysis/synthesis based on a sinusoidal representation,” IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 34, no. 4, pp.

744–754, 1986.

[2] M. Viberg, “Subspace-based methods for the identification of linear time-invariant systems,” Automatica, vol. 31, no. 12, pp. 1835–1851, 1995.

[3] R. Badeau, R. Boyer, and B. David, “EDS parametric mod- elling and tracking of audio signals,” in DAFx-02, Hamburg, Germany, September 2002.

[4] B. David, G. Richard, and R. Badeau, “An EDS modelling tool for tracking and modifying musical signals,” in Proc.

of Stockholm Music Acoustics Conference, SMAC-03, Stock- holm, Sweden, August 2003.

[5] R. Mahler, “Multitarget Bayes filtering via first-order multi- target moments,” IEEE Transactions on Aerospace and Elec- tronic Systems, vol. 39, No.4, pp. 1152–1178, 2003.

[6] B. Vo and W. K. Ma, “The Gaussian Mixture Probability Hy- pothesis Density Filter,” IEEE Transactions on Signal Pro- cessing, 2006.

[7] K. Rao, B.D. Arun, “Model based processing of signals:

a state space approach,” Proceedings of the IEEE, vol. 80, no. 2, pp. 283–309, Feb 1992.

[8] T. K. Sarkar and O. Pereira, “Using the matrix pencil method to estimate the parameters of a sum of complex exponen- tials,” IEEE Antennas and Propagation Magazine, vol. 37, no. 1, February 1995.

[9] R. E. Kalman, “A new approach to linear filtering and predic- tion problems,” Transactions of the ASME–Journal of Basic Engineering, vol. 82, no. Series D, pp. 35–45, 1960.

[10] Y. Bar-Shalom and T. Fortmann, Tracking and Data Associ- ation. Academic Press, 1988.

[11] B. T. Vo, B. Vo, and A. Cantoni, “Analytic Implementations of the Cardinalized Probability Hypothesis Density Filter,”

IEEE Transactions on Signal Processing, in press, 2007.

[12] D. Clark, K. Panta, and B. Vo, “The GM-PHD Filter Multiple Target Tracker,” Proc. International Conference on Informa- tion Fusion. Florence., July 2006.

[13] D. Clark, B. Vo, and J. Bell, “GM-PHD Filter Multi-target Tracking in Sonar Images,” Proc. SPIE Defense and Security Symposium. Orlando, Florida [6235-29], 2006.

[14] D. Clark and B. Vo., “Convergence Analysis of the Gaussian Mixture PHD Filter.” IEEE Transactions on Signal Process- ing, Vol 55 No 4 pp.1204–1212, 2007.

Referanslar

Benzer Belgeler

The main aim of this study is to examine predictive validity of a laboratory high school admission examination using several exit variables such as international and national

Two significant clusters above the mean included instructors who received higher ratings, whereas instructors of courses in the cluster had a lower mean given lower scores.. The

Kebrako, mimoza ve pineks ekstraktlarının %12’lik konsantrasyon oranı ile emprenye edilen kayın odun örnekleri ile emprenyesiz kontrol örnekleri

TÜİK veri setlerinde göre 2017 yılında Türkiye’de aktif nüfusun %47,1’i istihdam içerisinde yer almakta ve istihdamdakilerin %34’ü herhangi bir Sosyal

Araştırmaya katılan katılımcıların ilişki tarzı uyumu puanı ortalamalarının evlilik uyum ve çocukluk çağı travma ölçeği ve ölçeklerin alt boyut puanlarının çocuk

Precise positions of the beam pipe and the inner tracking system elements, such as the pixel detector support tube, and barrel pixel detector inner shield and support rails,

Nadir Nadi, yasal koşullar elvermediği için görüşlerini gazetede a- çıklayamamanın, kamuoyu önünde H.. Yücel i destekleyememe- nin sıkıntısını dile

Kronik ruhsal hastalığı olan bireylere bakımverenlerin yükünü belirlemeye yönelik ülkemizde yapılan çalışmaların sistematik incelenmesi sonucunda, incelenen araştırmaların