TL;DR
Evaluating the adversarial robustness of machine learning models usually requires white-box access to weights, ground-truth labels, and expensive attack simulations. This paper introduces brittle-score, an attack-free, label-free metric that estimates black-box robustness by measuring the average $\ell_1$-norm of LIME explanation weights. The authors show that more robust models yield sparser, sharper explanations with smaller feature weights, establishing a strong inverse relationship between explanation magnitudes and adversarial vulnerability.
What Problem Does This Paper Address?
Standard adversarial robustness benchmarking relies on robust-acc—evaluating model accuracy on worst-case inputs generated via gradient-based attacks (e.g., PGD, FGSM). While effective, this methodology presents three major bottlenecks:
- Requires white-box access: Most strong attacks require exact gradient information from model parameters, making them unusable for proprietary or API-hosted black-box models.
- Requires ground-truth labels: Measuring robust accuracy requires labelled evaluation sets.
- High computational cost: Synthesizing adversarial perturbations demands multi-step optimization over high-dimensional input spaces for every single evaluation sample.
The paper investigates whether it is possible to score and rank the adversarial robustness of black-box models off-the-shelf, on unlabelled data, without running adversarial attacks.
Methods
The authors propose brittle-score, an input-attribution proxy grounded in the intuition that robust models should have small input gradients ($\nabla_x \mathcal{M}(x)$), meaning small input changes do not drastically shift model outputs.
Since exact gradients are inaccessible in black-box models, the method substitutes them with weights derived from LIME (Local Interpretable Model-agnostic Explanations):
- For an unlabelled sample $x_i$, $k$ neighboring perturbations $\{z_{i,j}\}_{j=1}^k$ are sampled and passed through the black-box model $\mathcal{M}$.
- A linear surrogate $w_i^T z$ is fitted to approximate the model locally around $x_i$, where the weight vector $w_i = \text{LIME}(\mathcal{M}(x_i)) \in \mathbb{R}^d$ acts as a black-box proxy for the local input gradient.
- Given an unlabelled dataset $\mathcal{X}$ of size $n$ and data dimensionality $d$, the score is the normalized average $\ell_1$-norm of these explanation vectors:
$$\text{brittle-score}_\mathcal{X}(\mathcal{M}) = \frac{1}{nd} \sum_{x_i \in \mathcal{X}} \|\text{LIME}(\mathcal{M}(x_i))\|_1$$
To benchmark models against a standard non-robust baseline ($\mathcal{S.M}$), they compute Relative Improvement (R.I.):
$$\text{R.I.} = \frac{\text{brittle-score}(\mathcal{S.M}) - \text{brittle-score}(\mathcal{M})}{\text{brittle-score}(\mathcal{S.M})}$$
Datasets
The authors evaluated the method across four standard image classification datasets:
- MNIST: Used for controlled experiments comparing normally trained vs. PGD-adversarially trained models across 2-layer MLP, 3-layer CNN, and 5-layer CNN architectures.
- CIFAR-10, CIFAR-100, and ImageNet: Used to benchmark pre-trained open-source robust models sourced from the RobustBench benchmark (no new datasets were created).
Key Insights and Ideas
- Local linear explanations mirror input gradients: In linear models, adversarial vulnerability directly stems from high-magnitude feature weights. The authors show this property transfers to black-box deep networks via local linear surrogates fitted by LIME.
- Robust models give sparser explanations: Non-robust networks produce dense, noisy feature attributions across background pixels. Robust models focus attribution strictly on core semantic features (e.g., the stroke boundaries of a digit), yielding sparser weight vectors with substantially lower $\ell_1$ norms.
- Attack-free and label-free ranking: Because LIME only queries predictions on randomized perturbations around unlabelled validation samples, black-box models can be reliably compared for safety without crafting specific adversarial attacks.
Key Results
- Controlled MNIST experiments: Across all tested architectures (2-layer MLP, 3-layer CNN, and 5-layer CNN), models trained with $\ell_\infty$ PGD ($\epsilon = 8/255$) consistently exhibited lower
brittle-scorevalues (e.g., $\approx 0.45\text{--}0.65$) than their normally trained counterparts (ranging from $\approx 0.70$ to $0.85$). - Benchmark evaluations on RobustBench:
- CIFAR-10 ($n=3000$): As robust accuracy increased from $0.0\%$ (standard ResNet) to $66.56\%$ (Rebuffi et al.),
brittle-scoremonotonically dropped from $0.6028$ to $0.5956$ ($\text{R.I.} = 1.22\%$). - CIFAR-100 ($n=3000$): Non-robust baseline achieved $3.95\%$ robust accuracy with a
brittle-scoreof $0.6073$. The top-performing model (Gowal et al.) achieved $36.88\%$ robust accuracy with a score of $0.5977$ ($\text{R.I.} = 1.60\%$). - ImageNet ($n=100$):
brittle-scoredecreased from $0.74341$ ($0.0\%$ robust accuracy) to $0.74309$ ($38.14\%$ robust accuracy for Salman et al.). - Sub-linear scaling: The gap in
brittle-scorebetween progressively stronger robust models shrinks as robustness climbs, indicating an empirical sub-linear relationship withrobust-acc.
Limitations and Future Work
- Dataset-bound comparisons: Absolute
brittle-scorenumbers are not universally interpretable across different datasets or input dimensionalities; scores are only meaningful when comparing models evaluated on the same data distribution. - Query overhead: While avoiding backpropagation, the metric still requires generating $k$ local samples (e.g., $k=1000$) per evaluated instance to fit LIME regressions, which can incur non-trivial API query costs.
- Diminishing sensitivity: The marginal differences in
brittle-scoreamong high-performing robust models can be very small (e.g., in the fourth decimal place on ImageNet). - Future directions: Developing theoretical proofs connecting LIME weight bounds to certified adversarial bounds, and adapting black-box surrogate scoring to other safety dimensions such as model fairness.
Summary updated