Lune

AAAI2025Top-tier venue

Improving Transformer Based Line Segment Detection with Matched Predicting and Re-ranking

Xin Tong, Shi Peng, Baojie Tian, Yufei Guo, Xuhui Huang, Zhe Ma

Abstract

Classical Transformer-based line segment detection methods have delivered impressive results. However, we observe that some accurately detected line segments are assigned low confidence scores during prediction, causing them to be ranked lower and potentially suppressed. Additionally, these models often require prolonged training periods to achieve strong performance, largely due to the necessity of bipartite matching. In this paper, we introduce RANK-LETR, a novel Transformer-based line segment detection method. Our approach leverages learnable geometric information to refine the ranking of predicted line segments by enhancing the confidence scores of high-quality predictions in a posterior verification step. We also propose a new line segment proposal method, wherein the feature point nearest to the centroid of the line segment directly predicts the location, significantly improving training efficiency and stability. Moreover, we introduce a line segment ranking loss to stabilize rankings during training, thereby enhancing the generalization capability of the model. Experimental results demonstrate that our method outperforms other Transformer-based and CNN-based approaches in prediction accuracy while requiring fewer training epochs than previous Transformer-based models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DN-DETR: Accelerate DETR Training by Introducing Query DeNoising cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • RANK++LETR: Learn to Rank and Optimize Candidates for Line Segment Detection cites DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
  • RANK++LETR: Learn to Rank and Optimize Candidates for Line Segment Detection cites End-to-End Wireframe Parsing
  • RANK++LETR: Learn to Rank and Optimize Candidates for Line Segment Detection cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. RANK++LETR: Learn to Rank and Optimize Candidates for Line Segment DetectionXin Tong, Baojie Tian, Yufei Guo, Zhe MaNeurIPS 2025

Builds on13

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
  3. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  4. DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingFeng Li, Hao Zhang, Shilong Liu, Jian Guo et al.CVPR 2022 · 879 citations
  5. End-to-End Wireframe ParsingYichao Zhou, Haozhi Qi, Yi MaICCV 2019 · 190 citations

Related papers

  1. Line Segment Detection Using Transformers Without EdgesYifan Xu, Weijian Xu, David Cheung, Zhuowen TuCVPR 2021
  2. A Siamese Transformer with Hierarchical Refinement for Lane DetectionZinan Lv, Dong Han, Wenzhe Wang, Danny Z. ChenNeurIPS 2024 · 5 citations
  3. Rank-DETR for High Quality Object DetectionYifan Pu, Weicong Liang, Yiduo Hao, Yuhui Yuan et al.NeurIPS 2023 · 138 citations
  4. Transformer Based Line Segment Classifier with Image Context for Real-Time Vanishing Point Detection in Manhattan WorldXin Tong, Xianghua Ying, Yongjie Shi, Ruibin Wang et al.CVPR 2022 · 17 citations
  5. Improving Transformer-based Image Matching by Cascaded Capturing Spatially Informative KeypointsChenjie Cao, Yanwei FuICCV 2023 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines