Papers › Characterizing Data Point Vulnerability via Average-Case Robustness

Characterizing Data Point Vulnerability via Average-Case Robustness

26 Jul 2023arXiv:2307.13885archive 2025-07-28

Tessa Han, Suraj Srinivas, Himabindu Lakkaraju

Studying the robustness of machine learning models is important to ensure consistent model behaviour across real-world settings. To this end, adversarial robustness is a standard framework, which views robustness of predictions through a binary lens: either a worst-case adversarial misclassification exists in the local region around an input, or it does not. However, this binary perspective does not account for the degrees of vulnerability, as data points with a larger number of misclassified examples in their neighborhoods are more vulnerable. In this work, we consider a complementary framework for robustness, called average-case robustness, which measures the fraction of points in a local region that provides consistent predictions. However, computing this quantity is hard, as standard Monte Carlo approaches are inefficient especially for high-dimensional inputs. In this work, we propose the first analytical estimators for average-case robustness for multi-class classifiers. We show empirically that our estimators are accurate and efficient for standard deep learning models and demonstrate their usefulness for identifying vulnerable data points, as well as quantifying robustness bias of models. Overall, our tools provide a complementary view to robustness, improving our ability to characterize model behaviour.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.13885")

Code

Syntology Ran 13 of 14 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ai4life-group/average-case-robustness officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 13 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran
1unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ai4life-group/average-case-robustness. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ResNet18 ai4life-group/average-case-robustness/models/resnet.py official repository ran MIT (permissive) · a3b4819210f94d04 · report
ResNet34 ai4life-group/average-case-robustness/models/resnet.py official repository ran MIT (permissive) · 333bf028a3aa2d1f · report
ResNet50 ai4life-group/average-case-robustness/models/resnet.py official repository ran MIT (permissive) · c1ab608e5f02e5d3 · report
add_gaussian_noise ai4life-group/average-case-robustness/estimators/fns_add_noise.py official repository ran MIT (permissive) · 639a0058eb04fb0d · report
add_gaussian_noise_batched ai4life-group/average-case-robustness/estimators/fns_add_noise.py official repository ran MIT (permissive) · 510f78be910a4482 · report
compute_mvn_cdf ai4life-group/average-case-robustness/estimators/fns_mvn_cdf_torch.py official repository ran MIT (permissive) · b841d740cf91f305 · report
compute_mvn_cdf_nlp ai4life-group/average-case-robustness/estimators/fns_mvn_cdf_torch.py official repository ran MIT (permissive) · 13cc8f2d7e619266 · report
f_to_g ai4life-group/average-case-robustness/src/fns_sigma.py official repository ran MIT (permissive) · ac24158304cb2789 · report
get_list_batch_sizes ai4life-group/average-case-robustness/estimators/class_p_emp.py official repository ran fingerprinted MIT (permissive) · ffa63c6f43ab3b39 · report
gradf_to_gradg ai4life-group/average-case-robustness/estimators/class_p_mmse.py official repository ran MIT (permissive) · e006e1e840d00026 · report
mv_sigmoid ai4life-group/average-case-robustness/src/fns_sigma.py official repository ran fingerprinted MIT (permissive) · d7ee8480d9544bea · report
round_probust_values ai4life-group/average-case-robustness/calc_p_robust.py official repository ran MIT (permissive) · facd8aafc128834a · report
run_estimator_on_dataloader ai4life-group/average-case-robustness/calc_p_robust.py official repository ran MIT (permissive) · 18d594adb10a3a11 · report
x_to_gradf ai4life-group/average-case-robustness/src/fns_sigma.py official repository unverified MIT (permissive) · 705316d160a29f46 · report

Tasks

Adversarial RobustnessMulti-class Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Randomized SmoothingSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections