SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.05868 · CVPR · 2025

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

Nick Barnes, Lars Petersson, Russell Tsuchida, Changkun Ye

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 13 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ChangkunYe/OpenSetLabelShift canonical 5 of 13
FunctionStatusWhere it lives
Discriminator32 Ran ChangkunYe/OpenSetLabelShift/openood/networks/arpl_net.py
code served (permissive licence) · get_code("3cce4936256bdc33")
Generator Ran ChangkunYe/OpenSetLabelShift/openood/networks/arpl_net.py
code served (permissive licence) · get_code("797cd0913159403b")
Generator32 Ran ChangkunYe/OpenSetLabelShift/openood/networks/arpl_net.py
code served (permissive licence) · get_code("893f424fd19a9b6c")
rew_ce Ran ChangkunYe/OpenSetLabelShift/openood/losses/reweight.py
code served (permissive licence) · get_code("d8339d591bbd7f52")
soft_cross_entropy Ran ChangkunYe/OpenSetLabelShift/openood/losses/sce.py
code served (permissive licence) · get_code("61492b343324d2ea")
create_window Not yet run ChangkunYe/OpenSetLabelShift/openood/losses/ssim.py
code served (permissive licence) · get_code("45b6edb2cf78cda2")
gaussian Not yet run ChangkunYe/OpenSetLabelShift/openood/losses/ssim.py
code served (permissive licence) · get_code("e2424ce033ba3a0f")
loss_function Not yet run ChangkunYe/OpenSetLabelShift/openood/losses/rd4ad_loss.py
code served (permissive licence) · get_code("4c1d0e3674921db5")
owls_correction Not yet run ChangkunYe/OpenSetLabelShift/openood/label_shift/models.py
code served (permissive licence) · get_code("641de4804c9d7e02")
owls_estimation Not yet run ChangkunYe/OpenSetLabelShift/openood/label_shift/models.py
code served (permissive licence) · get_code("542154f4c91077f3")
owls_evaluation Not yet run ChangkunYe/OpenSetLabelShift/openood/label_shift/models.py
code served (permissive licence) · get_code("1a5601ff222564c7")
rew_sce Not yet run ChangkunYe/OpenSetLabelShift/openood/losses/reweight.py
code served (permissive licence) · get_code("e1014da2309b3946")
ssim Not yet run ChangkunYe/OpenSetLabelShift/openood/losses/ssim.py
code served (permissive licence) · get_code("d1619ad1bb7ea0f7")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.05868")
get_code_for_paper("2505.05868")
have("2505.05868")

Connect an agent — have() is free.