Skip to main content

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

Project description

release License

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 6.4243s 0.0784s 82.0x 🚀
Fidelity ($R^2$) - 0.9093
Correlation - 0.9506
Credit Default (Clf.) 30,000 / 23 Execution Time 13.7760s 0.4027s 34.2x 🚀
Fidelity ($R^2$) - 0.9776
Correlation - 0.9428

Reproducibility: You can reproduce these results by running the script.

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.4.tar.gz (102.3 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.4-cp38-abi3-win_amd64.whl (793.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

striders-0.0.4-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.4-cp38-abi3-macosx_11_0_arm64.whl (704.3 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for striders-0.0.4.tar.gz
Algorithm Hash digest
SHA256 32ef5adedd4d0421742ffa85e5d0fd2b6af574b4238ef083595ae0e2cd00a2fa
MD5 1a0cfff67f946639656f65de8843666b
BLAKE2b-256 3302cb9df20b83fc286b62235fb04db6270ad1a5ce7f3020d0e6254c06836a9c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for striders-0.0.4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 beaba5167dc4429966e696e670fedbb5d1dc2f89268a395d8f56c2b2f6976815
MD5 6a360c0a5fcca5beb5a5daea82152026
BLAKE2b-256 49aac865bc3d8ab63939e282ec1b50919188b768a889548b074a2883c285db9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for striders-0.0.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8845f346306b67482cea96d7fd5258da1f4763ae83decf34eda96287fd6cc7ec
MD5 adcb25bd5dbb5346ee17ad1d777af879
BLAKE2b-256 3b9143eddc75977db92e3dc4738ba9e6dfb97dd3fab2629897c3126f461ec1b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for striders-0.0.4-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 66fa6807780a725722bdec6d8fc2d576627424bd54285eb2e9e9135998f54401
MD5 3964e52c2ac1ee8b1d7935b7ba1814e2
BLAKE2b-256 60a8c184f40bcd08e5eecabb7804e6a3ad1cd064978fe38d4e8d7bfd3a10e10d

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