NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Shape Transformation-based Dataset Augmentation Framework for Pedestrian Detection

Zhe Chen, Wanli Ouyang, Tongliang Liu, Dacheng TaoIJCV 2019 · DOI

Abstract

Deep learning-based computer vision is usually data-hungry. Many researchers attempt to augment datasets with synthesized data to improve model robustness. However, the augmentation of popular pedestrian datasets, such as Caltech and Citypersons, can be extremely challenging because real pedestrians are commonly in low quality. Due to the factors like occlusions, blurs, and low-resolution, it is significantly difficult for existing augmentation approaches, which generally synthesize data using 3D engines or generative adversarial networks (GANs), to generate realistic-looking pedestrians. Alternatively, to access much more natural-looking pedestrians, we propose to augment pedestrian detection datasets by transforming real pedestrians from the same dataset into different shapes. Accordingly, we propose the Shape Transformation-based Dataset Augmentation (STDA) framework. The proposed framework is composed of two subsequent modules, i.e. the shape-guided deformation and the environment adaptation. In the first module, we introduce a shape-guided warping field to help deform the shape of a real pedestrian into a different shape. Then, in the second stage, we propose an environment-aware blending map to better adapt the deformed pedestrians into surrounding environments, obtaining more realistic-looking pedestrians and more beneficial augmentation results for pedestrian detection. Extensive empirical studies on different pedestrian detection benchmarks show that the proposed STDA framework consistently produces much better augmentation results than other pedestrian synthesis approaches using low-quality pedestrians. By augmenting the original datasets, our proposed framework also improves the baseline pedestrian detector by up to 38% on the evaluated benchmarks, achieving state-of-the-art performance.

Introduction

Deep learning models for pedestrian detection require vast amounts of diverse data to achieve high robustness. While synthetic data generation via 3D engines or Generative Adversarial Networks (GANs) is a common strategy, it often fails when applied to real-world datasets like Caltech and CityPersons. These datasets contain low-quality images characterized by blur, low resolution, and occlusions. Synthesizing new pedestrians from such noisy source material often results in "uncanny valley" artifacts that do not translate well to real-world detection tasks, creating a significant domain gap.

Methodology

The proposed Shape Transformation-based Dataset Augmentation (STDA) framework sidesteps the pitfalls of synthesis by transforming existing real pedestrians. This approach preserves the authentic textures and noise patterns of the original data, which are essential for training robust detectors.

Overview of the STDA pipeline showing the two main stages: shape-guided deformation and environment adaptation.

1. Shape-guided Deformation

Instead of rendering a new pedestrian, the system utilizes a U-Net to predict a shape-guided warping field. This field maps the pixels of a source pedestrian onto the silhouette of a target shape. To maintain anatomical realism, the researchers introduced a Shape Constraining Operation. This operation recognizes that while limbs can move significantly (changing pose), the torso and head should remain relatively stable to avoid unrealistic distortions that would require a change in camera perspective.

2. Environment Adaptation

Once warped, the pedestrian must be integrated into a new background patch. To avoid the artificial appearance of simple "cut-and-paste" methods, the framework predicts an environment-aware blending map ($\alpha$). This map ensures that lighting, shadows, and edges are smoothly transitioned, making the augmented pedestrian appear as a natural part of the scene.

Detailed architecture of the STDA framework, illustrating the U-Net inputs, warping field generation, and the various loss functions used for training.

3. Training Objectives

The framework is trained using a combination of specialized losses:

  • Shape Deformation and Cyclic Reconstruction Losses: Ensure the warping is accurate and reversible.
  • Adversarial Loss: Maintains the visual realism of the generated samples.
  • Hard Positive Mining (HPM) Loss: This critical component forces the augmentation network to generate pedestrians that are specifically difficult for the current detector to identify, creating a curriculum of increasingly challenging training examples.

Experimental Results

The STDA framework was rigorously tested on the Caltech and CityPersons benchmarks:

  • Caltech Pedestrian Dataset: The framework improved the baseline Feature Pyramid Network (FPN) detector's miss rate from 10.4% to 6.4%, a relative improvement of 38%.
  • CityPersons Dataset: On the "Reasonable" subset, the miss rate was reduced from 13.9% to 10.2%.
  • Occlusion Robustness: The method proved exceptionally effective for heavy occlusion scenarios, outperforming specialized detectors by reducing miss rates by over 15% in some instances.

Conclusion

By focusing on the transformation of real-world pixels rather than the synthesis of new ones, the STDA framework effectively bridges the domain gap for low-quality pedestrian data. The combination of shape-guided warping and environment-aware blending allows for the creation of highly realistic and challenging training samples, leading to state-of-the-art performance in pedestrian detection.

Summary updated

BibTeX
@article{chen2019shape,
  author = {Zhe Chen and Wanli Ouyang and Tongliang Liu and Dacheng Tao},
  title = {{A Shape Transformation-based Dataset Augmentation Framework for Pedestrian Detection}},
  journal = {Int. J. Comput. Vis.},
  year = {2019},
  doi = {10.1007/s11263-020-01412-0},
}
Figure