Adversarial Learning for Feature Shift Detection and Correction

Míriam Barrabés, D. M. Montserrat, Margarita Geleta, Xavier Giró-i-Nieto, A. Ioannidis
2/12/2026

No official code found. Best implementation: AI-sandbox/DataFix (10 stars, last commit 2024-02-01).

Abstract

Data shift is a phenomenon present in many real-world applications, and while there are multiple methods attempting to detect shifts, the task of localizing and correcting the features originating such shifts has not been studied in depth. Feature shifts can occur in many datasets, including in multi-sensor data, where some sensors are malfunctioning, or in tabular and structured data, including biomedical, financial, and survey data, where faulty standardization and data processing pipelines can lead to erroneous features. In this work, we explore using the principles of adversarial learning, where the information from several discriminators trained to distinguish between two distributions is used to both detect the corrupted features and fix them in order to remove the distribution shift between datasets. We show that mainstream supervised classifiers, such as random forest or gradient boosting trees, combined with simple iterative heuristics, can localize and correct feature shifts, outperforming current statistical and neural network-based techniques. The code is available at https://github.com/AI-sandbox/DataFix.

View on arXivView PDF

Code Implementations(1)

AI-sandbox/DataFixCommunity100%
103Python, Jupyter NotebookNov 1, 20232 years agoNOASSERTION

Similar Papers

Cite this paper

@article{barrabs2026adversarial,
  title  = {Adversarial Learning for Feature Shift Detection and Correction},
  author = {Míriam Barrabés and D. M. Montserrat and Margarita Geleta and Xavier Giró-i-Nieto and A. Ioannidis},
  year   = {2026},
  eprint = {2312.04546},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.04546},
  journal = {NEURIPS 2023 2023}
}

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

Discussion