Abstract
Progressive Transfer Learning (PTL) addresses the limitations of mini-batch training in deep learning, particularly for tasks like Person Re-identification (ReID) where internal data variations lead to noisy gradient estimations. By introducing a Batch-related Convolutional Cell (BConv-Cell), PTL enables neural networks to maintain a "memory" of global dataset information across mini-batches. This mechanism rectifies current batch features against accumulated knowledge, leading to flatter loss surfaces and improved generalization.
The Challenge of Mini-Batch Noise
Standard deep learning training relies on mini-batches under the assumption that each batch is representative of the entire dataset. However, in tasks like Person Re-identification (ReID), this assumption often fails. ReID involves identifying individuals across disparate camera views and lighting conditions. A single mini-batch might inadvertently contain images from only a few cameras, creating a distribution gap between the batch and the global dataset. This discrepancy results in noisy gradient estimations, causing models to converge to "sharp minimizers" that generalize poorly to unseen data.
The Batch-related Convolutional Cell (BConv-Cell)
To mitigate these issues, researchers from Zhejiang University and Alibaba Group proposed the Batch-related Convolutional Cell (BConv-Cell). Inspired by Convolutional LSTMs, the BConv-Cell acts as a recurrent unit that processes the sequence of mini-batches rather than a temporal sequence.
The BConv-Cell maintains a latent state ($C_b$) that progressively aggregates global information from all previous batches within an epoch. Using a gating mechanism similar to an LSTM (input, forget, and output gates), it decides which information to retain from the past and what to incorporate from the current batch. This accumulated global knowledge is then used to "rectify" the features of the current mini-batch, anchoring them to the global distribution and stabilizing the training process.
PTL Architecture and Distillation
The PTL framework integrates these cells into standard backbones like ResNet or DenseNet. A more advanced version, PTL-v2, utilizes transpose convolutions to further mitigate data generation bias by recovering historical features.
To address the increased parameter count and computational overhead of BConv-Cells during inference, the authors employ Student-Teacher Distillation (STD). A high-performing PTL "Teacher" model guides the training of a standard, lightweight "Student" backbone. This allows for the deployment of efficient models that still benefit from the robust features learned during the PTL training phase.
Visualizing Generalization: Flatter Loss Surfaces
A key insight of the PTL approach is its impact on the model's loss landscape. In deep learning theory, flatter minima are strongly correlated with better generalization and robustness.
By using visualization tools, the authors demonstrated that PTL results in a significantly "wider" and flatter loss surface compared to standard training. This suggests that the memory mechanism helps the model ignore batch-specific noise and focus on more stable, discriminative features.
Key Results and Conclusion
The PTL method achieved state-of-the-art results across major ReID benchmarks. On the MSMT17 dataset, a DenseNet-161 backbone with PTL reached a 42.25% mAP, a substantial improvement over the 38.60% baseline. When combined with the Multiple Granularity Network (MGN), PTL set new benchmarks, such as 87.34% mAP on Market-1501.
Beyond ReID, PTL improved generalization in general image classification, reducing the error rate on CIFAR-100 from 24.15% to 23.17%. These results confirm that treating training as a sequence of batch observations provides a "global perspective" that standard stochastic gradient descent lacks, effectively stabilizing training and enhancing model robustness.
The code is available at: https://github.com/ZJULearning/PTL
Summary updated