SICAF: Time-Varying Focus Bottleneck for Self-Supervised Event-Based Optical Flow with Spiking Neural Network
Organizations: Tianjin University, Tianjin, China · Tsinghua University, Beijing, China · Xi’an Jiaotong University, Xi’an, China
Abstract
Event-based optical flow estimation achieves high temporal resolution and dynamic range by exploiting asynchronous events, while self-supervised learning provides an effective solution to the absence of ground-truth labels. Spiking neural networks (SNNs), as brain-inspired models, process information through asynchronous spikes, naturally aligning with optical flow events. However, the temporal irregularity across event streams hinders the compact extraction of spatiotemporal features, while the absence of explicit labels leads to spurious correlations, thereby increasing redundancy within latent representations. In this paper, we propose a novel 'Compactly Compress, Time-varying Focus' training strategy. We present SICAF (Spikes Information Compression And Focus) framework that formulates the learning process as a constrained optimization with temporal modulation. It encourages self-supervised SNNs to extract compact latent representations while preventing over-compression that would discard temporal saliency. To better enable feature selectivity across time steps, we design an estimator with learnable temporal attention, achieving context awareness with cross-time dependencies. Experimental results on several datasets demonstrate that SICAF achieves state-of-the-art performance in self-supervised SNNs, with a 8.14% improvement in AEE on the MVSEC dataset and a 13.49% increase in robustness under white-box adversarial attacks.
Figures & tables
| Methods | Average Endpoint Error (AEE) | ||||
| Indoor (flying1) | Indoor (flying2) | Indoor (flying3) | Outdoor (day1) | Avg. | |
| LIF-EV-FlowNet [ 6 ] | 0.71 | 1.44 | 1.16 | 0.53 | 0.96 |
| LIF-FireNet [ 6 ] | 0.98 | 1.77 | 1.50 | 0.57 | 1.21 |
| ALIF-EV-FlowNet [ 6 ] | 1.00 | 1.78 | 1.55 | 0.57 | 1.23 |
| PLIF-EV-FlowNet [ 6 ] | 0.75 | 1.52 | 1.23 | 0.60 | 1.03 |
| XLIF-EV-FlowNet [ 6 ] | 0.73 | 1.45 | 1.17 | 0.45 | 0.95 |
| Noise type | Methods | AEE | ||||
| Indoor (flying1) | Indoor (flying2) | Indoor (flying3) | Outdoor (day1) | Average | ||
| SP | LIF-EV-FlowNet [ 6 ] | 0.91 | 1.68 | 1.39 | 0.56 | 1.14 |
| XLIF-EV-FlowNet [ 6 ] | 0.86 | 1.76 | 1.21 | 0.62 | 1.11 | |
| SICAF-LIF | 0.82 | 1.44 | 1.20 | 0.60 | 1.01 | |
| SICAF-XLIF | 0.75 | 1.43 | 1.18 | 0.44 | 0.95 | |
| Gaussian | LIF-EV-FlowNet [ 6 ] | 0.95 | 1.72 | 1.44 | 0.62 | 1.18 |
| Methods | SICAF | AEE | ||||||
| Indoor (flying1) | Indoor (flying2) | Indoor (flying3) | outdoor (day1) | Avg. | ||||
| (a) | ✓ | ✗ | ✗ | 0.77 | 1.50 | 1.25 | 0.56 | 1.02 |
| (b) | ✓ | ✓ | ✗ | 0.81 | 1.45 | 1.19 | 0.57 | 1.01 |
| (c) | ✓ | ✗ | ✓ | 0.83 | 1.60 | 1.31 | 0.54 | 1.07 |
| (d) | ✓ | ✓ | ✓ | 0.71 | 1.37 | 1.09 | 0.43 | 0.90 |
| Methods | Compact Compression | Time-Varying Focus | Uniform Compression | AEE | ||||
| Indoor (flying1) | Indoor (flying2) | Indoor (flying3) | Outdoor (day1) | Avg. | ||||
| (a) | ✓ | ✓ | ✗ | 0.72 0.031 | 1.38 0.026 | 1.09 0.03 | 0.47 0.053 | 0.91 0.012 |
| (b) | ✓ | ✗ | ✓ | 0.81 0.047 | 1.53 0.044 | 1.28 0.064 | 0.55 0.041 | 1.04 0.019 |
| (c) | ✗ | ✓ | ✗ | 0.81 0.075 | 1.51 0.029 | 1.24 0.010 | 0.56 0.061 | 1.03 0.043 |
| (d) | ✓ | ✗ | ✗ | 0.81 0.021 | 1.52 0.059 | 1.28 0.025 | 0.61 0.055 | 1.06 0.036 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Initialization range |
| (learnable) | 0.01 |
| (learnable) | 1 |
| (learnable) | |
| (learnable) | |
| 0.8 |
| Methods | ECD | HQF | ||
| FWL | RSAT | FWL | RSAT | |
| LIF-EV-FlowNet [ 6 ] | 1.21 | 0.95 | 1.24 | 0.94 |
| ALIF-EV-FlowNet [ 6 ] | 1.17 | 0.98 | 1.21 | 0.98 |
| PLIF-EV-FlowNet [ 6 ] | 1.24 | 0.95 | 1.28 | 0.93 |
| XLIF-EV-FlowNet [ 6 ] | 1.23 | 0.95 | 1.25 | 0.93 |
| SICAF | 1.26 | 0.94 | 1.30 | 0.92 |
| Noise type | SP | Gaussian | Black-box attack | White-box attack | ||||
| Methods | [ 28 ] | SICAF | [ 28 ] | SICAF | [ 28 ] | SICAF | [ 28 ] | SICAF |
| boxes | 0.97 | 0.94 | 0.97 | 0.94 | 1.01 | 1.00 | 0.99 | 0.96 |
| 0calibration | 0.97 | 0.96 | 0.98 | 0.96 | 1.00 | 1.00 | 0.99 | 0.98 |
| dynamic_6dof | 0.94 | 0.92 | 0.95 | 0.92 | 1.00 | 0.98 | 0.97 | 0.94 |
| office_zigzag | 0.97 | 0.96 | 0.98 | 0.97 | 1.00 | 1.00 | 0.99 | 0.98 |
| poster_6dof | 0.97 | 0.94 | 0.97 | 0.94 | 1.01 | 0.99 | 0.99 | 0.90 |
| Noise type | SP | Gaussian | Black-box attack | White-box attack | ||||
| Methods | [ 28 ] | SICAF | [ 28 ] | SICAF | [ 28 ] | SICAF | [ 28 ] | SICAF |
| bike_bar_hdr | 0.97 | 0.95 | 0.98 | 0.95 | 1.00 | 0.98 | 0.98 | 0.95 |
| boxes | 0.94 | 0.92 | 0.95 | 0.93 | 1.00 | 0.97 | 0.97 | 0.93 |
| desk_6k | 0.92 | 0.90 | 0.93 | 0.91 | 0.99 | 0.95 | 0.95 | 0.92 |
| desk_fast | 0.92 | 0.89 | 0.93 | 0.90 | 0.99 | 0.95 | 0.95 | 0.91 |
| desk_hand_only | 1.00 | 0.98 | 1.00 | 0.98 | 0.99 | 0.99 | 0.98 | 0.97 |
| Model | Latency (ms/batch) | Inference energy per batch (J) | Memory (MiB) | Spikes per inference batch |
| LF-EV-FlowNet | ||||
| SICAF |
Event-Based Optical Flow
Event-based optical flow estimates pixel motion from asynchronous brightness-change events, enabling low-latency vision in fast or difficult lighting.
See all 13 papers