SFD2: Semantic-Guided Feature Detection and Description

Fei Xue, Ignas Budvytis, R. Cipolla
2/14/2026

No official code found. Best implementation: feixue94/sfd2 (139 stars, last commit 2024-05-27).

Abstract

Visual localization is a fundamental task for various applications including autonomous driving and robotics. Prior methods focus on extracting large amounts of often redundant locally reliable features, resulting in limited efficiency and accuracy, especially in large-scale environments under challenging conditions. Instead, we propose to extract globally reliable features by implicitly embedding high-level semantics into both the detection and description processes. Specifically, our semantic-aware detector is able to detect keypoints from reliable regions (e.g. building, traffic lane) and suppress unreliable areas (e.g. sky, car) implicitly instead of relying on explicit semantic labels. This boosts the accuracy of keypoint matching by reducing the number of features sensitive to appearance changes and avoiding the need of additional segmentation networks at test time. Moreover, our descriptors are augmented with semantics and have stronger discriminative ability, providing more inliers at test time. Particularly, experiments on long-term large-scale visual localization Aachen Day Night and RobotCar-Seasons datasets demonstrate that our model outperforms previous local features and gives competitive accuracy to advanced matchers but is about 2 and 3 times faster when using 2k and 4k keypoints, respectively. Code is available at https://github.com/feixue94/sfd2.

View on arXivView PDF

Code Implementations(1)

feixue94/sfd2Community100%

[CVPR 2023] SFD2: Semantic-guided Feature Detection and Description. Embedding semantics into local features implicitly for long-term visual localization

13913Shell, PythonMar 9, 20232 years ago
end-to-endlocal-featureslong-term-localizationsemantic-aware-featuresemantic-aware-localization+1 more

Similar Papers

Cite this paper

@article{xue2026sfd,
  title  = {SFD2: Semantic-Guided Feature Detection and Description},
  author = {Fei Xue and Ignas Budvytis and R. Cipolla},
  year   = {2026},
  eprint = {2304.14845},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2304.14845},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.14845.svg)](https://codeofpaper.com/paper/2304.14845)

Discussion