FastMap: Revisiting Structure from Motion through First-Order Optimization

Jiahao Li, Haochen Wang, Muhammad Zubair Irshad, Igor Vasiljevic, Matthew Walter, Vitor Campagnolo Guizilini, Greg Shakhnarovich

TL;DR

This paper introduces FASTMAP, a novel Structure from Motion (SfM) method that achieves significant speedups (up to 10x) over existing state-of-the-art approaches like COLMAP and GLOMAP by exclusively using first-order optimization. This speedup is achieved by redesigning the optimization problems to be independent of the number of 3D points and by employing kernel fusion for efficient GPU computation, while maintaining comparable pose accuracy.

What Problem Does This Paper Address?

Accurate 3D reconstruction and scene understanding heavily rely on precise camera pose estimation, often obtained through Structure from Motion (SfM) pipelines. While methods like COLMAP and GLOMAP provide high-quality results, they become prohibitively slow on large-scale datasets with millions of keypoint matches. This scalability issue stems from their reliance on computationally expensive second-order optimization (e.g., Gauss-Newton or Levenberg-Marquardt), which struggles with the vast number of 3D points involved. The paper aims to bridge this gap by developing a faster SfM method that can handle large datasets without sacrificing accuracy.

Methods

FASTMAP's core innovation lies in its exclusive use of first-order optimization. This approach is fundamentally different from traditional SfM methods that employ second-order techniques. To achieve this, the authors tackle two key bottlenecks:

  1. Point-Free Optimization: They reformulate the optimization problems (e.g., bundle adjustment, global translation) such that their computational complexity at each iteration is independent of the number of 3D points. This is crucial because the number of 3D points typically dwarfs the number of image pairs.
  2. Kernel Fusion: Instead of relying on standard deep learning frameworks' Autograd engines, which can incur significant overhead (kernel launches, data movement), FASTMAP fuses all forward and backward passes for optimization steps into a single, custom CUDA kernel. This significantly boosts GPU utilization and speeds up computation.

Additionally, FASTMAP includes:

  • Intrinsics Estimation: A robust method for estimating focal lengths and radial distortion parameters using interval search and epipolar error minimization.
  • Global Rotation and Translation Estimation: A multi-stage process that leverages relative pose information and uses techniques like SVD and gradient descent for initialization and refinement.
  • Epipolar Adjustment: A re-weighting approach to refine poses, which is linear in the number of image pairs.
  • Track Completion: A method to augment matches by converting tracks into additional pairwise constraints, improving robustness.

Datasets

The paper evaluates FASTMAP on eight diverse datasets:

  • MipNeRF360
  • Tanks and Temples
  • ZipNeRF
  • NeRF-OSR
  • DroneDeploy
  • Mill-19
  • Urbanscene3D
  • Eyeful Tower

These datasets cover a wide range of real-world scenarios and camera trajectory patterns, with image counts ranging from approximately 200 to 6000. The authors also mention testing on the ETH3D MVS dataset for evaluating performance on sparse views.

Key Insights and Ideas

  • First-order optimization is viable for SfM: The paper demonstrates that by carefully reformulating the optimization problems and optimizing implementation, first-order methods can achieve competitive accuracy with significantly improved speed.
  • Point-independence is key for scalability: Eliminating the dependency on the number of 3D points in optimization steps is crucial for handling large-scale SfM problems efficiently.
  • Kernel fusion unlocks GPU potential: Naive implementation of optimization steps using standard deep learning libraries can be inefficient. Custom kernel fusion is a powerful technique to overcome this and achieve substantial speedups.
  • Pose accuracy vs. novel view synthesis quality: The results suggest that strict pose accuracy metrics might not always be the best proxy for novel view synthesis quality, and vice versa.

Key Results

FASTMAP demonstrates a significant speedup, being up to 10x faster than COLMAP and GLOMAP on large-scale datasets, while achieving comparable pose accuracy. Specifically:

  • On datasets with thousands of images, FASTMAP is substantially faster than GLOMAP.
  • In terms of pose accuracy metrics like RTA@3, FASTMAP is on par with GLOMAP and COLMAP.
  • For stricter metrics (RTA@1, AUC@1), FASTMAP shows competitive performance, indicating its ability to recover precise camera poses.
  • Novel view synthesis quality evaluations show that FASTMAP poses yield competitive results, sometimes even surpassing those from other methods when used with refinement techniques.

Limitations and Future Work

The authors acknowledge several limitations:

  • Sparse Views: FASTMAP is less robust on scenes with sparse image coverage, where it can be sensitive to outlier matches.
  • Intrinsics Estimation: The interval search for intrinsics estimation can fail if cameras do not share intrinsics or if the number of images per camera is small. It also struggles with scenes dominated by homographies.
  • Degenerate Motions: The method can struggle with scenes exhibiting degenerate motions (e.g., cameras moving in a straight line), where it performs less well compared to GLOMAP.
  • Repetitive Patterns and Symmetric Structures: Like other non-learning based methods, FASTMAP is susceptible to erroneous matches in scenes with repetitive patterns and symmetric structures.

Future work could involve developing more robust methods for handling sparse views, improving intrinsics estimation for challenging scenarios, and enhancing robustness to degenerate motions and challenging scene structures.

Summary updated

BibTeX
@inproceedings{li2026fastmap,
  author = {Jiahao Li and Haochen Wang and Muhammad Zubair Irshad and Igor Vasiljevic and Matthew Walter and Vitor Campagnolo Guizilini and Greg Shakhnarovich},
  title = {{FastMap: Revisiting Structure from Motion through First-Order Optimization}},
  booktitle = {3DV},
  year = {2026},
  url = {https://openreview.net/forum?id=J9Oiuk4FIA},
}
Figure