프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels

TripletAD: 희귀 이상과 부족한 레이블이 있는 임베딩 공간에서의 약지도 이상 탐지

  • 연구 문제 레이블된 이상이 극히 적고 비레이블 데이터를 정상으로 볼 수 없는 임베딩 기반 이상탐지에서 기존 약지도 탐지기와 트리 앙상블보다 나은 방법을 제안합니다.
  • 연구 방법 triplet-margin 임베딩 학습과 선형 점수 헤드를 결합하고, 모든 triplet이 레이블된 이상을 포함하도록 구성한 뒤 partial cross-entropy와 relative-contrast 힌지로 점수를 보정합니다.
  • 주요 결과 약 5% 비율에서는 기준선과 비슷했습니다.

희소 레이블 이상탐지의 어려움

많은 실무 이상탐지 문제에서는 확인된 이상 샘플이 극히 적고, 검토되지 않은 나머지 데이터를 정상이라고 믿기도 어렵습니다. 이 논문은 이런 조건을 curated-label 프로토콜로 정의합니다. 이 프로토콜에서는 확인되지 않은 이상을 정상으로 재표지하지 않고 학습 세트에서 제거합니다. 기존 약지도 탐지기인 DevNet, PReNet, DeepSAD는 비레이블 풀을 대체로 정상으로 취급하므로, 레이블된 이상이 매우 드물어지면 각 이상이 학습 배치에 적게 나타나고 결정 경계를 만들 양성 예시도 부족해집니다. 저자들은 원시 표형 특성에서는 gradient-boosted trees가 여전히 강하지만, pre-training 임베딩 입력에서 희귀 이상을 다루는 문제가 개선이 가장 필요한 지점이라고 봅니다.

triplet 학습과 선형 점수 헤드

TripletAD는 인코더 f_θ와 선형 점수 헤드로 구성됩니다. 인코더는 입력 x를 32차원 임베딩 z=f_θ(x)로 바꾸고, 헤드는 s(x)=σ(w⊤z+b)로 [0,1] 범위의 이상 점수를 냅니다. 학습 triplet은 각 앵커에 대해 같은 클래스의 양성과 반대 클래스의 음성을 무작위로 뽑아 만듭니다. 이상 앵커는 이상 양성과 정상 음성을, 정상 앵커는 정상 양성과 이상 음성을 사용하므로 모든 triplet에 레이블된 이상이 최소 하나 포함됩니다. 이 규칙은 별도의 과표집이나 배치 균형 없이 각 레이블을 에포크당 여러 번 재사용하게 합니다.

목적 함수와 두 개의 보정 항

전체 목적 함수는 J=L_trip+λ1 L_PCE+λ2 L_RC입니다. 여기서 L_trip은 임베딩 공간에서 앵커-양성 거리가 앵커-음성 거리보다 margin m=1 이상 작도록 밀어내는 triplet-margin 손실이며, 이상끼리와 정상끼리를 모으는 역할을 합니다. L_PCE는 레이블된 이상 앵커에 대해서만 −log s(x)를 평균하는 partial cross-entropy이며, 정상 앵커는 기여하지 않고 평균은 전체 B개 triplet에 걸쳐 계산됩니다. L_RC는 배치 안 이상 양성·음성 집합의 평균 점수 차이에 대한 hinge로, 두 집합의 평균 점수 차이가 1보다 작을 때 기울기가 생기도록 정의됩니다.

즉 relative contrast는 개별 샘플을 분류하는 대신 두 집단의 평균 점수를 분리하는 배치 단위 순위 제약입니다. 저자들은 기본값 λ1=1, λ2=0.25를 모든 데이터셋에 고정했다고 보고합니다.

두 단계 학습 절차

학습은 두 단계로 진행됩니다. 1단계에서는 L_trip만으로 인코더를 50 epoch 사전학습하며, 이 동안 선형 헤드는 기울기를 받지 않습니다. 2단계에서는 전체 목적 함수 J를 100 epoch 동안 최적화합니다. 옵티마이저는 learning rate 10−3의 Adam이며, 배치는 256 triplet입니다. 배치마다 앵커, 양성, 음성을 하나의 순전파에 쌓아 배치 정규화가 세 역할을 모두 보게 합니다. 테스트 시 점수는 학습된 s(x)를 그대로 사용하며, 한 번의 순전파로 계산됩니다.

데이터와 희소 레이블 프로토콜

텍스트 다섯 개는 BERT, 이미지 세 개와 MVTec-AD 15개 범주는 ResNet-18, Speech는 400차원 i-vector로 표현됩니다. 각 시드마다 층화된 70/30 분할을 하고, min–max 스케일링은 학습 부분에서만 맞춥니다. 성능은 AUCPR을 다섯 시드 평균으로 보고합니다. 희소 레이블은 비율 ρ로 학습 이상의 무작위 일부만 유지하고, 나머지 학습 이상은 정상으로 바꾸지 않고 제거합니다. 이상 비율 스윕은 텍스트와 이미지 8개 데이터셋에서 정상 샘플을 모두 두고 이상을 부분 표본화하여 2%와 1%를 만듭니다. 기준선은 random forest, CatBoost, DevNet, PReNet, DeepSAD이며 모두 같은 입력과 같은 curated 세트에서 학습됩니다.

Table 1: Datasets. “Best 1-feature AUROC” is the highest AUROC obtained by ranking on a single input coordinate
(either sign)

Table 1 : Datasets. “Best 1-feature AUROC” is the highest AUROC obtained by ranking on a single input coordinate (either sign).

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

희귀 이상 설정에서의 결과

1% 이상 비율에서 TripletAD는 여섯 방법 중 가장 높은 평균 AUCPR 0.244를 보였습니다. 이는 DeepSAD 0.210, PReNet 0.207, DevNet 0.204, CatBoost 0.159, random forest 0.118과 비교한 값입니다. 같은 1% 설정에서 DevNet 대비 약 20%, CatBoost 대비 약 53% 높습니다. 자연적으로 희귀한 Speech(이상 1.65%)에서는 모든 레이블을 쓴 설정에서 0.394를 기록했고, 최고 기준선 CatBoost의 0.196보다 약 두 배 높았습니다. 레이블 비율을 75%, 50%로 낮춰도 우위가 유지되었으나 25%에서는 PReNet과 DevNet이 소폭 앞섰습니다.

2% 설정에서는 평균 0.346으로 DevNet 0.333, DeepSAD 0.326, CatBoost 0.289보다 높았습니다.

Table 2: Anomaly-rarity sweep: AUCPR (mean of five seeds, with the anomaly subsample redrawn for each seed)
when anomalies make up 1%, 2% or 5% (original) of e…

Table 2 : Anomaly-rarity sweep: AUCPR (mean of five seeds, with the anomaly subsample redrawn for each seed) when anomalies make up 1%, 2% or 5% (original) of each dataset. Best per row in bold.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 3: Speech (1.65% anomalies): AUCPR as the fraction of labelled training anomalies varies under the curated
protocol

Table 3 : Speech (1.65% anomalies): AUCPR as the fraction of labelled training anomalies varies under the curated protocol.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Figure 1: Anomaly-rarity sweep on eight text and image embedding datasets.Left:mean AUCPR over datasets
and five seeds as the anomaly rate falls from 5% to 1%.…

Figure 1 : Anomaly-rarity sweep on eight text and image embedding datasets.Left:mean AUCPR over datasets and five seeds as the anomaly rate falls from 5% to 1%.Right:the same, divided by DevNet’s score. TripletAD’s lead grows to 20% over DevNet at 1%, while the tree ensembles fall further behind as anomalies become rarer.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

중간 비율과 통합 통계

이 설정에서 TripletAD는 대부분 기준선과 같은 수준으로 보고됩니다. 희귀 또는 희소 레이블 셀 70개를 합친 분석에서는 평균 순위가 TripletAD 2.21, DevNet 2.84, PReNet 3.04였고, Holm 보정 후 다섯 기준선 모두에 대해 유의한 우위를 보고했습니다. 다만 DevNet과 PReNet에 대한 평균 차이는 0.021~0.023 AUCPR로 DeepSAD와 트리 기준선보다 작습니다.

Table 5: Pooled comparison over 70 rare- or sparse-label embedding cells (AUCPR averaged over five seeds per
cell). W/L: cells where TripletAD is better/worse.…

Table 5 : Pooled comparison over 70 rare- or sparse-label embedding cells (AUCPR averaged over five seeds per cell). W/L: cells where TripletAD is better/worse.p: two-sided Wilcoxon signed-rank, Holm-corrected over the five baselines. A few cells are missing for DeepSAD; one DevNet and one PReNet cell are tied.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

절제 실험과 민감도

절제 실험은 Speech, Fraud, Cover에서 모든 레이블을 쓴 설정으로 수행되었습니다. Fraud에서 RC를 제거하면 AUCPR이 0.773에서 0.514로 떨어지고, Cover에서는 0.847±0.237로 불안정해집니다. Speech에서는 RC 제거 시 0.014 감소에 그쳐 중요도가 데이터셋에 따라 다릅니다. PCE 제거나 triplet pre-training 제거는 모든 설명 데이터셋에서 최대 0.014 감소였습니다. 손실 가중치 grid(λ1∈{0.1,0.5,1}, λ2∈{0.05,0.1,0.25,0.5})에서는 평균 AUCPR이 0.477~0.495이고 기본값은 0.483입니다. 이 민감도 분석은 9개 임베딩 데이터셋과 3 시드 기준입니다.

Table 6: Ablation: AUCPR (mean±s.d. over five seeds), full labels

Table 6 : Ablation: AUCPR (mean±s.d. over five seeds), full labels.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Figure 2: Sensitivity.Left:mean test AUCPR over nine embedding datasets for each(λ1,λ 2); the colour scale spans
±0.05around the mean so the small spread is sh…

Figure 2 : Sensitivity.Left:mean test AUCPR over nine embedding datasets for each(λ1,λ 2); the colour scale spans ±0.05around the mean so the small spread is shown at true scale; the red box is the default.Right:test AUCPR against the number of joint-training epochs (dashed line: default of 100). The percentage after each dataset name is its label ratio.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

표형 데이터와 적용 범위

원시 표형 데이터에서 완전 레이블 설정으로 측정한 결과에서는 CatBoost 등 gradient-boosted trees가 TripletAD보다 강한 선택으로 남았습니다. 이 결과는 TripletAD가 임베딩 입력을 위해 설계되었다는 제한과 함께 읽어야 합니다. 또한 1% 이미지 임베딩인 CIFAR-10과 SVHN에서는 PReNet과 DevNet이 여전히 앞섭니다. 따라서 다른 데이터셋과 희소 레이블 조건으로 이 결과를 넓히지 않습니다.

Table 10: Raw tabular datasets with full labels: AUCPR (mean of five seeds). PReNet and DeepSAD were not run
on Backdoor, Cover, Fraud and HTTP

Table 10 : Raw tabular datasets with full labels: AUCPR (mean of five seeds). PReNet and DeepSAD were not run on Backdoor, Cover, Fraud and HTTP.

원문 · CC BY 4.0 · Sumit Wadhwa, Souvik Nath · TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Sumit Wadhwa, Souvik Nath
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 7일
등록일
2026년 11월 10일
수정일
2026년 11월 7일
버전
v1
arXiv
2611.10352
분류
cs.LG
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Many practical anomaly detection problems come with only a handful of confirmed anomalies, and the unreviewed remainder of the data cannot be trusted to be normal. We study this setting under a curated-label protocol, in which unconfirmed anomalies are removed from training rather than relabelled as normal, and propose TripletAD, a weakly supervised detector that learns a triplet-margin embedding and calibrates a linear scoring head with two soft penalties: a partial cross-entropy on labelled anomalies and a relative-contrast hinge that separates the mean scores of anomalous and normal samples. Because every mined triplet contains a labelled anomaly, the few labels are reused across the entire training set instead of being diluted by it. On 24 ADBench datasets whose inputs are pre-trained embeddings (text, image and speech vectors), TripletAD outperforms established state-of-the-art weakly supervised detectors (DevNet, PReNet and DeepSAD) and gradient-boosted trees when anomalies are rare. At a 1% anomaly rate it has the highest mean AUCPR of six methods, 20% above DevNet; on the naturally rare Speech dataset it doubles the best baseline (0.394 vs. 0.196 AUCPR); and on MVTec-AD it is best when only a quarter or half of the anomalies are labelled. Pooled over 70 rare- or sparse-label settings, it has the best average rank (2.21 of 6) and outperforms each baseline under Wilcoxon signed-rank tests with Holm correction. When anomalies are more frequent it performs on par with these methods. The method needs no per-dataset tuning and is insensitive to its loss weights and training length; on raw tabular features, gradient-boosted trees remain the stronger choice.

원문 인용

Sumit Wadhwa, Souvik Nath (2026). TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels. arXiv:2611.10352v1. https://arxiv.org/abs/2611.10352v1

BibTeX
@misc{wadhwa2026tripletad,
  title = {{TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels}},
  author = {Sumit Wadhwa and Souvik Nath},
  year = {2026},
  eprint = {2611.10352},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10352v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입