Should Bias Always be Eliminated? A Principled Framework to Use Data Bias for OOD Generation

Yan Li, Guangyi Chen, Yunlong Deng, Zijian Li, Zeyu Tang +2 more
7/22/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Most existing methods for adapting models to out-of-distribution (OOD) domains rely on invariant representation learning to eliminate the influence of biased features. However, should bias always be eliminated -- and if not, when should it be retained, and how can it be leveraged? To address these questions, we first present a theoretical analysis that explores the conditions under which biased features can be identified and effectively utilized. Building on this theoretical foundation, we introduce a novel framework that strategically leverages bias to complement invariant representations during inference. The framework comprises two key components that leverage bias in both direct and indirect ways: (1) using invariance as guidance to extract predictive ingredients from bias, and (2) exploiting identified bias to estimate the environmental condition and then use it to explore appropriate bias-aware predictors to alleviate environment gaps. We validate our approach through experiments on both synthetic datasets and standard domain generalization benchmarks. Results consistently demonstrate that our method outperforms existing approaches, underscoring its robustness and adaptability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025should,
  title  = {Should Bias Always be Eliminated? A Principled Framework to Use Data Bias for OOD Generation},
  author = {Yan Li and Guangyi Chen and Yunlong Deng and Zijian Li and Zeyu Tang and Anpeng Wu and Kun Zhang},
  year   = {2025},
  eprint = {2507.17001},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.17001v1}
}

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

Discussion