Papers › Pareto Invariant Risk Minimization: Towards Mitigating the Optimization Dilemma in...

Pareto Invariant Risk Minimization: Towards Mitigating the Optimization Dilemma in Out-of-Distribution Generalization

15 Jun 2022arXiv:2206.07766archive 2025-07-28

Yongqiang Chen, Kaiwen Zhou, Yatao Bian, Binghui Xie, Bingzhe Wu, Yonggang Zhang, Kaili Ma, Han Yang, Peilin Zhao, Bo Han, James Cheng

Recently, there has been a growing surge of interest in enabling machine learning systems to generalize well to Out-of-Distribution (OOD) data. Most efforts are devoted to advancing optimization objectives that regularize models to capture the underlying invariance; however, there often are compromises in the optimization process of these OOD objectives: i) Many OOD objectives have to be relaxed as penalty terms of Empirical Risk Minimization (ERM) for the ease of optimization, while the relaxed forms can weaken the robustness of the original objective; ii) The penalty terms also require careful tuning of the penalty weights due to the intrinsic conflicts between ERM and OOD objectives. Consequently, these compromises could easily lead to suboptimal performance of either the ERM or OOD objective. To address these issues, we introduce a multi-objective optimization (MOO) perspective to understand the OOD optimization process, and propose a new optimization scheme called PAreto Invariant Risk Minimization (PAIR). PAIR improves the robustness of OOD objectives by cooperatively optimizing with other OOD objectives, thereby bridging the gaps caused by the relaxations. Then PAIR approaches a Pareto optimal solution that trades off the ERM and OOD objectives properly. Extensive experiments on challenging benchmarks, WILDS, show that PAIR alleviates the compromises and yields top OOD performances.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2206.07766")

Code

Syntology Ran 6 of 10 code samples harvested from 3 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 5 ran; community (archive-listed): 1 sample from 1 repository, 0 ran; community: 2 samples from 1 repository, 0 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lfhase/pair officialmentioned in papermentioned on GitHubpytorch report
lfhase/ciga mentioned on GitHubpytorch report
qkrdmsghk/GOODHSE mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
2ran
4unverified

Licence: 1 of the 10 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

EPO lfhase/pair/PAIR/pair.py official repository ran MIT (permissive) · d16a88da846b7682 · report
SEPO lfhase/pair/PAIR/pair.py official repository ran MIT (permissive) · 8c73c6ae98d61657 · report
getNumParams lfhase/pair/ColoredMNIST/pair.py official repository ran · honoured contract MIT (permissive) · 28077f9c052f7aed · report
get_kl_div lfhase/pair/ColoredMNIST/pair.py official repository ran · violated contract fingerprinted MIT (permissive) · cb517763d1083872 · report
pair_selection lfhase/pair/ColoredMNIST/pair.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 32a5b544ec6bebb1 · report
PAIR lfhase/pair/PAIR/pair.py official repository unverified MIT (permissive) · eca51e17518810ff · report
MinNormSolver MindSpore-scientific-2/code-1/PACMOO/min_norm_solvers_numpy.py community (archive-listed) unverified Apache-2.0 (permissive) · d0aa27294b3dd8c9 · report
init_input_canvas_wrapper Picsart-AI-Research/PAIR-Diffusion/gradio_demo.py community unverified MIT (permissive) · 93721419ca48ae8f · report
init_ref_canvas_wrapper Picsart-AI-Research/PAIR-Diffusion/gradio_demo.py community unverified MIT (permissive) · a6787f2913c02b9a · report
get_irm_loss identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · fc7bb9ff36d7b1f1 · report

Tasks

Out-of-Distribution Generalization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections