Vector-Symbolic Architecture for Event-Based Optical Flow

Hongzhi You, Yijun Cao, Wei Yuan, Fanjun Wang, Ning Qiao, Yongjie LiarXiv 2024 · DOI

Introduction

Event cameras, or neuromorphic sensors, represent a paradigm shift in computer vision. Unlike standard cameras that capture full frames at fixed intervals, event cameras asynchronously report pixel-level brightness changes. This allows for high-speed motion capture with low latency and high dynamic range. However, the resulting data is sparse and stochastic, making traditional feature matching for optical flow estimation—finding where a pattern moved between moments—extremely challenging.

To address this, researchers have developed a novel approach using Vector-Symbolic Architectures (VSA) to create robust, high-dimensional "fingerprints" for event data. This method allows for accurate motion tracking using events alone, without requiring auxiliary grayscale images or expensive ground-truth labels.

Vector-Symbolic Architectures for Vision

The core innovation lies in the use of Vector Function Architecture (VFA), a specific type of VSA. In basic VSA, spatial points are often represented by random, unrelated high-dimensional vectors. VFA, however, ensures "topological similarity," meaning neighboring pixels are represented by similar vectors. This creates a smoother similarity landscape, which is far more robust to the inherent noise of event data.

Comparison of similarity landscapes: Basic VSA (left) vs. VFA (right). VFA provides a smoother, more localized peak for matching.

The VSA-Flow Framework

The researchers leverage VSA's "binding" operation to fuse different types of information—such as positive and negative event polarities and multiple spatial scales—into a single, unified high-dimensional descriptor without increasing its size. This structured fusion is more elegant and efficient than traditional concatenation or attention mechanisms.

The VSA-Flow architecture, showing HD feature extraction, the cost volume module for similarity matching, and final optical flow estimation.

The framework was implemented in two ways:

  • VSA-Flow (Model-based): A traditional matching approach that utilizes cost volumes to identify the best fit for feature descriptors across time.
  • VSA-SM (Self-supervised): A learning-based approach that trains a neural network (E-RAFT) by maximizing the similarity between HD descriptors, eliminating the need for ground-truth labels.

Results and Benchmarks

The methods were evaluated on the DSEC-Flow and MVSEC benchmarks, two gold standards for event-based vision.

  • State-of-the-Art Performance: On the DSEC-Flow dataset, VSA-Flow outperformed existing model-based methods like MultiCM and RTEF.
  • Self-Supervised Success: VSA-SM achieved an Endpoint Error (EPE) of 2.22 on DSEC, significantly outperforming other event-only self-supervised methods such as TamingCM (2.33) and EV-FlowNet (3.86).
  • Robustness: The use of VFA was shown to be critical; the smoother similarity landscape it provides makes matching significantly easier and more accurate for the algorithms.

Conclusion and Future Work

This research demonstrates that VSAs are mathematically well-suited for low-level vision tasks due to their ability to handle noise through high-dimensional redundancy. While the method faces challenges in areas of extreme event sparsity (e.g., blank walls), it proves that state-of-the-art optical flow can be achieved using event data alone. Future work will focus on improving temporal encoding and extending this VSA approach to tasks like depth estimation and object tracking.

Summary updated

Abstract

From a perspective of feature matching, optical flow estimation for event cameras involves identifying event correspondences by comparing feature similarity across accompanying event frames. In this work, we introduces an effective and robust high-dimensional (HD) feature descriptor for event frames, utilizing Vector Symbolic Architectures (VSA). The topological similarity among neighboring variables within VSA contributes to the enhanced representation similarity of feature descriptors for flow-matching points, while its structured symbolic representation capacity facilitates feature fusion from both event polarities and multiple spatial scales. Based on this HD feature descriptor, we propose a novel feature matching framework for event-based optical flow, encompassing both model-based (VSA-Flow) and self-supervised learning (VSA-SM) methods. In VSA-Flow, accurate optical flow estimation validates the effectiveness of HD feature descriptors. In VSA-SM, a novel similarity maximization method based on the HD feature descriptor is proposed to learn optical flow in a self-supervised way from events alone, eliminating the need for auxiliary grayscale images. Evaluation results demonstrate that our VSA-based method achieves superior accuracy in comparison to both model-based and self-supervised learning methods on the DSEC benchmark, while remains competitive among both methods on the MVSEC benchmark. This contribution marks a significant advancement in event-based optical flow within the feature matching methodology.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
DSEC-FlowMultiCMEPE3.47Model-based (MB) result on DSEC-Flow.
Source quote
L268: MultiCM \cite{shiba2022secrets} │ 3.47 │ 76.57 │ 30.86 │ 13.98
DSEC-FlowVSA-SM (VFA)EPE2.22Self-supervised; evaluation uses a single randomly generated HD kernel during training.
Source quote
L285: VSA-SM (VFA) (\dagger) │ 2.22 │ 55.46 │ 16.83 │ 8.86
DSEC-FlowTamingCMEPE2.33Self-supervised (SSL) result on DSEC-Flow.
Source quote
L284: TamingCM \cite{paredes2023taming} │ 2.33 │ 68.29 │ 17.77 │ 10.56
MVSECVSA-Flow (VFA)EPE1.44split: test
Source quote
L326: VSA-Flow (VFA) (\dagger) │ 1.44 │ 6.71 │ 2.49 │ 18.01 │ 1.79 │ 11.90 │ 1.66 │ 13.96
MVSECMultiCMEPE1.69split: test
Source quote
L324: \multicolumn{1}{l}{\multirow{2}{*}{MB}} │ MultiCM \cite{shiba2022secrets} │ 1.69 │ 12.95 │ 2.49 │ 26.35 │ 2.06 │ 19.03 │ 1.25 │ 9.21
BibTeX
@misc{you2024vector,
  author = {Hongzhi You and Yijun Cao and Wei Yuan and Fanjun Wang and Ning Qiao and Yongjie Li},
  title = {{Vector-Symbolic Architecture for Event-Based Optical Flow}},
  year = {2024},
  eprint = {2405.08300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.08300},
}
Figure