Revealing the Underlying Patterns: Investigating Dataset Similarity, Performance, and Generalization
Akshit Achara, Ram Krishna Pandey
TL;DR
This work tackles the generalization challenge in segmentation by introducing dataset-image distance metrics $O^{dist}$ and $I^{dist}$ that quantify similarity between a primary crack dataset and unseen data. By projecting high-dimensional image features into a PCA-reduced space and computing pairwise distances, the authors link dataset proximity to model performance across multiple architectures, enabling model selection from candidate pools. They demonstrate that adding a small number of unlabeled or sparsely labeled images from unseen datasets can substantially improve generalization, reducing labeling costs while preserving performance. The approach is validated across crack and non-crack domains, with insights into model adaptation, behavior under distribution shift, and potential for extension to other vision tasks.
Abstract
Supervised deep learning models require significant amount of labeled data to achieve an acceptable performance on a specific task. However, when tested on unseen data, the models may not perform well. Therefore, the models need to be trained with additional and varying labeled data to improve the generalization. In this work, our goal is to understand the models, their performance and generalization. We establish image-image, dataset-dataset, and image-dataset distances to gain insights into the model's behavior. Our proposed distance metric when combined with model performance can help in selecting an appropriate model/architecture from a pool of candidate architectures. We have shown that the generalization of these models can be improved by only adding a small number of unseen images (say 1, 3 or 7) into the training set. Our proposed approach reduces training and annotation costs while providing an estimate of model performance on unseen data in dynamic environments.
