Skip to main content
QUICK REVIEW

[Paper Review] Mix and Reason: Reasoning over Semantic Topology with Data Mixing for Domain Generalization

Chaoqi Chen, Luyao Tang|arXiv (Cornell University)|Oct 14, 2022
Domain Adaptation and Few-Shot LearningComputer Science20 citations
TL;DR

MiRe introduces Category-aware Data Mixing (CDM) and Adaptive Semantic Topology Refinement (ASTR) to enforce structural invariance in semantic topology, improving domain generalization across multiple benchmarks.

ABSTRACT

Domain generalization (DG) enables generalizing a learning machine from multiple seen source domains to an unseen target one. The general objective of DG methods is to learn semantic representations that are independent of domain labels, which is theoretically sound but empirically challenged due to the complex mixture of common and domain-specific factors. Although disentangling the representations into two disjoint parts has been gaining momentum in DG, the strong presumption over the data limits its efficacy in many real-world scenarios. In this paper, we propose Mix and Reason (\mire), a new DG framework that learns semantic representations via enforcing the structural invariance of semantic topology. \mire\ consists of two key components, namely, Category-aware Data Mixing (CDM) and Adaptive Semantic Topology Refinement (ASTR). CDM mixes two images from different domains in virtue of activation maps generated by two complementary classification losses, making the classifier focus on the representations of semantic objects. ASTR introduces relation graphs to represent semantic topology, which is progressively refined via the interactions between local feature aggregation and global cross-domain relational reasoning. Experiments on multiple DG benchmarks validate the effectiveness and robustness of the proposed \mire.

Motivation & Objective

  • Motivate domain generalization (DG) by focusing on structural invariance of semantic topology rather than strict domain invariance.
  • Propose CDM to augment training data by foreground-background mixing guided by activation maps from class and domain losses.
  • Propose ASTR to progressively refine semantic topology using relation graphs and bipartite graph networks for cross-domain relational reasoning.
  • Demonstrate MiRe's effectiveness on standard DG benchmarks and show CDM can boost other DG methods.

Proposed method

  • CDM uses Grad-CAM to generate class and domain activation maps, merges them to obtain a foreground mask, and replaces image backgrounds with Gaussian-blurred patches from other domains to create mixed samples.
  • ASTR builds a semantic topology graph with class prototypes as nodes; it updates node features via local-global feature aggregation and adjacency-informed weighting, and applies a Bipartite Graph Convolutional Network for cross-domain relational reasoning with a contrastive consistency regularization.
  • The training objective combines standard cross-entropy with CCR to enforce cross-domain and cross-model invariances in the semantic topology.
  • Adjacency weights for the topology are initialized with a Gaussian kernel on prototype distances and updated iteratively during training.
  • The overall objective is minimize L_cls + lambda * L_CCR, optimized end-to-end.

Experimental results

Research questions

  • RQ1Can structural invariance in semantic topology improve out-of-distribution generalization beyond traditional domain-invariant methods?
  • RQ2Does foreground-guided data mixing (CDM) reduce reliance on domain-specific cues and spurious correlations?
  • RQ3Does adaptive refinement of semantic topology (ASTR) enable robust cross-domain relational reasoning?
  • RQ4How does MiRe perform on standard DG benchmarks compared to state-of-the-art methods?
  • RQ5Is CDM transferrable as a plug-in module to other DG approaches?

Key findings

  • MiRe outperforms state-of-the-art DG methods on four benchmarks (PACS, VLCS, Office-Home, DomainNet).
  • CDM with foreground-background mixing improves generalization, and its combination with ASTR yields further gains.
  • ASTR with bipartite graph reasoning enhances cross-domain relational understanding and structural invariance.
  • Ablation shows each component (CDM, ASTR, graph structure, cross-domain invariance) contributes to performance gains.
  • CDM improves other DG methods when used as a plug-in, demonstrating broad applicability.
  • On DomainNet with ResNet-18, MiRe achieves 41.9 average (Clipart 62.5, Infograph 23.0, Quickdraw 46.5, Painting 15.7, Real 59.1, Sketch 44.4).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.