How Dataset Size Changes the Reliability of Feature Attribution

Authors

  • Demi-Leigh Dungan Department of Computer Science, Binghamton University, Binghamton, NY, USA. Author

Keywords:

feature attribution; dataset size; interpretability reliability; Shapley values; finite-sample estimation; ranking stability

Abstract

Feature attribution methods increasingly inform model diagnostics, scientific discovery, and high-stakes decisions, yet their outputs are often treated as stable properties of a trained model rather than finite-sample estimates. This article develops an analytical framework for how dataset size changes the reliability of feature attribution. The central problem is that attribution reliability depends on at least three distinct sample sizes: the training sample that determines the model, the reference or background sample that defines the attribution estimand, and the stochastic sample used by estimators such as Monte Carlo Shapley values. Small samples affect both the variance of attribution estimates and the target attribution itself through model regularization, support truncation, and empirical feature dependence. The framework separates estimator noise from target shift, decomposes mean squared attribution error into training, reference, stochastic-estimation, and bias components, and derives consequences for feature-ranking stability. These relationships yield practical design rules: allocate sample size according to the dominant variance channel, evaluate ranking reliability relative to attribution gaps, and avoid interpreting estimator convergence as evidence of model or causal fidelity. The analysis clarifies why attribution methods can appear reliable on small benchmarks while producing unstable feature rankings at deployment, and it provides a technically grounded basis for sample-size planning, uncertainty reporting, and comparative evaluation of feature-attribution methods.

References

1. Murdoch, W. J., Singh, C., Kumbier, K., Abbasi-Asl, R., & Yu, B. (2019). Definitions, methods, and applications in interpretable machine learning. Proceedings of the National Academy of Sciences, 116(44), 22071–22080. https://doi.org/10.1073/pnas.1900654116

2. Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). "Why should I trust you?" Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135–1144). ACM. https://doi.org/10.1145/2939672.2939778

3. Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems 30 (pp. 4765–4774). Curran Associates.

4. Shapley, L. S. (1953). A value for n-person games. In H. W. Kuhn & A. W. Tucker (Eds.), Contributions to the Theory of Games II (pp. 307–317). Princeton University Press.

5. Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206–215. https://doi.org/10.1038/s42256-019-0048-x

6. Adebayo, J., Gilmer, J., Muelly, M., Goodfellow, I., Hardt, M., & Kim, B. (2018). Sanity checks for saliency maps. In Advances in Neural Information Processing Systems 31 (pp. 9505–9515). Curran Associates.

7. Kindermans, P.-J., Hooker, S., Adebayo, J., Alber, M., Schütt, K. T., Dähne, S., Erhan, D., & Kim, B. (2019). The (un)reliability of saliency methods. In W. Samek, G. Montavon, A. Vedaldi, L. K. Hansen, & K.-R. Müller (Eds.), Explainable AI: Interpreting, explaining and visualizing deep learning (pp. 267–280). Springer. https://doi.org/10.1007/978-3-030-28954-6_14

8. Alvarez-Melis, D., & Jaakkola, T. S. (2018). On the robustness of interpretability methods. arXiv preprint arXiv:1806.08049.

9. Ghorbani, A., Abid, A., & Zou, J. (2019). Interpretation of neural networks is fragile. Proceedings of the AAAI Conference on Artificial Intelligence, 33(1), 3681–3688. https://doi.org/10.1609/aaai.v33i01.33013681

10. Hooker, S., Erhan, D., Kindermans, P.-J., & Kim, B. (2019). A benchmark for interpretability methods in deep neural networks. In Advances in Neural Information Processing Systems 32 (pp. 9737–9748). Curran Associates.

11. Štrumbelj, E., & Kononenko, I. (2014). Explaining prediction models and individual predictions with feature contributions. Knowledge and Information Systems, 41(3), 647–665. https://doi.org/10.1007/s10115-013-0679-x

12. Covert, I., Lundberg, S., & Lee, S.-I. (2020). Understanding global feature contributions with additive importance measures. In Advances in Neural Information Processing Systems 33 (pp. 17212–17223). Curran Associates.

13. Janzing, D., Minorics, L., & Blöbaum, P. (2020). Feature relevance quantification in explainable AI: A causal problem. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS) (pp. 2907–2916). PMLR.

14. Efron, B. (1979). Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1), 1–26. https://doi.org/10.1214/aos/1176344552

15. Efron, B., & Tibshirani, R. J. (1993). An introduction to the bootstrap. Chapman & Hall.

16. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

17. Ribeiro, M. T., Singh, S., & Guestrin, C. (2018). Anchors: High-precision model-agnostic explanations. Proceedings of the AAAI Conference on Artificial Intelligence, 32(1), 1527–1535.

18. Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S.-I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1), 56–67. https://doi.org/10.1038/s42256-019-0138-9

19. Molnar, C. (2022). Interpretable machine learning (2nd ed.). Lulu.com.

20. Hastie, T., Tibshirani, R., & Friedman, J. (2009). The elements of statistical learning: Data mining, inference, and prediction (2nd ed.). Springer. https://doi.org/10.1007/978-0-387-84858-7

Downloads

Published

2023-04-23