E2VIDiff: Perceptual Events-to-Video Reconstruction using Diffusion Priors

Jinxiu Liang, Bohan Yu, Yixin Yang, Yiming Han, Boxin ShiarXiv 2024

Abstract

Event cameras, mimicking the human retina, capture brightness changes with unparalleled temporal resolution and dynamic range. Integrating events into intensities poses a highly ill-posed challenge, marred by initial condition ambiguities. Traditional regression-based deep learning methods fall short in perceptual quality, offering deterministic and often unrealistic reconstructions. In this paper, we introduce diffusion models to events-to-video reconstruction, achieving colorful, realistic, and perceptually superior video generation from achromatic events. Powered by the image generation ability and knowledge of pretrained diffusion models, the proposed method can achieve a better trade-off between the perception and distortion of the reconstructed frame compared to previous solutions. Extensive experiments on benchmark datasets demonstrate that our approach can produce diverse, realistic frames with faithfulness to the given events.

Introduction

Event cameras, or "silicon retinas," record per-pixel brightness changes asynchronously rather than capturing full frames at fixed intervals. While this provides microsecond resolution and high dynamic range, converting these events into standard video—Events-to-Video (E2VID) reconstruction—is a "highly ill-posed" problem. Since events only capture brightness increments, the absolute starting brightness is unknown, leading to infinite possible reconstructions for a single event stream.

Traditional deep learning approaches typically rely on regression to predict a single "average" frame, which often results in blurry, low-contrast outputs lacking realistic textures. E2VIDiff shifts this paradigm by treating reconstruction as a conditional generative task. By leveraging Latent Diffusion Models (LDMs), the framework samples from the distribution of possible realistic frames, producing diverse and physically faithful video reconstructions that piggyback on the visual knowledge of large-scale pre-trained models.

Methodology

E2VIDiff integrates several key architectural innovations to bridge the modality gap between sparse event data and standard images:

  1. Spatiotemporally Factorized Event Encoder (EE): This encoder uses 2D spatial convolutions followed by 1D temporal convolutions to learn motion patterns efficiently without the computational cost of full 3D convolutions.
  2. Dual-Branch Denoising U-Net: The architecture employs a "frame branch" for latent image content and an "event branch" for signal increments, fused via an Event-to-Frame Integration (EFI) module.
  3. Event-Guided Sampling (EGS): During the denoising phase, EGS performs test-time optimization to ensure the difference between generated frames matches the physical events recorded, maintaining strict faithfulness to the raw data.
  4. Temporal Modulation (TM): Self-attention blocks are integrated to maintain temporal consistency and prevent flickering in the generated video.
Overview of the E2VIDiff architecture and its core modules including the Event Encoder and Temporal Modulation.

Experimental Results

The model was trained on the WebVid-2.5M dataset and evaluated on real-world benchmarks including HQF, IJRR, MVSEC, and DSEC. E2VIDiff significantly outperforms previous state-of-the-art methods like E2VID+ and ETNet in both perceptual quality and realism.

Quantitatively, E2VIDiff achieved the highest Inception Score (IS) and the lowest Frechet Video Distance (FVD) across multiple datasets. Qualitatively, as shown in the comparison below, E2VIDiff produces reconstructions with significantly better color, contrast, and detail compared to deterministic regression-based models which often produce "grayish" or blurry results.

Qualitative comparison of E2VIDiff against E2VID+ and ET-Net, demonstrating superior color and detail reconstruction.

Furthermore, reconstructions from E2VIDiff proved superior for downstream tasks. Standard computer vision algorithms, such as the Segment Anything Model (SAM) and RAFT for optical flow, performed significantly better on E2VIDiff's outputs than on those from competing methods, proving the utility of high-fidelity perceptual reconstruction.

Conclusion and Future Work

E2VIDiff demonstrates the power of diffusion priors in solving the ill-posed E2VID reconstruction problem. By moving from regression to generation, it achieves unprecedented perceptual quality. However, challenges remain regarding inference speed due to the iterative nature of diffusion models and the optimization loop in EGS. Future work will focus on improving performance for extremely subtle motions and complex dynamics, which are currently limited by the motion priors available in general-purpose training datasets.

Summary updated

BibTeX
@misc{liang2024e,
  author = {Jinxiu Liang and Bohan Yu and Yixin Yang and Yiming Han and Boxin Shi},
  title = {{E2VIDiff: Perceptual Events-to-Video Reconstruction using Diffusion Priors}},
  year = {2024},
  eprint = {2407.08231},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.08231},
}
Figure