Imagine you have an AI model that predicts house prices, but you don’t know which features (rooms, distance to downtown, etc.) truly matter. The φ‑test is a new method that merges SHAP explanations—already popular for assigning importance to each feature—with selective inference, a statistical tool that rigorously controls significance after variable selection.
Starting from a trained model and an evaluation dataset, the φ‑test first screens out low‑impact features using SHAP values. Then it builds a linear surrogate model only with the remaining variables, applying a selection rule that yields valid p‑values and confidence intervals even after the selection step.
The output is a global table that, for each retained feature, shows: (i) a SHAP‑based global score, (ii) the surrogate coefficient, and (iii) statistical inference metrics. Experiments on real tabular regression tasks with tree‑based and neural networks show that φ‑test preserves most of the original model’s predictive power while using just a few features, and the selected sets stay stable across resamples and model types. In short, φ‑test acts as a practical global explanation layer, linking SHAP‑driven importance with classical statistical inference.
