Papers › Open Set Label Shift with Test Time Out-of-Distribution Reference

Open Set Label Shift with Test Time Out-of-Distribution Reference

9 May 2025CVPR 2025 1arXiv:2505.05868archive 2025-07-28

Changkun Ye, Russell Tsuchida, Lars Petersson, Nick Barnes

Open set label shift (OSLS) occurs when label distributions change from a source to a target distribution, and the target distribution has an additional out-of-distribution (OOD) class. In this work, we build estimators for both source and target open set label distributions using a source domain in-distribution (ID) classifier and an ID/OOD classifier. With reasonable assumptions on the ID/OOD classifier, the estimators are assembled into a sequence of three stages: 1) an estimate of the source label distribution of the OOD class, 2) an EM algorithm for Maximum Likelihood estimates (MLE) of the target label distribution, and 3) an estimate of the target label distribution of OOD class under relaxed assumptions on the OOD classifier. The sampling errors of estimates in 1) and 3) are quantified with a concentration inequality. The estimation result allows us to correct the ID classifier trained on the source distribution to the target distribution without retraining. Experiments on a variety of open set label shift settings demonstrate the effectiveness of our model. Our code is available at https://github.com/ChangkunYe/OpenSetLabelShift.

PaperPDFConference PDFCodeCode 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="2505.05868")

Code

Syntology Ran 5 of 13 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

changkunye/opensetlabelshift officialmentioned in paperpytorchMIT 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

13 samples harvested; 5 ran; 0 honoured the contract we drafted; 8 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 · violated contract
1ran · our draft was wrong
3ran
8unverified

Licence: 0 of the 13 samples are 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 ChangkunYe/OpenSetLabelShift. “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.

Discriminator32 ChangkunYe/OpenSetLabelShift/openood/networks/arpl_net.py official repository ran MIT (permissive) · 3cce4936256bdc33 · report
Generator ChangkunYe/OpenSetLabelShift/openood/networks/arpl_net.py official repository ran MIT (permissive) · 797cd0913159403b · report
Generator32 ChangkunYe/OpenSetLabelShift/openood/networks/arpl_net.py official repository ran MIT (permissive) · 893f424fd19a9b6c · report
rew_ce ChangkunYe/OpenSetLabelShift/openood/losses/reweight.py official repository ran · violated contract MIT (permissive) · d8339d591bbd7f52 · report
soft_cross_entropy ChangkunYe/OpenSetLabelShift/openood/losses/sce.py official repository ran · our draft was wrong MIT (permissive) · 61492b343324d2ea · report
create_window ChangkunYe/OpenSetLabelShift/openood/losses/ssim.py official repository unverified MIT (permissive) · 45b6edb2cf78cda2 · report
gaussian ChangkunYe/OpenSetLabelShift/openood/losses/ssim.py official repository unverified MIT (permissive) · e2424ce033ba3a0f · report
loss_function ChangkunYe/OpenSetLabelShift/openood/losses/rd4ad_loss.py official repository unverified MIT (permissive) · 4c1d0e3674921db5 · report
owls_correction ChangkunYe/OpenSetLabelShift/openood/label_shift/models.py official repository unverified MIT (permissive) · 641de4804c9d7e02 · report
owls_estimation ChangkunYe/OpenSetLabelShift/openood/label_shift/models.py official repository unverified MIT (permissive) · 542154f4c91077f3 · report
owls_evaluation ChangkunYe/OpenSetLabelShift/openood/label_shift/models.py official repository unverified MIT (permissive) · 1a5601ff222564c7 · report
rew_sce ChangkunYe/OpenSetLabelShift/openood/losses/reweight.py official repository unverified MIT (permissive) · e1014da2309b3946 · report
ssim ChangkunYe/OpenSetLabelShift/openood/losses/ssim.py official repository unverified MIT (permissive) · d1619ad1bb7ea0f7 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

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