Segmenting Objectiveness and Task-awareness Unknown Region for Autonomous Driving

Mi Zheng, Guanglei Yang, Zitong Huang, Zhenhua Guo, Kevin Han, Wangmeng Zuo

Abstract

Standard autonomous driving systems often struggle with Out-of-Distribution (OOD) objects—unexpected hazards like fallen trees or stray animals—that fall outside their closed-set training data. We present the SOTA (Segmenting Objectiveness and Task-Awareness) framework, which enhances road anomaly detection by bridging the gap between pixel-level anomaly scores and object-level understanding. By integrating the Segment Anything Model (SAM) with a novel semantic fusion block and a road-aware prompt adaptor, SOTA ensures that anomalous objects are segmented completely while suppressing irrelevant background noise. Our method achieves state-of-the-art performance on major benchmarks, including Fishyscapes and SMIYC, while maintaining practical inference speeds.

Introduction

Autonomous vehicles are typically trained to recognize a fixed set of categories, such as cars, pedestrians, and traffic lights. However, the real world presents infinite variations. When encountering an OOD object, traditional models often suffer from two primary issues: partial segmentation, where only fragments of an object are detected, and task-agnostic overdetection, where irrelevant background features (like distant billboards) trigger false alarms. SOTA addresses these challenges by leveraging the "objectiveness" of foundation models and the spatial context of the driving task.

Methodology

The SOTA framework refines raw anomaly maps into coherent, task-relevant masks through three core components:

  1. Semantic Fusion Block (SFB): This module aligns noisy, pixel-level anomaly maps with high-level image features from SAM. By fusing these, the model recognizes that if a portion of a shape is anomalous, the entire contiguous object likely is as well, ensuring holistic segmentation.
  2. Scene-understanding Guided Prompt-Context Adaptor (SG-PCA): This component introduces "task-awareness" by extracting the drivable road area as a spatial constraint. Using a road-wise cross-attention mechanism, it directs the model to ignore anomalies that do not pose a direct threat to the vehicle's path.
  3. Parameter-Efficient Fine-Tuning (LoRA): To maintain efficiency, the authors apply Low-Rank Adaptation to the SAM mask decoder, allowing the system to learn new anomaly cues without retraining the entire foundation model.
The SOTA framework architecture, highlighting the Semantic Fusion Block (SFB) and the Scene-understanding Guided Prompt-Context Adaptor (SG-PCA) integrated with the Segment Anything Model.

Experimental Setup and Datasets

The model was trained using an Outlier Exposure (OE) strategy, where COCO dataset objects were superimposed onto Cityscapes road scenes. Evaluation was conducted on three major benchmarks:

  • Fishyscapes Lost and Found: Focused on small road obstacles.
  • Segment-Me-If-You-Can (SMIYC): Comprising the RoadAnomaly and RoadObstacle subsets.
  • RoadAnomaly (Original): Real-world images of unexpected road objects.

Key Results and Discussion

SOTA demonstrated significant improvements across all metrics. On the RoadAnomaly dataset, it achieved an AuPRC of 92.46%, compared to the 85.42% baseline. Crucially, the False Positive Rate (FPR) dropped from 6.92% to 4.03%, indicating a substantial reduction in unnecessary braking events.

Qualitative comparison of SOTA against baseline methods (RPL, RbA). SOTA provides cleaner, more complete object masks while ignoring background noise.

Beyond pixel accuracy, SOTA excels at instance-level detection. In the SMIYC benchmark, it showed a massive improvement in component-level F1 scores (reaching 61.47% on RA-21), proving its ability to identify entire obstacles rather than scattered pixels. Despite the complexity of the SAM backbone, the pipeline remains efficient, with an inference time of approximately 0.36s on an A100 GPU.

Conclusion and Future Work

SOTA proves that foundation models can be effectively adapted for specialized safety tasks in autonomous driving. By focusing on "weird objects" rather than just "weird pixels" and constraining detection to the drivable area, the framework provides a more reliable safety layer. Future research will focus on improving the detection of extremely small or low-contrast objects and incorporating temporal consistency from video sequences to further refine detection stability.

Summary updated

BibTeX
@inproceedings{zheng2025segmenting,
  author = {Mi Zheng and Guanglei Yang and Zitong Huang and Zhenhua Guo and Kevin Han and Wangmeng Zuo},
  title = {{Segmenting Objectiveness and Task-awareness Unknown Region for Autonomous Driving}},
  booktitle = {ACM Multimedia},
  year = {2025},
}
Figure