Manuscript Offprint

arXiv:2610.13856

Event-based Action Recognition by Pre-Training on Multi-Frame Representations

Emma Norrby, Tomas Wilkinson, Per Nyblom, David Gustafsson

Emma Norrby ID^{ID}, Tomas Wilkinson ID^{ID}, Per Nyblom ID^{ID}, and David Gustafsson ID^{ID}

Swedish Defence Research Agency (FOI), Linköping, Sweden

{emma.norrby, tomas.wilkinson, per.nyblom, david.gustafsson}@foi.se

Abstract. Action recognition is a crucial task in domains like robotics, patient monitoring, or surveillance. Recently, event-based action recognition has attracted much attention due to the event camera's ability to capture fast motions and its improved privacy over conventional vision cameras. While frame-based event representations work well for short event sequences, their discriminative ability declines sharply with longer and more complex event sequences. In this work, we introduce a multi-frame representation that greatly improves recognition performance over its single-frame counterpart. We adopt a masked auto-encoding framework to pre-train a Vision Transformer using a sparsity-aware masking algorithm and token selection mechanism to improve downstream performance and control computational complexity. We also introduce multiple mask tokens for the decoder with a position-aware attention mechanism, leading to further improved performance. Our proposed method shows impressive performance for challenging long-duration and complex event sequences, yielding state-of-the-art performance on THU-EACT-50 CHL and DailyDVS-200.

Keywords: Event-based Action Recognition · Multi-Frame Event Representation · Self-Supervised Learning

1 Introduction

Action recognition is a challenging task that requires understanding both spatial and temporal information over extended periods of time, with applications such as surveillance, robotics, and autonomous systems [20]. However, conventional frame-based cameras often struggle with scenes having high dynamic range, fail to capture fast motion without introducing motion blur, and cause privacy concerns for applications like fall detection or patient monitoring [13]. The event camera is a relatively new vision sensor that offers new possibilities for handling these challenging conditions.

Unlike conventional cameras that capture frames at fixed intervals, event cameras generate an asynchronous stream of events whenever changes occur in the scene. Each event consists of a pixel position, a timestamp, and a polarity indicating whether the brightness increased or decreased. This data format differs fundamentally from standard image sequences. As a result, event streams must

E. Norrby et al.

typically first be converted into suitable representations in order to be processed by conventional computer vision models. Depending on the representation used, the temporal and polarity information could be partly or completely lost. This makes it particularly challenging for complex action recognition, where both long-range dependencies and fine-grained temporal information are needed.

While common representations such as Event Histogram [27], Time Images [28], and Compact Spatio-Temporal Representation (CSTR) [10] are powerful for short event sequences, their performance is reduced for longer sequences with more complex actions. To mitigate this issue and increase the discriminative power of these representations, we propose to divide input event sequences into multiple frames. However, naively doing this would lead to increased computational complexity. In order to avoid this, we introduce an activity-based token selection mechanism that lets the user choose a token budget that fits their application.

Being a relatively new modality, event data lacks the large-scale labeled datasets that exist for more common modalities like conventional images [8]. This makes self-supervised learning (SSL) an attractive alternative as it leverages unlabeled data to pre-train models, leading to a reduced need for labeled data. One such method is masked auto-encoding (MAE) [16], and in particular the spatiotemporal MAE [12] which adopts MAE to conventional video data, and has demonstrated improved accuracy and training efficiency compared to supervised approaches. It also enables the use of Vision Transformers [9] which when trained on a sufficient amount of data show strong performance across numerous domains and modalities. While multi-frame representations provide more context, they also amplify the sparsity naturally contained in event data. Compared to conventional dense frames, this could lead to inefficiencies in training and performance loss on downstream tasks.

In this work, we introduce a sparsity-aware masking algorithm that uses the activity-score to steer the masking strategy to prefer more active patches as context during pre-training, which we find improves downstream performance. Moreover, we introduce multiple mask tokens with a position dependent attention mechanism that allows the decoder to assemble different mask tokens based on its position. This gives a negligible increase in training time while leading to a significant gain in performance.

Altogether, our proposed method yields state-of-the-art performance on challenging long and complex action recognition datasets like THU-EACT-50 CHL [14] and DailyDVS-200 [36] using only event data as input. In sum, our contributions are:

– We propose combining multi-frame and token selection to generate more temporally expressive representations while at the same time enabling controlled inference time. For a given token budget, simply creating multiple frames results in a significant increase in performance.

– We introduce a masking strategy that favours event activity. This synergizes well with the multi-frame representation that increases sparsity with the number of frames used. We further introduce multiple mask tokens along with a position-aware attention mechanism that allows the decoder to learn how to initialize its mask tokens depending on their spatial position.

– Our proposed approach achieves state-of-the-art results on long, complex action recognition datasets like THU-EACT-50 CHL and DailyDVS-200, with 78.7% and 66.9% accuracy respectively, while solely training on event data.

The code is available at: github.com/nrthby/event-action-mae

References (44)