EventCLIP: Adapting CLIP for Event-based Object Recognition

Ziyi Wu, Xudong Liu, Igor Gilitschenski · Submission to ICLR 2024 · Withdrawn

TL;DR

Training large-scale vision-language models directly on event camera data is bottlenecked by the complete absence of massive event-text datasets. EventCLIP bridges this modality gap by converting asynchronous event streams into 2D event frames and adapting pre-trained 2D CLIP models using lightweight, temporal-aware adapters. Without requiring paired RGB images or training from scratch, it sets strong benchmarks in zero-shot, few-shot, label-free, and out-of-distribution robust event recognition.

What Problem Does This Paper Address?

Event cameras measure pixel-level brightness changes asynchronously with microsecond temporal resolution and high dynamic range. However, standard event-based classifiers suffer from two major drawbacks:

  1. Closed-world brittleness: They are typically trained from scratch on small, closed-set datasets, failing when deployed to novel object categories, shifting lighting conditions, or unusual camera trajectories.
  2. Data scarcity: In conventional 2D vision, foundation models like CLIP leverage hundreds of millions of image-text pairs for zero-shot and few-shot open-world recognition. Creating an equivalent dataset for event cameras is currently infeasible.

The authors ask: Can we transfer web-scale knowledge from pre-trained 2D vision-language models to the neuromorphic event domain without needing paired RGB images or massive new annotations?

Methods

EventCLIP introduces a modular pipeline to process, adapt, and ensemble event data with CLIP:

Raw Events ──> Group by Count ──> 2-Channel Histograms ──> Grayscale RGB Frames (M windows)
                                                                    │
Text Prompts ("point cloud image of [CLASS]") ──> CLIP Text Enc ───┤ 
                                                                    ▼
Per-frame Features ──> Permutation-Equivariant Transformer Adapter ──> Logit Averaging
  • Event-to-Frame Representation: Event streams are segmented into $M$ time windows based on constant event counts $N$ (making the representation robust to camera speed variations). Each window is converted into a 2-channel event histogram (positive vs. negative polarities), normalized, and rendered as a grayscale 3-channel image with empty pixels set to white.
  • Zero-Shot Inference: Converted frames pass through a frozen CLIP image encoder. Text classifier weights are computed using the prompt template: "A point cloud image of a [CLASS]". Frame predictions are aggregated across windows using order-invariant mean pooling.
  • Few-Shot Feature Adaptation:
  • Visual Adapter: Instead of fixed-order MLPs (e.g., PointCLIP), the authors employ a lightweight 2-layer Transformer encoder without positional encodings. This guarantees permutation-equivariance over varying camera trajectories and arbitrary numbers of windows ($M$).
  • Text Adapter: The text classifier weights are fine-tuned directly via Classifier Tuning (gradient descent on class embeddings).
  • Robustness Ensemble & Label-Free Learning:
  • Predictions from EventCLIP are averaged with domain-specific event classifiers (e.g., DiST) to combine complementary strengths.
  • For label-free learning, EventCLIP generates pseudo-labels by enforcing prediction consistency across combinatorial augmentations (spatial horizontal flips and temporal reversals), followed by confidence thresholding.

Datasets

The authors evaluated EventCLIP across three standard benchmarks:

  • N-Caltech: 101 categories (8,246 samples) recorded with an ATIS camera viewing monitor displays of Caltech-101.
  • N-Cars: A real-world automotive dataset containing 24,029 event streams for binary classification (car vs. background).
  • N-ImageNet: 1,000 classes (1.78M streams) captured by a moving Samsung DVS Gen3 sensor, including 9 robustness test variants featuring unseen camera motion trajectories (Variants 1–5) and extreme illumination changes (Variants 6–9).
  • N-ImageNet (Mini): A 100-class subset evaluated under fully unsupervised (label-free) and semi-supervised regimes.

Key Insights and Ideas

  • Prompt Engineering as Cross-Modal Alignment: Describing event frames as "a point cloud image of a [CLASS]" achieved higher zero-shot accuracy (69.67% on N-Caltech) than "a photo of a..." (66.57%) or "an event camera photo of..." (64.73%). The text prompt explicitly accounts for the sparse, boundary-only nature of event visualizations.
  • ViTs Outperform Scaled CNNs for Events: Vision Transformers (ViT-L) substantially outperformed heavily scaled ResNets (e.g., RN50×64) in zero- and few-shot transfer. Because event histograms preserve object contours and discard surface texture, ViTs' inherent shape bias aligns far better with event data than texture-biased CNN backbones.
  • Permutation Equivariance Matters: Because camera motions vary unpredictably, temporal aggregation modules must not assume a rigid sequence order. Dropping positional encodings in the Transformer adapter consistently outperformed MLP-based adapters.
  • Complementary Knowledge Boosts Robustness: Pre-trained event models struggle under corrupted lighting or erratic motions, whereas web-scale CLIP features remain robust. Ensembling a 20-shot EventCLIP with a fully trained DiST model improved accuracy across the corrupted N-ImageNet variants by over 5%, even though EventCLIP alone had a lower baseline accuracy on the clean set.

Key Results

  • Zero-Shot Recognition: Without any event-domain training, EventCLIP achieved 69.67% on N-Caltech, 82.28% on N-Cars, and 20.78% on 1,000-class N-ImageNet.
  • Few-Shot Learning: With 20 shots per class, EventCLIP scored 85.62% on N-Caltech—surpassing the state-of-the-art fully supervised model trained on the entire dataset (EST at 81.7%) by ~4%.
  • Full Fine-Tuning: Fine-tuning EventCLIP's visual encoder on N-ImageNet reached 53.20%, outperforming concurrent baseline E-CLIP (51.85%), despite E-CLIP requiring paired RGB images during training.
  • Robustness Against Corruptions: On the 9 N-ImageNet robustness variants:
  • Base DiST averaged 35.89%.
  • DiST + 20-shot EventCLIP achieved 44.26%, outperforming the test-time adaptation baseline online Ev-TTA (42.61%).
  • DiST + 100-shot EventCLIP reached 45.42%, beating offline Ev-TTA (44.80%).
  • Label-Free Recognition: On N-ImageNet (Mini), zero-shot pseudo-labeling and self-training reached 35.26%, beating Ev-LaFOR (31.28%) by ~4%.

Limitations and Future Work

  • Downstream Dense Prediction Gaps: Preliminary experiments adapting CLIP-based object detectors (like Detic) to raw event frames resulted in false positives (e.g., predicting "banana" or "scissors") and missed objects with sparse boundaries (e.g., motorbikes and trucks).
  • Representation Heuristics: The method still converts events into 2D histogram frames via event-count binning rather than learning a native, end-to-end event-language embedding space.
  • Future Directions: Directly aligning event sensor representations with text using synthetic events generated from large-scale multi-view video datasets (such as CO3D) as intermediate bridges.

Summary updated

BibTeX
@misc{wu2023eventclip,
  author = {Ziyi Wu and Xudong Liu and Igor Gilitschenski},
  title = {{EventCLIP: Adapting CLIP for Event-based Object Recognition}},
  year = {2023},
  eprint = {2306.06354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.06354},
}
Figure