Parallel Pre-trained Transformers (PPT) for Synthetic Data-based Instance Segmentation

Ming Li, Jie Wu, Jinhang Cai, Jie Qin, Yuxi Ren, Xuefeng Xiao, Min Zheng, Rui Wang, Xin PanarXiv 2022 · DOI

Introduction

Instance segmentation—the task of detecting objects and outlining their exact pixel-level boundaries—is notoriously data-hungry. While synthetic data generated via physics engines and 3D rendering offers a "free" source of infinite labels, it introduces significant hurdles. Models trained on synthetic data often struggle with the domain gap (where synthetic images look different from real-world physics), long-tailed distributions (where critical objects like wheelchairs are rare compared to pedestrians), and edge uncertainty (mathematical ambiguity in simulated object boundaries).

The Parallel Pre-trained Transformers (PPT) framework addresses these challenges by leveraging multiple high-performance Vision Transformers in parallel. This approach secured first place in the CVPR 2022 AVA Accessibility Vision and Autonomy Challenge with a 65.155% AP.

The PPT Framework

The core of the PPT framework is a multi-model ensemble strategy designed to bridge the synthetic-to-real gap. Instead of relying on a single model, the authors employ three state-of-the-art architectures in parallel: a Swin-B-based UniFormer, a Swin-L-based CBNet V2, and a Swin-B-based CBNet V2.

Architecture of the Parallel Pre-trained Transformers (PPT) framework, illustrating the flow from pre-training to model ensemble.

Massive Pre-training

A key insight of the PPT framework is that Vision Transformers (ViTs) are exceptionally effective at capturing global concepts when pre-trained on massive real-world datasets like COCO and BigDetection. Because ViTs lack the rigid inductive bias of traditional CNNs, they are more adaptable to the synthetic-to-real transition. The authors found that initializing with COCO pre-trained weights improved mAP from 31.9% (random initialization) to 44.3% immediately.

Pixel-level NMS Fusion

To combine the outputs of these parallel models, the framework utilizes a pixel-level Non-Maximum Suppression (NMS) algorithm with a Gaussian kernel. This ensemble approach smooths out individual model errors and captures a more diverse set of spatial features by combining the strengths of CBNet V2 (composite connections) and UniFormer (integrated CNN and self-attention).

Addressing the Long-Tail and Edge Uncertainty

To handle the long-tailed distribution of objects in accessibility contexts, the authors evolved the standard "copy-paste" augmentation method. Their Balanced Copy-Paste strategy adaptively samples rare objects based on their "effective number" in the dataset, ensuring rare categories are seen as frequently as common ones during training. This method improved validation mAP from 51.4% to 52.1%.

Furthermore, to address edge uncertainty, the authors increased the weight of the mask loss ($\lambda_{mask}$) during training. This forced the models to focus more on the difficult, ambiguous boundaries of synthetic objects, leading to sharper and more accurate segmentation masks.

Results and Performance

The PPT framework demonstrated superior performance in the CVPR 2022 AVA Challenge. Quantitative analysis shows that the ensemble strategy consistently outperforms individual state-of-the-art models.

Final performance comparison of individual models and the PPT ensemble on the test set.

As shown in the results, the final ensemble achieved a 65.2% mAP on the test set, providing a significant boost over the best single model (CBNet v2 Swin-L at 64.7%). Additional techniques like Test-Time Augmentation (TTA) and optimal hyperparameter searching contributed roughly 2.5% to the final score.

Conclusion

The PPT framework proves that massive pre-training on real-world data is the most effective bridge for synthetic data tasks. While the computational overhead of running three massive Transformers is high, the framework's success in the AVA Challenge highlights the power of architecture diversity and balanced data augmentation in overcoming the inherent limitations of synthetic datasets. Future work will likely focus on distilling these large ensembles into more efficient models suitable for real-time applications.

Summary updated

BibTeX
@misc{li2022parallel,
  author = {Ming Li and Jie Wu and Jinhang Cai and Jie Qin and Yuxi Ren and Xuefeng Xiao and Min Zheng and Rui Wang and Xin Pan},
  title = {{Parallel Pre-trained Transformers (PPT) for Synthetic Data-based Instance Segmentation}},
  year = {2022},
  eprint = {2206.10845},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.10845},
}
Figure