Journal article
Cite …

Cross-domain Transfer of Defect Features in Technical Domains Based on Partial Target Data

Tobias Schlagenhauf 1 and Tim Scheurenbrand 2
1 Institute of Production Science (WBK), Karlsruhe Institute of Technology (KIT)
2 Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000159415
Publisher's version published on Jun 16, 2023
CC BY 3.0
Abstract

A common challenge in real-world classification scenarios with sequentially appending target domain data is insufficient training datasets during the training phase. Therefore, conventional deep learning and transfer learning classifiers are not applicable especially when individual classes are not represented or are severely underrepresented at the outset. Domain Generalization approaches reach their limits when domain shifts become too large, making them occasionally unsuitable as well. In many (technical) domains, however, it is only the defect/ worn/ reject classes that are insufficiently represented, while the non-defect class is often available from the beginning. The proposed classification approach addresses such conditions. Following a contrastive learning approach, a CNN encoder is trained with a modified triplet loss function using two datasets: Besides the non-defective target domain class (= 1$^{st}$ dataset), a state-of-the-art labeled source domain dataset that contains highly related classes (e.g., a related manufacturing error or wear defect) but originates from a (highly) different domain (e.g., different product, material, or appearance) (= 2$^{nd}$ dataset) is utilized. The approach learns the classification features from the source domain dataset while at the same time learning the differences between the source and the target domain in a single training step, aiming to transfer the relevant features to the target domain. The classifier becomes sensitive to the classification features and – by architecture – robust against the highly domain-specific context. The approach is benchmarked in a technical and a non-technical domain and shows convincing classification results. In particular, it is shown that the domain generalization capabilities and classification results are improved by the proposed architecture, allowing for larger domain shifts between source and target domains.