Manuscript Offprint

arXiv:2608.27181

SSMB: Self-Supervised Local Feature Detection under Motion Blur

Zhenjun Zhao, Fabio Bellavia, Wenting Wang, Fan Zhu, Jiajun Wu, Suryansh Kumar, Mingqiang Wei, Haoang Li, Javier Civera

Zhenjun Zhao, Fabio Bellavia, Wenting Wang, Fan Zhu, Jiajun Wu, Suryansh Kumar, Mingqiang Wei, Haoang Li, Javier Civera

Abstract—Keypoint detection under motion blur remains a significant challenge, as blur distorts local image structure and degrades the repeatability of feature localization. Existing approaches either rely on computationally expensive deblur-then-detect pipelines that may introduce restoration artifacts, or learn to regress the image positions of handcrafted keypoints extracted on sharp images, which reflects the assumptions of the handcrafted detector rather than what is truly repeatable under blur. We present SSMB, a deblur-free, self-supervised keypoint detector for motion-blurred images that requires neither handcrafted detectors nor external pseudo-labels. SSMB introduces the Local Discriminability Enhancement (LDE) module, which restores fine-grained local discriminability after global feature mixing. Training is performed in two stages. First, geometric pretraining on synthetic shapes bootstraps spatially discriminative keypoint detection without any external detector, just from the rendered geometry. Second, blur-aware training on real sharp-blur image pairs learns blur-invariant detection through a multi-component self-supervised objective that enforces cross-domain consistency, geometric alignment, and spatial coverage. Extensive evaluations on keypoint detection, image matching, relative pose estimation, and visual localization under motion blur demonstrate that SSMB establishes a new state-of-the-art among sparse keypoint detectors, consistently outperforming both supervised and self-supervised baselines across all tasks. Code, models, and datasets will be publicly available upon paper acceptance.

Index Terms—Local feature detection, motion blur, self-supervised learning, keypoint detection.

I. INTRODUCTION

Accurately detecting salient keypoints across images is a fundamental component in many computer vision applications, including Simultaneous Localization and Mapping (SLAM), Structure-from-Motion (SfM), camera calibration, image retrieval, and visual localization [1]-[12]. An effective keypoint detector should produce features that are well distributed across the image, highly repeatable across viewpoints and time, and robust to photometric and geometric variation. While remarkable progress has been made on sharp images [13]-[23], motion blur remains a major and largely overlooked challenge. Arising from camera shake, object motion, or long exposure times in low-light conditions, motion blur smears local image structure across spatial regions. This severely degrades the repeatability of keypoint detection, compromising the feature correspondences required by downstream vision tasks.

A natural approach to addressing motion blur is the deblur-then-detect pipeline, which first restores a sharp image with a deblurring network and then applies any existing feature detector. However, deblurring networks [24]-[26] are computationally demanding and rarely run in real time. Moreover, their restored images often contain artifacts, particularly under severe blur, which propagate into the detection stage and degrade the reliability of the extracted features.

In contrast, a deblur-free detector that operates directly on blurred images avoids the computational overhead of image restoration while eliminating artifact propagation, providing a more efficient and robust solution. In this paper, we focus on this deblur-free paradigm. A recent step in this direction is BALF [27], which introduces a Multi-Layer-Perceptron (MLP)-based detector trained directly on blurred images with real-time inference capabilities. However, BALF is trained to regress the SIFT [13] keypoints detected on the corresponding sharp images, which fundamentally limits its ability to learn general blur-invariant features. Since SIFT is handcrafted for sharp images rather than motion-blurred ones, the learned detector inevitably reproduces its detection preferences instead of discovering the structures that are genuinely repeatable under blur. More generally, supervising with pseudo-labels, whether from SIFT or any other handcrafted detector, constrains the learned representation to imitate the behavior of the chosen detector rather than directly learning the cues that characterize repeatable keypoints in blurred images.

In this paper, we propose SSMB, a deblur-free keypoint detector for motion-blurred images that requires neither handcrafted detectors nor external pseudo-labels. Since SSMB must learn on its own which local structures are relevant, without any external signal to guide it, we introduce a novel Local Discriminability Enhancement (LDE) module, which explicitly preserves and reinforces these local cues throughout the network, enabling effective self-supervised learning in the presence of blur. Additionally, we propose a two-stage training pipeline. At the first stage, that we denote as geometric pretraining, SSMB learns to detect spatially discriminative keypoints from synthetic images of simple geometric forms, in which reliable corner labels are derived directly from the rendered geometry without any external detector. At the second stage, that we denote as blur-aware training, SSMB is trained on real sharp-blur pairs from the GoPro dataset [24] using a multi-component self-supervised objective. This objective aligns detections across the sharp and blurred domains, anchors them to geometrically consistent locations through online homographic adaptation [14], and promotes a well-distributed set of keypoints across the image, preventing the network from collapsing to a small set of dominant responses. In our experiments we observed that, without this spatial

Z. Zhao and J. Civera are with University of Zaragoza, Zaragoza, Spain.

F. Bellavia is with University of Palermo, Palermo, Italy.

W. Wang is with The Chinese University of Hong Kong, Hong Kong, China.

F. Zhu is with Tohoku University, Sendai, Japan.

J. Wu is with Central South University, Changsha, China.

S. Kumar is with Texas A&M University, College Station, TX, USA.

M. Wei is with Nanjing University of Aeronautics and Astronautics, Nanjing, China.

H. Li is with The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, China.

Figure

Input

Figure

SSMB (Ours)

Figure

MMA @ 3px on Blur-HPatches TOUGH (%)

Fig. 1. SSMB under motion blur. Left: a real-world blurred image from RealBlur [28] (top) and the keypoints (green circles) detected by SSMB on it (bottom), without any deblurring preprocessing. Right: image matching accuracy (Mean Matching Accuracy (MMA) [16] at a 3-pixel threshold) on the Blur-HPatches TOUGH split [27] under motion blur. SSMB, our self-supervised sparse detector trained without handcrafted or external supervision, substantially outperforms all sparse baselines.

spreading term, self-supervised training degenerates into a trivial solution in which detection concentrates on a handful of salient locations, leaving most of the image without any meaningful response. SSMB reliably detects keypoints on a real-world blurred image and achieves the highest image matching accuracy among sparse methods under motion blur, as illustrated in Fig. 1.

In summary, our main contributions are as follows:

• We introduce the Local Discriminability Enhancement (LDE) module, which restores fine-grained local discriminability after global feature mixing, a necessary condition for self-supervised training to succeed under blur.

• We propose a two-stage training pipeline with geometric pretraining on synthetic data followed by blur-aware training on real sharp-blur pairs, and show that geometric pretraining is an essential prerequisite for effectively bootstrapping self-supervised learning under blur.

• We design a multi-component self-supervised loss combining homographic adaptation, blur consistency, position consistency, and spatial diversity terms, and identify spatial diversity as the key term that prevents the network from collapsing to a degenerate solution.

Extensive evaluations on keypoint detection, image matching, relative pose estimation, and visual localization under motion blur demonstrate that SSMB establishes a new state of the art among sparse keypoint detectors, consistently outperforming both supervised and self-supervised sparse baselines, and even surpassing detector-free matching methods at low pixel thresholds.

References (56)

  • Orb-slam3: An accurate open-source library for visual, visual-inertial, and multimap slam
  • Hong kong world: Leveraging structural regularity for line-based slam
  • Benchmarking 6dof outdoor visual localization in changing conditions
  • Dream-slam: Dreaming the unseen for active slam in dynamic environments (opens arXiv in a new tab)
  • Structure-from-motion revisited
  • Slam-x: Generalizable dynamic removal for nerf and gaussian splatting slam
  • Image retrieval for image-based localization revisited
  • Mygo-splat: Multi-objective closed-loop geometric feedback for rgb-only gaussian slam (opens arXiv in a new tab)
  • Long-term visual localization revisited
  • Ulf-loc: Unbiased landmark feature for robust visual localization with 3d gaussian splatting (opens arXiv in a new tab)
  • From coarse to fine: Robust hierarchical localization at large scale
  • Advances in global solvers for 3d vision (opens arXiv in a new tab)
  • Distinctive image features from scale-invariant keypoints
  • Superpoint: Self-supervised interest point detection and description
  • Key.net: Keypoint detection by handcrafted and learned cnn filters
  • R2d2: Repeatable and reliable detector and descriptor
  • Disk: Learning local features with policy gradient
  • Ness-st: Detecting good and stable keypoints with a neural stability score and the shi-tomasi detector
  • Aliked: A lighter keypoint and descriptor extraction network via deformable transformation
  • Silk: Simple learned keypoints
  • Image matching filtering and refinement by planes and beyond (opens arXiv in a new tab)
  • Dedode v2: Analyzing and improving the dedode keypoint detector
  • Deep multi-scale convolutional neural network for dynamic scene deblurring
  • Deblurgan-v2: Deblurring (orders-of-magnitude) faster and better
  • Scale-recurrent network for deep image deblurring
  • Balf: Simple and efficient blur aware local feature detector
  • Real-world blur dataset for learning and benchmarking deblurring algorithms
  • A combined corner and edge detector
  • Rotational invariant image operators
  • Self-supervised equivariant learning for oriented keypoint detection
  • Xfeat: Accelerated features for lightweight image matching
  • Lofr: Detector-free local feature matching with transformers
  • Attention is all you need
  • Matchformer: Interleaving attention in transformers for feature matching
  • Aspanformer: Detector-free image matching with adaptive span transformer
  • Roma: Robust dense feature matching
  • DINOv2: Learning Robust Visual Features without Supervision
  • Roma v2: Harder better faster denser feature matching (opens arXiv in a new tab)
  • Learning a convolutional neural network for non-uniform motion blur removal
  • Deblurgan: Blind motion deblurring using conditional adversarial networks
  • Maxim: Multi-axis mlp for image processing
  • Hpatches: A benchmark and evaluation of handcrafted and learned local descriptors
  • Mba-vo: Motion blur aware visual odometry
  • Mba-slam: Motion blur aware dense visual slam with radiance fields representation
  • A performance evaluation of local descriptors
  • Learning discriminative and transformation covariant local feature detectors
  • Superglue: Learning feature matching with graph neural networks
  • An efficient solution to the five-point relative pose problem
  • Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography
  • Lightglue: Local feature matching at light speed
  • Lf-net: Learning local features from images
  • Working hard to know your neighbor’s margins: Local descriptor learning loss
  • Hynet: Learning local descriptor with hybrid similarity measure and triplet loss
  • Repeatability is not enough: Learning affine regions via discriminability
  • Netvlad: Cnn architecture for weakly supervised place recognition
  • Deblurring by realistic blurring