Skip to content

Methods · Machine learning · Model robustness

Adversarial Robustness Evaluation of Classifiers

Adversarial robustness evaluation asks how much the inputs must be changed to flip a classifier's correct predictions. For linear models (logistic regression, linear SVM) the smallest flipping change is exact: the score margin divided by the dual norm of the weight vector. For a multilayer perceptron the method runs gradient attacks, the fast gradient sign method and projected gradient descent, inside a budget measured in standard deviations of each feature. Robust accuracy is the share of test rows still classified correctly under the worst change found.

입력값을 얼마나 바꿔야 분류기의 올바른 예측이 뒤집히는지를 따지는 적대적 강건성 평가입니다. 로지스틱 회귀와 선형 SVM은 예측을 뒤집는 최소 변화량을 정확히 계산하고, 다층 퍼셉트론은 FGSM과 PGD 공격으로 변화 허용 범위 안에서 가장 나쁜 입력을 찾습니다. 허용 범위는 각 변수의 표준편차 단위입니다.

How easily can small, deliberate changes to the inputs fool my classifier?

입력을 조금만 의도적으로 바꿔도 내 분류기가 속아 넘어갑니까?

Robust accuracy close to clean accuracy at a realistic budget means small manipulations rarely change decisions. A steep fall at small budgets means the model relies on fragile directions in feature space. For the network the attack values are upper bounds: a stronger attack could lower them further. For linear models they are exact.

When to use Adversarial Robustness Evaluation of Classifiers

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

On [value] held-out rows the [model] classifier had clean accuracy [value]; under Linf perturbations of [value] standard deviations its robust accuracy fell to [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Adversarial Robustness Evaluation of Classifiers on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q71050 · Reviewed 2026-10-25