# LINEA: Fast and Accurate Line Detection Using Scalable Transformers

arXiv: https://arxiv.org/abs/2505.16264 · HTML: https://mlsanity.com/paper/2505.16264/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 11 of its 15 references that are in the map.
- First posted on arXiv 22 May 2025.

## Builds on (most cited first, 11 of 11)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [End-to-End Object Detection with Transformers](https://mlsanity.com/paper/2005.12872/) (2020)
- [Deformable DETR: Deformable Transformers for End-to-End Object Detection](https://mlsanity.com/paper/2010.04159/) (2020)
- [D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement](https://mlsanity.com/paper/2410.13842/) (2024)
- [Line Segment Detection Using Transformers without Edges](https://mlsanity.com/paper/2101.01909/) (2021)
- [Learning to Parse Wireframes in Images of Man-Made Environments](https://mlsanity.com/paper/2007.07527/) (2020)
- [Holistically-Attracted Wireframe Parsing](https://mlsanity.com/paper/2003.01663/) (2020)
- [Holistically-Attracted Wireframe Parsing: From Supervised to Self-Supervised Learning](https://mlsanity.com/paper/2210.12971/) (2022)
- [Fully Convolutional Line Parsing](https://mlsanity.com/paper/2104.11207/) (2021)
- [ULSD: Unified Line Segment Detection across Pinhole, Fisheye, and Spherical Cameras](https://mlsanity.com/paper/2011.03174/) (2020)
- [DT-LSD: Deformable Transformer-based Line Segment Detection](https://mlsanity.com/paper/2411.13005/) (2024)

## Built on by (most cited first, 3 of 3)

- [MiLSD: A Micro Line-Segment Detector for Resource-Constrained Devices](https://mlsanity.com/paper/2607.06600/) (2026)
- [Adaptive Dual-Constrained Line Aggregation for Cross-Paradigm Line Segment Detection](https://mlsanity.com/paper/2508.19742/) (2025)
- [Unified and Efficient Point-Line Local Features](https://mlsanity.com/paper/2608.19894/) (2026)

## Abstract (arXiv)

Line detection is a basic digital image processing operation used by higher-level processing methods. Recently, transformer-based methods for line detection have proven to be more accurate than methods based on CNNs, at the expense of significantly lower inference speeds. As a result, video analysis methods that require low latencies cannot benefit from current transformer-based methods for line detection. In addition, current transformer-based models require pretraining attention mechanisms on large datasets (e.g., COCO or Object360). This paper develops a new transformer-based method that is significantly faster without requiring pretraining the attention mechanism on large datasets. We eliminate the need to pre-train the attention mechanism using a new mechanism, Deformable Line Attention (DLA). We use the term LINEA to refer to our new transformer-based method based on DLA. Extensive experiments show that LINEA is significantly faster and outperforms previous models on sAP in out-of-distribution dataset testing.
