Research & Papers

XCT-SAM adapts Meta's SAM to industrial defect detection with 4.15M params

A new method bridges the domain gap for AI-powered X-ray CT defect segmentation...

Deep Dive

Defect segmentation in additive manufacturing X-ray computed tomography (XCT) images is notoriously difficult due to severe class imbalance and large distribution shifts across scan conditions. Although foundation models like Meta's Segment Anything Model (SAM) offer strong general-purpose segmentation priors, their natural-image pre-training transfers poorly to industrial XCT, where defects appear as subtle non-semantic microstructural anomalies. To address this, researchers from the University of Arkansas, Johns Hopkins University, and other institutions propose XCT-SAM, a sequential parameter-efficient adaptation framework that progressively bridges the domain gap.

The key innovation is a two-step adaptation process: first, Conv-LoRA adapters (with rank r=2) are fine-tuned on an alloy-microstructure dataset, injecting convolutional spatial inductive bias into SAM's backbone while training only about 4.15 million parameters—keeping over 99% of the model frozen. This intermediate domain adaptation prepares the model for the larger shift to real XCT data. Evaluated on out-of-distribution CycleGAN-XCT benchmarks and authentic NIST X-ray CT scans, XCT-SAM consistently outperforms zero-shot SAM and other domain-adapted SAM baselines, achieving the best overall Intersection over Union (IoU) and Dice scores. The method demonstrates that sequential adaptation with parameter-efficient fine-tuning is a practical, resource-efficient route for deploying large vision models in specialized industrial inspection tasks. Source code is publicly available on GitHub.

Key Points
  • Uses a two-stage adaptation: first on alloy-microstructure data with Conv-LoRA (rank r=2), then on XCT images, bridging the large domain gap.
  • Trains only 4.15M parameters while freezing over 99% of SAM's weights, enabling efficient deployment on limited industrial datasets.
  • Achieves top IoU and Dice scores on out-of-distribution CycleGAN-XCT benchmarks and real-world NIST XCT scans, outperforming zero-shot SAM and other domain-adapted baselines.

Why It Matters

Brings powerful foundation models like SAM to industrial quality control, enabling accurate defect detection with minimal labeled data.

📬 Get the top 10 AI stories daily