Optical-Flow Wingbeat Counting in MuJoCo: A Comparison of Convolutional, Spiking, and Attention-Based Temporal Models
Zhang Nengbo
Key points
From the paper's conclusion- The results support the feasibility of causal optical-flow counting in the tested setting and identify boundary-sensitive errors.
Abstract
Visual monitoring of flapping-wing vehicles requires distinguishing individual wingbeats from motion strength and average frequency. This paper presents a controlled MuJoCo evaluation of wingbeat counting from signed optical flow observed by virtual cameras mounted on Crazyflie vehicles. Three flapping-wing models were recorded at optical distances of 1.5 and 3.0 m, producing 1,440 clips from 240 paired scene configurations with a scene-level 3:1 training-test split. A common spatial convolutional encoder was combined with a causal temporal convolutional network, a recurrent leaky integrate-and-fire spiking network, or causal self-attention. Each model predicted phase and activity, followed by the same directed-crossing event counter. The six existing convolutional models were retained, and all twelve new models were frozen before their test predictions were generated. Exact-count accuracies at 1.5 m were 96.67%, 95.00%, and 96.67%, respectively; at 3.0 m they were 94.44%, 92.22%, and 95.00%. All paired scene-bootstrap intervals for differences in exact-count accuracy included zero. Seven far-distance spiking-model clips had correct totals despite event-timing mismatches, demonstrating why total-count and event-level measurements must be reported together. The results support the feasibility of causal optical-flow counting in the tested setting and identify boundary-sensitive errors. They do not establish an architecture ranking across repeated training, real-flight robustness, or hardware efficiency.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FlapKAD: A Simulation Dataset of Coupled Wing Kinematics and Aerodynamic Dynamics for Flapping-Wing Aerial VehiclesarXiv · 2026
- FlyingDrones: A Dataset and Benchmark for Optical Flow Estimation from UAV motionarXiv · 2026
- FLiTrak3D: Improved deep-learning-based 3D insect flightkinematics tracking using spatial and temporal encodingbioRxiv · 2026
- FlyVQA: Seeing Video Frame Interpolation Quality through Fly EyesarXiv · 2026
- Bounded Channel-Adaptive Spectral Learning for Forward-Consistent Inverse Flapping-Wing AerodynamicsarXiv · 2026
- MonoRace: Robust monocular AI for champion-level drone racing.Science robotics · 2026