LightGlueStick: a Fast and Robust Glue for Joint Point-Line Matching
Aidyn Ubingazhibov, Rémi Pautrat, Iago Suárez, Shaohui Liu, Marc Pollefeys, Viktor Larsson
TL;DR
LightGlueStick addresses the need for fast, robust joint point-line matching suitable for real-time and edge deployment. It builds a lightweight transformer-based backbone with a novel Attentional Line Message Passing layer to explicitly encode line connectivity and improve communication between endpoints, while supporting early exit to save computation. The approach achieves state-of-the-art results on ETH3D, HPatches, and ScanNet, and demonstrates strong localization performance with real-time throughput on embedded-like settings. This work enables practical fusion of point and line features for SLAM, visual localization, and other geometry-aware tasks on resource-constrained platforms.
Abstract
Lines and points are complementary local features, whose combination has proven effective for applications such as SLAM and Structure-from-Motion. The backbone of these pipelines are the local feature matchers, establishing correspondences across images. Traditionally, point and line matching have been treated as independent tasks. Recently, GlueStick proposed a GNN-based network that simultaneously operates on points and lines to establish matches. While running a single joint matching reduced the overall computational complexity, the heavy architecture prevented real-time applications or deployment to edge devices. Inspired by recent progress in point matching, we propose LightGlueStick, a lightweight matcher for points and line segments. The key novel component in our architecture is the Attentional Line Message Passing (ALMP), which explicitly exposes the connectivity of the lines to the network, allowing for efficient communication between nodes. In thorough experiments we show that LightGlueStick establishes a new state-of-the-art across different benchmarks. The code is available at https://github.com/aubingazhib/LightGlueStick.
