Skip to main content

Efficient surrogate-based model explanations (XAI) using landmark-based kernel approximations for scalable SHAP values.

Project description

Striders is a lightning-fast, surrogate-based model explanations (XAI). It provides an efficient alternative to traditional SHAP by leveraging landmark-based kernel approximations. Striders implements a landmark-based approximation of the Shapley Kernel. By selecting representative landmarks, it reduces the complexity of the explanation process while maintaining high correlation with the true Shapley values.

Installation

pip install striders

Performance Benchmarking

Dataset (Task) Samples / Features Metric TreeSHAP Striders Speed-up
CA Housing (Reg.) 20,640 / 8 Execution Time 22.1948s 0.3927s 56.5x 🚀
Fidelity ($R^2$) - 0.9081
Correlation - 0.9490
Credit Default (Clf.) 30,000 / 23 Execution Time 47.0008s 2.4718s 19.0x 🚀
Fidelity ($R^2$) - 0.9776
Correlation - 0.9429

Reproducibility: You can run directly in: Open In Colab

Acknowledgments & Citations

This is an unofficial implementation based on the principles described in:

@article{ko2025stride,
  title={STRIDE: Subset-Free Functional Decomposition for XAI in Tabular Settings},
  author={Ko, Chaeyun},
  journal={arXiv preprint arXiv:2509.09070},
  year={2025}
}

If you find this implementation useful in your work, please consider citing this repository:

@software{striders2026,
  author={RektPunk},
  title={Striders: A High-Performance Rust-based Implementation of STRIDE},
  year={2026},
  url={https://github.com/RektPunk/striders},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

striders-0.0.7.tar.gz (45.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

striders-0.0.7-cp38-abi3-win_amd64.whl (786.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

striders-0.0.7-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

striders-0.0.7-cp38-abi3-macosx_11_0_arm64.whl (694.4 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file striders-0.0.7.tar.gz.

File metadata

  • Download URL: striders-0.0.7.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for striders-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e01ca57a46a1fc89311a15f95fab4fde249905bc4e8431dbf4213f81224fc52d
MD5 fa49e1262fb1b497faab843914905c29
BLAKE2b-256 3693283e03ffd4583b58154e6580bdefab19ec27024d4826c7668ac3143d8b26

See more details on using hashes here.

File details

Details for the file striders-0.0.7-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: striders-0.0.7-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 786.6 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for striders-0.0.7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 251a300ca0ee60dd15681c7a6a0591ef735b09ae0b7edd927fec49000304aae1
MD5 a7d089378f9f8046b312962fd0624a64
BLAKE2b-256 0b74968ca5e1b9fd8cb43ac31adfa640a5f2bb1a18b42e9483d1faebdc56e530

See more details on using hashes here.

File details

Details for the file striders-0.0.7-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for striders-0.0.7-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 282c2bd64aa7113526049b34d748343cbaa5fd1a32110e6040dd3edd2c03037c
MD5 6bf2f87e277990a6c1b5dacd53c3c3fb
BLAKE2b-256 3027d6eafcf8080a328904625491f2958631afc0fdd81890f25153f0f4506aa4

See more details on using hashes here.

File details

Details for the file striders-0.0.7-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for striders-0.0.7-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 948de60f40d20c0178aefb7858373a6e524059fde4dd93e51a0f10fb0a7fb973
MD5 f4794b0ca2a65687989b7f20b9bcdfc9
BLAKE2b-256 d70070181955a6c7ad9b5ed6f5e39f9d71d2bd9e843c3f585c979e3f3b206037

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page