{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-simple-baseline-for-low-budget-active","title":"A Simple Baseline for Low-Budget Active Learning","arxiv_id":"2110.12033","date":"2021-10-22","proceeding":null,"authors":["Kossar Pourahmadi","Parsa Nooralinejad","Hamed Pirsiavash"],"abstract":"Active learning focuses on choosing a subset of unlabeled data to be labeled. However, most such methods assume that a large subset of the data can be annotated. We are interested in low-budget active learning where only a small subset (e.g., 0.2% of ImageNet) can be annotated. Instead of proposing a new query strategy to iteratively sample batches of unlabeled data given an initial pool, we learn rich features by an off-the-shelf self-supervised learning method only once, and then study the effectiveness of different sampling strategies given a low labeling budget on a variety of datasets including ImageNet. We show that although the state-of-the-art active learning methods work well given a large labeling budget, a simple K-means clustering algorithm can outperform them on low budgets. We believe this method can be used as a simple baseline for low-budget active learning on image classification. Code is available at: https://github.com/UCDvision/low-budget-al","url_abs":"https://arxiv.org/abs/2110.12033v2","url_pdf":"https://arxiv.org/pdf/2110.12033v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-simple-baseline-for-low-budget-active","repo_url":"https://github.com/ucdvision/low-budget-al","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"active-learning","task_name":"Active Learning"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[{"method_slug":"k-means-clustering","method_name":"k-Means Clustering"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2110.12033","atlas_url":"https://app.syntology.ai/?focus=2110.12033","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.12033"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ucdvision/low-budget-al","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"ran":5,"unverified":10},"by_repo_kind":{"official":{"samples":16,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4b168fddd9c6f72d","entry":"get_channels","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"sampler.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/sampler.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4b168fddd9c6f72d"}},{"code_sha256_prefix":"2b1cd6fb4b47aba1","entry":"get_model","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"finetune.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/finetune.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b1cd6fb4b47aba1"}},{"code_sha256_prefix":"ff4ed7bd1ee3e302","entry":"get_model","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"active_sampler.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/active_sampler.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ff4ed7bd1ee3e302"}},{"code_sha256_prefix":"5d525ce7dc2702df","entry":"get_model","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"eval_lincls.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/eval_lincls.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5d525ce7dc2702df"}},{"code_sha256_prefix":"27110b2fee3f7db1","entry":"get_val_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"finetune.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/finetune.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"27110b2fee3f7db1"}},{"code_sha256_prefix":"f3e86360420c3918","entry":"validate","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"trainer_DP.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/trainer_DP.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f3e86360420c3918"}},{"code_sha256_prefix":"f492c504dc7b04a3","entry":"accu_kmeans","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"strategies.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/strategies.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f492c504dc7b04a3"}},{"code_sha256_prefix":"699fd70c1a03d08c","entry":"core_set","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"strategies.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/strategies.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"699fd70c1a03d08c"}},{"code_sha256_prefix":"58c44731fdf7049f","entry":"fast_kmeans","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"strategies.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/strategies.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"58c44731fdf7049f"}},{"code_sha256_prefix":"a35784f7dd9b3d4b","entry":"get_inference_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"active_sampler.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/active_sampler.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a35784f7dd9b3d4b"}},{"code_sha256_prefix":"e3ae5af66cd61bb0","entry":"get_inference_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"eval_knn.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/eval_knn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e3ae5af66cd61bb0"}},{"code_sha256_prefix":"fb7f31c4f1519e8f","entry":"get_inference_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"eval_lincls.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/eval_lincls.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fb7f31c4f1519e8f"}},{"code_sha256_prefix":"fe318f86dbbade77","entry":"get_model","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"eval_knn.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/eval_knn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fe318f86dbbade77"}},{"code_sha256_prefix":"2d99dc82b2c56aad","entry":"get_train_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"finetune.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/finetune.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2d99dc82b2c56aad"}},{"code_sha256_prefix":"10b4a8cb35b97aaa","entry":"get_train_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"active_sampler.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/active_sampler.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"10b4a8cb35b97aaa"}},{"code_sha256_prefix":"1f16dd751b8e4097","entry":"get_val_loader","repo":"ucdvision/low-budget-al","repo_kind":"official","path":"eval_knn.py","file_url":"https://github.com/ucdvision/low-budget-al/blob/HEAD/eval_knn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1f16dd751b8e4097"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}