Abstract
Motion segmentation is a critical task for autonomous systems, yet obtaining ground-truth labels for event-based sensors remains a significant bottleneck. We present EV-LayerSegNet, a self-supervised convolutional neural network designed to segment moving objects from the background using raw event streams. By framing the problem as a layered representation and optimizing for image sharpness through contrast maximization, our model simultaneously estimates affine optical flow and generates precise segmentation masks. Experimental results on simulated datasets demonstrate that EV-LayerSegNet achieves an Intersection over Union (IoU) of up to 71%, significantly outperforming traditional unsupervised clustering methods while maintaining real-time inference speeds.
Introduction
Event cameras, such as the Dynamic Vision Sensor (DVS), represent a paradigm shift in visual sensing. Unlike traditional frame-based cameras that capture global snapshots at fixed intervals, event cameras record per-pixel brightness changes asynchronously. This results in microsecond-level temporal resolution, high dynamic range (HDR), and minimal motion blur. However, these advantages come with a cost: the asynchronous, sparse nature of the data makes manual annotation nearly impossible.
Current approaches to event-based motion segmentation often fall into two categories: iterative clustering methods that are too computationally expensive for real-time robotics, or supervised deep learning models that rely on labels transferred from standard cameras. EV-LayerSegNet addresses these limitations by learning directly from the event stream without human supervision.
Methodology
EV-LayerSegNet utilizes an end-to-end encoder-decoder architecture inspired by EV-FlowNet and LayerSegNet. The pipeline processes a 3D event volume, where temporal information is encoded as channels.
Dual-Head Architecture
The network features a shared encoder followed by two specialized heads:
- Segmentation Module: This head predicts "alpha masks," which assign each pixel to either the foreground or the background layer.
- Optical Flow Module: This head estimates the affine motion parameters—including translation, rotation, shearing, and scaling—for both the foreground and background.
To maintain differentiability while enforcing a hard binary segmentation during inference, the researchers implemented a "maxout" operation. This ensures that each pixel is strictly assigned to a single layer, allowing gradients to propagate effectively during training.
Self-Supervised Learning via Contrast Maximization
The core of the training process is the Contrast Maximization (CM) loss. The network uses the predicted affine flow to warp the input events into a Motion-Compensated Image (MCI). If the segmentation and flow parameters are accurate, the events will align, resulting in a sharp, high-contrast image. The network minimizes a loss function based on this sharpness, effectively using "deblurring" as a proxy for understanding the scene's underlying geometry and motion.
To stabilize the learning of alpha masks, the authors introduced the Leaky Double-Rectified ReLU (DoReLU). This activation function flattens the gradient slope for values outside the [0, 1] range, preventing the network from becoming stuck during the optimization of the segmentation masks.
Experimental Setup and Results
Due to the lack of large-scale real-world datasets for affine motion segmentation, the authors developed a new benchmark using the ESIM (Event Camera Simulator). This dataset includes 1,000 training sequences featuring complex affine motions and diverse backgrounds.
Quantitative Performance
EV-LayerSegNet was benchmarked against state-of-the-art unsupervised clustering methods, including EMSMC and EMSGC. The model achieved:
- Intersection over Union (IoU): Up to 71%.
- Detection Rate: 87%.
In specific scenarios, such as the "Drone" sequence, EV-LayerSegNet achieved an IoU of 0.71, whereas baseline clustering methods struggled with scores as low as 0.20.
Qualitative and Computational Efficiency
The model demonstrates robustness in challenging scenarios, such as segmenting a bird flying in the same direction as the camera at a different velocity—a case where traditional motion-based grouping typically fails. Crucially, while iterative methods can take minutes to process a single scene, EV-LayerSegNet operates in milliseconds, making it viable for high-speed robotics applications.
Conclusion and Future Work
EV-LayerSegNet provides a robust framework for self-supervised motion segmentation in event-based vision. By leveraging layered representations and contrast maximization, it bypasses the need for expensive ground-truth labels.
While the current model assumes affine (2D-like) motion, future research will focus on relaxing this constraint to accommodate 3D non-rigid deformations. Additionally, the team plans to explore Spiking Neural Networks (SNNs). Implementing these architectures on neuromorphic hardware could enable ultra-low-power, real-time motion perception for edge devices and micro-UAVs.
Summary updated