Monocular Per-Object Distance Estimation with Masked Object Modeling

Aniello Panariello, Gianluca Mancusi, Fedy Haj Ali, Angelo Porrello, Simone Calderara +1 more
1/6/2024
cs.CV

Official code: apanariello4/DistFormer (4 stars, MIT, last commit 2025-03-14).

Abstract

Per-object distance estimation is critical in surveillance and autonomous driving, where safety is crucial. While existing methods rely on geometric or deep supervised features, only a few attempts have been made to leverage self-supervised learning. In this respect, our paper draws inspiration from Masked Image Modeling (MiM) and extends it to multi-object tasks. While MiM focuses on extracting global image-level representations, it struggles with individual objects within the image. This is detrimental for distance estimation, as objects far away correspond to negligible portions of the image. Conversely, our strategy, termed Masked Object Modeling (MoM), enables a novel application of masking techniques. In a few words, we devise an auxiliary objective that reconstructs the portions of the image pertaining to the objects detected in the scene. The training phase is performed in a single unified stage, simultaneously optimizing the masking objective and the downstream loss (i.e., distance estimation). We evaluate the effectiveness of MoM on a novel reference architecture (DistFormer) on the standard KITTI, NuScenes, and MOTSynth datasets. Our evaluation reveals that our framework surpasses the SoTA and highlights its robust regularization properties. The MoM strategy enhances both zero-shot and few-shot capabilities, from synthetic to real domain. Finally, it furthers the robustness of the model in the presence of occluded or poorly detected objects. Code is available at https://github.com/apanariello4/DistFormer

View on arXivView PDF

Code Implementations(1)

MIT
40Shell, PythonJan 20, 20251 years agoMIT

Similar Papers

Cite this paper

@article{panariello2024monocular,
  title  = {Monocular Per-Object Distance Estimation with Masked Object Modeling},
  author = {Aniello Panariello and Gianluca Mancusi and Fedy Haj Ali and Angelo Porrello and Simone Calderara and Rita Cucchiara},
  year   = {2024},
  eprint = {2401.03191},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.03191v2}
}

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/2401.03191.svg)](https://codeofpaper.com/paper/2401.03191)

Discussion