논문 해설
A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items
매우 혼잡하게 쌓인 금지 물품 인스턴스를 인식하기 위한 새로운 점진적 학습 기반 인스턴스 분할 프레임워크
- 연구 문제 겹치거나 가려진 같은 종류의 X선 금지 물품을 개별 인스턴스로 구분하는 문제를 다룹니다.
- 연구 방법 인코더-디코더 의미 분할 네트워크를 반복 증분 학습으로 확장하고, 새 인스턴스 손실과 이전 지식 보존 및 상호정보 항을 결합합니다.
- 주요 결과 SIXray, GDXray, 결합 데이터셋의 IoU와 DC에서 대부분의 비교 모델보다 높은 결과를 보고하지만, GDXray 열의 CIE-R-Net 값처럼 표에서 확인되는 예외를 함께 봐야 합니다.
겹친 같은 종류의 항목을 구분하는 문제
X선 수하물 검사에서 겹치거나 가려진 금지 물품은 숙련된 검사자에게도 판독이 어렵습니다. 의미 분할 네트워크는 픽셀마다 클래스 라벨을 붙이므로, 같은 종류의 물체가 겹치면 개별 인스턴스 정보가 사라지고 하나의 덩어리로 출력됩니다. 예를 들어 겹친 주방용 칼과 chopper는 개별 항목으로 추출되지 않고 하나의 덩어리로 남습니다. 반대로 Mask R-CNN과 같은 인스턴스 분할 방법은 개별 인스턴스를 구분하지만, 대량의 경계 상자와 마스크 주석을 요구하고 많은 메모리와 계산 자원을 소비합니다. 이 논문은 이 두 조건 사이에서, 객체 검출기나 분류 하위 네트워크 없이 기존 인코더-디코더 의미 분할 모델을 소규모 증분 학습으로 인스턴스 인식하도록 만드는 문제를 다룹니다.
![Figure 1: (A) An original X-ray scan from the SIXray dataset
[1], (B) conventional semantic segmentation, and (C) instance-aware
segmentation](/papers/5c05a20b-3290-43be-85ab-d7d378250990/figures/figure-a5867d0f75fe83e2df096f04c7223abd.png?thumb=512)
Figure 1 : (A) An original X-ray scan from the SIXray dataset [1], (B) conventional semantic segmentation, and (C) instance-aware segmentation.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.의미 분할 네트워크를 반복적으로 인스턴스 인식하게 만들기
제안 방법의 출발점은 인코더-디코더 의미 분할 네트워크의 구조를 유지하면서 학습 절차를 반복 단계로 확장하는 것입니다. 첫 번째 반복은 일반 의미 분할로, 격리된 항목과 병합된 항목을 클래스 단위로 추출하는 모델 A1을 학습합니다. 이후 k번째 반복에서는 같은 항목의 인스턴스를 최대 k개까지 서로 다른 라벨로 구분하도록 클래스 집합을 늘리고, 그 반복의 작은 학습 배치와 이전 클래스의 일부 샘플을 함께 사용해 모델을 갱신합니다. 예를 들어 두 번째 반복에서는 겹친 두 개의 총기나 두 개의 칼을 서로 다른 라벨로 표시한 정답으로 학습합니다. 최종 모델은 K번째 반복에서 얻어지며, K는 데이터셋에서 같은 항목이 겹치는 최대 수에 따라 정해집니다.
이 과정은 incremental learning 방식으로 진행되며, 이전 지식을 유지하는 손실이 각 반복의 갱신을 함께 제약합니다.

Figure 2 : Block diagram of the proposed framework. We trained the proposed model incrementally to recognize cluttered instances of the contraband items. At each iteration, k = 1,...,K , the number of item instances that the system can recognize is incremented by one. At the inference stage, the model AK (incrementally trained till K th iteration to recognize up to K overlapped instances) is used for the instance-aware segmentation of the cluttered contraband items. More on the training details are in Section (IV-B).
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.손실 함수: 새 인스턴스 학습, 기존 지식 보존, 상호정보 항
첫 번째 반복은 범주형 교차 엔트로피 손실 Lc로 학습하고, 이후 반복은 인스턴스 분할 손실 Ls로 학습합니다. Ls는 \(L_s = \alpha_1 L_n + \alpha_2 L_o + \alpha_3 L_{mi}\)로 정의되며, Ln은 새 인스턴스 클래스를 학습하는 항, Lo는 이전 지식을 보존하는 항, Lmi는 이전 클래스와 새 클래스 사이의 상호의존성을 반영하는 항입니다. 가중치 α1, α2, α3는 실험적으로 순서대로 0.2, 0.3, 0.5로 정해졌습니다. Lo는 이전 클래스 정답에 대한 범주형 교차 엔트로피로 계산되고, Ln은 KL divergence loss로 계산됩니다. 두 항은 온도 상수 τ로 스케일된 로짓에서 얻은 소프트 확률을 사용합니다.
Lmi는 이전 클래스 샘플의 정답을 가중치로 두고, 이전 클래스와 새 클래스 로짓의 결합 조건부 확률에 Bayesian inference를 적용한 사후 확률의 음의 로그를 평균한 형태입니다. 저자들은 기존 knowledge distillation 기반 방법이 새 학습 손실과 옛 지식 보존 손실을 서로 독립된 것으로 다룬다고 보고, 두 클래스 집합이 배타적이지 않은 경우를 Lmi로 다루려 한다고 해석합니다. 예를 들어 주방용 칼을 먼저 학습한 모델이 찹퍼를 나중에 학습할 때 두 항목이 같은 칼 계열이라는 관계를 반영해야 한다는 논리입니다. 이 해석은 저자의 해석이며, 그 효과는 절제 실험의 결과로만 평가됩니다.
추론 결과에서 경계 상자 생성
학습된 최종 모델은 후보 스캔에서 항목별 마스크를 출력합니다. 각 마스크 ζ에 대해 값이 1인 행 인덱스의 최솟값과 최댓값을 구하고, 영상을 전치한 뒤 같은 과정으로 열 인덱스의 최솟값과 최댓값을 구합니다. 이 네 값으로 경계 상자 βb = [xmin, ymin, xmax−xmin, ymax−ymin]를 계산합니다. 이 상자는 검출기가 상자를 직접 회귀하는 방식과 달리 인스턴스 마스크에서 파생되므로, 마스크의 정확도에 직접 의존합니다.
데이터 분할과 학습 설정
GDXray에서는 788개 스캔을 학습에 사용했으며, 이 중 400개는 원래 식별된 의심 항목, 388개는 지역적으로 식별된 항목을 포함합니다. SIXray는 데이터셋 표준에 따라 스캔의 80%를 학습에, 20%를 평가에 사용했습니다. 결합 데이터셋은 1,067,381개 스캔 가운데 27,750개(양성 13,663개, 음성 14,087개)를 학습에, 나머지 1,039,631개를 평가에 사용했습니다. 증분 학습에서는 각 반복에 전체 학습 데이터의 약 20%만 사용하고, 증가 단계마다 약 10%의 예제를 추가해 이전 클래스 지식을 유지했다고 설명합니다. 첫 반복은 20 epoch, 이후 반복은 10 epoch이며 옵티마이저는 ADADELTA입니다.
반복 횟수는 데이터셋의 최대 겹침 수에 따라 다르며, GDXray는 2회, SIXray는 6회로 학습되었습니다.
의미 분할 모델 비교와 CIE-Net의 위치
분할 모델 비교에서 PSPNet, SegNet, U-Net, FCN-8, FCN-32는 같은 Ls 손실로 증분 학습되었고, 비교를 위해 각 모델은 ResNet101으로 구현되었습니다. 제안 CIE-Net의 자체 백본과 ResNet101 기반 변형인 CIE-R-Net도 함께 비교되었습니다. 표 1의 IoU에서 CIE-Net은 SIXray 0.6883, GDXray 0.7723, 결합 데이터셋 0.5861이며, DC는 각각 0.8153, 0.8715, 0.7390입니다. SIXray와 결합 데이터셋에서는 CIE-R-Net보다 IoU와 DC가 높습니다. 그러나 GDXray 열에서는 CIE-R-Net이 IoU 0.7852, DC 0.8796으로 CIE-Net의 0.7723, 0.8715보다 높게 표시되어, CIE-Net이 모든 데이터셋의 IoU와 DC에서 최고라는 서술과 맞지 않습니다.
정성적 비교에서 저자들은 CIE-Net이 PSPNet, SegNet, U-Net, FCN 계열보다 겹친 항목을 더 나은 형태로 추출한다고 관찰합니다.

Figure 3 : (A) CIE-Net architecture, (B) contextual preservation block (CPB), (C) identity block (IB), (D) hierarchical block (HB). Moreover, CV , BN, MP, and ZP in (A) denote the convolution, batch normalization, max pooling, and the zero-padding layer, respectively.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.![Table 1: Evaluation of the different segmentation models on the
SIXray (S) [1], GDXray (G) [44] and Combined (C) dataset. Bold
indicates the best performance](/papers/5c05a20b-3290-43be-85ab-d7d378250990/figures/figure-e71709f77f0dcc60444e60a891395d99.png?thumb=512)
Table 1 : Evaluation of the different segmentation models on the SIXray (S) [1], GDXray (G) [44] and Combined (C) dataset. Bold indicates the best performance.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.온도 상수와 증류 손실 절제 실험
온도 상수 τ를 0.1에서 3까지 바꾼 실험에서 IoU는 τ가 지나치게 작거나 클 때 낮아졌습니다. GDXray의 최고값은 τ=2에서 0.7723, SIXray의 최고값은 τ=1.5에서 0.6883이며, 결합 데이터셋도 τ=2에서 0.5861로 가장 높았습니다. 저자들은 최적 범위를 1.5에서 2 사이로 해석합니다. 증류 손실 비교에서는 Lmi를 Lsp, Lod, Lds, Lcd로 바꾸어 IoU를 비교했습니다. GDXray 기준 Lmi는 0.7723, Lsp는 0.7504, Lds는 0.7421, Lod는 0.7349, Lcd는 0.6052이며, SIXray와 결합 데이터셋에서도 Lmi가 가장 높습니다.
다만 Lcd는 Lmi를 대체한 것이 아니라 Ls 전체를 대체하는 형태로 비교되었습니다. 이 결과는 CIE-Net과 이 논문의 증분 설정에서 얻은 것이며, 다른 모델이나 데이터셋에 그대로 일반화되지 않습니다.

Table 2 : Effects of varying the temperature paramter τ (in terms of IoU).
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 3 : Comparison of Lmi with state-of-the-art knowledge distillation loss functions in terms of IoU. To ensure fairness, we used CIE-Net with all the loss functions.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.GDXray·SIXray·결합 데이터셋의 인스턴스 평가
표 4에서 제안 방법은 IoU, DC, recall, precision을 GDXray, SIXray, 결합 데이터셋에서 MS R-CNN, Mask R-CNN, HTC, YOLACT, DSRL, MvRF-CNN, TST-Ls와 비교합니다. IoU 기준으로 제안 방법은 GDXray 0.7723, SIXray 0.6883, 결합 데이터셋 0.5861입니다. 같은 표에서 HTC는 각각 0.7364, 0.6559, 0.5804이고 DSRL은 0.7421, 0.6542, 0.5709입니다. 표 5에서 GDXray의 제안 방법은 µmap 0.5068, µb:50ap 0.8556, µbap 0.6101이며, 결합 데이터셋에서는 µb:50ap가 0.7249입니다.
표 5에 함께 보고된 CST, TST 값은 미세 조정이나 전체 데이터 학습 같은 다른 조건에서 얻어 공정 비교가 아니라고 표시되어 있으므로, 이 값들은 제안 방법과 같은 조건의 점수로 읽지 않습니다.

Table 4 : Comparison of the proposed framework with state-of- the-art solutions for extracting baggage threats. Bold indicates the best performance, while the second-best scores are under- lined.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.![Figure 5: GDXray [44]: Examples of occluded and overlapping
items detection. Please zoom-in for better visualization](/papers/5c05a20b-3290-43be-85ab-d7d378250990/figures/figure-6cc8d588f826b713c0e4dad4b03d320a.png?thumb=512)
Figure 5 : GDXray [44]: Examples of occluded and overlapping items detection. Please zoom-in for better visualization.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.미세 조정 기반 방법과 실행 시간의 한계
µb:50ap 기준으로 제안 방법은 원래의 TST 방법보다 낮습니다. 저자들은 원래 TST가 대규모 주석 데이터로 학습되어 이 비교가 공정하지 않다고 설명합니다. 같은 증분 프로토콜과 Ls 손실로 학습한 TST-Ls와 비교하면 제안 방법은 IoU에서 더 높습니다. 실행 시간은 평균 0.072초로, YOLOv3와 CST의 0.023초보다 깁니다. 반면 Mask R-CNN의 0.141초, MS R-CNN의 0.156초, HTC의 0.311초보다 짧습니다. 저자들은 CIE-Net이 효율보다 정확한 항목 추출을 우선해 설계되었다고 해석하며, 컨볼루션 블록을 atrous 컨볼루션으로 바꾸거나 경량 버전을 만드는 것을 향후 과제로 제시합니다.

Table 6 : Comparison of the run-time performance. The scores here represent the mean inference time of the two datasets. Bold indicates the best performance while the second-best performance is underlined.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.음성 스캔에서 나타난 실패 사례
음성 SIXray 스캔에서 CIE-Net은 배경 영역을 위험 물품으로 분류하는 오탐과 실제 항목 영역을 배경으로 분류하는 미탐을 보였습니다. 저자들은 정상 물품과 의심 물품 사이의 공간적·문맥적 유사성을 원인으로 해석합니다. 일부 혼잡한 경우에는 서로 다른 인스턴스를 혼동해 과분할 결과도 나타났습니다. 이런 실패는 실험에서 드물게 관찰되었다고 보고되며, blob 필터링, region-opening, region-filling 같은 후처리로 보완할 수 있다는 것이 저자들의 제안입니다. 이 후처리의 효과는 본 논문에서 측정되지 않았습니다.

Figure 9 : Failure cases in GDXray and SIXray datasets. Blue in (B, D, F, H, J, L, N) and red color in (B, H, J, N, R, X) represent knives. White in (H), magenta in (B, H, P, R, T, Z), cyan in (B, N), and blue color in (V , X, Z) represent handguns. Yellow and cyan color in (P, R, T, V , X, Z) depicts chips. White color in (V) represents the shuriken. Zoom-in for better visualization.
원문 · CC BY 4.0 · Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi · A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.주장의 적용 범위와 남은 질문
제안 방법은 객체 검출기, 분류 하위 네트워크, ROI 투표 없이 의미 분할 네트워크를 인스턴스 인식으로 확장한다고 주장합니다. 다만 GDXray는 최대 두 개의 겹치는 인스턴스를 포함하므로 2회 반복으로 학습되었고, SIXray는 6회 반복으로 학습되었습니다. 따라서 반복 수 K는 데이터셋의 겹침 수에 맞춰 정해졌으며, 이 논문의 설정 밖에서 더 많은 겹침이 나타나는 경우는 평가되지 않았습니다. 저자들은 X선에서 가시성이 낮은 3D 프린트 물품 탐지를 향후 과제로 남깁니다.
논문 정보
- 저자
- Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2022년 1월 7일
- 등록일
- 2026년 11월 6일
- 수정일
- 2022년 1월 10일
- 버전
- v2
- arXiv
- 2201.02560
- 분류
- cs.CV
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Screening cluttered and occluded contraband items from baggage X-ray scans is a cumbersome task even for the expert security staff. This paper presents a novel strategy that extends a conventional encoder-decoder architecture to perform instance-aware segmentation and extract merged instances of contraband items without using any additional sub-network or an object detector. The encoder-decoder network first performs conventional semantic segmentation and retrieves cluttered baggage items. The model then incrementally evolves during training to recognize individual instances using significantly reduced training batches. To avoid catastrophic forgetting, a novel objective function minimizes the network loss in each iteration by retaining the previously acquired knowledge while learning new class representations and resolving their complex structural inter-dependencies through Bayesian inference. A thorough evaluation of our framework on two publicly available X-ray datasets shows that it outperforms state-of-the-art methods, especially within the challenging cluttered scenarios, while achieving an optimal trade-off between detection accuracy and efficiency.
원문 인용
Taimur Hassan, Samet Akcay, Mohammed Bennamoun, Salman Khan, Naoufel Werghi (2022). A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items. arXiv:2201.02560v2. https://arxiv.org/abs/2201.02560v2
BibTeX
@misc{hassan2022novel,
title = {{A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items}},
author = {Taimur Hassan and Samet Akcay and Mohammed Bennamoun and Salman Khan and Naoufel Werghi},
year = {2022},
eprint = {2201.02560},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2201.02560v2}
}