Development of a N-type GM-PHD Filter for Multiple Target, Multiple Type Visual Tracking
Nathanael L. Baisa, Andrew Wallace

TL;DR
This paper introduces an N-type GM-PHD filter based on Random Finite Set theory for multi-target, multi-type visual tracking, addressing detection confusions and clutter, and demonstrates improved performance on real videos.
Contribution
It extends the Gaussian mixture GM-PHD filter to handle multiple target types and detection confusions, a novel advancement in multi-target tracking.
Findings
Improved tracking accuracy over raw detection methods.
Effective handling of detection confusions among target types.
Enhanced performance demonstrated on real video sequences.
Abstract
We propose a new framework that extends the standard Probability Hypothesis Density (PHD) filter for multiple targets having different types based on Random Finite Set theory, taking into account not only background clutter, but also confusions among detections of different target types, which are in general different in character from background clutter. Under Gaussianity and linearity assumptions, our framework extends the existing Gaussian mixture (GM) implementation of the standard PHD filter to create a N-type GM-PHD filter. The methodology is applied to real video sequences by integrating object detectors' information into this filter for two scenarios. For both cases, Munkres's variant of the Hungarian assignment algorithm is used to associate tracked target identities between frames. This approach is evaluated and compared to both raw detection and independent GM-PHD…
| Method | cardinality error | OSPA error | time taken | discrimination rate |
|---|---|---|---|---|
| Detections | 10.22 | 37.61 pixels | 0.59 seconds/frame | 0% |
| 3 GM-PHDs | 5.76 | 30.86 pixels | 0.80 seconds/frame | 0% |
| Tri-GM-PHD | 0.11 | 10.59 pixels | 3.00 seconds/frame | 99.20% |
| Method | cardinality error | OSPA error | time taken | discrimination rate |
|---|---|---|---|---|
| Detections | 9.86 | 49.81 pixels | 1.25 sec/frame | 0% |
| 2 GM-PHDs | 3.82 | 35.29 pixels | 1.61 sec/frame | 0% |
| Dual GM-PHD | 0.32 | 20.74 pixels | 4.03 sec/frame | 98.19% |
| Tracker | Tracking Mode | MOTA | MOTP | MT (%) | ML (%) | FP | FN | IDSw | Frag | Hz |
|---|---|---|---|---|---|---|---|---|---|---|
| CEM [4] | offline | 33.2 | 75.8 | 7.8 | 54.4 | 6,837 | 114,322 | 642 | 731 | 0.3 |
| DP-NMS [5] | offline | 26.2 | 76.3 | 4.1 | 67.5 | 3,689 | 130,557 | 365 | 638 | 212.6 |
| SMOT [40] | offline | 29.7 | 75.2 | 5.3 | 47.7 | 17,426 | 107,552 | 3,108 | 4,483 | 0.2 |
| JPDF-m [41] | offline | 26.2 | 76.3 | 4.1 | 67.5 | 3,689 | 130,549 | 365 | 638 | 22.2 |
| GM-PHD-HDA [2] | online | 30.5 | 75.4 | 4.6 | 59.7 | 5,169 | 120,970 | 539 | 731 | 13.6 |
| GM-PHD-N1T (ours) | online | 33.3 | 76.8 | 5.5 | 56.0 | 1,750 | 116,452 | 3,499 | 3,594 | 9.9 |
| GM-PHD-N1F (ours) | online | 33.8 | 76.8 | 5.6 | 55.0 | 1,748 | 116,451 | 2,981 | 2,983 | 8.9 |
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.
Development of a N-type GM-PHD Filter for Multiple Target, Multiple Type Visual Tracking
Nathanael L. Baisa , and Andrew Wallace, N. L. Baisa and A. Wallace are with the Department of Electrical, Electronic and Computer Engineering, Heriot Watt University, Edinburgh EH14 4AS, United Kingdom. E-mail: {nb30, a.m.wallace}@hw.ac.uk.
Abstract
We propose a new framework that extends the standard Probability Hypothesis Density (PHD) filter for multiple targets having different types based on Random Finite Set theory, taking into account not only background clutter, but also confusions among detections of different target types, which are in general different in character from background clutter. Under Gaussianity and linearity assumptions, our framework extends the existing Gaussian mixture (GM) implementation of the standard PHD filter to create a N-type GM-PHD filter. The methodology is applied to real video sequences by integrating object detectors’ information into this filter for two scenarios. For both cases, Munkres’s variant of the Hungarian assignment algorithm is used to associate tracked target identities between frames. This approach is evaluated and compared to both raw detection and independent GM-PHD filters using the Optimal Sub-pattern Assignment metric and discrimination rate. This shows the improved performance of our strategy on real video sequences.
Index Terms:
Visual tracking, Random finite sets, FISST, Multiple target filtering, PHD filter, N-type GM-PHD filter, Gaussian mixture, OSPA metric
I Introduction
Multi-target tracking, one type or multi-type, is an active research field in computer vision with a wide variety of applications such as intelligent surveillance, human-computer (robot) interaction, augmented reality, visual servoing, robot navigation and autonomous driving. It essentially associates the detections corresponding to the same object over time i.e. it assigns consistent labels to the tracked targets in each video frame to generate a trajectory for each target. It also estimates the number of targets (cardinality) in the scene. These can be performed using online [1][2] or offline [3][4][5] approaches. Online methods estimate the target state at each time instant and depend on predictive models in the case of missed detections to carry on tracking. In contrast, offline (batch) methods use both past and future observations to overcome missed detections. Although offline trackers can generally outperform the online trackers, they are limited for real-time applications.
Using a target detection process applied to the source data, a multi-target tracker receives a random number of measurements caused by such detection uncertainty. Thus, the multi-target tracker has to deal with measurement origin uncertainty, false alarms, missed detections, and the births and deaths of targets in addition to process and measurement noises. Comprehensive surveys of multi-target tracking methods can be found in [6] and [7]. In particular, three data association algorithms, Global Nearest Neighbor (GNN) [8], Joint Probabilistic Data Association Filter (JPDAF) [9], and Multiple Hypothesis Tracking (MHT) [10] have been widely used for more than three decades. All of these methods have significant complexity, although the performance and computational cost of the MHT is much higher than that of the GNN or JPDAF. In part due to the complexity of these approaches, random finite set (RFS) multi-target tracking algorithms [11] have received a great deal of attention. This paradigm includes all sources of uncertainty in a unified framework. The probability hypothesis density (PHD) filter [12] is the most widely adopted RFS-based filter for visual tracking of targets.
In many computer vision applications, for example for situational awareness, driver assistance and vehicle autonomy, there is also a necessity to distinguish between different target types, e.g. between vehicles and more vulnerable road users such as pedestrians and bicycles to select the best sensor focus and course of action [13]. In sports analysis we often want to track and discriminate sub-groups of the same target type such as players in opposing teams [14]. In this and many other examples, confusion between target types is common; a standard histogram-based detection strategy [15] in an urban environment may provide confused detections between pedestrians and cyclists, and even small cars.
In this work, we mainly focus on extending the standard PHD filter based on RFS theory for multiple targets having different types (classes), taking into account not only background clutter, but also confusions among detections of different target types at the measurement stage. We also extend the existing Gaussian mixture (GM) implementation of the standard PHD filter to create a N-type GM-PHD filter using assumptions of Gaussianity and linearity. Furthermore, we apply the methodology to real video sequences by integrating the object detectors’ information into this filter for two application areas. In each case, we employ Munkres’s variant of the Hungarian assignment algorithm to associate tracked target identities between frames.
The main contributions of this paper are as follows.
- •
We model RFS filtering of different types of multiple targets with separate but confused detections where .
- •
The Gaussian mixture implementation of the standard PHD filter [16] is extended for the proposed N-type PHD filter.
- •
We train and apply object detectors to video sequences of a soccer game, using players from each team and the referee as three distinct target types, and urban scenes, using pedestrians and vehicles as two distinct target types. Compared to ground truth we extract the detection, confusion and background clutter probabilities and integrate these into the N-type GM-PHD filter.
- •
We apply Munkres’s variant of the Hungarian assignment algorithm to the typed results from the N-type GM-PHD filter to determine individual targets of each type between consecutive frames.
- •
We compare our approach to both repeated detection and the standard independent GM-PHD filters to show that our approach yields improved performance in both target identification and location.
We have presented preliminary ideas in [17] (simulation under varying probabilities of confusion) and [18] (on video application). In this paper we further develop the theoretical approach, extending from a tri-PHD filter to a N-type PHD filter. We conduct experiments on tracking vehicles and pedestrians, as two different target types, and on tracking two football teams and a referee, as three different target types within video sequences. We also evaluate our results using the Multi-object Tracking (MOT) benchmark.
The remainder of this paper is organized as follows. In section II, we discuss related work. Multiple type, multiple target recursive Bayes filtering with RFS is described in section III. A probability generating functional for deriving the N-type PHD filter and the N-type PHD filtering strategy are given in sections IV and V respectively. In section VI, a Gaussian mixture implementation of the N-type PHD filter is described in detail. The experimental results are analyzed and compared in section VII. The main conclusions and suggestions for future work are summarized in section VIII.
II Related work
Traditionally, multi-target trackers including GNN [8], JPDAF [9], and MHT [10], are based on the concept of finding associations between targets and measurements. However, these approaches have faced challenges not only in the uncertainty caused by data association but also in algorithmic complexity that increases exponentially with the number of targets and measurements. For instance, the total number of possible hypotheses in MHT increases exponentially with time and heuristic pruning/merging of hypotheses is performed to reduce computational cost.
To address the problems of increasing complexity, a unified framework that directly extends single to multiple target tracking by representing multi-target states and observations as RFS was developed by Mahler [12]. This estimates the states and cardinality of an unknown and time varying number of targets in the scene, and allows for target birth, death, handles clutter (false alarms) and missing detections. Mahler propagated the first-order moment of the multi-target posterior, called the Probability Hypothesis Density (PHD), rather than the full multi-target posterior.
There are two popular implementation schemes for the PHD filter, the Gaussian mixture (GM-PHD) [16] and the Sequential Monte Carlo (SMC) or particle-PHD filter [19]. The GM-PHD filter is preferred for linear (and by extension mildly non-linear) dynamic and observation models and assumes a Gaussian stochastic process [16]. However, for highly non-linear dynamic and observation models and non-Gaussian stochastic process, the SMC-PHD filter is the better implementation scheme [19]. For example, the GM-PHD filter is used in [20] for tracking pedestrians in video sequences but there is only one type of target and the motion model is fixed, and in [21][22] for selective tracking in sparse and dense environments. As an extension, a GM-PHD Filter was also developed in [23] for maneuvering targets but this employed a Jump Markov System (JMS) that switched between several motion models. In contrast, a particle-PHD filter was applied in [24] to allow for more complex motion models, and to cope with variation of scale, which has significant effects not just on object motion but also on the detection process. It was also used in [1], treating high-confidence (strong) and low-confidence (weak) detections separately for better performance.
Considering extensions to different target types, Yan et al. [25] developed detection, tracking and classification (JDTC) of multiple targets in clutter by jointly estimating the number of targets, their kinematic states, and types of targets (classes) from a sequence of noisy and cluttered observation sets using a SMC-PHD filter. The dynamics of each target type (class) was modeled as a class-dependent model set and the signal amplitude was included in the multi-target likelihood to enhance the discrimination between targets from different classes and false alarms. Similarly, a joint target tracking and classification (JTC) algorithm was developed in [26] using RFS which takes into account extraneous target-originated measurements (of the same type), i.e. multiple measurements that originated from a target which can be modeled as a Poisson RFS using linear and Gaussian assumptions. In these approaches, the augmented state vector of a target comprises the target kinematic state and class label, i.e. the target type (class) is put into the target state vector. Simultaneous multi-object tracking and classification was proposed by [27] using a graphical probabilistic model and an inference procedure, then solving using a variational approximation, but this approach suffers from class switching. Although multiple target types were considered, no account was taken of the effect of confusion between target types at the detection stage, as is the case in our work.
III Multiple Target, Multiple Type Recursive Bayes Filtering with RFS
A RFS represents a varying number of non-ordered target states and observations, analogous to a random vector for single target tracking. More precisely, a RFS is a finite-set-valued random variable i.e. a random variable which is random in both the number of elements and the values of the elements themselves. Finite Set Statistics (FISST), the study of the statistical properties of RFS, is a systematic treatment of multi-sensor multi-target filtering as a unified Bayesian framework using random set theory [12].
When different detectors run on the same scene to detect different target types there is no guarantee that these detectors only detect their own type. It is possible to run an independent PHD filter for each target type, but this will not be correct in most cases, as the likelihood of a positive response to a target of the wrong type will in general be different from, usually higher than, the likelihood of a positive response within the scene background (false alarm). In this paper, we account for this difference between background clutter and target type confusion. This is equivalent to a single sensor (e.g. a smart camera) that has different detection modes, each with its own probability of detection and a measurement density for different target types.
To derive the N-type PHD filter, we define a RFS representation that extends from a single type, single-target Bayes framework to a multiple type, multiple target Bayes framework. Let the multi-target state space and the multi-target observation space be the respective collections of all the finite subsets of the state space and observation space , respectively. If is the number of targets of target type in the scene at time , then the multiple states for target type , , is the set
[TABLE]
where . Similarly, if is the number of received observations from detector , then the corresponding multiple target measurements is the set
[TABLE]
where . As stated above, some of these observations may be false, i.e. due to clutter (background) or confusion (response due to another target type).
The uncertainty in the state and measurement is introduced by modeling the multi-target state and the multi-target measurement using RFS. Let be the RFS associated with the multi-target state of target type , then
[TABLE]
where denotes the RFS of surviving targets of target type , and is the RFS of new-born targets of target type . We do not consider spawned targets as these have no meaning in our context, discussed below.
Further, the RFS associated with the multi-target measurements of target type from detector is
[TABLE]
where and is the RFS modeling the measurements generated by the targets , and models the RFS associated with the clutter (false alarms) for target type which comes from the scene background. However, we also include which is the RFS associated with measurements of all target types , that is confusions while filtering target type .
Analogous to the single-target case, the dynamics of are described by the multi-target transition density , while is described by the multi-target likelihood for target type from detector . The recursive equations are
[TABLE]
[TABLE]
where is an appropriate dominating measure on [12]. Though a Monte Carlo approximation of this optimal multi-target types Bayes recursion is possible according to multi-target for single type [19], the number of particles required is exponentially related to the number of targets and their types in the scene. To make it computationally tractable, we extend Mahler’s method of propagating the first-order moment (PHD) of the multi-target posterior instead of the full multi-target posterior for types of multiple targets. We derive the updated PHDs from Probability Generating Functionals (PGFLs) starting from the standard predicted PHDs of each target type, denoting this as the N-type PHD filter.
IV Probability Generating Functional (PGFL)
A probability generating functional is a convenient representation for stochastic modelling with a point process [12], a type of random process for which any one realisation consists of a set of isolated points either in time or space. Now, we model joint (probability generating) functionals which take into account the clutter due to the other target types (confusion) in addition to the background clutter for deriving the updated PHDs. Starting from the standard proved predicted PHDs [12], we derive novel extensions for the updated PHDs of a N-type PHD filter from PGFLs of each target type, handling confusions among target types.
The joint functional for target type treating all other target types as clutter is given by
[TABLE]
where denotes target type, is related to the target measurement process and is related to the target state process.
[TABLE]
where is the Poisson PGFL [12] for false alarms where is the average number of false alarms for target type and the functional where is the uniform density over the surveillance region;
[TABLE]
where is the prior PGFL and is the average number of targets, each of which is distributed according to for target type ; and
[TABLE]
where is the Bernoulli detection process for each target of target type using detector with probability of detection for target type by detector , , and is a likelihood defining the probability that is generated by the target type conditioned on state from detector [12]. We expand and as
[TABLE]
and
[TABLE]
Accordingly, is expanded as
[TABLE]
The updated PGFL for target type is obtained by finding the functional derivative of [12] and is given by
[TABLE]
The updated PHD for target type treating all other target types as clutter can be obtained by taking the first-order moment (mean) [12] of Eq. (14) and setting ,
[TABLE]
This, in Eq. (15), is the updated PHD for target type treating all other target types as clutter in the case of the N-type PHD filter. The term in Eq. (15) is the predicted PHD for target type .
V N-type PHD Filtering Strategy
The PHDs, , ,…, , are the first-order moments of RFSs, , ,…, , and are intensity functions on a single state space whose peaks identify the likely positions of the targets. For any region
[TABLE]
where is used to denote the cardinality of a set. In practice, Eq. (16) means that by integrating the PHDs on any region of the state space, it is possible to obtain the expected number of targets (cardinality) in .
At any time step, , new targets may appear (births) and are added to those targets that persist and have moved position from the previous time step. Consequently, the PHD prediction for target type at time is
[TABLE]
where is the intensity function of a new target birth RFS , is the probability that a target still exists at time , is the single target state transition density at time given the previous state for target type .
Thus, following Eq. (15), the final updated PHD for target type is obtained by setting
[TABLE]
The clutter intensity due to all types of targets except target type in Eq. (18) is given by
[TABLE]
This means that when filtering target type , all the other target types are included as confusing detections. Eq. (19) converts state space to observation space by integrating the PHD estimator and likelihood which defines the probability that is generated by detector conditioned on state of the target type taking into account the confusion probability , when target type is detected by detector .
The clutter intensity due to the background for target type , , in Eq. (18) is given by
[TABLE]
where is the uniform density over the surveillance region , and is the average number of clutter returns per unit volume for target type i.e. . While the standard PHD filter has linear complexity with the current number of measurements () and with the current number of targets () i.e. computational order of , the N-type PHD filter has linear complexity with the current number of measurements (), with the current number of targets () and with the total number of target types () i.e. computational order of .
In general, the clutter intensities due to the background for each target type , , can be different as they depend on the receiver operating characteristic (ROC) curves of the detection processes. Moreover, the probabilities of detection and may all be different although assumed constant across both the time and space continua.
VI N-type PHD Filter Implementation based on a Gaussian Mixture
The Gaussian mixture implementation of the standard PHD (GM-PHD) filter [16] is a closed-form solution of the PHD filter that assumes a linear Gaussian system. In this section, this is extended for the N-type PHD filter by solving Eq. (19). Assuming each target follows a linear Gaussian model,
[TABLE]
[TABLE]
where denotes a Gaussian density with mean and covariance ; and are the state transition and measurement matrices, respectively. and are the covariance matrices of the process and the measurement noises, respectively, where and . A measurement driven birth intensity, similar in principle to [28], is introduced at each time step, with a non-informative zero initial target velocity. This choice is preferred to the options of covering the whole state space (random) [29] or a-priori birth [16] and is discussed further in Section VII. The intensity of the spontaneous birth RFS is for target type
[TABLE]
where is the number of birth Gaussian components for target type where , is the current measurement and zero initial velocity used as mean and is the birth covariance for Gaussian component of target type .
It is assumed that the posterior intensity for target type at time is a Gaussian mixture of the form
[TABLE]
where and is the number of Gaussian components of . Under these assumptions, the predicted intensity at time for target type is given following Eq. (17) by
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
where is the survival rate for target type and is given by Eq. (23).
Since and are Gaussian mixtures, can be expressed as a Gaussian mixture of the form
[TABLE]
where is the weight accompanying the predicted Gaussian component for target type and is the number of predicted Gaussian components for target type where .
Assuming the probabilities of detection to be constant, the posterior intensity for target type at time (updated PHD), considering incorrect detection of target types as confusion, is also a Gaussian mixture which corresponds to Eq. (18) and is given by
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
is given in Eq. (20). Therefore, all that is left is to formulate the implementation scheme for which is given in Eq. (19) and is given again as
[TABLE]
where is given in Eq. (26), is given in Eq. (22) and is assumed constant. Since is independent of the integrable variable , Eq. (28) becomes
[TABLE]
This can be simplified further using the following equality given that and are positive definite
[TABLE]
Therefore, (29) becomes,
[TABLE]
where .
The key steps of the N-type GM-PHD filter are summarised in Algorithms 1 and 2. These are expressed in terms of frames and ; for the first frame, , of a sequence there is only detection and target birth, but no prediction and update for existing targets. For subsequent frames, we have chosen measurement driven target birth, rather than a random or a-priori birth model, inspired by but not identical to [28]. Maggio et al. [24] also assume that targets are born in a limited volume around measurements. The advantage of random birth is in the potential detection of weak target signatures, but in these examples the presence of a human should, in general, generate a strong probability of detection provided the target is in view. This is borne out by experiments and parameter setting in Section VII. A further disadvantage of random birth is the increased complexity of processing a large number of incorrect targets. For targets moving in video sequences there is no spawn process, but occlusions do result anywhere in the field of view, and may be caused either by other targets or other obstacles. Re-emerging targets are detected and constitute births, are not spawned because they may be occluded by obstacles other than targets, and have no a-priori location.
The prediction and update, steps 2 to 4, follow the standard procedures for the GM-PHD filter [16] but are extended to take into account the detection processes and the subsequent confusion between detections. In the proposed algorithm, birth and prediction both precede the construction and update of the PHD components, so the total number at the conclusion of step 4 is the sum of the persistent and birthed components. The number of Gaussian components in the posterior intensities may increase without bound as time progresses, particularly as a birth at this stage may be due to an existing target that has moved from the previous frame and then is re-detected in the current frame. Therefore, it is necessary to prune weak and duplicated components in Algorithm 2. First, weak components with weight are pruned. Further, Gaussian components with Mahalanobis distance less than pixels from each other are merged. These pruned and merged Gaussian components, output of Algorithm 2, are predicted as existing targets in the next iteration. Finally, Gaussian components of the posterior intensity, output of Algorithm 1, with means corresponding to weights greater than 0.5 as a threshold are selected as multi-target state estimates.
VII Experimental Results
We apply the N-type GM-PHD filter to video sequences by integrating the object detectors’ information such as the probabilities of detections for each target type and the confusion detection probabilities among target types at a specific background clutter rate. Accordingly, we consider different scenarios as follows.
VII-A Multiple Target, Multiple Type Tracking using a Tri-GM-PHD Filter
In this part, we consider tracking of football teams and a referee in the same scene handling their confusions using a tri-GM-PHD filter (). As the three types of target are all sub-categories of a human type, the targets has the same aspect ratio in this example, and indeed color is the primary discriminator in the detection process.
VII-A1 Object Detection, Training and Evaluation
The RFS methodology post-processes a set of detections with parameters defining the probabilities of detection and clutter (false alarms) which arise from trials using the detector. For the tri-PHD filter, we also need parameters for confusion. We employ the existing, state-of-the-art, Aggregated Channel Features (ACF) pedestrian detector [15] adapted to our data set due to its computational efficiency and ease of use. This uses three different kinds of features in 10 channels: normalized gradient magnitude (1 channel), histograms of oriented gradients (6 channels), and LUV color (3 channels). It is applied to detect the actors (football teams and a referee) using a sliding window at multiple scales. The Adaboost classifier [30] is used to learn and classify the feature vectors acquired by the ACF detector.
For training, evaluation and parameter setting we use the VS-PETS’2003 football video data111http://www.cvg.reading.ac.uk/slides/pets.html. This consists of 2500 frames which have players from the red and white teams and the referee. We trained 3 separate detectors for each target type (red, white, referee). We used every 10’th frame, i.e. 240 frames taken from the last 2400 frames, including 2000 positive samples for each footballer type, 240 samples for the referee, and 5000 randomly selected negative samples. This captures the appearance variation of players due to articulated motion. The correct player type or referee positions and windows were labeled manually for training as positive samples. The first 100 frames (video) are used to evaluate and test the tri-GM-PHD filter in comparison with repeated detection and three separate GM-PHD filters in section VII-A3.
The RFS methodology assumes point detections and a Gaussian error distribution on accuracy of location. However, humans in a video sequence are extended targets and the ACF detector has a bounding box that encloses the target. Therefore, overlapping detections are merged using a greedy non-maximum suppression (NMS) overlap threshold (intersection over union of two detections) of 0.05 (we made the overlap threshold very tight to ignore multiple bounding boxes on the same object). However, when evaluating the detectors, an overlap threshold (intersection over union of detection and ground truth bounding boxes) of 0.5 is used to identify true positives vs false positives. The receiver operating characteristic (ROC) curves for each of the detectors are given in Fig. 1.
For the tri-GM-PHD strategy, we must set the thresholds on detection from the ROC curves in Fig. 1, taking into account the probabilities of confusion that arise from the corresponding ROC curves (not shown) of each detector applied to targets of a confusing type. From our own simulations and the published literature, e.g. [16, 28], we know that the RFS methodology is most effective when applied with a high probability of detection, albeit with a higher clutter rate, and in our case a higher confusion rate. Obviously, for a target detection to be useful, the probability of true detection must be higher than the probability of confusion. Therefore, from Fig. 1, we standardise a clutter rate of false positive per image (fppi), which gives probabilities of detection of (), () and () for red, white and referee, respectively. With these values, the corresponding confusion parameters are (white footballer detected as red i.e. applying red detector on white footballer instances, ), (referee detected as red, ), (red as white, ), (referee as white, ), (red as referee, ) and (white as referee, ). More clearly, the probabilities of confusion are obtained from the corresponding ROC curves of each detector applied to targets of a confusing type at fppi of 10. For instance, is obtained from the ROC curve of red detector applied to white footballer instances at fppi of 10.
VII-A2 Data Association
The tri-GM-PHD filter handles sensor noise, clutter and distinguishes between true and false targets of each type. However, this does not distinguish between two different targets of the same type, so an additional step can be applied if we wish to identify different targets of the same type between consecutive frames. Although not part of the tri-GM-PHD strategy, this is commonly required so we include results from this post-labeling process for completeness in section VII-A3. It does not affect our error metrics but is a post-process to label individuals from frame to frame. For data association, the Euclidean distance between each previous filtered centroid (track) and the current filtered centroids is computed and we compute an assignment which minimizes the total cost returning assigned tracks to current filtered outputs. This assignment problem represented by the cost matrix is solved using Munkres’s variant of the Hungarian algorithm [31].
This also returns the unassigned tracks and unassigned current filtered results. The unassigned tracks are deleted and the unassigned current filtered outputs create new tracks if the targets are not created earlier. If some targets are miss-detected and incorrectly labeled, labels are uniquely re-assigned by re-identifying them using the approach in [32].
VII-A3 Tracking Results
Referring to Eq. (1), our state vector includes the centroid positions, velocities, and the width and height of the bounding boxes, i.e. . Similarly, the measurement is the noisy version of the target area in the image plane approximated with a x rectangle centered at i.e. .
As stated above, the detection and confusion probabilities are set by experimental evaluation of the ACF detection processes. Additional parameters are set from simulation and previous experience. For each target type, we set survival probabilities , and we assume the linear Gaussian dynamic model of Eq. (21) with matrices taking into account the box width and height at the given scale.
[TABLE]
[TABLE]
where and denote the n x n identity and zero matrices, respectively and is the sampling period defined by the time between frames (we use 1 second). pixels are the standard deviations of the process noise for target type where i.e. type 1 (red football team), target type 2 (white football team) and target type 3 (a referee).
Similarly, the measurement follows the observation model of Eq. (22) with matrices taking into account the box width and height,
[TABLE]
[TABLE]
[TABLE]
where , , and and are the measurement standard deviations taken from the distribution of distance errors of the centroids from ground truth in the evaluation of the detection process, effectively 6 pixels.
Accordingly, in our approach, positive detections specify the possible birth locations with the initial covariance given in Eq. (34). The current measurement and zero initial velocity are used as a mean of the Gaussian distribution using a pre-determined initial covariance for birthing of targets, i.e. new targets are born in the region of the state space for which the likelihood will have high values. Precisely, the birthing of targets is completely automatic using the very recent measurements obtained from object detectors. Very small initial weight (e.g. ) is assigned to the Gaussian components for new births as this is effective for high clutter rates. This is basically equivalent to the average number of appearing (birth) targets per frame () divided uniformly across the frame resolution ().
[TABLE]
where .
We evaluate the tracking methodology of the tri-GM-PHD tracker in comparison with first, repeated independent detection on each frame, and second, with three independent GM-PHD trackers. Using the football video sequence, the examples shown in Fig. 2, Fig. 3 and Fig. 4 are for repeated detection (no tracking), three independent GM-PHD trackers, and the tri-GM-PHD tracker for frames 25, 57 and 73, respectively. Hence, Fig. 3a designates detections in which the red footballers, white footballers and the referee are detected both correctly and incorrectly, i.e. one object may be detected by many detectors. In this example the referee is detected 3 times: by the red team detector (red), by the white team detector (yellow) and the referee detector (black). Moreover, there are many background false positives (clutter) in the scene that arise from our choice to set the detection probability high at the expense of higher clutter as this is the detection scenario that is favored by the PHD process. Using the three independent GM-PHD trackers to effectively eliminate false positives, confused detections are not resolved as shown in Fig. 3b. However, our proposed tri-GM-PHD tracker effectively eliminates the false positives as well as confused detections as shown in Fig. 3c.
The tri-GM-PHD filter is evaluated quantitatively for the whole test sequence and compared with three independent GM-PHD filters and repeated detection using cardinality, the OSPA metric [33] (using order and cutoff ), discrimination rate and time taken. We use the OSPA metric which is designed for evaluating RFS-based filters rather than multi-object tracking accuracy (MOTA) [34] which is widely used for evaluating other traditional multi-target tracking algorithms [35, 36]. Our algorithm is developed not only for tracking but also for discriminating different target types overcoming their confusions unlike algorithms such as [35, 36]. Therefore, the OSPA is the right evaluation metric to compare our approach with repeated raw detection and three independent GM-PHD trackers. The computational figures arise from experiments on a i5 2.50 GHz core processor with 6 GB RAM laptop using MATLAB and we acknowledge that these are not definitive and give a rough guide only to implementation costs. Though labeling of the targets using Munkres’s variant of the Hungarian assignment algorithm works well as shown in Figs. 2c, 3c and 4c, we did not include this in our evaluation as it is not part of the quantitative comparison of the filtering and type labeling of either the detection or distinct GM-PHD filters. We present the cardinality and OSPA error plots in Fig. 5a and Fig. 5b respectively, in red for ground truth (cardinality), green for the tri-GM-PHD filter, blue for the three independent GM-PHD filters and magenta for repeated detection. As summarised in Table I the average absolute cardinality error using detection only is 10.22, reduced to 5.76 using the standard GM-PHD filters and to 0.11 using the tri-GM-PHD filter. The overall frame-averaged value of OSPA error for the tri-GM-PHD filter is 10.59 pixels, compared to three independent GM-PHD filters of 30.86 pixels, and repeated detections of 37.61 pixels. The proposed approach reduces the cardinality and OSPA errors by a large margin over three independent GM-PHD filters and repeated detection, although this has more computational cost as also shown in Table I.
Independent GM-PHD trackers do not take confusion into account, so treat such confusion as ’background’ clutter; the problem is that such confused detections are not likely to be accurately modeled by random detections distributed uniformly in space as is commonly the case. Our approach can effectively discriminate true positives from clutter, while eliminating confused detections with a discrimination rate of 99.20%. The mis-discrimination rate of 0.80% occurs primarily during the initial frames (e.g. the first 7 frames) until the prediction-update process stabilises and the true detections are confirmed by the motion between adjacent frames.
Fig. 6 shows another example in which the individual footballers are detected, filtered, tracked and labeled for 100 frames. The image has been cropped as the action is confined to the top half of the image, and immediately follows a throw-in as the players move away left from the touchline. The examples also show the individual tracks and labels of the footballers and referee as small numbers over the targets. From this sequence, we see for example that the red player number 6 and the white player number 10, and several others, are consistently tracked through the sequence. However the labeling does occasionally make mistakes, for example red player 3 who starts near the touchline is finally labeled as red player number 49 in frame 293. In this instance the mislabeling is due to occlusion and lack of persistence in the detection and tracking as it uses successive frames only, so that if a player disappears then re-appears after several frames he is treated as a new target. Nevertheless, although this evaluation is not part of the Tri-GM-PHD filter, the labeling that we apply has good performance with a mean label switch error of only 0.43%.
VII-B Multiple Target, multiple Type Tracking using a Dual GM-PHD Filter
In this part, we consider tracking of pedestrians and vehicles in the same scene handling their confusions using a dual GM-PHD filter (). These are fundamentally different target types; in this case they can have different aspect ratios, and whereas vehicles have radically different appearance and aspect ratio depending on azimuthal view angle, this is not the case for pedestrians.
VII-B1 Pedestrian and Vehicle Detection
We adapted the ACF pedestrian detector [15] by considering appearance variations. Similarly, we adapted the vehicle detector in [37] which uses the same type of features as the ACF detector considering additional geometrical features such as truncation level, occlusion level and occlusion type features in addition to 3D orientation which depends on the ground truth information. However, we only consider 3D geometric orientation from the ground truth information available in the KITTI dataset [38]. Similar to [37], we also consider visual features to capture appearance variations due to varying orientation, truncation and occlusion degree for detecting both pedestrians and vehicles.
3D orientation: Appearance variation due to observation angle is common when detecting vehicles in different driving settings. Accordingly, the observation angle i.e. relative orientation of the object with respect to the camera is used by considering the angle of the vector joining the camera center in 3D and an object which takes into account the ego-vehicle. This 3D geometric orientation is available in the KITTI dataset ranging from - (-3.14) to (3.14) and is quantized into L labels ( L = 5 for pedestrians and L = 20 for vehicles). The mean of the aspect ratios of the image instances (samples) with the specific quantized label is used as an aspect ratio for which a specific detector model is trained on that specific image instances.
Visual features: We use visual features by clustering them as a means of capturing appearance variations of objects to detect them under challenging appearance changes. This approach is very generic as it does not depend on the availability of ground truth orientation though it gives slightly less accuracy when compared to 3D geometrical orientation. Though color and gradient features (HOG, LUV color and normalized gradient magnitude) can also be used [37], in our case, high quality convolutional neural network (CNN) features from a R-CNN object detector [39] are used to learn appearance variations of objects. The R-CNN object detector model is then used to extract 4096-dimensional CNN features from cropped KITTI image samples which is then reduced dimensionally using PCA. This dimensionally reduced features are then clustered using k-means clustering giving cluster labels. The mean of the aspect ratios of the image instances assigned the same label is used to learn a specific detector on the image instances with that specific label.
Pedestrian Detection: The ACF pedestrian detector [15] detects pedestrians at multiple scales using the Adaboost classifier. However, unlike the original ACF [15], we consider the appearance variations of pedestrians due to varying orientation, truncation and occlusion levels. The KITTI benchmark [38] consists of 7481 training frames from which around 3583 pedestrian instances are extracted in the moderate setting. From these 7481 training frames, 6501 frames are used as the training set and the rest (980 frames) as the testing or validation set. To capture the appearance variations, we trained 5 geometrical orientations-based detection models and 5 visual CNN features clustering-based detection models which perform better than using only one model as in [15]. This is necessary as using only one model, it is not possible to get the required detection performance for extracting detection probabilities on this data set. Overlapping detections are merged using a greedy NMS overlap threshold of 0.1. However, when evaluating the detector, an overlap threshold of 0.5 is used to identify true positives vs false positives.
Vehicle Detection: Capturing appearance variations of vehicles due to changing observation angle, illumination variability, vehicle shape and type, truncation, out of camera view, different occlusion levels, etc is very important for developing a vehicle detector [37]. Unlike the approach considered in [37], we consider only 3D orientation rather than other geometrical features such as truncation level, occlusion level and occlusion type features from the ground truth available in KITTI. Moreover, we used visual features which can also capture appearance variations due to varying orientation, truncation and occlusion. The KITTI benchmark [38] consists of 7481 training frames from which around 16105 car instances are extracted in moderate setting. From these 7481 training frames, 6501 frames are used as the training set and the rest (980 frames) as the testing or validation set. Accordingly, we trained 20 geometrical orientations-based detection models and 20 visual CNN features clustering-based detection models which perform better than using only one model. We use a greedy NMS overlap threshold of 0.2 to merge overlapping detections, and an overlap threshold of 0.5 is used to identify true positives vs false positives when evaluating the detector.
Detection Parameters Extraction: The detection parameters, detection probabilities (, ) and confusion detection probabilities (, ), are extracted as follows. The detection probability for pedestrians by a pedestrian detector, , can be extracted from the ROC curve of the pedestrian detector when it is tested on pedestrian instances. Similarly, the detection probability for vehicles by a vehicle detector, , is obtained from the ROC curve of the vehicle detector when it is tested on vehicle instances. The confusion detection probabilities, detection probability for pedestrians by a vehicle detector, , and detection probability for vehicles by a pedestrian detector, , can also be obtained when the vehicle detector is evaluated on pedestrian instances and when the pedestrian detector is evaluated on vehicle instances, respectively.
Accordingly, when we want to track on video sequences, we first run both pedestrian and vehicle detectors on that specific video sequence to obtain their ROC curves. We used a combination of CNN-based and 3D orientation-based detectors. Note that CNN features and 3D orientation are used for obtaining cluster labels; the core detector uses HOG, normalized gradient magnitude and LUV color features with Adaboost classifier. Thus, the ROC curve of the pedestrian detector when applied to pedestrian instances in the KITTI video tracking sequence 16 is shown in Fig. 7a from which of 0.83 is obtained at clutter rate (false positive per image - fppi) of 10. Similarly, of 0.86 is obtained at fppi of 10 from the ROC curve of the vehicle detector when it is applied to vehicle instances as shown in Fig. 7b. However, the values of and are very low, around 0.03 for and 0.01 for , this happens because even if the vehicle detector detects pedestrian instances, for example, the intersection of the detected bounding boxes by vehicle detector on pedestrian instances and the ground truth of the pedestrian instances is very low as the two bounding boxes have very much different aspect ratios, therefore, it can be classified as false positive though it is detected. Hence, we try to fine-tune values of and to some higher values e.g. and .
VII-B2 Data Association and Tracking Results
Munkres’s variant of the Hungarian assignment algorithm [31] is used to associate tracked target identities between two consecutive frames in the same fashion discussed in section VII-A2 with the exception that if a target disappears and then reappears, a new label is given without using any re-identification algorithm.
The state vector includes the centroid positions, velocities, and the width and height of the bounding boxes; the measurement is the noisy version of the target area, in the same fashion as in section VII-A3. A dynamic model, an observation model and a birth covariance follow Eqs. (32), (33) and (34) respectively with the exception of setting . We set pixels and pixels for target type 1 (pedestrians) and target type 2 (vehicles), respectively. We also set survival probabilities for each target of both types, and the measurement standard deviations and ( and ) are evaluated to 7 pixels.
This proposed visual tracking approach is analyzed using the KITTI tracking video sequence 16. A multi-target measurement for pedestrians is obtained using a pedestrian detector and a multi-target measurement for vehicles is obtained using a vehicle detector. The sample frames of results of detections, two independent GM-PHD trackers and dual GM-PHD tracker are shown in Fig. 8 and Fig. 9. For instance, for the sample frame 23 in Fig. 9, many clutter responses from detections in Fig. 9a are removed by 2 independent GM-PHD trackers as shown in Fig. 9b. However, the pedestrian targets with labels 10, 30, 34 and 31 are confused by the vehicle detector and then tracked by standard GM-PHD trackers as shown in Fig. 9b. These are removed by our dual GM-PHD tracker as shown in Fig. 9c. Hence, our approach eliminates the wrong tracking of vehicles or pedestrians which are confused at detection.
The dual GM-PHD filter is evaluated quantitatively and compared with two independent GM-PHD filters and raw detection using the cardinality error, OSPA metric [33] (using order and cutoff ), time taken and discrimination rate in Table II. We also show the cardinality and OSPA error plots as shown in Fig. 10a and Fig. 10b, respectively, in red for ground truth (cardinality), green for dual GM-PHD filter, blue for two independent GM-PHD filters and magenta for detections. As shown in Table II, the overall average value of the OSPA error for the dual GM-PHD filter is 20.74 pixels compared to using two independent GM-PHD filters of 35.29 pixels and raw detection of 49.81 pixels. Hence. our approach reduces the OSPA error by a large margin.
The time taken for the 209 video frames of the KITTI tracking sequence 16 is shown in Table II where the dual GM-PHD tracker takes 4.03 seconds per frame (both detection and tracking), two independent GM-PHD trackers take 1.61 seconds per frame and raw detection takes 1.25 seconds per frame on a i5 2.50 GHz core processor with 6 GB RAM laptop using MATLAB. Since we use many detection models for each actor (10 for pedestrians, 40 for vehicles), it takes more computational time than the scenario considered in section VII-A. As shown in Table II, the dual GM-PHD tracker has only 0.32 (below 1 target) cardinality error and 1.81% discrimination rate error when compared to 3.82 cardinality error and 100% discrimination rate error using 2 independent GM-PHD trackers as well as 9.86 cardinality error and 100% discrimination rate error using raw detection. As can be seen from Fig. 8c and Fig. 9c, labels of some of the actors (cars - labels 6 and 9; pedestrians - labels 1, 2, 16, 17, etc) are consistent from frame to frame. Since we are using two frames to associate the targets, a new label is given to a target which disappears and reappears as well as for a newly appearing target. For example, pedestrians labeled 12 and 13 in frame 13 are re-detected as one target in frame 23 and given a label 26. The car labeled 7 in frame 13 is mis-detected, and then is re-detected in frame 23 and is given a new label, 25. Still, the labeling approach we use has reasonable performance with a mean label switch error of only 1.07%, and it is obviously not part of the dual GM-PHD filter.
VII-C Evaluation and Comparison using the MOT Benchmarking Tool
The N-type GM-PHD tracker is developed for handling confusions among detectors of different target types. However, all of the state-of-the-art multi-target tracking algorithms in the MOT challenge have been developed for tracking multiple targets ( of a single type. Thus, the N-type GM-PHD tracker cannot be directly evaluated using the MOT benchmarking tool to be compared to the state-of-the-art algorithms listed on the MOT challenge. However, in response to comments, we use the building block of the N-type GM-PHD tracker (the N-type GM-PHD tracker for , denoted by GM-PHD-N1T) to evaluate the performance of the MOT benchmarking tool and compare to the state-of-the-art algorithms in the MOT challenge.
Thus, we validate our tracker (for version) and compare it against state-of-the-art online and offline tracking methods (GM-PHD-HDA [2], DP-NMS [5], SMOT [40], CEM [4] and JPDA-m [41]) on the MOT16 benchmark datasets [42]. We use the public detections provided by the MOT benchmark. We use the following evaluation measures: Multiple Object Tracking Accuracy (MOTA), Multiple Object Tracking Precision (MOTP) [34], Mostly Tracked targets (MT), Mostly Lost targets (ML) [43], Fragmented trajectories (Frag), False Positives (FP), False negatives (FN), Identity Switches (IDSw) and speed of the tracker (Hz). For a detailed description of each metric, please refer to [42].
Quantitative evaluation of our proposed method with other trackers is given in Table III. The Table shows that our algorithm outperforms both online and offline trackers listed in the table in terms of MOTP, MOTA and FP; our algorithm provides the 2nd lowest FP of all listed algorithms on MOT 16 benchmark website. The number of MT percentage is overall higher than many of the online and offline trackers except one offline tracker (i.e. second to CEM). The number of ML and FN percentage are also lower than many of the online and offline trackers. The higher number of IDSw and Frag compared to the other online tracker and some of the offline trackers is due to the fact that our tracker, GM-PHD-N1T, relies only on the position and size of the bounding box of the detections; we are not using any appearance models to discriminate nearby targets in this tracker. Spawning targets are also not modelled in our tracker, therefore, identity switches are more likely to occur in such crowded scenes. For comparison, we also include appearance features, re-identification algorithm [32], to re-identify the targets in the last 5 frames for computational efficiency to re-assign their unique labels in case they disappear and then reappear. We designate this tracker as GM-PHD-N1F in the Table III. Including appearance features (re-identification) improves the tracker’s performance over using only position and size of the bounding box of the detections (GM-PHD-N1F vs GM-PHD-N1T) in terms of many metrics such as MOTA, IDSw and Frag. The GM-PHD-N1T tracker runs about 9.9 frames per second (fps) whereas GM-PHD-N1F runs about 8.9 fps. The computational costs arise from experiments on a i7 2.30 GHz core processor with 8 GB RAM using Matlab (not well optimized).
The most relevant comparison of our algorithm is to the GM-PHD-HDA [2]. Both these trackers (GM-PHD-HDA and ours) use a GM-PHD filter but with different approaches to labelling of targets from frame to frame. While our trackers, both GM-PHD-N1T and GM-PHD-N1F, use the Hungarian algorithm for labelling of targets by postprocessing the output of the filter, the GM-PHD-HDA uses the approach in [44] by also including appearance features for labelling targets. Our trackers outperform the GM-PHD-HDA tracker in many of the evaluation metrics, but not IDSw and Frag. The GM-PHD-HDA performs better in terms of IDSw and Frag even if we include appearance features in addition to the position and size of the bounding box of the detection (GM-PHD-N1F). However, our method outperforms it significantly in all other metrics. Thus, when considered overall the () adaptation of the N-type GM-PHD tracker performs reasonably well when evaluated and compared to the MOT challenge, even though the primary purpose of the algorithm is to consider different types.
VIII Conclusions
We have developed an extension of the PHD filter in the RFS framework to account for different types of multiple targets with separate observations in the same scene, allowing for different probabilities of detection, scene clutter and possible confusions between targets of different types at the detection stage. This extends the standard GM-PHD filter [16] to a N-type GM-PHD filter. This has been tested and evaluated using video sequences with the separate targets defined as different team players and the referee, and pedestrians and vehicles. We have also applied Munkres’s variant of the Hungarian assignment algorithm as data association on the filtered results of the filter as a post-process. The key finding of this work is that by considering and modeling confusions between the different types of target at the detection stage we can improve the target discrimination rate, demonstrated by quantitative measurement of cardinality and the OSPA score. Although the process has been applied here to and types of target, in principle the methodology can be applied to types of targets where is a variable, with the caveat that the number of possible confusions may rise as .
The N-type GM-PHD filter degrades to GM-PHD filters when we set the probabilities of confusion to 0.0 i.e. no target confusions. However, if each target is regarded as a type, the N-type GM-PHD filter is used as a labeler of each target i.e. it discriminates those targets from frame to frame whether or not confusions between targets exists rather than simply degrading to standard GM-PHD filters. We also observe that other assumptions about clutter, target location and birth follow the same random models as the standard PHD filter. Hence we assume that our background clutter, and the detection and confusion probabilities are uniform across the image field, which is not unreasonable in the football data, but is less likely to be true when identifying pedestrians in an urban environment, where particular street furniture may generate repeated false alarms. As the detections are represented as points (centroids of bounding detection boxes), the filtering process does not explicitly consider scale, and as the boxes and humans/vehicles within the boxes have finite extent, this makes occlusions possible such that targets may disappear for several frames. Notwithstanding these imperfections, this work has shown that the N-type GM-PHD filter has potential both to track targets in video data, and to better address multiple target confusions than the standard method.
Acknowledgment
We would like to acknowledge the support of the Engineering and Physical Sciences Research Council (EPSRC), grant references EP/K009931 and a James Watt Scholarship. We would also like to thank Dr. Daniel Clark for sharing his expertise and understanding of RFS methodology.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Sanchez-Matilla, F. Poiesi, and A. Cavallaro, Online Multi-target Tracking with Strong and Weak Detections . Cham: Springer International Publishing, 2016, pp. 84–99.
- 2[2] Y. Song and M. Jeon, “Online multiple object tracking with the hierarchically adopted GM-PHD filter using motion and appearance,” in IEEE/IEIE The International Conference on Consumer Electronics (ICCE) Asia , 2016.
- 3[3] L. Leal-Taixé, C. Canton-Ferrer, and K. Schindler, “Learning by tracking: Siamese CNN for robust target association,” IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPR). Deep Vision: Deep Learning for Computer Vision. , 2016.
- 4[4] A. Milan, S. Roth, and K. Schindler, “Continuous energy minimization for multitarget tracking,” IEEE Transactions on Pattern Analysis and Machine Intelligence , vol. 36, no. 1, pp. 58–72, Jan 2014.
- 5[5] H. Pirsiavash, D. Ramanan, and C. C. Fowlkes, “Globally-optimal greedy algorithms for tracking a variable number of objects,” in CVPR 2011 , June 2011, pp. 1201–1208.
- 6[6] W. Luo, X. Zhao, and T. Kim, “Multiple object tracking: A review,” Co RR , vol. abs/1409.7618, 2014.
- 7[7] B.-N. Vo, M. Mallick, Y. Bar-Shalom, S. Coraluppi, R. O. III, R. Mahler, and B.-T. Vo, ”Multitarget Tracking” . Wiley Encyclopedia of Electrical and Electronics Engineering, Wiley, September 2015.
- 8[8] Y. Cai, N. de Freitas, and L. JJ, “Robust visual tracking for multiple targets,” in IN ECCV , 2006, pp. 107–118.
