Abstract
Event cameras, or Dynamic Vision Sensors (DVS), offer significant advantages in high-speed and high-dynamic-range scenarios by recording asynchronous intensity changes rather than traditional frames. However, the development of robust neural networks for event data is often limited by data scarcity and the complex nature of real-world occlusions. This paper discusses ShapeAug, a novel data augmentation technique that simulates moving geometric shapes to mimic realistic occlusions. By both removing background events and synthesizing new events at the boundaries of moving shapes, ShapeAug provides a temporal-aware augmentation strategy that significantly improves performance in classification and object detection tasks, particularly in dynamic environments like autonomous driving.
Introduction
Event cameras represent a paradigm shift in computer vision, capturing only the changes in light intensity at the pixel level. This results in a sparse, asynchronous stream of events that is highly efficient but fundamentally different from the static frames of traditional RGB cameras. Despite their potential, event-based models face two primary challenges: the lack of large-scale labeled datasets compared to the RGB domain, and the difficulty of handling occlusions.
In the real world, when an object passes in front of a background, it does not merely "block" pixels; it creates a complex temporal trail of events at its edges while silencing the events of the objects behind it. Existing augmentation methods, such as EventDrop, often rely on static spatial deletions that fail to capture this dynamic behavior. ShapeAug addresses this gap by introducing a motion-aware pipeline for event data augmentation.
Methodology: The ShapeAug Pipeline
ShapeAug is designed to mimic the physical principles of DVS sensors by simulating moving foreground objects. The pipeline consists of five key stages:
- Shape Generation: The algorithm injects a random number of geometric primitives—such as circles, rectangles, and ellipses—into the event stream.
- Linear Motion: Each shape is assigned a random size, starting position, speed, and angle. These shapes move linearly across the sensor's field of view over a specific time interval, creating a temporal occlusion path.
- Realistic Occlusion: As a shape moves, any original background events that fall within its boundaries are removed, simulating the physical blocking of light from the background.
- Event Synthesis: To maintain realism, ShapeAug simulates the events that a moving object would naturally trigger. By calculating the intensity differences between consecutive "shape frames," the method adds synthetic positive and negative events at the edges of the moving shapes.
- Noise Injection: To account for the inherent hardware noise of DVS sensors, approximately 20% of the synthetic events are randomly dropped, ensuring the model does not over-fit to perfectly clean synthetic data.
Experimental Setup
The researchers evaluated the efficacy of ShapeAug across diverse benchmarks to test both classification and object detection capabilities:
- Classification: The method was tested on converted datasets (DVS-CIFAR10, N-Caltech101) and native event recordings (N-CARS, DVS-Gesture).
- Object Detection: The team utilized the Gen1 Automotive Event Dataset, a large-scale real-world dataset containing over 255,000 labels for cars and pedestrians in urban environments.
Key Insights and Results
The Importance of Temporal Dynamics
A central finding of this research is that occlusion in event data is a temporal process. Static methods like "Cutout" (common in RGB processing) fail to teach networks how to handle objects moving relative to the camera. By simulating motion, ShapeAug forces the network to learn features that are robust to dynamic changes in the scene.
Performance Gains
ShapeAug demonstrated consistent improvements across all tested benchmarks:
- Accuracy: On the N-Caltech101 dataset, the method achieved a top-1 accuracy improvement of up to 6.5%.
- Detection: On the Gen1 Automotive dataset, ShapeAug significantly boosted Mean Average Precision (mAP). The most notable improvement was a 5% increase in pedestrian detection. Since pedestrians are often small and easily occluded by vehicles or urban infrastructure, the synthetic occlusions provided by ShapeAug proved invaluable for training.
- Robustness: Models trained with ShapeAug maintained higher performance when tested on "noisy" or distorted datasets, suggesting that the augmentation helps the model generalize to messy, real-world sensor data.
Synergy with Existing Methods
ShapeAug is most effective when used in conjunction with other techniques. The authors noted that combining ShapeAug with geometric transforms (like flipping and rotation) and EventMix (which blends two different samples) produced the most robust results.
Limitations and Future Work
While ShapeAug represents a significant step forward, it currently relies on simple geometric shapes with uniform intensity. Real-world occluders often have complex textures and irregular boundaries. Furthermore, the current implementation uses linear motion, whereas real-world movement can involve complex rotations or non-linear trajectories. Future iterations of the method could incorporate more sophisticated shape modeling and movement patterns to further bridge the gap between synthetic augmentation and real-world complexity.
Conclusion
ShapeAug provides a physically grounded approach to data augmentation for event cameras. By moving beyond static deletions and incorporating the temporal dynamics of motion and edge-based event synthesis, it allows neural networks to better navigate the complexities of dynamic environments. The significant boosts in pedestrian detection and classification accuracy highlight its potential as a standard tool in the event-based vision pipeline.
Summary updated