Extremal Contours: Gradient-driven contours for compact visual attribution

Published: 05 Nov 2025, Last Modified: 12 Nov 2025NLDL 2026 OralEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Explainable Artificial Intelligence, Contour-based explanations, Fourier parameterization
Abstract: Faithful yet compact explanations for vision models remain a challenge, as commonly used dense perturbation masks are often fragmented and overfitted, needing careful post-processing. Here, we present a training-free explanation method that replaces dense masks with smooth tunable contours. A star-convex region is parameterized by a truncated Fourier series and optimized under an extremal preserve/delete objective using the classifier gradients. The approach guarantees a single, simply connected mask, cuts the number of free parameters by orders of magnitude, and yields stable boundary updates without cleanup. Restricting solutions to low-dimensional, smooth contours makes the method robust to adversarial masking artifacts. On ImageNet classifiers, it matches the extremal fidelity of dense masks while producing compact, interpretable regions with improved run-to-run consistency. Explicit area control also enables importance contour maps, yielding a transparent fidelity–area profiles. Finally, we extend the approach to multi-contour and show how it can localize multiple objects within the same framework. Across benchmarks, the method achieves higher relevance mass and lower complexity than gradient and perturbation based baselines, with especially strong gains on self-supervised DINO models where it improves relevance mass by over 15% and maintains positive faithfulness correlations.
Git: https://github.com/rezakarimzadeh/extremal-contours
Serve As Reviewer: ~Bulat_Ibragimov3, ~Reza_Karimzadeh1
Submission Number: 15
Loading