cs.CVSep 5, 2026

NSFlow: End-to-End Differentiable Neuro-Symbolic Optical Flow for Visual Odometry

Authors: Yicheng Lin, Zhipeng Fei, Yuxiu Xu, WenDong Chen, Cong Li, Bin Han

Organizations: Guangzhou Purpleriver Electronic Technology Co., Ltd, Guangzhou, China · State Key Laboratory of Intelligent Manufacturing Equipment and Technology, School of Mechanical Science and Engineering, Huazhong University of Science and Technology, Wuhan, China

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.

Figures & tables

Explore similar work

CardsList
  1. SFVO: Decoupled Confidence-Guided Stereo-Flow Visual Odometry with Bidirectional PnP

    Sep 18, 2026Kai Zhang, Guoyang Zhao, Jun MaVisual OdometryCamera Pose Estimation

  2. HyVGGT-VO: Tightly Coupled Hybrid Dense Visual Odometry with Feed-Forward Models

    Apr 2, 2026Junxiang Pan, Lipu Zhou, Baojie ChenVisual OdometryFeed-Forward 3D Reconstruction

  3. GenOpticalFlow: A Generative Approach to Unsupervised Optical Flow Learning

    Mar 23, 2026Yixuan Luo, Feng Qiao, Zhexiao Xiong +2Optical FlowSynthetic Data Generation