arXiv:2611.02744cs.CVNov 2026

Manuscript Offprint

arXiv:2611.02744

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

Abdulla Nasir Chowdhury, Naish Ibrahim, Gulpi Qorik Oktagalu Pratamasunu, Kazuhiro Fukui

Abdulla Nasir Chowdhury¹, Naish Ibrahim¹, Gulpi Qorik Oktagalu Pratamasunu¹, and Kazuhiro Fukui²

¹ Department of Computer Science, University of Tsukuba, Japan {abdullah.nasir,naish,gulpi}@cvlab.cs.tsukuba.ac.jp

² Tsukuba Institute for Advanced Research, Department of Computer Science, University of Tsukuba, Japan kfukui@cs.tsukuba.ac.jp

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.

Keywords: Subspace methods · Synthetic-to-real transfer · Anomaly detection · 3-D surface inspection · Generalized difference subspace

1 Introduction

In this paper, we ask what subspace representations contribute to synthetic-to-real transfer. We study the question in 3-D surface inspection, where models are trained on synthetic defects because real defects are rare and costly to annotate, and where the only real data available before deployment are scans of good parts. DentNet [1], for example, segments dents on residual images, the deviation from a fitted quadric, and reaches near-perfect IoU on its synthetic benchmark, but its behavior on real scans of other objects has not been measured.

Accepted to the ACCV 2026 Workshop on Subspaces in the Era of Foundation Models. This version of the contribution has been accepted for publication, after peer review, but is not the Version of Record and does not reflect post-acceptance improvements, or any corrections. The Version of Record will appear in the ACCV 2026 Workshops proceedings (Springer LNCS).

A subspace suppresses the variation inside its span and leaks the rest, so what it contributes to the transfer depends on where the synthetic-to-real variation lies. A subspace can enter the transfer in two places. It can classify the features of an encoder trained on synthetic data, and then the variation it must absorb is the feature shift between the synthetic and the real domain. It can also model the real good parts directly, and then the variation is the disagreement among good templates and the error of registering a scan to them. We study both cases with the same classical constructions, the nearest-subspace classifier, a one-class subspace of good templates and the generalized difference subspace (GDS) [21], used as instruments rather than as new methods.

We hold the synthetic training fixed and vary the encoder and the decision rule. Three learned families are compared: DentNet [1], an end-to-end U-Net on residual images, PointNet++ [4] trained from scratch on the identical windows as point sets, and patch-based subspace segmentation (PBSS), which classifies DentNet's frozen features by nearest PCA subspace, with frozen DI-NOv2 [23] features as a foundation-model representation and a training-free surface-variation statistic [30] as the geometric baseline. Two public benchmarks supply the real scans. MVTec 3D-AD [2] provides no registered reference and tests the subspace as a classifier, under a protocol that uses no target annotation. Real3D-AD [3] provides registered good templates and tests the subspace as a model of the good parts. In both, we measure the variation itself and where it lies relative to the subspace, and we separate what a ranking metric shows from what a fixed threshold shows, since the two answer the question differently.

Our main contributions are summarized as follows:

  • As a classifier on synthetic-trained features, a subspace does not rank real defects better than other rules, but it makes the threshold less sensitive to the part of the shift it spans. We show that its margin moves by at most the leakage of the shift outside its class subspaces, a quantity measurable from unlabeled good scans, and that on MVTec 3D-AD this leakage bounds and ranks the displacement observed on unseen scans of every class.

  • As a model of the real good parts, a one-class subspace of registered templates turns a frozen synthetic-trained encoder into a detector of real defects on Real3D-AD, where the classifier fails, with no training on the benchmark. We attribute the result step by step and find that the reference and its registration contribute more than the choice of subspace construction.

  • We show that a fixed threshold, the window scale and the object aggregation rule can each invert a method ordering, and we report every result under controls that make the ordering visible.

The rest of this paper is organized as follows. Section 2 reviews related work. Section 3 describes the data, the representations, and the subspace as a classifier and as a model of the good parts, and states the leakage bound. Section 4 gives the evaluation protocol. Section 5 reports the in-domain results, the subspace as a classifier on MVTec 3D-AD and Real3D-AD, and the subspace as a model of the good parts on Real3D-AD. Section 6 answers the question and discusses its limitations, and Sec. 7 concludes the paper.

References (31)