Lune

NeurIPS2023Top-tier venue

Invariant Learning via Probability of Sufficient and Necessary Causes

Mengyue Yang, Yonggang Zhang, Zhen Fang, Yali Du, Furui Liu, Jean-Francois Ton, Jianhong Wang, Jun Wang

Abstract

Out-of-distribution (OOD) generalization is indispensable for learning models in the wild, where testing distribution typically unknown and different from the training. Recent methods derived from causality have shown great potential in achieving OOD generalization. However, existing methods mainly focus on the invariance property of causes, while largely overlooking the property of sufficiency and necessity conditions. Namely, a necessary but insufficient cause (feature) is invariant to distribution shift, yet it may not have required accuracy. By contrast, a sufficient yet unnecessary cause (feature) tends to fit specific data well but may have a risk of adapting to a new domain. To capture the information of sufficient and necessary causes, we employ a classical concept, the probability of sufficiency and necessary causes (PNS), which indicates the probability of whether one is the necessary and sufficient cause. To associate PNS with OOD generalization, we propose PNS risk and formulate an algorithm to learn representation with a high PNS value. We theoretically analyze and prove the generalizability of the PNS risk. Experiments on both synthetic and real-world benchmarks demonstrate the effectiveness of the proposed method. The detailed implementation can be found at the GitHub repository: https://github.com/ymy4323460/CaSN . Recent works have proposed to solve the OOD generalization problem through the lens of causality (

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • COPO: Causal-Oriented Policy Optimization for Hallucinations of MLLMs cites Causal Sufficiency and Necessity Improves Chain-of-Thought Reasoning
  • Causality Inspired Federated Learning for OOD Generalization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Causality Inspired Federated Learning for OOD Generalization cites Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization
  • Causality Inspired Federated Learning for OOD Generalization cites Invariant Risk Minimization Games
  • Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization cites Invariant Risk Minimization Games
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Causal Sufficiency and Necessity Improves Chain-of-Thought ReasoningXiangning Yu, Zhuohan Wang, Linyi Yang, Haoxuan Li et al.NeurIPS 2025 · 19 citations
  2. Ensemble Pruning for Out-of-distribution GeneralizationFengchun Qiao, Xi PengICML 2024 · 3 citations
  3. Seeing Through the Shift: Causality-Inspired Robust Generalized Category DiscoveryWei Feng, Yiwen Jiang, Sijin Zhou, Zhuang Qi et al.CVPR 2026 · 2 citations
  4. COPO: Causal-Oriented Policy Optimization for Hallucinations of MLLMsPeizheng Guo, Jingyao Wang, Wenwen Qiang, Jiahuan Zhou et al.CVPR 2026 · 1 citation
  5. Causality Inspired Federated Learning for OOD GeneralizationJiayuan Zhang, Xuefeng Liu, Jianwei Niu, Shaojie Tang et al.ICML 2025

Builds on18

  1. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
  2. Adversarial Domain Adaptation with Domain MixupMinghao Xu, Jian Zhang, Bingbing Ni, Teng Li et al.AAAI 2020 · 499 citations
  3. Invariance Principle Meets Information Bottleneck for Out-of-Distribution GeneralizationKartik Ahuja, Ethan Caballero, Dinghuai Zhang, Jean-Christophe Gagnon-Audet et al.NeurIPS 2021 · 372 citations
  4. What Should Not Be Contrastive in Contrastive LearningTete Xiao, Xiaolong Wang, Alexei A. Efros, Trevor DarrellICLR 2021 · 338 citations
  5. Invariant Risk Minimization GamesKartik Ahuja, Karthikeyan Shanmugam, Kush R. Varshney, Amit DhurandharICML 2020 · 289 citations

Related papers

  1. Out-of-distribution Generalization with Causal Invariant TransformationsRuoyu Wang, Mingyang Yi, Zhitang Chen, Shengyu ZhuCVPR 2022 · 40 citations
  2. Learning Causal Semantic Representation for Out-of-Distribution PredictionChang Liu, Xinwei Sun, Jindong Wang, Haoyue Tang et al.NeurIPS 2021 · 136 citations
  3. Is Out-of-Distribution Detection Learnable?Zhen Fang, Yixuan Li, Jie Lu, Jiahua Dong et al.NeurIPS 2022 · 188 citations
  4. The Best of Both Worlds: On the Dilemma of Out-of-distribution DetectionQingyang Zhang, Qiuxuan Feng, Joey Tianyi Zhou, Yatao Bian et al.NeurIPS 2024
  5. Mitigating Spurious Correlations via Counterfactual Contrastive LearningFengxiang Cheng, Chuan Zhou, Xiang Li, Alina Leidinger et al.EMNLP Findings 2025
Dusk over the sea between two cliffs drawn in fine vertical lines