[Paper Review] Look at the Variance! Efficient Black-box Explanations with Sobol-based Sensitivity Analysis
This paper proposes a novel black-box explanation method for deep learning models using Sobol-based sensitivity analysis to efficiently estimate feature importance while capturing higher-order interactions. By combining Quasi-Monte Carlo sampling with perturbation masks and efficient Sobol index estimators, the method achieves state-of-the-art faithfulness on vision and NLP benchmarks—matching or surpassing white-box methods—while reducing computation time by up to 50% compared to existing black-box approaches.
We describe a novel attribution method which is grounded in Sensitivity Analysis and uses Sobol indices. Beyond modeling the individual contributions of image regions, Sobol indices provide an efficient way to capture higher-order interactions between image regions and their contributions to a neural network's prediction through the lens of variance. We describe an approach that makes the computation of these indices efficient for high-dimensional problems by using perturbation masks coupled with efficient estimators to handle the high dimensionality of images. Importantly, we show that the proposed method leads to favorable scores on standard benchmarks for vision (and language models) while drastically reducing the computing time compared to other black-box methods -- even surpassing the accuracy of state-of-the-art white-box methods which require access to internal representations. Our code is freely available: https://github.com/fel-thomas/Sobol-Attribution-Method
Motivation & Objective
- To develop a general, efficient, and faithful black-box explanation method for deep learning models without requiring access to internal network states.
- To address the limitations of existing black-box methods, such as high computational cost and limited modeling of higher-order feature interactions.
- To extend sensitivity analysis techniques—specifically Sobol indices—into deep learning explainability for high-dimensional inputs like images and text.
- To demonstrate that variance-based attribution can achieve performance on par with or better than state-of-the-art white-box methods, even without internal model access.
- To validate the method across vision and NLP benchmarks, showing robustness and efficiency in real-world settings.
Proposed method
- The method uses Quasi-Monte Carlo (QMC) sequences to sample real-valued perturbation masks across input features (e.g., image pixels or words).
- Perturbation masks are applied via an inpainting function that modifies input features continuously (e.g., reducing pixel intensity or binarizing word presence/absence in NLP).
- The model’s output predictions are collected for each perturbed input, and Sobol indices are estimated from these outputs to quantify feature importance.
- First-order Sobol indices ($\mathcal{S}_i$) measure individual feature contributions, while total-effect indices ($\mathcal{S}_{T_i}$) capture both individual and higher-order interaction effects.
- Efficient estimators from sensitivity analysis literature are used to reduce the number of required forward passes, making the method scalable to high-dimensional inputs.
- For NLP, the method adapts by binarizing masks to simulate word removal, enabling application to text classification tasks.
Experimental results
Research questions
- RQ1Can Sobol-based sensitivity analysis be effectively adapted to produce faithful, efficient black-box explanations for deep neural networks?
- RQ2How does the inclusion of higher-order feature interactions through total-effect Sobol indices improve explanation quality compared to first-order methods?
- RQ3Can this method achieve competitive performance on vision and NLP benchmarks while being significantly faster than existing black-box methods?
- RQ4Does the method outperform or match the faithfulness of white-box methods despite not requiring access to internal model representations?
- RQ5How does the choice of perturbation strategy (continuous vs. binary) affect performance in different modalities like images and text?
Key findings
- The proposed Sobol-based method achieves a word deletion score of 0.461 on the IMDB dataset for a bi-LSTM, outperforming all tested gradient-based white-box methods and ranking second overall.
- For BERT, the method achieves a deletion score of 0.598, which is competitive despite the default mask distribution removing on average half the words.
- The method reduces computational cost by up to 50% compared to other black-box methods while maintaining or improving faithfulness on image and text benchmarks.
- On image classification tasks, the method matches or exceeds the performance of state-of-the-art black-box methods and even rivals the accuracy of white-box methods like Integrated Gradients.
- The total-effect Sobol indices ($\mathcal{S}_{T_i}$) effectively highlight joint contributions—such as the interaction between eyes and lynx tips—demonstrating the method’s ability to model complex, non-linear interactions.
- The method is robust across modalities: it generalizes from vision to NLP by adapting the perturbation function to binarize word presence/absence, maintaining strong performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.