Introduction
Lane detection is a critical component of lateral vehicle control systems, such as Lane Keeping Assist (LKA). However, these models often suffer from performance degradation when encountering domain shifts—variations in environmental conditions like weather, lighting, or scene type that differ from the training data. For instance, a model trained on clear daytime highways may fail in rainy urban environments.
To maintain safety and reliability, it is essential to estimate a model's performance in real-time after deployment without relying on ground-truth labels. This paper introduces LanePerf, a novel framework for label-free performance estimation in lane detection. LanePerf predicts the F1 score of a "Model under Test" (MuT) by analyzing both global scene context and local lane features.
Methodology
The LanePerf framework addresses the unique challenges of lane detection, such as variable output counts and geometric structures, through a dual-branch architecture.
Dual-Branch Architecture
The LanePerf architecture fuses global image features from a CLIP encoder with local lane features aggregated via a DeepSets approach. LanePerf: a Performance Estimation Framework for Lane Detection, page 5
- Global Branch: This branch utilizes a frozen CLIP (ViT-B/32) image encoder to extract high-level environmental context. By understanding whether the scene is rainy, dark, or urban, the model gains a "prior" on the expected difficulty of the detection task.
- Local Branch: This branch processes features from the lanes detected by the MuT. Since the number of detected lanes varies, a DeepSets architecture (comprising Fully Connected Networks and Mean Pooling) is used to aggregate these features into a fixed-length vector.
- Learnable Placeholder: A key innovation is the inclusion of a learnable default lane feature. This handles the "zero-lane" problem, where the MuT fails to detect any lanes. The placeholder ensures the system can still provide a performance estimate based on the global context even when local lane data is absent.
Experimental Setup
The framework was evaluated using the OpenLane dataset, which provides a rich variety of driving conditions categorized by scene, weather, and time of day.
Models were trained on "source" domains (e.g., clear daytime) and tested on "target" domains to simulate real-world deployment challenges. LanePerf was compared against several adapted baselines from image classification, including confidence-based (AC, DOC, ATC), distance-based (FID), and energy-based (EBM) methods.
Results and Discussion
LanePerf demonstrated superior performance across nearly all evaluation metrics and domain shift scenarios.
- Accuracy and Correlation: The framework achieved a Mean Absolute Error (MAE) of 0.117 and a Spearman’s rank correlation ($\rho$) of 0.727, significantly outperforming the strongest baselines.
- Robustness to Failure: Thanks to the learnable placeholder, LanePerf remained reliable in scenarios where the MuT failed to detect any lanes, accurately predicting low F1 scores where baseline methods often struggled.
- Cross-Domain Generalization: LanePerf ranked first in 8 out of 10 cross-domain evaluations, proving its effectiveness in diverse environments like rainy nights or complex urban intersections.
Conclusion and Future Work
LanePerf provides a robust solution for real-time, label-free performance monitoring of lane detection models. While it shows significant improvements over existing methods, challenges remain in extremely low-light conditions. Future work will focus on optimizing the framework for edge deployment on automotive hardware and expanding the estimation to include additional metrics beyond the F1 score.
Summary updated