Back to search

Nanyang Technological University

Research on structural enhancement for SQUID-based unsupervised chest X-ray anomaly detection

Abstract

dc:description.abstract

Medical image annotation is expensive and requires specialized clinical expertise, which makes unsupervised anomaly detection (UAD) particularly attractive for chest X-ray (CXR) analysis. However, many reconstruction-based UAD methods suffer from over-smoothed reconstructions, weak anomaly cues, and limited robustness under heterogeneous clinical data distributions. These limitations make it difficult to distinguish normal anatomical variations from subtle pathological abnormalities in chest radiographs. This thesis revisits SQUID, a deep feature in-painting framework for unsupervised anomaly detection in radiography images. SQUID combines a teacher-student reconstruction architecture, a space-aware memory queue, feature-level in-painting, and adversarial discrimination to model normal anatomical patterns. Building upon this framework, this thesis investigates a structural enhancement strategy for the student branch by introducing a multi-scale context enhancement module before the final reconstruction stage. The proposed modification aims to strengthen the representation of local texture details and broader anatomical context while preserving the original teacher-student architecture, space-aware memory design, and feature-level in-painting pipeline. In addition to the structural modification, this thesis systematically studies the role of anomaly scoring and evaluation consistency. Since reconstruction-error-based scoring can be strongly affected by contrast variation, anatomical overlap, and reconstruction artifacts, discriminator-based image-level anomaly scoring is investigated as a more informative structural normality signal. The enhanced SQUID framework is evaluated on multiple public chest X-ray datasets and compared with representative unsupervised anomaly detection methods, including PatchCore, PaDiM, and f-AnoGAN. Ablation studies are further conducted to analyze the influence of adversarial discrimination, multi-scale branch design, localization-weighted scoring, and different anomaly score variants. Experimental results show that SQUID Enhanced achieves competitive performance on the ZhangLab dataset, reaching an image-level AUC of 87.04 ± 3.35%, which is close to PatchCore and higher than PaDiM and f-AnoGAN under the current experimental setting. However, on the more heterogeneous CheXpert dataset, the enhanced model achieves 65.53 ± 8.22% AUC and does not outperform feature-memory-based baselines such as PatchCore. Additional evaluation on NIH ChestX-ray14 further indicates limited generalization under larger and more heterogeneous data distributions. These results suggest that the benefit of the proposed structural enhancement is dataset-dependent and is most evident when normal anatomical patterns are relatively consistent. The ablation studies reveal that discriminator-based structural scoring is the dominant contributor to anomaly separation, whereas L2 reconstruction error alone performs poorly on both ZhangLab and CheXpert. The multi-scale branch analysis further shows that the optimal structural enhancement design depends on the target data distribution; in particular, a simple 1×1 branch performs strongly on CheXpert, suggesting that additional spatial context may introduce noise under high data heterogeneity. Pixel-level evaluation on RSNA Pneumonia also shows weak localization performance, confirming that the current framework remains primarily an image-level anomaly detector. Overall, this thesis demonstrates that SQUID-based structural enhancement provides a competitive direction for unsupervised chest X-ray anomaly detection, but its effectiveness depends on the target data distribution rather than representing a universal improvement over simpler branch designs. The results also highlight important limitations in cross-dataset robustness, multi-scale design stability, and pixel-level localization, thereby motivating future work on domain generalization, adaptive structural design, and clinically interpretable anomaly localization.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Peng, Xingye
Advisor dc:contributor.supervisor
  • Wang Lipo

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/224287

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Peng, Xingye. Research on structural enhancement for SQUID-based unsupervised chest X-ray anomaly detection. Nanyang Technological University, 2026. https://hdl.handle.net/10356/224287