Generative Event Pretraining with Foundation Model Alignment
Organizations: Robotics and Perception Group, University of Zurich
Abstract
Event cameras provide robust visual signals under fast motion and challenging illumination conditions thanks to their microsecond latency and high dynamic range. However, their unique sensing characteristics and limited labeled data make it challenging to train event-based visual foundation models (VFMs), which are crucial for learning visual features transferable across tasks. To tackle this problem, we propose GEP (Generative Event Pretraining), a two-stage framework that transfers semantic knowledge learned from internet-scale image datasets to event data while learning event-specific temporal dynamics. First, an event encoder is aligned to a frozen VFM through a joint regression-contrastive objective, grounding event features in image semantics. Second, a transformer backbone is autoregressively pretrained on mixed event-image sequences to capture the temporal structure unique to events. Our approach outperforms state-of-the-art event pretraining methods on a diverse range of downstream tasks, including object recognition, segmentation, and depth estimation. Together, VFM-guided alignment and generative sequence modeling yield a semantically rich, temporally aware event model that generalizes robustly across domains.
Figures & tables
| Method | Backbone | Dataset | Ep. | N-ImageNet | N-Caltech101 | ||
|---|---|---|---|---|---|---|---|
| acc1 | acc5 | acc1 | acc5 | ||||
| Training from scratch | |||||||
| ViT [ 11 ] | ViT-S/16 | N-ImageNet | 300 | 46.70 | 69.89 | 55.63 | – |
| Specific trained | |||||||
| EST [ 16 ] | – | – | – | 48.93 | – | – | – |
| Self-supervised pretraining | |||||||
| Method | Backbone | Dataset | Ep. | DDD17 | DSEC | ||
|---|---|---|---|---|---|---|---|
| mIoU | mAcc | mIoU | mAcc | ||||
| Training from scratch | |||||||
| ViT [ 11 ] | ViT-S/16 | – | – | 36.65 | 46.21 | 32.66 | 40.84 |
| Specific trained | |||||||
| ESS [ 52 ] | – | Cityscape | 50 | 61.37 | 70.87 | 53.30 | 62.94 |
| Self-supervised pretraining | |||||||
| Method | Backbone | Dataset | Ep. | Abs | RMS |
| Specific trained | |||||
| HMNet [ 20 ] | – | – | – | 4.61 | 8.60 |
| Self-supervised pretraining | |||||
| BeiT [ 1 ] | ViT-B/16 | ImageNet-1K | 800 | 4.40 | 7.56 |
| MAE [ 22 ] | ViT-B/16 | ImageNet-1K | 800 | 4.45 | 7.60 |
| DINOv2 [ 39 ] | ViT-S/16 | LVD-142M | – | 4.45 | 7.65 |
| ViT-Small | ViT-Base | |||
|---|---|---|---|---|
| Metric | Dinov2 | Aligned | Dinov2 | Aligned |
| Silhouette [ 49 ] | -0.03 | 0.19 | 0.03 | 0.27 |
| Davies–Bouldin [ 9 ] | 5.24 | 2.21 | 3.75 | 2.04 |
| Calinski–Harabasz [ 5 ] | 9.39 | 33.21 | 14.97 | 48.56 |
| Metric | Distance Reduction | ImageNet Acc. (%) |
|---|---|---|
| MSE | 2.22→0.78 (-64.7%) | 31.18→61.45 |
| InfoNCE | 2.28→0.57 (-75.0%) | 31.18→60.99 |
| Cosine | 0.70→0.27 (-61.8%) | 31.18→61.80 |
| KL Diver. | 0.48→0.15 (-67.5%) | 31.18→59.20 |
| Attention | 38.76→19.42 (-49.9%) | 31.18→56.72 |
| Cosine + InfoNCE | 1.40→0.36 (-74.3%) | 31.18→ 62.73 |
| Variant | Align | Parad. | DSEC (mIoU / mAcc) |
|---|---|---|---|
| Ours (2 stages) | ✓ | AR | 63.27 / 73.13 |
| Event-only AR (Stage 2) | ✓ | AR | 63.51 / 72.11 |
| Ours - pretrain | ✓ | None | 61.97 / 71.83 |
| Ours - alignment | ✗ | AR | 52.38 / 60.97 |
| Ours - alignment + finetune | ✗ | AR | 58.24 / 66.82 |
| Ours + aggregator [ 30 ] | ✓ | AR | 61.24 / 71.53 |
| Setting | Value |
|---|---|
| optimizer | AdamW |
| Batch size | 32 |
| Learning rate | |
| Weight decay | 0 |
| Minimum learning rate | 0 |
| Warmup steps | 100 |
| Setting | Value |
|---|---|
| optimizer | AdamW |
| Batch size | 8 |
| Window size | 4096 |
| Learning rate | |
| Weight decay | |
| Minimum learning rate | 0 |
| Method | Back- | Pretrain | Pretrain | Pretrain | Pretrain | Peak |
|---|---|---|---|---|---|---|
| bone | Mode | Res. | EFLOPs (h) | Data Size | GPU Mem. | |
| TESPEC [ 37 ] | Swin-T | Unsup. | 31.7 (540h) | 3.5 TB | - | |
| STP [ 28 ] | Swin-T | Sup. | - | 0.57 TB | - | |
| GEP (Ours) | ViT-S | Unsup. | 3.2 (54h) | 0.94 TB | 17G |
| Method | Head | Trainable Param. | Finetune (h) | DSEC Seg. | |
|---|---|---|---|---|---|
| mIoU | mAcc | ||||
| TESPEC [ 37 ] | UperNet | 45M | 2.7 (46h) | 62.77 | 70.61 |
| STP [ 28 ] | UperNet | 42M | - | 62.05 | - |
| GEP (ours) | Linear | 22M | 0.04 (0.7h) | 65.22 | 74.66 |
| Pre-training Strategy | Eval. Resolution | DSEC Seg. | |
|---|---|---|---|
| (Bins per RGB interval) | (Bins per RGB interval) | mIoU | mAcc |
| Fixed ( ) (Ours) | (Ours) | 42.98 | 53.09 |
| Dynamic ( ) | (Ours) | 42.67 | 52.02 |
| (Unseen) | 42.25 | 51.39 | |
| (Random) | 21.31 | 28.58 | |
Event-Based Vision
Event-based vision uses asynchronous camera measurements to perceive motion and scene changes with high temporal resolution and dynamic range.
See all 227 papers