LLM-EvRep: Learning an LLM-Compatible Event Representation Using a Self-Supervised Framework

Qiang (Vincent) Qu, Zongyou Yu, Qiang Qu 0004, Qian Zhang, Nan Zhang, Xiaoming ChenarXiv 2025

Abstract

Recent advancements in event-based recognition have demonstrated significant promise, yet most existing approaches rely on extensive training, limiting their adaptability for efficient processing of event-driven visual content. Meanwhile, large language models (LLMs) have exhibited remarkable zero-shot capabilities across diverse domains, but their application to event-based visual recognition remains largely unexplored. To bridge this gap, we propose LLM-EvGen, an event representation generator that produces LLM-compatible event representations LLM-EvRep, thereby enhancing the performance of LLMs on event recognition tasks. The generator is trained using a self-supervised framework, aligning the generated representations with semantic consistency and structural fidelity. Comprehensive experiments were conducted on three datasets: N-ImageNet, N-Caltech101, and N-MNIST. The results demonstrate that our method, LLM-EvRep, outperforms the event-to-video method, E2VID, by 15.93%, 0.82%, and 50.21%, respectively, in recognition tasks when evaluated using GPT-4o.

Introduction

Event cameras, or neuromorphic sensors, represent a paradigm shift in visual sensing by capturing asynchronous pixel-level brightness changes rather than traditional intensity frames. While these sensors offer high temporal resolution and low power consumption, their output—a sparse stream of events—is fundamentally incompatible with the training data of state-of-the-art Large Language Models (LLMs). Most LLMs are optimized for RGB imagery, creating a "modality gap" that hinders the direct application of powerful vision-language models to event-based data.

Existing methods often rely on Event-to-Video (E2V) reconstruction to convert event streams into human-viewable frames. However, these reconstructions are not necessarily optimized for the internal visual features prioritized by LLMs. This paper introduces LLM-EvRep, a novel representation specifically designed to be "LLM-compatible," generated through a self-supervised framework that requires no manual labeling.

Methodology: The LLM-EvGen Framework

The core of the proposed system is LLM-EvGen, a generator based on the EfficientNetV2 architecture. The framework processes raw event streams through three primary stages:

  1. Preprocessing: Raw event data is transformed into a "Tencode" representation, a 3-channel format that preserves temporal and spatial information in a manner suitable for neural networks.
  2. Generation: The LLM-EvGen model translates the Tencode into LLM-EvRep, a visual representation that aligns with the "visual vocabulary" of pre-trained LLMs.
  3. Self-Supervised Training: The generator is trained using a dual-loss mechanism to ensure the output is both semantically meaningful and structurally accurate.
The self-supervised training framework of LLM-EvGen, utilizing semantic consistency and structural fidelity losses.

The training utilizes two key losses:

  • Semantic Consistency Loss: This loss aligns the LLM's textual interpretation of the generated LLM-EvRep with its interpretation of a corresponding ground-truth RGB frame. By using the LLM itself as a supervisor, the generator learns to produce features that the LLM can easily recognize.
  • Structural Fidelity Loss: To prevent the model from generating "hallucinations" that might satisfy the semantic loss but lack physical grounding, a Sobel-edge-based loss is applied. This ensures the LLM-EvRep maintains the structural outlines of the original scene.

Experimental Results

The effectiveness of LLM-EvRep was evaluated across three benchmark datasets: N-ImageNet, N-Caltech101, and N-MNIST. The framework demonstrated significant improvements in zero-shot recognition tasks compared to standard reconstruction methods and specialized event-based CLIP models.

Performance comparison of LLM-EvRep against state-of-the-art methods across N-ImageNet (N-I), N-Caltech101 (N-C), and N-MNIST (N-M).

As shown in the results, LLM-EvRep consistently outperforms E2VID and E2HQV across different LLM backbones. Notably, when paired with GPT-4o, LLM-EvRep achieved a 100% accuracy rate on the N-MNIST dataset and a substantial 94.72% on N-Caltech101. These results highlight the advantage of learning a representation that is specifically tailored to the visual processing capabilities of large-scale vision-language models.

Conclusion

LLM-EvRep successfully bridges the gap between neuromorphic sensing and large language models. By leveraging a self-supervised framework that emphasizes semantic and structural alignment, the proposed LLM-EvGen enables LLMs to achieve state-of-the-art zero-shot performance on event-based data. This work paves the way for integrating efficient event cameras into broader AI ecosystems without the need for extensive domain-specific fine-tuning.

Summary updated

BibTeX
@misc{qu2025llm,
  author = {Qiang (Vincent) Qu and Zongyou Yu and Qiang Qu and Qian Zhang and Nan Zhang and Xiaoming Chen},
  title = {{LLM-EvRep: Learning an LLM-Compatible Event Representation Using a Self-Supervised Framework}},
  year = {2025},
  eprint = {2502.14273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.14273},
  howpublished = {arXiv},
}
Figure