Subspace Representations for Synthetic-to-Real Transfer in 3-D Surface Inspection

Abdulla Nasir Chowdhury, Naish Ibrahim, Gulpi Qorik Oktagalu Pratamasunu, Kazuhiro FukuiarXiv 2026

TL;DR

This paper investigates how subspace representations facilitate the transfer of 3-D anomaly detection models from synthetic training data to real-world scans. The authors find that while subspaces don't necessarily rank defects better than standard classifiers, they provide a measurable "leakage bound" that predicts threshold stability and, when combined with registered templates, enable high-performance zero-shot inspection on real objects.

What Problem Does This Paper Address?

In industrial 3-D surface inspection, real-world defects (like dents, cracks, or holes) are rare and expensive to annotate. Consequently, researchers often train models on synthetic defects. However, when these models are deployed on real scans, they encounter a "synthetic-to-real" domain shift.

The core challenge is that a model trained to find a "synthetic dent" on a flat panel might get confused by the complex geometry of a real-world object (like a car part or a toy fish). This paper asks: What do subspace representations actually contribute to this transfer? Do they make the model more robust to domain shifts, or is the secret sauce elsewhere?

Methods

The authors treat subspaces as "instruments" rather than just new methods. They explore two primary roles for subspaces:

  1. As a Classifier: They take frozen features from encoders (trained on synthetic data) and classify them using a Nearest-Subspace Classifier or a Generalized Difference Subspace (GDS). The GDS is a classical technique that isolates the directions in which different subspaces (e.g., "normal" vs. "defective") differ most.
  2. As a Model of "Good" Parts: When a registered reference (a "gold standard" scan) is available, they build a one-class subspace of the good templates at specific locations. A test window is then scored based on its reconstruction error within that local subspace.

They compare several encoders: DentNet (a U-Net for residual images), PointNet++ (operating on raw points), and DINOv2 (a foundation model). They also include a training-free geometric baseline based on surface variation statistics.

Datasets

The study utilizes three main data sources:

  • Synthetic Training Data: 30,000 generated samples of quadric surfaces with parametric dents.
  • MVTec 3D-AD: A benchmark of 1,197 real scans across ten classes (e.g., foam, rope, tire). It provides no registered templates, testing the subspace purely as a classifier.
  • Real3D-AD: A benchmark of 597 scans across twelve categories. Crucially, it provides registered "good" templates, allowing the authors to test subspaces as models of nominal geometry.

Key Insights and Ideas

  • The Leakage Diagnostic: The authors introduce a mathematical bound for "leakage"—the part of the domain shift that falls outside the class subspaces. Remarkably, this leakage can be measured using only unlabeled good scans before deployment. They show that this metric accurately predicts how much the decision threshold will drift when moving from synthetic to real data.
  • Subspaces as Filters: A subspace suppresses variation within its span and "leaks" the rest. Its value in transfer depends entirely on whether the synthetic-to-real shift lies inside or outside that span.
  • Registration is King: In reference-based inspection (like on Real3D-AD), the choice of subspace construction (PCA vs. GDS) matters much less than the quality of the reference and the accuracy of the registration. If you can align the test scan to a good template perfectly, even simple methods become highly effective.
  • Image-Level Failure: On MVTec 3D-AD, every method stayed at "chance" for image-level detection. This is because the objects' own complex geometries (rims, threads, edges) produce signals that dwarf the zero-shot transfer of a "dent detector."

Key Results

  • Stability: On MVTec 3D-AD, the nearest-subspace rule was often the most stable, with its margin moving significantly less than a standard logistic head when faced with domain shift.
  • Zero-Shot Performance: On Real3D-AD, using a one-class subspace of registered templates on frozen DentNet features achieved a point AUROC of 0.957.
  • Benchmark Comparison: Without any training on the Real3D-AD benchmark, their subspace-based approach reached a category-mean object AUROC of 78 to 81, outperforming several dedicated zero-shot methods and rivaling some methods that train on the benchmark's own templates.

Limitations and Future Work

The authors acknowledge several constraints:

  • Registration Cost: The high performance on Real3D-AD comes at a computational price; registration via ICP is slow (median ~460s per item).
  • Dataset Specifics: MVTec 3D-AD lacks registered references, limiting the evaluation of the "model of good parts" approach on that benchmark.
  • Scale Dependency: The methods require a window scale within a factor of two of the target defect size. While they showed that power-of-two scales work, some prior knowledge of the inspection target is still necessary.
  • Future Directions: The authors suggest exploring Kernel GDS, using point-cloud pretrained encoders, and developing methods to recalibrate thresholds using the leakage diagnostic before real defects are ever seen.

Summary updated

Abstract

This paper studies what subspace representations contribute to synthetic-to-real transfer in 3-D surface inspection, where models learn from synthetic defects and the only real data before deployment are scans of good parts. We use three classical constructions as instruments: the nearest-subspace classifier, one-class template subspaces and the generalized difference subspace (GDS). On 1,197 MVTec 3D-AD scans without target annotation we find that every decision rule ranks real defects at a similar window AUC, that image-level detection stays at chance, and that no rule keeps its in-domain threshold. We show that the margin of a nearest-subspace rule moves by at most the part of the feature shift outside its class subspaces, and that this leakage, measured from unlabeled good scans, bounds the displacement observed on unseen scans. On 597 Real3D-AD objects, a one-class subspace of registered templates evaluated at every location on frozen features reaches point AUROC 0.957 on pre-registered scans and a category-mean object AUROC of 78 to 81 with no training on the benchmark. Our results suggest that a subspace helps under shift in proportion to the shift it spans, and that in reference-based inspection the reference and its registration matter more than the subspace.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MVTec 3D-ADNearest subspace (DentNet 1024-D features)window AUC0.837Anomaly Detection · synthetic-to-real-no-target-annotation
Source quote
L480: 0.837
Real3D-ADUncentered local subspaces projected onto GDS (PointNet++ features)object-level AUROC81.0%+4.6 vs baseline3D Anomaly Detection · split: all-597-test-items · no-training-on-the-benchmark-templates-used-as-reference
Source quote
L723: 81.0 [77.8, 84.1] on PointNet++ features, and every R from 1 to 20 stays within 1.1
Real3D-ADLocal nominal subspace (K=3; DentNet features)point AUROC0.9573D Anomaly Detection · split: five-pre-registered-categories · frozen-synthetic-trained-features-reference-based-no-training-on-the-benchmark
Source quote
L687: on frozen features (K=3, Sec. 3.4) reaches point AUROC 0.957 [0.950, 0.962]
MVTec 3D-ADNearest subspace (DentNet 1024-D features)pixel AUROC0.808Anomaly Detection · synthetic-to-real-no-target-annotation
Source quote
L481: 0.808 0.495
MVTec 3D-ADNearest subspace (DentNet 1024-D features)image AUROC0.495Anomaly Detection · synthetic-to-real-no-target-annotation
Source quote
L481: 0.808 0.495
Real3D-ADNormalized local nominal subspace (DentNet features)object-level AUROC78.2%+1.8 vs baseline3D Anomaly Detection · split: all-597-test-items · no-training-on-the-benchmark-templates-used-as-reference
Source quote
L711: point-to-template distance at 76.4, and its normalized form 78.2 [74.8, 81.5], with
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
Real3D-ADRaw point-to-template distance baselineobject-level AUROC76.4%3D Anomaly Detection · split: all-597-test-items · reference-based-no-training-on-the-benchmark
Source quote
L711: point-to-template distance at 76.4, and its normalized form 78.2 [74.8, 81.5], with
Real3D-ADRaw point-to-template distance baselinepoint AUROC0.9753D Anomaly Detection · split: five-pre-registered-categories · reference-based
Source quote
L684: free statistic exceeds 0.64), below the raw point-to-template distance (0.975),
BibTeX
@misc{chowdhury2026subspace,
  author = {Abdulla Nasir Chowdhury and Naish Ibrahim and Gulpi Qorik Oktagalu Pratamasunu and Kazuhiro Fukui},
  title = {{Subspace Representations for Synthetic-to-Real Transfer in 3-D Surface Inspection}},
  year = {2026},
  eprint = {2611.02744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.02744},
}
Figure