Skip to content
Review Open access

CausalShift: A Modular, Plugin-Based Framework for Dataset Shift Handling in Machine Learning

Jul 2026 · Applied Sciences · 0 citations · 31 references

TL;DR

CausalShift is proposed, a modular, plugin-based framework for end-to-end dataset shift handling that reduces the in-distribution to out-of-distribution accuracy gap, while remaining competitive on real-world image shift and achieving performance parity with ERM on mild-shift tasks.

Abstract

Machine learning models deployed under distribution shift suffer performance degradation whose root cause is rarely diagnosed before adaptation is attempted. Existing frameworks either lack a closed loop from shift diagnosis to method selection, require a fully specified causal graph, or depend on multiple heterogeneous training environments—conditions rarely met in practice. We propose CausalShift, a modular, plugin-based framework for end-to-end dataset shift handling. A universal statistical core remains fully functional without any causal assumption; four optional causal plugins are activated selectively by a four-level knowledge grading system that scales from a fully specified structural causal model (Level A) down to a single observational dataset (Level D). A three-path causal attribution module estimates the relative contributions of covariate and concept shift to the performance gap, and attribution-driven routing maps the diagnosis to an adaptation strategy grounded in minimax optimality. Proof-of-concept experiments on four benchmarks—a synthetic structural causal model (SCM), Colored Modified National Institute of Standards and Technology (MNIST), Benchmarking In-the-Wild Distribution Shifts (WILDS) Camelyon17, and five American Community Survey (ACS) geographic shift tasks—demonstrate that CausalShift reduces the in-distribution to out-of-distribution (ID–OOD) accuracy gap by 19.9 percentage points on the synthetic benchmark and 72.5 percentage points on the spurious correlation benchmark, while remaining competitive on real-world image shift and achieving performance parity with ERM on mild-shift tasks. A tiered causal evaluation suite, including Λ*-robustness bounds and distribution-induced shift decomposition of error (DISDE), reveals robustness differences that scalar accuracy metrics cannot detect.

Read PDF

Similar papers

Seeing Through the Shift: Causality-Inspired Robust Generalized Category Discovery

This work proposes CausalGCD, a causality-inspired framework designed to mitigate domain-shift bias in category discovery and proposes a Causal Geometric Manifold Constraint that enforces invariant manifold-level associations between known and unknown categories across domains, thereby facilitating robust discovery of...

Wei Feng, Yi-Wen Jiang, Sijin Zhou et al. · 1 citation
Preprint Aug 2026

Learning the Pareto Frontier of Predictive Models under Distribution Shift

Modern machine learning pipelines increasingly rely on reusing pretrained and foundation models across downstream tasks. These pretrained models can differ not only in performance but also in how they can be used: some only provide black-box predictions, while others may permit white-box access to internal representati...

Yiming Dong, Jiwei Zhao, Yang Lu · 0 citations
Jul 2026

Decomposing decisions: causal concept explanations for deep learning models

The Causal Concept Decomposer (CCD) is introduced, a three-stage framework for concept-driven causal explanation of object detectors that produces explanations that are both visually coherent and quantitatively more faithful than existing approaches.

Muhammad Imran Khalid, Jian-Xun Mi · 0 citations
Preprint Jul 2026

From Training to Deployment: Post-Hoc Causal Feature Identification via Sensitivity Ratios

The Normalised Sensitivity Ratio (NSR) is introduced, a post-hoc, model-agnostic diagnostic for this question under a structured-shift regime: environments differ primarily in the mean of spurious features while the causal mechanism and causal marginals remain stable, as in multi-site clinical data or multi-batch genom...

Athanasios Vlontzos, G. Papanastasiou, Bernhard Kainz et al. · 0 citations
Conference Aug 2026

ELT Pipelines Enhanced with Causal Intelligence for Reliable and Bias-Resilient AI Decision Systems

In the world of modern analytics and machine learning, pipelines known as Extract-Load-Transform (ELT) pipelines are commonly used to transform raw data into representations that are suitable for models. But most of the existing ELT workflows are primarily correlation driven and don’t explicitly maintain causality duri...

Nitesh Laxmanrao Khapekar, Divyakumar Deepak Savla, Naveen Kumar Mylarappa et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.