E-CLIP: Towards Label-efficient Event-based Open-world Understanding by CLIP

Jiazhou Zhou, Xu Zheng, Yuanhuiyi Lyu, Lin Wang · OpenReview

Abstract

Contrasting Language-image pertaining (CLIP) has recently shown promising open-world and few-shot performance on 2D image-based recognition tasks. However, the transferred capability of CLIP to the novel event camera data still remains under-explored. In particular, due to the modality gap with the image-text data and the lack of large-scale datasets, achieving this goal is non-trivial and thus requires significant research innovation. In this paper, we propose E-CLIP (implemented as the EventBind framework), a novel and effective framework that unleashes the potential of CLIP for event-based recognition to compensate for the lack of large-scale event-based datasets. Our work addresses two crucial challenges: 1) how to generalize CLIP's visual encoder to event data while fully leveraging events' unique properties, e.g., sparsity and high temporal resolution; 2) how to effectively align the multi-modal embeddings, i.e., image, text, and events. To this end, we first introduce a novel event encoder that subtly models the temporal information from events and meanwhile generates event prompts to promote the modality bridging. We then design a text encoder that generates content prompts and utilizes hybrid text prompts to enhance the E-CLIP's generalization ability across diverse datasets. With the proposed event encoder, text encoder, and original image encoder, a novel Hierarchical Triple Contrastive Alignment (HTCA) module is introduced to jointly optimize the correlation and enable efficient knowledge transfer among the three modalities. We conduct extensive experiments on two recognition benchmarks, and the results demonstrate that our E-CLIP outperforms existing methods by a large margin of +3.94% and +4.62% on the N-Caltech dataset, respectively, in both fine-tuning and few-shot settings. Moreover, our E-CLIP can be flexibly extended to the event retrieval task using both text or image queries, showing plausible performance.

Introduction

Event cameras, or neuromorphic sensors, represent a paradigm shift in visual sensing by recording asynchronous pixel-level brightness changes rather than traditional intensity frames. While offering high temporal resolution, low latency, and high dynamic range, the lack of large-scale labeled event data hinders the development of robust recognition models. Vision-Language Models (VLMs) like CLIP have revolutionized computer vision, but they do not natively "speak" event data.

Overview of the EventBind framework and its performance on open-world recognition and retrieval tasks.

The EventBind framework (E-CLIP) addresses the modality gap by aligning events, images, and text into a unified embedding space. As shown in Figure 1, this approach enables superior performance in open-world object recognition and extends naturally to cross-modal retrieval tasks, such as image-to-event and text-to-event retrieval.

Methodology

EventBind consists of three primary components designed to facilitate efficient knowledge transfer from pre-trained VLMs to the event modality.

1. Event Encoder with Temporal Modeling

To capture the unique temporal dynamics of event data, the event encoder utilizes cross-frame prompts. These are learnable tokens that allow information to exchange between different time slices of the event stream. Additionally, event prompts—small sets of learnable parameters—are injected into the encoder layers to help the model adapt to the unique sparsity of event data without "forgetting" its original CLIP knowledge.

2. Enhanced Text Encoder

To make text more descriptive of the event modality, the authors use Hybrid Text Prompts. This combines hand-crafted templates (e.g., "A drafted image of a [class]") with learnable tokens and Content Prompts generated by a lightweight MLP that analyzes visual features to provide context-aware embeddings.

3. Hierarchical Triple Contrastive Alignment (HTCA)

HTCA is the core training logic that jointly optimizes the relationship between Events, Images, and Text. By using images as an "anchor" during training, the model can transfer rich visual knowledge from CLIP's image-text pre-training directly to the event modality.

Detailed architecture of the EventBind components, including the Event Encoder, Text Encoder, and Hierarchical Triple Contrastive Alignment (HTCA).

Key Results

The researchers evaluated EventBind on major event-based benchmarks, including N-Caltech101, N-MNIST, and N-ImageNet.

  • State-of-the-Art Accuracy: On N-Caltech101, EventBind achieved 95.29% accuracy, outperforming previous best methods by +5.34%. On the large-scale N-ImageNet, it saw a +5.65% improvement.
  • Label Efficiency: In "few-shot" settings (20 examples per class), EventBind outperformed the previous best model (EventCLIP) by significant margins, such as +1.70% on N-Caltech101 and +3.99% on N-ImageNet.
  • Efficiency: The model is highly parameter-efficient. The ViT-B-16 version of EventBind outperformed much larger models (like ViT-L-14) while using only about 71% of the parameters.

Conclusion

EventBind (E-CLIP) successfully adapts large-scale Vision-Language Models to the neuromorphic domain. By leveraging temporal prompting and a triple-alignment strategy, it overcomes the scarcity of labeled event data and sets new benchmarks for event-based understanding. Future work may extend this unified representation to more complex tasks like object detection and semantic segmentation in event streams.

Summary updated

BibTeX
@inproceedings{zhou2024e,
  author = {Jiazhou Zhou and Xu Zheng and Yuanhuiyi Lyu and Lin Wang},
  title = {{E-CLIP: Towards Label-efficient Event-based Open-world Understanding by CLIP}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72897-6\_27},
}
Figure