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:
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file striders-0.0.6.tar.gz.
File metadata
- Download URL: striders-0.0.6.tar.gz
- Upload date:
- Size: 42.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96943a07a6a6da92ac14086d30cde67d0971a2fadfda075d1ac4dcb5e24d1ede
|
|
| MD5 |
330aedb58cb6f8a63487782dab6f1714
|
|
| BLAKE2b-256 |
a6dc3696a5e4a000fdcb305fde5f402e7fb4231d613ecda05a35ede456a40996
|
File details
Details for the file striders-0.0.6-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: striders-0.0.6-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 801.2 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67675c606704ff18e5002b438b4d4f482460993e232472052afd6a0d600e7584
|
|
| MD5 |
895819845932d77ba54b4b9259d93fb3
|
|
| BLAKE2b-256 |
5c14c586196de4220e76d8485a2b3cf1f167cf302ccc023796e1de5a4ed2b932
|
File details
Details for the file striders-0.0.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: striders-0.0.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db9458922ac6aa71a881585c7267eb27f661ee7be3d641c9b00c90ae685d403f
|
|
| MD5 |
cb190332507687504a38eb7f4782b0d0
|
|
| BLAKE2b-256 |
e1a173d99d73b20ec68831c63cf2719060a6aebdb58a1525ea9060169321b2e2
|
File details
Details for the file striders-0.0.6-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: striders-0.0.6-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 708.8 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
709587cdfe68435ddfcc39fbffe822144cc7b5408d102847feabab503670fa9e
|
|
| MD5 |
475bead37d507bcfbb7574e35e570a72
|
|
| BLAKE2b-256 |
85a65b51c6eb771be4cc67d4ac2ab376a98b41d5157f6a8cf820cec16db8e143
|