Shape Guided Gradient Voting for Domain Generalization

Jiaqi Xu, Yuwang Wang, Xuejin Chen
6/19/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Domain generalization aims to address the domain shift between training and testing data. To learn the domain invariant representations, the model is usually trained on multiple domains. It has been found that the gradients of network weight relative to a specific task loss can characterize the task itself. In this work, with the assumption that the gradients of a specific domain samples under the classification task could also reflect the property of the domain, we propose a Shape Guided Gradient Voting (SGGV) method for domain generalization. Firstly, we introduce shape prior via extra inputs of the network to guide gradient descending towards a shape-biased direction for better generalization. Secondly, we propose a new gradient voting strategy to remove the outliers for robust optimization in the presence of shape guidance. To provide shape guidance, we add edge/sketch extracted from the training data as an explicit way, and also use texture augmented images as an implicit way. We conduct experiments on several popular domain generalization datasets in image classification task, and show that our shape guided gradient updating strategy brings significant improvement of the generalization.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{xu2023shape,
  title  = {Shape Guided Gradient Voting for Domain Generalization},
  author = {Jiaqi Xu and Yuwang Wang and Xuejin Chen},
  year   = {2023},
  eprint = {2306.10809},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.10809v1}
}

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/2306.10809.svg)](https://codeofpaper.com/paper/2306.10809)

Discussion