Introduction
Object Re-identification (ReID) is a critical task in computer vision, focused on identifying the same individual or vehicle across disparate camera views. While performance has improved significantly with deep learning, the reliance on massive datasets introduces significant challenges. Specifically, ReID datasets often suffer from high redundancy due to fixed camera positions capturing near-identical frames, and label noise resulting from manual annotation errors or environmental occlusions.
Traditional data pruning methods, designed for general image classification, often fail to address the specific nuances of ReID. This paper introduces a comprehensive framework that leverages "logit history"—the evolution of a model's predictions during early training—to identify redundant samples, rectify mislabeled data, and remove outliers.
Methodology: Leveraging Logit Trajectories
The core of the proposed approach is a "plug-and-play" framework that quantifies sample importance using logit trajectories. Unlike existing methods that rely on a single snapshot or multiple model ensembles, this method captures the stability of a model's belief over time.
Soft Labels from History
Instead of evaluating the model's output at the end of training, the framework averages the logits (unnormalized prediction scores) over the first few epochs (typically ~10% of a full run). This creates a "soft label" representing the model’s collective wisdom during the early learning phase.
Entropy as a Metric for Importance
The entropy of these soft labels serves as the primary importance metric:
- Low Entropy: Indicates the model was quickly and consistently certain about the class. These are classified as "easy" or redundant samples.
- High Entropy: Indicates the model was confused or wavered between classes, marking these as "hard" or informative samples critical for training.
Data Purification
The soft labels also enable data cleaning. If the model consistently predicts a different ID than the manual label, the framework rectifies the label. If the highest prediction score remains consistently low, the sample is flagged as an outlier and removed.
Experimental Evaluation
The framework was evaluated on three major ReID benchmarks: Market1501 (pedestrian), MSMT17 (large-scale pedestrian), and VeRi-776 (vehicle). To demonstrate generalizability, tests were also conducted on standard classification datasets like CIFAR-100 and CUB-200-2011.
Results and Discussion
The proposed method demonstrates significant improvements in both efficiency and dataset quality.
Pruning and Efficiency
The approach achieved substantial data reduction with negligible accuracy loss (<0.1%). Specifically, it eliminated 35% of samples on VeRi, 30% on MSMT17, and 5% on Market1501. Notably, the importance estimation is approximately 10x faster than traditional ensemble-based methods like EL2N. For instance, processing MSMT17 took only 15.8 minutes compared to over 5 hours for the baseline.
Insights on Logit History
As shown in the logit trajectory analysis, a single snapshot cannot distinguish between a sample that is inherently difficult and one that the model temporarily misclassifies. By averaging logits over time, the framework captures the learning trajectory, providing a more robust measure of sample difficulty. Furthermore, the importance scores calculated using a simple ResNet50 backbone were found to be architecture-agnostic, transferring effectively to Vision Transformer (ViT) models.
Conclusion
This work presents the first comprehensive data pruning framework specifically tailored for ReID. By utilizing logit history, the method not only reduces computational costs by up to 35% but also improves dataset integrity through label rectification and outlier removal. While currently supervised, future work could extend these principles to unsupervised settings, potentially revolutionizing the pre-training of large-scale vision models.
Summary updated