D2Former: Jointly Learning Hierarchical Detectors and Contextual Descriptors via Agent-Based Transformers

Jianfeng He, Yuanhao Gao, Tianzhu Zhang, Zhe Zhang, Feng Wu
2/14/2026

No confident code implementation found for this paper.

Abstract

Establishing pixel-level matches between image pairs is vital for a variety of computer vision applications. How-ever, achieving robust image matching remains challenging because CNN extracted descriptors usually lack discrim-inative ability in texture-less regions and keypoint detec-tors are only good at identifying keypoints with a specific level of structure. To deal with these issues, a novel im-age matching method is proposed by Jointly Learning Hier-archical Detectors and Contextual Descriptors via Agent-based Transformers (D2Former), including a contextual feature descriptor learning (CFDL) module and a hierar-chical keypoint detector learning (HKDL) module. The proposed D2 Former enjoys several merits. First, the pro-posed CFDL module can model long-range contexts effi-ciently and effectively with the aid of designed descriptor agents. Second, the HKDL module can generate keypoint detectors in a hierarchical way, which is helpful for detecting keypoints with diverse levels of structures. Extensive experimental results on four challenging benchmarks show that our proposed method significantly outperforms state-of-the-art image matching methods.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{he2026dformer,
  title  = {D2Former: Jointly Learning Hierarchical Detectors and Contextual Descriptors via Agent-Based Transformers},
  author = {Jianfeng He and Yuanhao Gao and Tianzhu Zhang and Zhe Zhang and Feng Wu},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.00284},
  url    = {https://doi.org/10.1109/CVPR52729.2023.00284},
  journal = {CVPR 2023 2023}
}

Discussion