Learning Structure-From-Motion with Graph Attention Networks

Lucas Brynte, J. Iglesias, Carl Olsson, Fredrik Kahl
2/14/2026

No official code found. Best implementation: lucasbrynte/gasfm (27 stars, MIT, last commit 2024-06-21).

Abstract

In this paper we tackle the problem of learning Structure-from-Motion (SfM) through the use of graph attention networks. SfM is a classic computer vision problem that is solved though iterative minimization of reprojection errors, referred to as Bundle Adjustment (BA), starting from a good initialization. In order to obtain a good enough initial-ization to BA, conventional methods rely on a sequence of sub-problems (such as pairwise pose estimation, pose averaging or triangulation) which provide an initial solution that can then be refined using BA. In this work we re-place these sub-problems by learning a model that takes as input the 2D keypoints detected across multiple views, and outputs the corresponding camera poses and 3D key-point coordinates. Our model takes advantage of graph neural networks to learn SfM-specijic primitives, and we show that it can be used for fast inference of the reconstruction for new and unseen sequences. The experimental results show that the proposed model outperforms com-peting learning-based methods, and challenges COLMAP while having lower runtime. Our code is available at: https://github.com/lucasbrynte/gasfm/.

View on arXivView PDF

Code Implementations(1)

lucasbrynte/gasfmCommunity100%
MIT

Implementation of the CVPR 2024 paper "Learning Structure-from-Motion with Graph Attention Networks".

272C++, PythonFeb 22, 20242 years agoMIT

Similar Papers

Cite this paper

@article{brynte2026learning,
  title  = {Learning Structure-From-Motion with Graph Attention Networks},
  author = {Lucas Brynte and J. Iglesias and Carl Olsson and Fredrik Kahl},
  year   = {2026},
  eprint = {2308.15984},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.15984},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.15984.svg)](https://codeofpaper.com/paper/2308.15984)

Discussion