Event Camera Data Dense Pre-training

Yan Yang, Liyuan Pan, Liu Liu

Abstract

Event cameras offer high temporal resolution and dynamic range but suffer from data sparsity, making dense prediction tasks like depth estimation and optical flow challenging. This paper presents a novel self-supervised framework for pre-training event-based networks. By introducing a context-level similarity loss that clusters sparse event patches into semantic groups, the proposed method effectively addresses the "sparsity problem." Evaluated on multiple benchmarks, the framework sets new state-of-the-art performance in semantic segmentation, optical flow, and depth estimation, demonstrating the power of pure event-based pre-training.

Introduction

Standard frame-based cameras capture images at fixed intervals, often leading to motion blur and limited dynamic range. Event cameras, by contrast, record asynchronous pixel-wise brightness changes (events) with microsecond precision. While advantageous for high-speed motion and low-light conditions, event data is inherently sparse. Most pixels do not record events in a given time window, creating "voids" that hinder dense prediction models.

Supervised learning for these tasks is limited by the difficulty of obtaining pixel-perfect ground truth labels for event streams. Existing self-supervised approaches often rely on cross-modal guidance from RGB images or focus on global image-level features, failing to capture the local details necessary for dense tasks. This work introduces a self-supervised pre-training strategy designed specifically for dense event-based vision.

Methods

The core of the proposed framework is a student-teacher architecture inspired by DINOv2, adapted for the unique characteristics of event data. The model employs a three-tiered similarity constraint to learn robust representations:

  1. Patch-level Similarity: The model attempts to reconstruct masked patches. Due to data sparsity, this alone is insufficient for stability.
  2. Context-level Similarity: This is the primary innovation. The teacher network uses K-means clustering to group related patches into semantic "contexts" (e.g., grouping all patches representing a specific object). Enforcing similarity at this level allows the model to learn discriminative features even from information-poor individual patches.
  3. Image-level Similarity: A global constraint ensures consistency across the entire scene representation.

The teacher network is updated via an Exponential Moving Average (EMA) of the student network, preventing representation collapse.

The proposed student-teacher framework featuring patch, context, and image-level similarity losses.

Datasets and Evaluation

The model was pre-trained on E-TartanAir, a new synthetic dataset curated from the photo-realistic TartanAir environment, featuring diverse motion patterns. It was also evaluated on standard benchmarks including N-ImageNet, DDD17, DSEC, and MVSEC. These datasets cover a range of tasks from semantic segmentation to depth and flow estimation.

Results and Discussion

The proposed method achieves state-of-the-art (SOTA) results across all evaluated dense tasks. In semantic segmentation on the DSEC dataset, the Swin-T/7 backbone achieved a 61.25% mIoU, a significant improvement over previous self-supervised methods. For optical flow, the model markedly reduced End-Point Error (EPE) on the MVSEC "indoor_flying" sequences.

Radar chart comparing the proposed method (red) against existing self-supervised benchmarks across multiple vision tasks.

A key insight is that sparsity can be leveraged rather than just mitigated. By grouping sparse data into semantic contexts, the model learns what objects look like in the event domain without requiring RGB guidance. This proves that pre-training on pure event data is superior for dense tasks when the loss function is appropriately designed.

Conclusion

This work demonstrates a powerful self-supervised pre-training framework for event cameras that overcomes data sparsity through context-level clustering. While the model currently requires task-specific fine-tuning, it sets a new benchmark for event-based vision. Future research may explore the development of event-vision-language foundation models to enable zero-shot performance across a wider array of tasks.

Summary updated

BibTeX
@inproceedings{yang2024event,
  author = {Yan Yang and Liyuan Pan and Liu Liu},
  title = {{Event Camera Data Dense Pre-training}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72775-7\_17},
}
Figure