SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.06207 · ICLR · 2022

Open-Set Recognition: A Good Closed-Set Classifier is All You Need

Kai Han, Andrea Vedaldi, Andrew Zisserman, Sagar Vaze

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 17 functions out of this paper's own repositories and ran 13 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
sgvaze/osr_closed_set_all_you_need canonical 13 of 17
FunctionStatusWhere it lives
get_mean_lr Ran sgvaze/osr_closed_set_all_you_need/methods/ARPL/osr.py
code served (permissive licence) · get_code("c62a45794431e9b7")
Discriminator32 Ran sgvaze/osr_closed_set_all_you_need/methods/ARPL/arpl_models/gan.py
code served (permissive licence) · get_code("3cce4936256bdc33")
Generator Ran sgvaze/osr_closed_set_all_you_need/methods/ARPL/arpl_models/gan.py
code served (permissive licence) · get_code("1a6a50a611f464f9")
Generator32 Ran sgvaze/osr_closed_set_all_you_need/methods/ARPL/arpl_models/gan.py
code served (permissive licence) · get_code("8c24b39fc0eecb58")
drop_connect Ran sgvaze/osr_closed_set_all_you_need/models/miscel_utils.py
code served (permissive licence) · get_code("d3319e3d34ca90ca")
get_optimizer Ran sgvaze/osr_closed_set_all_you_need/methods/ARPL/osr.py
code served (permissive licence) · get_code("ed5db303ab193775")
load_networks Ran sgvaze/osr_closed_set_all_you_need/methods/ARPL/arpl_utils.py
code served (permissive licence) · get_code("a811aa6eac543d8f")
round_filters Ran sgvaze/osr_closed_set_all_you_need/models/miscel_utils.py
code served (permissive licence) · get_code("f15a49337e69e937")
round_repeats Ran sgvaze/osr_closed_set_all_you_need/models/miscel_utils.py
code served (permissive licence) · get_code("dbc0ca08d119a5a0")
strip_state_dict Ran sgvaze/osr_closed_set_all_you_need/utils/utils.py
code served (permissive licence) · get_code("bc2c748ee9fffddf")
transform_moco_state_dict Ran sgvaze/osr_closed_set_all_you_need/models/model_utils.py
code served (permissive licence) · get_code("443a6ab0aca3d0e3")
transform_moco_state_dict_arpl_cs Ran sgvaze/osr_closed_set_all_you_need/models/model_utils.py
code served (permissive licence) · get_code("d040dabdf943f132")
transform_moco_state_dict_places Ran sgvaze/osr_closed_set_all_you_need/models/model_utils.py
code served (permissive licence) · get_code("1219ffd1eb121b9e")
accuracy Not yet run sgvaze/osr_closed_set_all_you_need/utils/utils.py
code served (permissive licence) · get_code("913d82af53065418")
get_file Not yet run sgvaze/osr_closed_set_all_you_need/utils/logfile_parser.py
code served (permissive licence) · get_code("142c0ce9982cbf82")
get_scheduler Not yet run sgvaze/osr_closed_set_all_you_need/utils/schedulers.py
code served (permissive licence) · get_code("8d59d5daedcdf3f8")
init_experiment Not yet run sgvaze/osr_closed_set_all_you_need/utils/utils.py
code served (permissive licence) · get_code("7767f8e34fb9f60c")

Repositories linked to this paper

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

Abstract

The ability to identify whether or not a test sample belongs to one of the semantic classes in a classifier's training set is critical to practical deployment of the model. This task is termed open-set recognition (OSR) and has received significant attention in recent years. In this paper, we first demonstrate that the ability of a classifier to make the 'none-of-above' decision is highly correlated with its accuracy on the closed-set classes. We find that this relationship holds across loss objectives and architectures, and further demonstrate the trend both on the standard OSR benchmarks as well as on a large-scale ImageNet evaluation. Second, we use this correlation to boost the performance of a maximum logit score OSR 'baseline' by improving its closed-set accuracy, and with this strong baseline achieve state-of-the-art on a number of OSR benchmarks. Similarly, we boost the performance of the existing state-of-the-art method by improving its closed-set accuracy, but the resulting discrepancy with the strong baseline is marginal. Our third contribution is to present the 'Semantic Shift Benchmark' (SSB), which better respects the task of detecting semantic novelty, in contrast to other forms of distribution shift also considered in related sub-fields, such as out-of-distribution detection. On this new evaluation, we again demonstrate that there is negligible difference between the strong baseline and the existing state-of-the-art. Project

For agents

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

get_harvested_code_for_paper("2110.06207")
get_code_for_paper("2110.06207")
have("2110.06207")

Connect an agent — have() is free.