arXiv:2610.02364cs.CVOct 2026

Manuscript Offprint

arXiv:2610.02364

Confidence-Controlled XAI Auditing for Pedestrian Detection under Domain Shift

Ruben Dario Florez-Zela

Ruben Dario Florez-Zela 1^{1}

Abstract—Explainability is increasingly required for perception models in intelligent vehicles, yet whether explanations remain faithful under driving domain shift is still poorly understood. This work audits post-hoc explanations of a fixed YOLOv8s pedestrian detector across PIE and JAAD using ROI-based D-Deletion, frozen confidence terciles, rank-based tests, bootstrap intervals, and Holm correction. The audit shows that deletion-based faithfulness is strongly coupled to detection strength at explanation time, with Spearman correlations between 0.70 and 0.82 for D-RISE, making naive confidence-stratified comparisons unreliable. After controlling for detection strength within fixed f0f_0 bins, D-RISE faithfulness remains domain-dependent in the central f0f_0 range, with PIE showing higher D-Deletion than JAAD and Holm-adjusted significance. A non-perturbative EigenCAM baseline is less faithful than D-RISE but also exhibits score coupling, suggesting that the effect is not specific to D-RISE and is related to the deletion-based evaluation setup. These results motivate confidence-controlled XAI audits for safety-critical perception under domain shift.

Index Terms—Explainable AI, pedestrian detection, domain shift, D-RISE, D-Deletion, intelligent vehicles.

I. INTRODUCTION

Perceiving pedestrians and other vulnerable road users reliably is among the most safety-critical functions of an intelligent vehicle, since an error in this task translates directly into risk for the people least protected in traffic. Modern perception stacks address it with deep object detectors [1], and datasets recorded from a moving vehicle, such as PIE [2] and JAAD [3], have become common ground for developing and comparing pedestrian models. These detectors reach strong average accuracy, yet they remain opaque. A bounding box carries no account of which image evidence produced it, which is precisely the kind of information a safety case requires.

Explainability has consequently become a requirement rather than a convenience for perception in automated driving, and a growing body of work frames it as a pillar of safe and trustworthy autonomy [4], [5]. Among post-hoc techniques, perturbation-based saliency is appealing because it treats the model as a black box and needs only its inputs and outputs. RISE established this idea for classifiers [6], and D-RISE extended it to detectors through a similarity score that accounts for both localization and category [7]. An explanation is useful only if it is faithful, that is, if the regions it highlights are the ones the detector actually relies on. Faithfulness is commonly assessed with deletion curves, and recent work has adapted this idea to object detection, formalizing a deletion measure for detectors together with a dedicated explanation method [8].

What remains largely unexamined is whether these explanations, and the way their faithfulness is measured, survive a change of operating conditions. Faithfulness metrics for detectors have been validated mostly within a single dataset and outside the driving domain, so two questions stay open. First, does explanation faithfulness transfer across driving domains, or does it depend on where the detector is evaluated? Second, can faithfulness be compared across groups of detections without being confounded by the detector's own confidence, given that the safety-relevant cases are the low-confidence ones? Pedestrian detection across PIE and JAAD offers a natural setting to study both questions with a fixed detector and a fixed evaluation protocol, isolating the effect of the evaluation domain.

The contributions are the following:

  • A cross-domain auditing protocol for the faithfulness of pedestrian-detection explanations. The protocol evaluates a targeted perturbation-based explainer, D-RISE, against a non-perturbative CAM baseline, EigenCAM, under a common deletion metric on region-of-interest crops, fixes confidence terciles before any explanation is computed, and evaluates over multiple seeds with rank-based tests, bootstrap confidence intervals, and Holm correction.

• Evidence that, in this task, deletion-based faithfulness is coupled to the strength of the detection at explanation time, with Spearman correlations between 0.70 and 0.82. Reading the metric across confidence-defined groups is therefore confounded, a caution that extends to confidence-based evaluation of detector explanations more generally.

• Evidence that, once detection strength is controlled, explanation faithfulness still differs systematically between domains across the central f0f_{0} range, which indicates that faithfulness is not invariant under domain shift.