[Paper Review] Deep Affinity Network for Multiple Object Tracking
This paper proposes the Deep Affinity Network (DAN), an end-to-end deep learning framework that jointly learns object appearances and cross-frame affinities for online multiple object tracking. By modeling hierarchical features and exhaustively permuting object pairs across non-consecutive frames, DAN achieves state-of-the-art performance on MOT15, MOT17, and UA-DETRAC, outperforming existing methods in multiple metrics including MOTA and IDF1 while maintaining real-time inference at 6.3 FPS.
Multiple Object Tracking (MOT) plays an important role in solving many fundamental problems in video analysis in computer vision. Most MOT methods employ two steps: Object Detection and Data Association. The first step detects objects of interest in every frame of a video, and the second establishes correspondence between the detected objects in different frames to obtain their tracks. Object detection has made tremendous progress in the last few years due to deep learning. However, data association for tracking still relies on hand crafted constraints such as appearance, motion, spatial proximity, grouping etc. to compute affinities between the objects in different frames. In this paper, we harness the power of deep learning for data association in tracking by jointly modelling object appearances and their affinities between different frames in an end-to-end fashion. The proposed Deep Affinity Network (DAN) learns compact; yet comprehensive features of pre-detected objects at several levels of abstraction, and performs exhaustive pairing permutations of those features in any two frames to infer object affinities. DAN also accounts for multiple objects appearing and disappearing between video frames. We exploit the resulting efficient affinity computations to associate objects in the current frame deep into the previous frames for reliable on-line tracking. Our technique is evaluated on popular multiple object tracking challenges MOT15, MOT17 and UA-DETRAC. Comprehensive benchmarking under twelve evaluation metrics demonstrates that our approach is among the best performing techniques on the leader board for these challenges. The open source implementation of our work is available at https://github.com/shijieS/SST.git.
Motivation & Objective
- To overcome the limitations of hand-crafted features in data association for multiple object tracking.
- To enable deep learning-based affinity computation between objects across non-consecutive video frames.
- To model object appearances and affinities jointly in an end-to-end trainable manner.
- To account for object entry and exit between frames through temporal extension in the affinity estimation module.
- To achieve robust, real-time online tracking with improved accuracy over existing methods.
Proposed method
- The network uses a two-stream, weight-shared convolutional architecture inspired by VGG to extract hierarchical features from pre-detected objects in two video frames.
- 1×1 convolutional layers compress features from nine selected layers into 520-dimensional vectors for compact representation.
- Exhaustive permutations of feature vectors from two frames are encoded into a 3D tensor Ψ_{t−n,t} ∈ ℝ^{1040×Nₘ×Nₘ} to model all possible object pairings.
- A five-layer convolutional network maps the tensor Ψ to a matrix M ∈ ℝ^{Nₘ×Nₘ}, representing pairwise affinities between objects in the frame pair.
- To handle object appearance and disappearance, the network extends M by adding an extra row and column to form M₁ and M₂, enabling forward and backward temporal reasoning.
- Row- and column-wise softmax operations on M₁ and M₂ produce affinity matrices A₁, A₂ and their trimmed versions Â₁, Â₂, which are used in a novel loss function to supervise training.
Experimental results
Research questions
- RQ1Can deep learning be effectively leveraged to replace hand-crafted features in data association for multiple object tracking?
- RQ2How can a deep network model affinities between objects across non-consecutive frames while accounting for object entry and exit?
- RQ3What is the impact of hierarchical feature abstraction and feature compression on tracking accuracy and efficiency?
- RQ4Can an end-to-end trainable affinity network outperform traditional composite models combining motion and appearance features?
- RQ5How does the proposed architecture scale with increasing numbers of tracked objects in real-time tracking scenarios?
Key findings
- The proposed Deep Affinity Network (DAN) achieved the highest Multiple Object Tracking Accuracy (MOTA) on all three benchmarks: MOT15, MOT17, and UA-DETRAC.
- On MOT17, DAN achieved a MOTA of 53.5% and IDF1 of 62.3% at 120 epochs, outperforming all variants and baseline methods.
- The DAN variant with gradual feature compression (DAN-Replace) achieved a loss of 0.111 at 120 epochs, while DAN-Mean with a modified loss function achieved 60.7% IDF1.
- The DAN model trained in an end-to-end fashion reached a training loss of 0.043 at 120 epochs, demonstrating faster convergence than other variants.
- The system achieved an average inference speed of 6.3 frames per second, with only a 1.2× increase in runtime when object count increased fourfold (from 20 to 80 objects).
- Ablation studies confirmed that feature compression and the extension sub-network are critical: DAN-Curtail (without extension) dropped to 45.2% MOTA, and DAN-Remove (no compression) had poor performance with 51.7% MOTA.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.