[Paper Review] RecursiveMix: Mixed Learning with History
RecursiveMix (RM) is a novel data augmentation method that recursively reuses historical input-prediction-label triplets from previous training iterations to generate diverse, multi-scale mixed samples, enhancing model generalization with minimal computational overhead. It achieves state-of-the-art performance, improving ResNet-50 by 3.2% on CIFAR-100 and 2.8% on ImageNet, and outperforming CutMix by 1.4 AP points on COCO object detection.
Mix-based augmentation has been proven fundamental to the generalization of deep vision models. However, current augmentations only mix samples at the current data batch during training, which ignores the possible knowledge accumulated in the learning history. In this paper, we propose a recursive mixed-sample learning paradigm, termed "RecursiveMix" (RM), by exploring a novel training strategy that leverages the historical input-prediction-label triplets. More specifically, we iteratively resize the input image batch from the previous iteration and paste it into the current batch while their labels are fused proportionally to the area of the operated patches. Further, a consistency loss is introduced to align the identical image semantics across the iterations, which helps the learning of scale-invariant feature representations. Based on ResNet-50, RM largely improves classification accuracy by $\sim$3.2\% on CIFAR100 and $\sim$2.8\% on ImageNet with negligible extra computation/storage costs. In the downstream object detection task, the RM pretrained model outperforms the baseline by 2.1 AP points and surpasses CutMix by 1.4 AP points under the ATSS detector on COCO. In semantic segmentation, RM also surpasses the baseline and CutMix by 1.9 and 1.1 mIoU points under UperNet on ADE20K, respectively. Codes and pretrained models are available at \url{https://github.com/megvii-research/RecursiveMix}.
Motivation & Objective
- Address the limitation of existing mix-based data augmentation methods that only use current-batch samples, ignoring valuable knowledge accumulated in training history.
- Explore how historical input-prediction-label triplets can be recursively reused to improve model generalization and feature learning.
- Develop a training paradigm that explicitly learns spatial-semantic consistency across iterations to enhance scale-invariant and spatial-aware representations.
- Minimize additional computational and memory costs while significantly improving performance on image classification, detection, and segmentation benchmarks.
- Demonstrate the effectiveness of recursive mixing in downstream tasks such as object detection and semantic segmentation, where spatial understanding is critical.
Proposed method
- RecursiveMix iteratively resizes and pastes the input image batch from the previous training iteration into the current batch, forming a recursive data mixing paradigm.
- Labels from the historical and current samples are fused proportionally to the area of the pasted patches using a mixing coefficient λ.
- A consistency loss is introduced to align the feature representations of corresponding regions of interest (ROI) between the current mixed input and the historical input, enforcing spatial semantic consistency.
- The method uses a lightweight RoI operator and an optional fully connected layer to compute the consistency loss, ensuring minimal computational overhead.
- The historical triplet (input, prediction, label) is stored as a mini-batch for one iteration only, resulting in negligible storage cost.
- The recursive mixing process increases data diversity and provides multi-scale and multi-space views of the same instance, enriching supervision signals.
Experimental results
Research questions
- RQ1Can leveraging historical input-prediction-label triplets improve the generalization capability of deep vision models beyond current-batch-only mix augmentation?
- RQ2How does recursive mixing with historical data enhance feature learning, particularly in terms of scale-invariance and spatial-aware representations?
- RQ3To what extent can RecursiveMix improve performance on image classification, object detection, and semantic segmentation tasks with minimal computational and memory overhead?
- RQ4Does the consistency loss between historical and current mixed samples lead to more accurate and robust feature learning compared to standard mix methods?
- RQ5Can RecursiveMix serve as a simple yet effective baseline that outperforms existing state-of-the-art mix augmentation techniques like CutMix and Mixup?
Key findings
- RecursiveMix improves ResNet-50 accuracy by 3.2% on CIFAR-100 and 2.8% on ImageNet, significantly outperforming the baseline and CutMix.
- On the COCO object detection benchmark with the ATSS detector, the RM-pretrained ResNet-50 model achieves 2.1 AP points higher than the baseline and 1.4 AP points higher than CutMix.
- In semantic segmentation on ADE20K with UperNet, RM surpasses the baseline by 1.9 mIoU and CutMix by 1.1 mIoU, demonstrating strong generalization in dense prediction tasks.
- The method achieves these gains with only a negligible increase in memory (5887.0 MB vs. 5832.0 MB) and training time (73.8 hours), showing high efficiency.
- Class activation mapping visualizations confirm that RM generates more diverse, multi-object inputs and enables better localization of meaningful regions compared to Mixup and CutMix.
- Effective class analysis shows RM provides supervision for an average of 4–5 objects per image, confirming richer and more diverse supervision signals than baseline methods.
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.