"Where Can I Trust You?": Boundary-Aware Evaluation of Surrogate Fidelity
Organizations: Department of Computer Science Lafayette College Easton, PA, USA
Abstract
Surrogate models are commonly evaluated by how often they agree with their teacher model over an evaluation set. Local variation in this agreement is well known, but its structure and consequences are less clear. We ask whether disagreement is systematically concentrated near the teacher's decision boundary and whether retaining that structure provides information beyond a single global score. Across several datasets and surrogate model classes, we find substantially lower fidelity near teacher decision boundaries under two different methods of identifying near-boundary examples. Moreover, conditioning agreement on confidence-defined regions improves prediction of teacher--surrogate agreement when evaluation-set composition changes, relative to the global score alone. Yet surrogates that agree equally well with the teacher both globally and near the decision boundary can respond very differently to changes selected using the surrogate itself. Finally, we show that independently trained deep teachers can agree on most predictions while identifying different examples as lying near their decision boundaries, complicating the use of those boundaries as stable reference regions for evaluating surrogates. Together, these results show that surrogate fidelity depends not only on how often a surrogate agrees with its teacher, but also on where that agreement holds and, for deep models, how stable the teacher's decision boundary is across training runs.
Figures & tables
| \toprule | Global fidelity (%) | Confidence-based boundary | Segment-crossing boundary | |||
|---|---|---|---|---|---|---|
| \cmidrule (lr)4-5 \cmidrule (lr)6-7 Dataset | Surrogate | Gap (pp) mean 95% CI | Pos. | Gap (pp) mean 95% CI | Pos. | |
| \midrule Breast Cancer | Decision tree | 94.0 | 11.9 2.2 | 10/10 | 10.1 2.8 | 10/10 |
| Logistic regression | 98.2 | 5.2 1.6 | 10/10 | 5.2 1.6 | 10/10 | |
| -NN | 96.4 | 10.6 3.4 | 10/10 | 9.9 3.6 | 10/10 | |
| MLP | 98.8 | 3.4 1.7 | 8/10 | 3.2 1.6 | 8/10 | |
| \midrule Diabetes | Decision tree | 73.6 | 18.6 4.2 | 10/10 | 13.9 4.6 | 9/10 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| \toprule Dataset | Examples | Features | Binary task |
| \midrule Breast Cancer Wisconsin [ 21 ] | 569 | 30 | Original binary labels |
| Wine [ 1 ] | 178 | 13 | Class 0 vs. remaining classes |
| Iris [ 6 ] | 150 | 4 | Class 0 vs. remaining classes |
| Diabetes [ 4 ] | 442 | 10 | Target median vs. target median |
| \bottomrule |
| \toprule Surrogate family | Configuration |
|---|---|
| \midrule Decision tree | maximum depth |
| Logistic regression | , liblinear solver |
| -NN | |
| MLP | one hidden layer, width , ReLU, lbfgs |
| \bottomrule |
| \toprule Dataset | Depth | Global fidelity (%) | Confidence gap (pp) | Segment-crossing gap (pp) |
|---|---|---|---|---|
| \midrule Breast Cancer | 1 | 91.6 | 12.3 3.2 | 13.7 2.5 |
| 2 | 93.3 | 11.2 3.0 | 10.8 3.9 | |
| 3 | 93.4 | 11.8 2.4 | 11.8 3.0 | |
| 5 | 94.0 | 11.9 2.2 | 10.1 2.8 | |
| 7 | 94.1 | 12.9 2.2 | 10.6 2.4 | |
| 10 | 94.2 | 12.5 2.0 | 10.9 2.6 |
| \toprule Dataset | Global baseline (pp) | 3-bin profile (pp) | 5-bin profile (pp) |
|---|---|---|---|
| \midrule Breast Cancer | 4.30 | 2.93 | 2.92 |
| Diabetes | 13.62 | 5.92 | 6.04 |
| Wine | 5.09 | 5.02 | 6.10 |
| \midrule Overall | 7.67 | 4.62 | 5.02 |
| \bottomrule |
| \toprule Scope | Surrogate | Global baseline (pp) | 3-bin profile (pp) | Improvement (pp) |
|---|---|---|---|---|
| \midrule Overall | Decision tree | 8.00 | 5.06 | 2.95 |
| Logistic | 6.78 | 2.96 | 3.82 | |
| -NN | 7.26 | 4.07 | 3.19 | |
| MLP | 5.13 | 2.81 | 2.32 | |
| \addlinespace Breast Cancer | Decision tree | 4.56 | 3.63 | 0.93 |
| Logistic | 1.93 | 1.44 | 0.49 |
| \toprule Dataset | Depth | Global fidelity (%) | Boundary fidelity (%) | Transfer rate (%) |
|---|---|---|---|---|
| \midrule Breast Cancer | 2 | 92.4 2.1 | 79.7 4.1 | 50.2 12.5 |
| 3 | 93.8 1.7 | 83.1 3.8 | 51.9 11.1 | |
| 5 | 94.6 1.5 | 84.8 4.6 | 49.0 14.2 | |
| 7 | 94.3 1.7 | 84.5 3.9 | 45.3 13.5 | |
| 10 | 94.5 1.7 | 84.5 4.4 | 44.4 13.9 | |
| \addlinespace Diabetes | 2 | 73.9 2.5 | 48.2 5.5 | 50.2 11.1 |
| \toprule Dataset | Seed | Depths | Global fidelity (%) | Boundary fidelity (%) | Transfer rates (%) | Gap (pp) |
|---|---|---|---|---|---|---|
| \midrule Breast Cancer | 3 | 3 / 7 | 94.7 / 94.7 | 82.8 / 82.8 | 73.1 / 24.1 | 49.1 |
| Diabetes | 7 | 5 / 10 | 72.7 / 72.7 | 54.5 / 54.5 | 56.2 / 37.5 | 18.8 |
| Wine | 4 | 3 / 10 | 100.0 / 100.0 | 100.0 / 100.0 | 100.0 / 61.1 | 38.9 |
| \bottomrule |
| \toprule Dataset | Seed 0 | Seed 1 | Seed 2 | Seed 3 | Seed 4 |
|---|---|---|---|---|---|
| \midrule MNIST | 99.09 | 99.27 | 99.33 | 99.18 | 99.39 |
| CIFAR-10 | 95.30 | 95.27 | 95.35 | 95.42 | 95.63 |
| \bottomrule |
| \toprule Dataset | Global agr. (%) | Jaccard (%) | Union agr. (%) | Intersection agr. (%) | Global union (pp) | |
|---|---|---|---|---|---|---|
| \midrule MNIST | 0.10 | 99.18 | 39.39 | 94.31 | 86.63 | 4.87 |
| 0.20 | 99.18 | 43.13 | 97.08 | 93.32 | 2.10 | |
| 0.25 | 99.18 | 45.01 | 97.63 | 94.77 | 1.55 | |
| \addlinespace CIFAR-10 | 0.10 | 96.05 | 44.32 | 72.09 | 58.39 | 23.96 |
| 0.20 | 96.05 | 56.81 | 84.50 | 74.63 | 11.54 | |
| 0.25 | 96.05 | 58.53 | 87.47 | 79.50 | 8.58 |