Multiview Detection with Shadow Transformer (and View-Coherent Data Augmentation)

Yunzhong Hou, Liang Zheng

Introduction: The Challenge of Geometric Distortion

In multiview detection (MVD), multiple synchronized cameras are deployed to overcome occlusions. By observing a scene from different angles, a person hidden in one view is likely visible in another. The standard approach involves projecting feature maps from all cameras onto a common "ground plane" (a bird’s-eye view) and using a convolutional neural network (CNN) to fuse these features.

However, this approach faces a fundamental limitation: standard convolution is translation-invariant. It applies the same operation regardless of an object's location in the frame. When a 3D person is projected onto a 2D ground plane, they undergo "shadow-like" distortions—stretching and skewing—that vary significantly based on their distance and angle from the camera. A convolution kernel optimized for the center of the field may fail to recognize the heavily skewed projection of a person at the edge.

Projecting 3D pedestrians onto a 2D ground plane results in position-dependent 'shadow-like' distortions.

Proposed Methodology: MVDeTr

To address these geometric distortions, the authors propose MVDeTr, which introduces two primary innovations: the Shadow Transformer and View-Coherent Data Augmentation.

1. Shadow Transformer

Instead of relying on convolutions to aggregate features on the ground plane, MVDeTr utilizes a transformer encoder based on Multiview Deformable Attention. Unlike standard transformers that attend to every pixel—a computationally prohibitive task for high-resolution maps—deformable attention focuses on a small set of learned reference points. This "Shadow Transformer" jointly processes features across all camera views simultaneously. Because transformers are inherently position-sensitive, the model can adapt its attention patterns to account for specific distortion shapes at different ground plane locations.

Overview of the MVDeTr framework, utilizing a Shadow Transformer for position-sensitive feature aggregation.

2. View-Coherent Data Augmentation

Standard data augmentation (e.g., random cropping or flipping) is typically avoided in MVD because it breaks the geometric consistency between views. If one camera view is flipped while another is not, their features will no longer align correctly on the ground plane. MVDeTr solves this by applying random affine transforms to each view, extracting features, and then applying the inverse of those transforms to the feature maps before ground plane projection. This ensures the model benefits from diverse training data while maintaining perfect multiview geometric alignment.

Performance Evaluation

The model was evaluated on two major pedestrian detection benchmarks: Wildtrack, a real-world dataset with 7 synchronized cameras, and MultiviewX, a synthetic dataset designed for high-density crowd simulation.

MVDeTr significantly outperformed previous state-of-the-art methods like MVDet:

  • Wildtrack: Achieved 91.5% MODA (Multi-Object Detection Accuracy), a +3.3% improvement.
  • MultiviewX: Achieved 93.7% MODA, a +9.8% improvement.

Ablation studies confirmed that the Shadow Transformer provides the most significant performance boost over traditional convolution, while view-coherent augmentation adds approximately 1-2% to the final accuracy.

Conclusion

MVDeTr demonstrates that moving beyond translation-invariant convolutions is key to handling the geometric complexities of multiview projection. By treating projected features as "shadows" and using a position-sensitive transformer, the model achieves superior occlusion handling and detection accuracy. While the transformer architecture introduces some computational overhead, requiring downsampling for standard GPUs, the performance gains on major benchmarks establish a new standard for the field.

Summary updated

BibTeX
@inproceedings{hou2021multiview,
  author = {Yunzhong Hou and Liang Zheng},
  title = {{Multiview Detection with Shadow Transformer (and View-Coherent Data Augmentation)}},
  booktitle = {ACM Multimedia},
  year = {2021},
  doi = {10.1145/3474085.3475310},
}
Figure