Table of Contents
Fetching ...

Causal-Driven Feature Evaluation for Cross-Domain Image Classification

Chen Cheng, Ang Li

TL;DR

The paper tackles the challenge of out-of-distribution generalization by arguing that domain-invariant features are not necessarily causally useful for prediction. It introduces a causal evaluation framework based on the probability of necessity and sufficiency ($PNS$) applied at the level of latent segments, requiring semantically aligned latent coordinates across domains. A two-stage approach learns a shared latent structure and then uses Top-$K$ segment selection guided by cross-domain $PNS$ scores to build a robust OOD classifier. The method is validated on controlled multi-domain MNIST and the PACS benchmark, showing consistent improvements under strong domain shifts and demonstrating the practical value of explicit causal evaluation for robust generalization.

Abstract

Out-of-distribution (OOD) generalization remains a fundamental challenge in real-world classification, where test distributions often differ substantially from training data. Most existing approaches pursue domain-invariant representations, implicitly assuming that invariance implies reliability. However, features that are invariant across domains are not necessarily causally effective for prediction. In this work, we revisit OOD classification from a causal perspective and propose to evaluate learned representations based on their necessity and sufficiency under distribution shift. We introduce an explicit segment-level framework that directly measures causal effectiveness across domains, providing a more faithful criterion than invariance alone. Experiments on multi-domain benchmarks demonstrate consistent improvements in OOD performance, particularly under challenging domain shifts, highlighting the value of causal evaluation for robust generalization.

Causal-Driven Feature Evaluation for Cross-Domain Image Classification

TL;DR

The paper tackles the challenge of out-of-distribution generalization by arguing that domain-invariant features are not necessarily causally useful for prediction. It introduces a causal evaluation framework based on the probability of necessity and sufficiency () applied at the level of latent segments, requiring semantically aligned latent coordinates across domains. A two-stage approach learns a shared latent structure and then uses Top- segment selection guided by cross-domain scores to build a robust OOD classifier. The method is validated on controlled multi-domain MNIST and the PACS benchmark, showing consistent improvements under strong domain shifts and demonstrating the practical value of explicit causal evaluation for robust generalization.

Abstract

Out-of-distribution (OOD) generalization remains a fundamental challenge in real-world classification, where test distributions often differ substantially from training data. Most existing approaches pursue domain-invariant representations, implicitly assuming that invariance implies reliability. However, features that are invariant across domains are not necessarily causally effective for prediction. In this work, we revisit OOD classification from a causal perspective and propose to evaluate learned representations based on their necessity and sufficiency under distribution shift. We introduce an explicit segment-level framework that directly measures causal effectiveness across domains, providing a more faithful criterion than invariance alone. Experiments on multi-domain benchmarks demonstrate consistent improvements in OOD performance, particularly under challenging domain shifts, highlighting the value of causal evaluation for robust generalization.
Paper Structure (75 sections, 1 theorem, 37 equations, 1 figure, 3 tables, 1 algorithm)

This paper contains 75 sections, 1 theorem, 37 equations, 1 figure, 3 tables, 1 algorithm.

Key Result

Theorem 1

Under Assumptions 1--3, for any block $k$, the expected cross-domain PNS score satisfies in the limit of infinite samples and sufficiently expressive classifiers.

Figures (1)

  • Figure 1: Examples of training and test domain transformatins used in our benchmark.

Theorems & Definitions (1)

  • Theorem 1