NSFlow: End-to-End Differentiable Neuro-Symbolic Optical Flow for Visual Odometry
Yicheng Lin, Zhipeng Fei, Yuxiu Xu, WenDong Chen, Cong Li, Bin Han
Abstract
Sparse optical flow provides stable inter-frame correspondence, playing a key role in Visual Odometry (VO) and Visual-Inertial Odometry (VIO). Classical optimization-based methods, such as Lucas-Kanade (LK), perform well under small displacements but are sensitive to large motions and illumination changes. Modern regression-based learning methods, while more robust in complex scenes, are often computationally heavy and lack explicit geometric consistency, making them less suitable for efficient VO/VIO front-ends. To bridge this gap, we propose a hybrid neuro-symbolic framework that combines the strengths of both paradigms. Our method uses a Convolutional Neural Network (CNN) to extract robust feature representations, which is fed into a differentiable LK optimizer to estimate optical flow in an end-to-end trainable manner. Through implicit differentiation, gradients are propagated across the iterative solver, enabling joint optimization of feature extraction and flow estimation. The resulting system integrates seamlessly into existing VO/VIO pipelines and runs in real-time on embedded platforms. Experiments show that our method outperforms conventional optimization-based flow in challenging conditions such as dynamic lighting and low texture, while also achieving higher accuracy and lower latency than purely regression-based alternatives. When deployed in a VIO system, our method demonstrates significant performance improvement, achieving an average error reduction of 42\% on challenging datasets while enhancing tracking stability. The code is publicly available.
Create a lesson
Metadata
- Comments
- 14 pages, 9 figures
Related papers
Think-Verify-Revise: Neuro-Symbolic Visual Reasoning with Vision-Language Models and Dynamic Logic Tensor Networks
Shared title terminologycs.CVHomayoun Afshari, Pietro Basci, Alessandro Russo et al.
TIDE-Flow: Fine-Grained Temporal Evidence and Structured Displacement Matching for Spike Optical Flow
Shared title terminologycs.CVHanwen Liang, Wenxuan Liu, Wenxin Huang et al.
Tracking Any Point with Agentic Visual Reasoning
Shared title terminologycs.CVXuweiyi Chen, Jin Yao, Linzhan Mou et al.
Probing Visual Idiosyncrasies in Text-to-Image Models
Shared title terminologycs.CVYongqian Peng, Hongjie Li, Yichao Zhou et al.
Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models
Shared title terminologycs.CVDezhi Luo, Fengyuan Yu, Haotian Zhang et al.
HOG-WAM: Improving Visual Robustness through Future Gradient Prediction
Shared title terminologycs.CVBoxuan Dong, Yupeng Qian, Ying Wu et al.