CalibRefine: Deep Learning-Based Online Automatic Targetless LiDAR-Camera Calibration with Iterative and Attention-Driven Post-Refinement

Lei Cheng, Lihao Guo, Tianya Terry Zhang, Tam Bang, Austin Harris, Mustafa Hajij, Mina Sartipi, Siyang CaoarXiv 2025 · DOI

Introduction

Autonomous driving and smart infrastructure systems rely heavily on the fusion of data from multiple sensors, primarily LiDAR and cameras. For these sensors to provide a coherent representation of the environment, their extrinsic parameters must be precisely calibrated. Traditional calibration methods often require specialized targets like checkerboards and manual intervention, making them unsuitable for real-time, "on-the-fly" adjustments if a sensor shifts during operation.

Existing automatic methods frequently struggle with the modality gap between 3D LiDAR points and 2D camera pixels. While some deep learning approaches attempt direct regression of calibration matrices, they often require accurate initializations or extensive preprocessed data. CalibRefine addresses these challenges by providing a fully automatic, targetless framework that operates online using natural objects in the scene.

Methods

The CalibRefine framework utilizes a multi-stage pipeline designed to transition from coarse object-level matching to sub-pixel refinement.

The four-stage CalibRefine pipeline.
  1. Common Feature Discriminator (CFD): The system detects objects using YOLOv8 for images and DBSCAN for LiDAR. A specialized neural network then determines correspondences by analyzing relative positions, visual appearances (via ResNet), and geometric shapes (via PointNet++).
  2. Coarse Homography-based Calibration: Using the centers of matched objects, the system estimates a 2D-to-2D homography transformation, providing a robust "first guess" alignment.
  3. Iterative Refinement: As new frames arrive, matched points are accumulated. A block-based sampling strategy ensures a uniform distribution of points across the field of view, preventing spatial bias in the calibration.
  4. Attention-Driven Post-Refinement: To account for non-planar road surfaces and lens distortions, a Vision Transformer (ViT) with a cross-attention mechanism is employed. This module regresses a final correction matrix ($H^\Delta$) by "attending" to both image pixels and LiDAR points.
Architectural details of the CFD and Attention modules.

Datasets and Evaluation

The framework was rigorously evaluated on two real-world urban traffic datasets:

  • Dataset 1: 1,200 frames from a busy intersection in Chattanooga, TN, containing 5,815 annotated objects.
  • Dataset 2: 600 frames from a different intersection with 619 annotated objects. These datasets provide a challenging testbed characterized by varying lighting conditions, object densities, and distances.

Key Insights

  • Efficiency of Object Centers: CalibRefine demonstrates that using only the centers of detected objects is sufficient for robust initial calibration, significantly reducing computational noise compared to dense point-cloud methods.
  • Geometric-Neural Hybrid: The approach combines the stability of traditional geometric constraints (homography) with the flexibility of attention-based deep learning to handle complex edge cases like non-planar surfaces.
  • Self-Supervised Learning: The refinement module utilizes a self-supervised reprojection loss, allowing it to learn optimal alignments without requiring ground-truth calibration matrices.

Results

CalibRefine significantly outperformed manual calibration and state-of-the-art baselines (e.g., LCCNet, CalibNet):

  • Accuracy: In Dataset 1, it achieved an Average Euclidean Distance (AED) of 93.27, compared to 131.04 for manual calibration.
  • Robustness: In the more complex Dataset 2, it reduced AED to 26.40 (manual: 40.79).
  • Ablation Success: Iterative refinement improved accuracy by approximately 28%, while the final attention stage provided an additional 3-7% precision gain.

Limitations and Future Work

While effective, CalibRefine depends on the presence of foreground objects; it would struggle in empty environments. Additionally, the current processing speed of 2.95 FPS requires further optimization for high-speed real-time applications. Future research will explore 3D-to-2D correspondences to better handle extreme terrain variations.

Summary updated

BibTeX
@misc{cheng2025calibrefine,
  author = {Lei Cheng and Lihao Guo and Tianya Terry Zhang and Tam Bang and Austin Harris and Mustafa Hajij and Mina Sartipi and Siyang Cao},
  title = {{CalibRefine: Deep Learning-Based Online Automatic Targetless LiDAR-Camera Calibration with Iterative and Attention-Driven Post-Refinement}},
  year = {2025},
  eprint = {2502.17648},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.17648},
}
Figure