컴백부터 K-뷰티까지 — K-컬쳐의 모든 것을 메일로 받아보세요메일로 받아보기

METAL MEDIA

객체 탐지기가 이미 알고 있던 것을 5개의 숫자로 뽑아내 엉뚱한 물체 오탐을 잡아낸다

arXiv:2608.190802026-08-18

SPK: Eliciting Structured Prior Knowledge for Interpretable Out-of-Distribution Detection in Real-Time Object Detection

객체 탐지기가 이미 알고 있던 것을 5개의 숫자로 뽑아내 엉뚱한 물체 오탐을 잡아낸다

자율주행이나 로봇 비전에 쓰이는 객체 탐지 AI는 학습 때 본 적 없는 물체를 마주치면 엉뚱하게 확신에 찬 오탐(할루시네이션)을 낸다. 이 논문은 탐지기 내부에 이미 숨겨져 있던 부분별 의미 정보, 크기 정보, 배경 맥락 정보를 끄집어내 5차원짜리 압축된 표현으로 정리하는 SPK라는 방법을 제안한다. 이 5차원 표현만으로 기존 방법보다 더 정확하게, 그리고 왜 오탐인지 설명 가능하게 판별해낸다.

METAL MEDIA 해설 도표

객체 탐지기가 이미 알고 있던 것을 5개의 숫자로 뽑아내 엉뚱한 물체 오탐을 잡아낸다

  1. 01기존 방법들은 탐지기가 뽑아낸 복잡한 고차원 특징 위에 판별 규칙을 얹거나 탐지기 자체를 다시 학습시켜 오탐을 줄이려 했는데, 이 논문은 탐지기 안에 원래 숨어 있던 지식을 있는 그대로 끄집어내는 쪽을 택했다.
  2. 02정상 범주와 비슷해 보이는 가짜 후보(Proximal OoD)와 배경만 있는 이미지를 진단용 자료로 써서, GPT-5로 만든 부위 이름(날개, 부리 등)을 OWLv2와 SAM 2로 자동 라벨링한 뒤 이를 근거로 부위별 의미 반응을 학습시켰다.
  3. 03여기서 얻은 3가지 의미 반응(정상 범주 유사도, 가짜 후보 유사도, 배경 유사도)에 물체 크기 비율(기하 정보), 이미지 전체 맥락 유사도(맥락 정보)를 더해 5차원의 SPK 표현을 만들었다.
  4. 04PASCAL-VOC와 BDD-100K 데이터셋, YOLO·Faster R-CNN·RT-DETR 세 종류 탐지기 구조에서 실험한 결과, 같은 판별 알고리즘(KNN, Isolation Forest 등)을 SPK 표현에 적용했을 때 원래 고차원 특징을 쓸 때보다 FPR95(정상 물체 95%를 통과시켰을 때 오탐률)가 일관되게 낮아졌고, 기존 최고 성능 방법이었던 Proximal-OoD보다도 오탐 제거 개수가 더 많았다.
  5. 05탐지기 자체는 전혀 손대지 않고도 이런 성능을 냈으며, YOLO 기준 원래 추론 10.15ms에 SPK 전체 처리를 더해도 12.65ms로 실시간성을 유지했다.
METAL MEDIA이 원문을 바탕으로 재구성한 해설 도표이며, 논문 저자의 원문 figure가 아닙니다.

무엇을 했나

  1. 기존 방법들은 탐지기가 뽑아낸 복잡한 고차원 특징 위에 판별 규칙을 얹거나 탐지기 자체를 다시 학습시켜 오탐을 줄이려 했는데, 이 논문은 탐지기 안에 원래 숨어 있던 지식을 있는 그대로 끄집어내는 쪽을 택했다.
  2. 정상 범주와 비슷해 보이는 가짜 후보(Proximal OoD)와 배경만 있는 이미지를 진단용 자료로 써서, GPT-5로 만든 부위 이름(날개, 부리 등)을 OWLv2와 SAM 2로 자동 라벨링한 뒤 이를 근거로 부위별 의미 반응을 학습시켰다.
  3. 여기서 얻은 3가지 의미 반응(정상 범주 유사도, 가짜 후보 유사도, 배경 유사도)에 물체 크기 비율(기하 정보), 이미지 전체 맥락 유사도(맥락 정보)를 더해 5차원의 SPK 표현을 만들었다.
  4. PASCAL-VOC와 BDD-100K 데이터셋, YOLO·Faster R-CNN·RT-DETR 세 종류 탐지기 구조에서 실험한 결과, 같은 판별 알고리즘(KNN, Isolation Forest 등)을 SPK 표현에 적용했을 때 원래 고차원 특징을 쓸 때보다 FPR95(정상 물체 95%를 통과시켰을 때 오탐률)가 일관되게 낮아졌고, 기존 최고 성능 방법이었던 Proximal-OoD보다도 오탐 제거 개수가 더 많았다.
  5. 탐지기 자체는 전혀 손대지 않고도 이런 성능을 냈으며, YOLO 기준 원래 추론 10.15ms에 SPK 전체 처리를 더해도 12.65ms로 실시간성을 유지했다.
Figure 1: The proposed SPK framework, a proactive OoD hallucination mitigation framework, further reduces OoD-induced hallucinations beyond previous state-of-the-art methods (48), achieving additional improvements in challenging high-performance regimes.
Figure 1: The proposed SPK framework, a proactive OoD hallucination mitigation framework, further reduces OoD-induced hallucinations beyond previous state-of-the-art methods (48), achieving additional improvements in challenging high-performance regimes.
Table 1: Comparison of OoD detection performance using FPR95 across different detector architectures trained on PASCAL-VOC and BDD-100K. Lower is better.
MethodYOLOFaster R-CNNRT-DETR
PASCAL-VOCBDD-100KPASCAL-VOCBDD-100KPASCAL-VOCBDD-100K
Near-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoD
MSP67.4867.1872.9374.1268.3678.6977.4674.4170.4467.8177.4674.41
EBO90.4990.8487.2287.0660.6256.2194.8394.3798.0396.6994.8394.37
MLS89.8890.0886.4787.0659.6257.8992.5591.0892.8489.7592.5591.08
SCALE80.6780.9277.4470.5992.3480.7086.3584.9881.1276.9286.3584.98
MDS57.6769.4768.4282.3549.9656.3878.9079.3448.6552.9078.9079.34
BAM45.3643.7249.6352.1865.4442.1665.7361.3475.6165.2775.4868.44
KNN48.2039.5041.9545.2461.9537.5350.5449.7677.1063.0062.1058.00
iForest70.2767.8260.4265.2375.4352.3863.2562.7879.5265.9268.2362.30
SPK-MDS14.9917.2823.356.4621.0323.5042.4242.7318.4317.8341.7716.48
SPK-BAM21.9621.7316.753.0718.9818.179.076.1823.1225.1918.7616.84
SPK-KNN19.6417.9913.471.1715.5013.694.703.0918.2620.4316.9713.74
SPK-iForest14.2511.849.860.7013.9210.522.311.5215.4817.3211.429.25
Figure 2: Overview of the proposed SPK framework. SPK elicits semantic, geometric, and contextual priors from a pretrained object detector and organizes them into a compact five-dimensional representation for OoD hallucination detection.
Figure 2: Overview of the proposed SPK framework. SPK elicits semantic, geometric, and contextual priors from a pretrained object detector and organizes them into a compact five-dimensional representation for OoD hallucination detection.
Table 2: OoD detection counts (Near-OoD/Far-OoD) across different detector architectures. Lower is better.
ModelMethodVOC (N/F)BDD (N/F)
YOLOOriginal946 / 440701 / 666
Proximal-OoD134 / 6080 / 47
SPK135 / 5269 / 5
Faster R-CNNOriginal2150 / 13352576 / 1634
Proximal-OoD710 / 253207 / 167
SPK299 / 14060 / 25
RT-DETROriginal2311 / 15893145 / 1220
Proximal-OoD386 / 470525 / 240
SPK358 / 275359 / 113
Figure 3: Automated part-level annotation pipeline. Given an RoI crop and its object category, OWLv2 grounds the corresponding GPT-5-generated concept vocabulary into part bounding boxes. Each box prompts SAM 2 to produce a refined pixel-level part mask. Masks satisfying the object-mask coverage threshold are projected into detector-RoI coordinates and rasterized as binary 7×7 targets. Concepts without a retained mask receive an all-zero target.
Figure 3: Automated part-level annotation pipeline. Given an RoI crop and its object category, OWLv2 grounds the corresponding GPT-5-generated concept vocabulary into part bounding boxes. Each box prompts SAM 2 to produce a refined pixel-level part mask. Masks satisfying the object-mask coverage threshold are projected into detector-RoI coordinates and rasterized as binary 7×7 targets. Concepts without a retained mask receive an all-zero target.
Table 3: Ablation study of the SPK loss components on YOLO trained on PASCAL-VOC and BDD-100K. Results are reported as Near-OoD / Far-OoD FPR95. The average is computed over all four results. Lower is better.
ℒdiceℒsuppressℒgroupVOCBDDAverage
Near / FarNear / FarFPR95 ↓
25.80 / 21.3017.85 / 18.2620.80
22.10 / 16.4015.29 / 15.9717.44
20.50 / 15.8014.18 / 12.9315.85
14.25 / 11.849.86 / 0.709.16
Figure 4: Part-Level Concept Annotation Example. We use a bird RoI crop to illustrate the step-by-step annotation process for the concepts wing, head, beak, and torso. Step 1: OWLv2 grounds each concept within the detector RoI and generates a bounding-box proposal (a). Step 2: SAM 2 refines each proposal into a pixel-level part mask, which is retained only if at least 70% of its pixels overlap with the corresponding SAM 2 object mask (b). Step 3: Each retained mask is projected into detector-RoI coordinates and converted into a binary 7×7 supervision target (c). Step 4: The binary target is overlaid on the RoI crop for visualization (d).
Figure 4: Part-Level Concept Annotation Example. We use a bird RoI crop to illustrate the step-by-step annotation process for the concepts wing, head, beak, and torso. Step 1: OWLv2 grounds each concept within the detector RoI and generates a bounding-box proposal (a). Step 2: SAM 2 refines each proposal into a pixel-level part mask, which is retained only if at least 70% of its pixels overlap with the corresponding SAM 2 object mask (b). Step 3: Each retained mask is projected into detector-RoI coordinates and converted into a binary 7×7 supervision target (c). Step 4: The binary target is overlaid on the RoI crop for visualization (d).
Table 4: Ablation study of different prior components on YOLO trained on PASCAL-VOC and BDD-100K. Each dataset column reports Near-OoD / Far-OoD FPR95. The average is computed over all four results. Lower is better.
Prior componentsVOCBDDAverage
Near / FarNear / FarFPR95 ↓
Semantic15.43 / 13.2830.37 / 25.5821.17
Semantic + Geometric13.23 / 11.5020.88 / 3.8412.36
Semantic + Geometric + Contextual14.25 / 11.849.86 / 0.709.16
Figure 5: Qualitative visualization of part-level semantic responses. The learned concept maps are well aligned with the corresponding regions, demonstrating that the semantic elicitation head successfully decodes spatially grounded semantic evidence from detector RoI features.
Figure 5: Qualitative visualization of part-level semantic responses. The learned concept maps are well aligned with the corresponding regions, demonstrating that the semantic elicitation head successfully decodes spatially grounded semantic evidence from detector RoI features.
Table 5: Quality of the automated part-level annotations. We report the overall concept-mIoU, Recall@0.5, number of covered concepts, and per-class concept-mIoU. All values except concept coverage are percentages. Best results are shown in bold.
MethodOverallPer-class concept-mIoU
concept-mIoURecall@0.5# Conceptsbirdbuscarcatcowdoghorse
Ours40.838.42546.537.943.940.437.441.838.2
VLPart (37)37.036.82535.632.832.538.136.844.136.5
Grounded SAM (31)32.330.72532.131.731.333.029.538.329.4
(b) Prediction: wing
(b) Prediction: wing
Table 6: RoI feature sources and dimensions for each detector. YOLO and RT-DETR concatenate RoI-aligned features from three feature scales, whereas Faster R-CNN uses the Detectron2 box_pooler.
DetectorFeature sourceChannelsRoI feature 𝐅i
YOLODetect neck128+256+512896×7×7
RT-DETRHybrid-encoder neck256+256+256768×7×7
Faster R-CNNResNet-FPN256256×7×7
(c) Prediction: torso
(c) Prediction: torso
Table 7: Hyperparameters of the Semantic Elicitation Head.
Semantic Elicitation HeadHyperparameterValue
ArchitectureHidden channels256
Dropout0.1
NormalizationGroupNorm
ActivationGELU
Residual blocks2
Output head1×1 conv → num_concepts
Inference activationSigmoid
RoI spatial size7×7
Inference poolingLogSumExp, τ=0.5
TrainingTraining epochs80
Batch size2000
OptimizerAdamW
Learning rate2×10−4
Weight decay5×10−4
Random seed42
Validation split10%
Training samplerWeightedRandomSampler
Suppress loss weight0.25
Group loss weight0.75
Early-stopping patience10 epochs
(d) Prediction: foot
(d) Prediction: foot
Table 8: Image-level embedding sources and dimensions for each detector. We globally pool each selected feature map by its spatial mean and standard deviation, then concatenate the resulting statistics. YOLO and RT-DETR use their deepest selected backbone stage, whereas Faster R-CNN aggregates all four ResNet-FPN levels.
DetectorFeature sourceChannelsEmbedding dimension
YOLOBackbone L6 (stride 16)256mean+std:512
RT-DETRHGBlock L9 backbone (stride 32)2048mean+std:4096
Faster R-CNNResNet-FPN P2–P54×256mean+std:2048
Figure 6: Distributions of the learned semantic group responses. Samples from different data sources predominantly activate their corresponding semantic groups, validating the effectiveness of the proposed group objective.
Figure 6: Distributions of the learned semantic group responses. Samples from different data sources predominantly activate their corresponding semantic groups, validating the effectiveness of the proposed group objective.
Table 9: Semantic-head group-classification accuracy. Computed by applying arg⁡max to concept activations for YOLO on PASCAL-VOC.
Data splitAccuracy (%)
ID training set96.5
Proximal OoD81.0
Background77.0
Figure 7: UMAP visualization of representation spaces for detections from the dog, sheep, and cat categories. The visualizations are obtained using YOLO trained on PASCAL-VOC. We compare detector classification logits (left) with the proposed SPK representations (right), using the same ID-validation, Near-OoD, and Far-OoD samples. SPK yields a more structured representation space with clearer distributional differences between ID and OoD samples.
Figure 7: UMAP visualization of representation spaces for detections from the dog, sheep, and cat categories. The visualizations are obtained using YOLO trained on PASCAL-VOC. We compare detector classification logits (left) with the proposed SPK representations (right), using the same ID-validation, Near-OoD, and Far-OoD samples. SPK yields a more structured representation space with clearer distributional differences between ID and OoD samples.
Table 10: AUROC comparison across detector architectures on PASCAL-VOC and BDD-100K. Higher is better.
MethodYOLOFaster R-CNNRT-DETR
PASCAL-VOCBDD-100KPASCAL-VOCBDD-100KPASCAL-VOCBDD-100K
Near-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoD
MSP81.2479.4777.6375.1278.7173.8472.4876.3979.1678.7274.3175.06
EBO60.7357.9265.4162.8682.5886.1452.0750.8340.1243.3149.6852.74
MLS59.4161.2663.7865.0284.7683.5854.8259.4656.3759.7454.9157.43
SCALE69.8471.7372.4679.3157.4969.7264.1867.8269.3775.1666.4265.73
MDS85.6277.8180.3468.4688.3984.4173.6870.9487.4385.7173.2771.18
BAM90.1489.3889.5786.9480.9691.5680.7583.6575.7581.6576.5080.45
KNN89.5290.3191.2688.4781.7392.5888.4386.7275.1281.4683.6885.29
iForest77.3880.7182.4680.1976.3185.6481.3783.2970.8281.9478.4683.57
SPK-MDS96.1293.5595.8098.6596.1094.2092.1091.8094.3595.5489.1099.21
SPK-BAM94.5592.5096.9099.3596.4595.4098.3098.8593.7593.9093.4599.18
SPK-KNN94.9193.3197.4099.7197.0796.4699.0699.3694.4094.8793.9499.36
SPK-iForest96.3195.4398.1099.8197.3897.2599.5099.6595.2395.6795.7899.60
(b) sheep
(b) sheep
Table 11: Ablation of SPK loss components. Evaluated across Faster R-CNN and RT-DETR on PASCAL-VOC and BDD-100K. Lower FPR95 is better.
ℒdiceℒsuppressℒgroupFaster R-CNNRT-DETR
PASCAL-VOCBDD-100KPASCAL-VOCBDD-100K
Near-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoD
27.8719.9818.3618.7432.3127.0825.3529.14
24.4215.4214.1516.1127.8622.5320.7124.36
22.1914.7311.3413.2724.8621.6418.1520.81
13.9210.522.311.5215.4817.3211.429.25
(c) cat
(c) cat
Table 12: Ablation of SPK prior components. Evaluated across Faster R-CNN and RT-DETR on PASCAL-VOC and BDD-100K. Lower FPR95 is better.
Prior componentsFaster R-CNNRT-DETR
PASCAL-VOCBDD-100KPASCAL-VOCBDD-100K
Near-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoDNear-OoDFar-OoD
Semantic18.1718.9123.9225.2118.3429.1733.3634.75
Semantic + Geometric15.7816.4314.5215.7115.8525.3526.5126.82
Semantic + Geometric + Contextual13.9210.522.311.5215.4817.3211.429.25
Table 13: Comparison with competitive OoD detection methods for Deformable-DETR. Results are reported on PASCAL-VOC and BDD-100K as ID datasets, with MS-COCO and OpenImages as OoD datasets. Higher AUROC and lower FPR95 indicate better OoD detection performance. Methods marked with † employ an external DINO ViT encoder to extract additional visual representations for OoD detection, rather than relying solely on Deformable-DETR features. SPK (DINO ViT) is included to provide a fair comparison with UNO-Adapter, as both methods operate under this setting. The best results are highlighted in bold.
MethodID: PASCAL-VOCID: BDD-100K
OoD: MS-COCOOoD: OpenImagesOoD: MS-COCOOoD: OpenImages
FPR95↓AUROC↑FPR95↓AUROC↑FPR95↓AUROC↑FPR95↓AUROC↑
MDS (18)97.3950.2897.8849.0870.8676.8371.4377.98
Gram matrices (32)94.1643.9795.2938.8173.8160.1371.5657.14
KNN (38)91.8062.1591.3659.6464.7580.9061.1379.64
CSI (39)84.0055.0779.1651.3770.2777.9371.3076.42
VOS (8)97.4654.4097.0752.7776.4477.3372.5876.62
OW-DETR (11)93.0955.7093.8257.8080.7870.2977.3773.78
DisMax (25)82.0575.2176.3770.6677.6272.1481.2367.18
SIREN-vMF (7)75.4976.1078.3671.0567.5480.0666.3179.77
SIREN-KNN (7)64.7778.2365.9974.9353.9786.5647.2889.00
SAFE (42)48.8878.888.9996.7339.1885.9521.1094.31
InfoBound (52)44.8889.7643.8988.0044.8889.7643.8988.00
UNO-Adapter† (28)32.6191.6819.9095.409.8897.613.8099.04
SPK52.3275.8424.3890.201.6899.420.3799.93
SPK (DINO ViT)†28.5592.3814.8596.250.0099.800.0099.97
Table 14: Comparison with competitive OoD detection methods for Faster R-CNN. Results are reported on PASCAL-VOC as the ID dataset, with MS COCO and OpenImages as OoD datasets. Higher AUROC and lower FPR95 indicate better OoD detection performance. Methods marked with † employ an external DINO ViT encoder to extract additional visual representations for OoD detection, rather than relying solely on Faster R-CNN features. SPK (DINO ViT) is included to provide a fair comparison with UNO-Adapter, as both methods operate under this setting. The best results are highlighted in bold.
MethodMS-COCOOpenImages
AUROC↑FPR95↓AUROC↑FPR95↓
CSI (39)82.9557.4181.8359.91
GAN-Synthesis (17)82.6759.9783.6760.93
VOS (8)85.2351.3388.7047.53
SIREN (7)85.3664.6882.7868.53
TIB (44)90.3641.5588.0947.19
DFDD (43)90.7941.3488.6544.52
WFS (45)89.0140.0590.3539.17
UNO-Adapter† (28)91.2538.7392.4035.74
SPK91.5841.2095.5025.61
SPK (DINO ViT)†95.4826.2898.1610.97
Table 15: Per-image runtime of the complete SPK inference pipeline. Reported for a YOLO model pretrained on PASCAL-VOC. The complete SPK pipeline introduces an additional 2.72 ms latency per image, corresponding to a 26.8% runtime overhead over the original detector inference. *SPK inference obtains detection outputs, image-level contextual embeddings, and RoI features within the same forward pass.
ComponentCost (ms)
Original inference10.15
SPK inference*12.65
Semantic prior elicitation0.17
Isolation Forest0.05

왜 중요한가

자율주행차나 로봇이 학습 때 못 본 물체를 보고도 엉뚱하게 확신에 찬 판단을 내리면 사고로 이어질 수 있는데, 이 방법은 탐지기를 재학습시키지 않고도 가볍게 붙여서 오탐을 걸러내고 왜 걸렀는지도 설명해준다는 점에서 실무 적용 가치가 크다. 또한 복잡한 판별 알고리즘을 개발하는 것보다 좋은 표현 공간을 만드는 것이 더 중요하다는 시사점도 준다.

이 논문의 용어

  • OoD 할루시네이션 · 탐지기가 학습 때 배운 적 없는 물체나 배경을 마치 아는 물체인 것처럼 확신을 가지고 잘못 인식하는 현상
  • FPR95 · 정상 데이터의 95%를 정확히 통과시켰을 때, 이상치가 잘못 통과되는 비율을 나타내는 지표로 낮을수록 좋음
  • RoI 특징 · 탐지기가 예측한 바운딩 박스 영역에서 뽑아낸 세부 특징 벡터
  • Isolation Forest · 데이터를 무작위로 나누는 방식을 반복해 이상치를 빠르게 골라내는 가벼운 이상 탐지 알고리즘
  • Proximal OoD · 정상 범주와 시각적으로 비슷해 보여서 탐지기를 혼동시키는 학습 범주 밖 물체

저자 · Changshun Wu

arXiv에서 원문 보기

최신 논문

논문 전체 보기 →

METAL MEDIA 최신 기사

그림 출처: Changshun Wu et al., arXiv:2608.19080, cc-by-nc-nd-4.0