ZIN: When and How to Learn Invariance Without Environment Partition?

Yong Lin, Shengyu Zhu, Lu Tan, Peng Cui
3/11/2022
cs.LGcs.AI

Official code: linyongver/ZIN_official (22 stars, Python, last commit 2022-12-03).

Abstract

It is commonplace to encounter heterogeneous data, of which some aspects of the data distribution may vary but the underlying causal mechanisms remain constant. When data are divided into distinct environments according to the heterogeneity, recent invariant learning methods have proposed to learn robust and invariant models based on this environment partition.

Show full abstract

It is hence tempting to utilize the inherent heterogeneity even when environment partition is not provided. Unfortunately, in this work, we show that learning invariant features under this circumstance is fundamentally impossible without further inductive biases or additional information. Then, we propose a framework to jointly learn environment partition and invariant representation, assisted by additional auxiliary information. We derive sufficient and necessary conditions for our framework to provably identify invariant features under a fairly general setting. Experimental results on both synthetic and real world datasets validate our analysis and demonstrate an improved performance of the proposed framework over existing methods. Finally, our results also raise the need of making the role of inductive biases more explicit in future works, when considering learning invariant models without environment partition. Codes are available at https://github.com/linyongver/ZIN_official .

View on arXivView PDF

Code Implementations(1)

This is the implementation for the NeurIPS 2022 paper: ZIN: When and How to Learn Invariance Without Environment Partition?

224Python, ShellOct 6, 20223 years ago

Similar Papers

Cite this paper

@article{lin2022zin,
  title  = {ZIN: When and How to Learn Invariance Without Environment Partition?},
  author = {Yong Lin and Shengyu Zhu and Lu Tan and Peng Cui},
  year   = {2022},
  eprint = {2203.05818},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.05818}
}

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

Discussion