HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

DecAug: Out-of-Distribution Generalization via Decomposed Feature Representation and Semantic Augmentation

Haoyue Bai Rui Sun Lanqing Hong Fengwei Zhou Nanyang Ye Han-Jia Ye S.-H. Gary Chan Zhenguo Li

DecAug: Out-of-Distribution Generalization via Decomposed Feature Representation and Semantic Augmentation

Abstract

While deep learning demonstrates its strong ability to handle independent and identically distributed (IID) data, it often suffers from out-of-distribution (OoD) generalization, where the test data come from another distribution (w.r.t. the training one). Designing a general OoD generalization framework to a wide range of applications is challenging, mainly due to possible correlation shift and diversity shift in the real world. Most of the previous approaches can only solve one specific distribution shift, such as shift across domains or the extrapolation of correlation. To address that, we propose DecAug, a novel decomposed feature representation and semantic augmentation approach for OoD generalization. DecAug disentangles the category-related and context-related features. Category-related features contain causal information of the target object, while context-related features describe the attributes, styles, backgrounds, or scenes, causing distribution shifts between training and test data. The decomposition is achieved by orthogonalizing the two gradients (w.r.t. intermediate features) of losses for predicting category and context labels. Furthermore, we perform gradient-based augmentation on context-related features to improve the robustness of the learned representations. Experimental results show that DecAug outperforms other state-of-the-art methods on various OoD datasets, which is among the very few methods that can deal with different types of OoD generalization challenges.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
domain-generalization-on-nico-animalDecAug (Resnet-18)
Accuracy: 85.23
domain-generalization-on-nico-vehicleDecAug (Resnet-18)
Accuracy: 80.12
domain-generalization-on-pacs-2DecAug (Resnet-18)
Average Accuracy: 82.39
image-classification-on-colored-mnist-withMLP-DecAug
Accuracy : 69.60

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
DecAug: Out-of-Distribution Generalization via Decomposed Feature Representation and Semantic Augmentation | Papers | HyperAI