arXiv:2610.16762cs.CVOct 2026

Manuscript Offprint

arXiv:2610.16762

Towards Complementary Keypoint Detection via Mixture of Detectors

Xiaoyong Lu, Guobao Xiao, Dong Liang, Songlin Du

Abstract

Keypoint detection plays a central role in geometric vision pipelines. Existing detectors exhibit complementary strengths across different scene structures and keypoint budgets, and reliance on a single detector often results in suboptimal keypoint distributions. Motivated by this observation, we propose Mixture of Detectors (MoD) for dense matching pipelines, a unified framework for complementary keypoint detection through the adaptive composition of heterogeneous detectors. MoD first distills heterogeneous detectors into a unified model, allowing diverse detection maps to be predicted efficiently within a single forward pass. Detector selection is subsequently formulated as a patch-wise, budget-conditioned decision process, in which a lightweight router assigns the most suitable detector to each local region. To avoid heuristic supervision, the router is trained with task-driven rewards derived from downstream matching quality, jointly capturing both keypoint quantity and precision. Extensive experiments on MegaDepth, ScanNet, and HPatches demonstrate that MoD consistently outperforms strong baselines across a wide range of keypoint budgets, demonstrating its effectiveness in improving keypoint distribution and downstream geometric performance.

1 Introduction

Keypoint detection aims to identify distinctive image structures and constitutes a fundamental component of geometric vision pipelines, including Structure-from-Motion (SfM) Schonberger and Frahm (2016), Simultaneous Localization and Mapping (SLAM) Engel et al. (2017), and image matching Sarlin et al. (2020). In classical sparse matching pipelines, two sets of keypoints are detected and subsequently matched, and the quality of matching relies heavily on repeatability under varying illumination and viewpoint conditions. Recent dense matching approaches Edstedt et al. (2024c); Lu et al. (2026) have partially relaxed this requirement by detecting keypoints in one image and directly establishing correspondences in another, shifting the focus from strict repeatability to the spatial distribution of detected keypoints. As a result, how to obtain an effective and adaptive keypoint distribution becomes increasingly important for downstream performance.

In practice, different detectors exhibit complementary behaviors across scene structures and keypoint budgets. This variation stems from their distinct design choices, including normalization strategies (e.g., local or global Softmax versus independent Sigmoid), training objectives (e.g., supervised learning, self-supervised learning, or reinforcement learning), and the types of geometric primitives they capture (e.g., points, lines, and edges).

∗^{*}Corresponding author.

Preprint.

These differences lead to substantially different detection patterns: some detectors favor sparse and highly reliable keypoints, while others provide denser coverage over structured or low-texture regions. Moreover, their relative performance varies significantly with the target number of keypoints, i.e., the keypoint budget. Consequently, no single detection mechanism performs consistently well across all spatial regions and budget settings.

Prior work such as RCM+ Lu et al. (2026) shows that combining multiple detectors improves performance due to complementary distributions. However, such approaches rely on simple concatenation or heuristic fusion, which does not explicitly model detector selection and cannot fully exploit complementary strengths. In particular, the optimal detector varies across images and depends on local textures and the target keypoint budget. This leads to a more general formulation, where keypoint detection selects suitable detectors across spatial locations under a given budget. Such a formulation introduces several challenges: (i) running all candidate detectors is computationally expensive, (ii) detector selection must jointly account for local textures and global keypoint budget, and (iii) no direct supervision is available for detector selection.

To address these challenges, we propose Mixture of Detectors (MoD), a unified framework for adaptive detector composition. Motivated by

Stage 1: Off-the-shelf Detector Distillation

Figure

Point-based

Line-based

Edge-based

Proposed Method: MoD

Encoder

Detection Head

Detection Head

Detection Head

Patch-level Router

Stage 2: Reward-guided Router Learning

Routing decisions

Off-the-shelf

Matcher

Reward

Forward Pass

Gradient Flow

Figure 1: Different detectors exhibit complementary behaviors across varying image structures and keypoint budgets. MoD leverages this by first distilling heterogeneous detectors into a unified model for joint prediction (Stage 1), and then learning a reward-guided router that selects detectors based on local texture and the keypoint budget (Stage 2).

the Mixture-of-Experts (MoE) paradigm Shazeer et al. (2017), we treat point-, line-, and edge-based detectors as specialized experts, and formulate selection as a routing problem over these experts. (i) To reduce the cost of multiple detectors, MoD distills heterogeneous detectors into a single model that predicts diverse detection maps in a forward pass, preserving complementary behaviors while maintaining efficiency. (ii) Detector selection is formulated as a patch-wise, budget-conditioned process. A lightweight router assigns detectors to regions based on local texture, while a budget-aware mechanism introduces a global prior that modulates preference by desired keypoint density. (iii) To address the lack of supervision, detector selection is guided by task-driven rewards from downstream matching performance, providing patch-level supervision that captures keypoint quantity and precision.

To summarize, this paper makes the following contributions: (1) We present a new perspective on keypoint detection by modeling the complementary behaviors of heterogeneous detectors, and introduce a detector selection problem conditioned on spatial regions and keypoint budgets. (2) We introduce a unified detector that distills heterogeneous detectors into a shared model, enabling efficient prediction of diverse detection maps in a single forward pass. (3) We propose a patch-wise, budget-aware router that adaptively selects detectors based on local texture and global keypoint budget, trained with task-driven rewards that jointly capture keypoint quantity and precision. (4) Extensive experiments on MegaDepth, ScanNet, and HPatches show that MoD consistently improves downstream geometric estimation across a wide range of keypoint budgets while maintaining competitive efficiency.

References (35)