- Main
Accounting for Data Shifts in Vision Models
- Guillory, Devin L
- Advisor(s): Darrell, Trevor
Abstract
Machine learning models for vision applications are inevitably deploying in environments that differ from the condition under which the models were trained and evaluated. Throughout this dissertation we investigate various ways to account for these data shifts and produce models whose performance is improved and better understood in complex settings. We first present a study on automatically evaluating model performance under various kinds of unseen distribution shifts. Establishing synthetic and natural distribution shifts as the distinct and informative types of shift worthy of study we evaluate the predictive ability of prior methods in the synthetic to synthetic shift setting, the synthetic to natural shift setting, and natural to synthetic shift settings. While a variety of prior works perform well in synthetic to synthetic shift settings, none of them outperform our naive average confidence baseline on the more meaningful task of predicting natural distribution shifts. Our method Difference of Confidences, which performs the best in all settings explored and reduces prediction error by nearly 50\% in the natural distribution setting. Showcasing the informative nature of the models confidences holds across a variety of settings and architectures even when the models predictions are miscalibrated. Furthermore, we highlight the importance of studying natural distributions shift instead of relying on methods that work well in synthetic settings.In addition to accurately tracking model performance in diverse settings, we explore various ways to adapt models to different distributions. We present LADS as a method of using language priors to improve model performance in domains never seen during training. LADS trains an auxiliary network to project image features into the space of an imagined domain while retaining class consistency. Our results show that this approach outperforms other fine-tuning and robustness approaches in both in-domain and out-of-domain settings without additional training data. Furthermore, we present hierarchical pretraining (HPT) as a paradigm efficiently adapting models to new tasks and distributions. We show that incorporating task-specific data into the pretraining pipeline significantly accelerates convergence and improves label-efficiency.We also study the potential impact of societal biases, such as the historical under-representation of darker skins in computer vision datasets and how this may translate into differences in algorithmic performance. Through a controlled study of generative adversarial models trained on different racial distributions, we are able examine how well algorithms are at matching the distributions of the training data and whether model quality is noticeably impacted by different distributions. We observe that while the straightforward GAN implementation is good at matching data distributions, the versions that are most often deployed utilize the truncation trick which exacerbates distributional skew in an attempt to improve generation quality. Qualitative evaluation also shows a consistent and asymmetrical bias towards ranking the quality of faces perceived as belonging to White people as higher quality regardless of the proportion of the training data they comprise.Lastly, we evaluate impacts of merging visual and language data in VLMs and observe that for vision-centric tasks these models are unable to fully leverage the ability of their standalone vision encoder. In a majority of cases, these models ignore the visual signal and perform no better than a language only model. This work thoroughly examines a number of ways data shifts impact the performance of vision models and introduces ways to better evaluate, adapt, and study these models in meaningful settings.