Foundation Models for Amodal Video Instance Segmentation in Automated Driving

Jasmin Breitenstein, Franz Jünger, Andreas Bär, Tim FingscheidtarXiv 2024 · DOI

Introduction

In the context of automated driving, perception systems are tasked with interpreting complex dynamic environments. A significant challenge is "amodal perception"—the ability to infer the complete geometry of objects even when they are partially or fully obscured by other elements in the scene. Traditional Video Instance Segmentation (VIS) models typically focus on visible pixels, often losing track of objects once they become fully occluded. This "vanishing" problem poses a safety risk in autonomous navigation.

This paper introduces S-AModal, a novel framework designed for Amodal Video Instance Segmentation. By leveraging foundation models like the Segment Anything Model (SAM) and advanced point tracking, S-AModal achieves robust segmentation of both visible and hidden object parts in real-time driving sequences.

Methodology: The S-AModal Framework

The S-AModal pipeline is an online system that processes video frames sequentially. It integrates several key components to bridge the gap between visible instance segmentation and full amodal understanding.

Overview of the S-AModal framework architecture, showing the integration of VIS, Amodal SAM, and Point Memory.

Amodal SAM with Adapters

At the core of the system is a fine-tuned version of the Segment Anything Model (SAM). While SAM is pre-trained on a massive dataset of visible masks, it requires specific "steering" to predict occluded regions. The authors employ "adapters"—small, trainable modules inserted into the frozen foundation model—to learn amodal shapes from image-level data. This approach preserves the general knowledge of the foundation model while specializing it for amodal tasks without the need for exhaustive video-level annotations.

Point-Based Prompting and Memory

During inference, a standard VIS model identifies visible object masks. S-AModal then samples high-quality points from these masks to serve as prompts for the Amodal SAM. To ensure precision, the system uses mask erosion to sample points from the center of visible regions, avoiding ambiguous boundary pixels. To handle temporal consistency and total occlusion, the framework maintains a Point Memory that stores the trajectories of points associated with each object instance.

Handling Complete Occlusion

A primary innovation of S-AModal is its ability to maintain object identity and shape during periods of 100% occlusion. When an object disappears from view, the system transitions from visible-mask prompting to a predictive tracking mode.

Illustration of the point tracking and mask shifting mechanism used to maintain object segmentation during complete occlusion (frame $x_t$).

As shown in the figure above, if an instance $n$ becomes completely occluded at time $t$, the system utilizes CoTracker, a point tracking method, to estimate the movement of the last known points ($p_{t-1,n,k}$). The previous amodal mask is then shifted along this predicted trajectory. This allows the system to "guess" the object's position and shape behind the occluder until it reappears.

Experimental Evaluation

The model was rigorously tested on two benchmarks: AmodalSynthDrive (synthetic data with perfect ground truth) and KINS-car (real-world data).

Key Results

  • Performance Gains: S-AModal significantly outperformed existing self-supervised baselines. On AmodalSynthDrive, it achieved an Average Precision (AP) of 21.59%, a substantial increase from the 7.41% achieved by previous methods like SAVOS.
  • Robustness to Heavy Occlusion: The framework showed remarkable success in "Heavy Occlusion" scenarios ($AP_H$), improving metrics from 2.34% to 10.43% in an online setting.
  • Point Tracking Efficiency: The study found that tracking specific points through occlusions is more reliable than traditional optical flow for maintaining object identity over multiple frames of invisibility.

Conclusion and Future Work

S-AModal demonstrates that foundation models, when properly adapted, are highly effective for amodal perception tasks in automated driving. By combining the spatial reasoning of SAM with the temporal robustness of point tracking, the framework addresses the critical "vanishing" problem of occluded objects.

Future research directions include integrating the recently released SAM 2 to leverage its native video tracking capabilities, which could further streamline the pipeline and improve temporal consistency. Additionally, addressing "texture confusion"—where occluded objects share similar visual characteristics with their occluders—remains a key challenge for improving segmentation accuracy in complex scenes.

Summary updated

BibTeX
@misc{breitenstein2024foundation,
  author = {Jasmin Breitenstein and Franz Jünger and Andreas Bär and Tim Fingscheidt},
  title = {{Foundation Models for Amodal Video Instance Segmentation in Automated Driving}},
  year = {2024},
  eprint = {2409.14095},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.14095},
}
Figure