Repository navigation
v1.5.0 (2026-05-29) #534
mmschlk
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v1.5.0 (2026-05-29)
Highlights of new Features
ProxySHAPapproximator inshapiq.approximator.proxyfor proxy-model-accelerated interaction estimationRegressionMSRapproximator inshapiq.approximator.proxyfor proxy-model accelerated value estimationshapiq.treeinto submodules:conversion/,linear/,interventional/with speedup through a C++ backendLinearTreeSHAPinshapiq.tree.linearfor fast first-order Shapley value computationInterventionalTreeExplainerinshapiq.tree.interventionalKNNExplainer,WeightedKNNExplainerandThresholdNNExplainerfor nearest neighbor modelsExplainerclasses toindex="SV",max_order=1(Shapley values) — see Breaking Changes belowshapiq.scatter_plotfor SHAP-style scatter (dependence) plots of interaction values, supporting both first-order and higher-order interactions #516Introducing ProxySHAP #501, Preprint
Adds
ProxySHAPas a new approximator that accelerates Shapley interaction estimation by fitting a lightweight proxy tree model (XGBoost by default) on sampled coalitions, computing exact interactions for the proxy via theInterventionalTreeExplainer, and then optionally correcting for the approximation error on the true model.Adds
RegressionMSRas a new approximator that accelerates Shapley value estimation by fitting a lightweight proxy tree model (XGBoost by default) on sampled coalitions, computing exact interactions for the proxy via theInterventionalTreeExplainer, and then optionally correcting for the approximation error on the true model.An overview of ProxySHAP:
Sample-efficiency of ProxySHAP:
Introducing Explainers for Nearest Neighbor Models
Adds three new explainers, namely
KNNExplainer,WeightedKNNExplainerandThresholdNNExplainer, which efficiently compute explanations for nearest neighbor models from the scikit-learn library.One application of these explainers is Data Valuation, i.e. the task of evaluating the usefulness of training data points for training models.
Python Version #497
numbaandllvmlite(transitive dependencies viagalois) no longer publish x86_64 macOS wheels. Apple Silicon (arm64) macOS, Linux, and Windows are unaffected.Removed Deprecated Features
path_to_valuesparameter fromshapiq.Game, which was previously deprecated. Useshapiq.Game.load()instead. #496shapiq.InteractionValues. JSON is now the only supported file format. UseInteractionValues.save()andInteractionValues.load()with JSON files. #496Breaking Changes
Explainerdefault changed to Shapley values.Explainer,TabularExplainer,TabPFNExplainer,AgnosticExplainer, andTreeExplainernow default to
index="SV",max_order=1. Previously they defaulted toindex="k-SII",max_order=2. Users relying on the previous default mustpass these arguments explicitly. NN explainers and
ProductKernelExplainerare unaffected — they already defaulted to
"SV". Approximators andcomputers also retain their existing defaults.
Extending shapiq-games #476
shapiq_games.benchmark.local_xai.shapiq_games.benchmark.local_xai.Four adjustment strategies are supported:
"none": use proxy interactions directly (fastest, least accurate)"msr"/"svarm"/"kernel": unbiased adjustments via established estimatorsThis implementation relies on C-extension routines (
compute_interactions_sparse) for high-throughput coalition evaluation.Introducing LinearTreeSHAP #501
Adds
LinearTreeSHAP— an efficient implementation of the Linear TreeSHAP algorithm (Yu et al., 2022) for computing first-order Shapley values on tree-based models.Unlike
TreeSHAPIQ, which supports any-order interactions,LinearTreeSHAPis optimized exclusively for Shapley values (index="SV") and achieves higher throughput by using a dedicated C++ extension (linear_tree_shap_iterative).It is exported from
shapiq.tree.LinearTreeSHAP. For further details we refer to the paper: Yu, S., Zheng, S., Chen, H., & Li, J. (2022). Linear TreeSHAP. NeurIPS 2022.Complete Refactor of the
shapiq.treeModule #501The internal tree infrastructure has been fully reorganized into a clean subpackage layout:
The conversion of the tree methods has been moved to C++ giving at least 2x up to 6x times speeup over shap tree conversion.
Documentation and Examples
Performance
forloop from its hot path. #498Refactoring of spex module
ProxySPEXfromshapiq.approximator.sparsetoshapiq.approximator.proxy. Imports fromshapiq.approximator(i.e.from shapiq.approximator import ProxySPEX) are unchanged."proxyspex"option fromSparse.decoder_type; it now accepts only"soft"or"hard"(default"soft").sparse-transformandgaloisout of the core dependencies. Install withpip install shapiq[sparse]to useSPEX/Sparse.sparseextra (sparse-transform,galois) required byshapiq.approximator.sparse.proxyextra (xgboost,lightgbm) required byshapiq.approximator.proxy(ProxySHAP,ProxySPEX,RegressionMSR).Bugfix
min_orderinTreeExplainerso that it now actually restricts the returnedInteractionValuesto interactions of ordermin_order..max_order(min_order=0continues to include the empty interaction at the baseline value); invalid values now raise a clearValueError. #325LC_NUMERIClocale is not set to the standard"C"value. #515ProxySHAPC++ extension code. #506All PRs:
tylinter. by @mmschlk in Addtylinter. #493New Contributors
Full Changelog: v1.4.1...v1.5.0
This discussion was created from the release v1.5.0 (2026-05-29).
All reactions