On the Fly Neural Style Smoothing for Risk-Averse Domain Generalization

Akshay Mehra, Yunbei Zhang, Bhavya Kailkhura, Jihun Hamm
7/17/2023
3 citations
cs.CV

No official code found. Best implementation: hammlab/RiskAverseDG (5 stars, Python, last commit 2024-04-17).

Abstract

Achieving high accuracy on data from domains unseen during training is a fundamental challenge in domain generalization (DG). While state-of-the-art DG classifiers have demonstrated impressive performance across various tasks, they have shown a bias towards domain-dependent information, such as image styles, rather than domain-invariant information, such as image content.

Show full abstract

This bias renders them unreliable for deployment in risk-sensitive scenarios such as autonomous driving where a misclassification could lead to catastrophic consequences. To enable risk-averse predictions from a DG classifier, we propose a novel inference procedure, Test-Time Neural Style Smoothing (TT-NSS), that uses a "style-smoothed" version of the DG classifier for prediction at test time. Specifically, the style-smoothed classifier classifies a test image as the most probable class predicted by the DG classifier on random re-stylizations of the test image. TT-NSS uses a neural style transfer module to stylize a test image on the fly, requires only black-box access to the DG classifier, and crucially, abstains when predictions of the DG classifier on the stylized test images lack consensus. Additionally, we propose a neural style smoothing (NSS) based training procedure that can be seamlessly integrated with existing DG methods. This procedure enhances prediction consistency, improving the performance of TT-NSS on non-abstained samples. Our empirical results demonstrate the effectiveness of TT-NSS and NSS at producing and improving risk-averse predictions on unseen domains from DG classifiers trained with SOTA training methods on various benchmark datasets and their variations.

View on arXivView PDF

Code Implementations(1)

On the Fly Neural Style Smoothing for Risk-Averse Domain Generalization. (WACV 2024)

50PythonJul 12, 20232 years ago

Similar Papers

Cite this paper

@article{mehra2023neural,
  title  = {On the Fly Neural Style Smoothing for Risk-Averse Domain Generalization},
  author = {Akshay Mehra and Yunbei Zhang and Bhavya Kailkhura and Jihun Hamm},
  year   = {2023},
  eprint = {2307.08551},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.08551v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.08551.svg)](https://codeofpaper.com/paper/2307.08551)

Discussion