Abstract
Active learning methods, like uncertainty sampling, combined with probabilistic prediction techniques have achieved success in various problems like image classification and text classification. For more complex multivariate prediction tasks, the relationships between labels play an important role in designing structured classifiers with better performance. However, computational time complexity limits prevalent probabilistic methods from effectively supporting active learning. Specifically, while non-probabilistic methods based on structured support vector machines can be tractably applied to predicting bipartite matchings, conditional random fields are intractable for these structures. We propose an adversarial approach for active learning with structured prediction domains that is tractable for matching. We evaluate this approach algorithmically in an important structured prediction problems: object tracking in videos. We demonstrate better accuracy and computational efficiency for our proposed method.
Introduction
Labeling data for machine learning is a notorious bottleneck, particularly for "structured prediction" tasks like video tracking. In these scenarios, annotation involves more than just identifying a single object; it requires defining complex relationships, such as matching dozens of pedestrians across hundreds of consecutive frames.
In video tracking, the goal is often to solve a bipartite matching problem: given a set of detected objects in Frame A and Frame B, which box in A corresponds to which box in B? Active Learning (AL) aims to mitigate the manual annotation burden by having the algorithm request labels only for the most uncertain or informative examples. However, applying AL to structured tasks like matching faces two major hurdles:
- Computational Intractability: Probabilistic models like Conditional Random Fields (CRFs) are mathematically "hard" (#P-hard) to solve for matchings because they require calculating a matrix permanent.
- Statistical Inconsistency: Faster alternatives, like Structured Support Vector Machines (SSVMs), lack "Fisher consistency," meaning they might not converge to the optimal matching even with infinite data.
Adversarial Bipartite Matching (ABM)
To address these challenges, the research proposes Adversarial Bipartite Matching (ABM). This framework frames the learning process as a zero-sum game between two players: a Predictor, which tries to minimize expected Hamming loss, and an Adversary, which tries to maximize the loss while remaining consistent with training data statistics.
This minimax formulation ensures the model is Fisher consistent while remaining computationally tractable. The game is solved efficiently using the Double Oracle method and the Hungarian algorithm to find maximum-weight matchings in $O(|V|^3)$ time.
Active Learning Strategy
The algorithm selects data to label by calculating the Mutual Information between variables. It identifies samples that, if labeled, would most significantly reduce total uncertainty across all other potential matchings in the sequence. Because the adversarial model provides a robust joint probability distribution, these uncertainty estimates are more reliable than those derived from standard non-probabilistic models like SSVMs.
Evaluation and Results
The method was evaluated on standard video tracking benchmarks from the MOT (Multi-Object Tracking) challenge, including the TUD (Campus, Stadtmitte) and ETH (Sunnyday, Bahnhof, Pedcross2) datasets. To increase difficulty and prevent overfitting, pairs of datasets with similar characteristics were combined.
Key Findings
- Accuracy: Active ABM achieved lower Hamming loss (higher accuracy) faster than the Active SSVM baseline across almost all datasets.
- Uncertainty Modeling: ABM provides a superior uncertainty model. Unlike SSVMs, which require post-processing hacks like "Platt scaling" to produce probabilities, ABM’s probabilities are inherent to the optimization objective.
- Efficiency: While ABM inference is 6 to 20 times slower than SSVM due to the construction of an equilibrium using multiple permutations, training time remains comparable because previous equilibria can be cached and reused.
Conclusion
The proposed adversarial approach makes structured active learning feasible for matching problems that were previously computationally prohibitive. By providing a tractable, Fisher-consistent probabilistic framework, ABM significantly reduces the manual annotation burden in video tracking. Future work includes expanding this framework to other structured problems like object recognition and graph cuts, as well as exploring semi-supervised learning to further leverage unlabeled data.
Summary updated