Skip to content

ProxySPEX Approximator#442

Merged
mmschlk merged 12 commits intommschlk:mainfrom
landonbutler:main
Oct 24, 2025
Merged

ProxySPEX Approximator#442
mmschlk merged 12 commits intommschlk:mainfrom
landonbutler:main

Conversation

@landonbutler
Copy link
Copy Markdown
Contributor

@landonbutler landonbutler commented Oct 7, 2025

ProxySPEX Approximator

Motivation and Context


Recently, we have introduced the ProxySPEX approximator, which can discover interactions at scale, and demonstrates an order-of-magnitude savings of the number of model inferences over the SPEX approximator. This PR includes the addition of the approximator, comprehensive testing, and examples added to both the language and vision notebooks.

Public API Changes

  • No Public API changes
  • Yes, Public API changes (Details below)

Added the ProxySPEX approximator as an option throughout SHAP-IQ.

How Has This Been Tested?


We have added test_approximator_proxyspex.py with comprehensive testing, alongside additional tests within test_approximator_base_sparse.py.

Checklist

  • The changes have been tested locally.
  • Documentation has been updated (if the public API or usage changes).
  • An entry has been added to CHANGELOG.md (if relevant for users).
  • The code follows the project's style guidelines.
  • I have considered the impact of these changes on the public API.

@mmschlk mmschlk requested review from Advueu963 and mmschlk October 10, 2025 15:39
@mmschlk
Copy link
Copy Markdown
Owner

mmschlk commented Oct 10, 2025

Amazing contribution! Will check it out shortly! :)

@mmschlk mmschlk self-assigned this Oct 14, 2025
# Conflicts:
#	docs/source/notebooks/language_notebooks/language_model_game.ipynb
#	src/shapiq/approximator/sparse/base.py
Copy link
Copy Markdown
Owner

@mmschlk mmschlk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merged the latest changes into the branch and played around with ProxySPEX! Very cool! I will be doing some cleaning up at some point in the approximators but for now this is amazing! Nice work! ❤️

@mmschlk mmschlk added this to the 1.4.0 milestone Oct 24, 2025
@mmschlk mmschlk added feature 💡 New feature or enhancement request approximator 🔧 all issues that are linked to approximators labels Oct 24, 2025
@mmschlk mmschlk merged commit 304a4cd into mmschlk:main Oct 24, 2025
9 checks passed
@justinkang221
Copy link
Copy Markdown
Contributor

Awesome work! Thanks to @landonbutler @mmschlk and @Advueu963 for helping make this possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approximator 🔧 all issues that are linked to approximators feature 💡 New feature or enhancement request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants