Area Under the Margin (Mislabelled-Example Detection)
Area under the margin tracks, during training, how strongly the model prefers each row's assigned label over the best other class. The margin is the assigned-class logit minus the largest other logit, and AUM is its average over epochs. Correctly labelled rows quickly gain large positive margins; mislabelled rows fight the rest of their class and keep small or negative margins. To set a cut-off, a random set of rows is given a fake extra class; their AUM shows what deliberately wrong labels look like, and rows below its 99th percentile are flagged.
학습 중 모형이 각 행에 붙은 라벨을 다른 가장 강한 범주보다 얼마나 더 선호하는지(마진)를 에폭마다 기록하고 평균한 값이 AUM입니다. 바른 라벨은 빠르게 큰 양의 마진을 얻고, 잘못된 라벨은 작은 마진이나 음의 마진에 머뭅니다. 일부 행에 가짜 범주를 붙여 일부러 틀린 라벨의 AUM 분포를 만들고, 그 99백분위수보다 낮은 행을 의심 행으로 표시합니다.
Which training labels are probably wrong?
학습 자료의 라벨 가운데 잘못 붙은 것은 어느 것입니까?
Flagged rows have training margins as low as rows that were deliberately mislabelled; review them before relabelling or dropping. A large flagged share usually means overlapping classes or a model too simple to separate them, in which case use the AUM values as a ranking.
When to use Area Under the Margin (Mislabelled-Example Detection)
- Labels come from crowd-sourcing, weak rules or tired annotators and you suspect errors.
- You want a ranked list of rows to send for relabelling.
When to use something else
- You want to find unusual feature values rather than wrong labels: use Isolation Forest Anomaly Detection
- You want to know how well the model predicts: use Classification Performance Report
Assumptions and requirements
- Most labels are correct
- Training stops before the model memorises every label
- Features carry enough signal to separate the classes
What the analysis reports
- AUM of every row and its threshold
- Rows flagged as likely mislabelled, overall and by class
- Threshold from the fake-class samples in both runs
How to report it
Area-under-the-margin screening ([model], [value] epochs) flagged [value] of [value] rows ([value]%) as likely mislabelled, using the 99th percentile of threshold-sample AUM ([value]) as the cut-off.
Related methods
- Classification Performance Report
- Isolation Forest Anomaly Detection
- Semi-Supervised Classification (Self-Training, Label Spreading)
- Condensed Nearest Neighbour Undersampling
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-7.
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-7).
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 Area Under the Margin (Mislabelled-Example Detection) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.