{"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/infomatch-entropy-neural-estimation-for-semi","title":"InfoMatch: Entropy Neural Estimation for Semi-Supervised Image Classification","arxiv_id":"2404.11003","date":"2024-04-17","proceeding":null,"authors":["Qi Han","Zhibo Tian","Chengwei Xia","Kun Zhan"],"abstract":"Semi-supervised image classification, leveraging pseudo supervision and consistency regularization, has demonstrated remarkable success. However, the ongoing challenge lies in fully exploiting the potential of unlabeled data. To address this, we employ information entropy neural estimation to utilize the potential of unlabeled samples. Inspired by contrastive learning, the entropy is estimated by maximizing a lower bound on mutual information across different augmented views. Moreover, we theoretically analyze that the information entropy of the posterior of an image classifier is approximated by maximizing the likelihood function of the softmax predictions. Guided by these insights, we optimize our model from both perspectives to ensure that the predicted probability distribution closely aligns with the ground-truth distribution. Given the theoretical connection to information entropy, we name our method InfoMatch. Through extensive experiments, we show its superior performance. The source code is available at https://github.com/kunzhan/InfoMatch.","url_abs":"https://arxiv.org/abs/2404.11003v3","url_pdf":"https://arxiv.org/pdf/2404.11003v3.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":"infomatch-entropy-neural-estimation-for-semi","repo_url":"https://github.com/kunzhan/infomatch","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"semi-supervised-image-classification","task_name":"Semi-Supervised Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2404.11003","atlas_url":"https://app.syntology.ai/?focus=2404.11003","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.11003"}},"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/kunzhan/infomatch","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/kunzhan/InfoMatch","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":6,"ran_fixture":1,"ran":2,"ran_honours":1,"unverified":6},"by_repo_kind":{"official":{"samples":16,"ran":10,"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":16,"samples":[{"code_sha256_prefix":"43872e13b837d9d6","entry":"cal_time_p_and_p_model","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"43872e13b837d9d6"}},{"code_sha256_prefix":"2a80220dabcb742a","entry":"conv1x1","repo":"kunzhan/infomatch","repo_kind":"official","path":"models/resnext.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/models/resnext.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2a80220dabcb742a"}},{"code_sha256_prefix":"600ff2c45e0de056","entry":"conv3x3","repo":"kunzhan/infomatch","repo_kind":"official","path":"models/resnext.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/models/resnext.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"600ff2c45e0de056"}},{"code_sha256_prefix":"866d8aa1a3657936","entry":"cutmix_hard","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"866d8aa1a3657936"}},{"code_sha256_prefix":"27ae5d495ffa4282","entry":"de_interleave","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"27ae5d495ffa4282"}},{"code_sha256_prefix":"9becbb1bb6878d86","entry":"default_loader","repo":"kunzhan/infomatch","repo_kind":"official","path":"dataset/ImageNet.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/dataset/ImageNet.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9becbb1bb6878d86"}},{"code_sha256_prefix":"99c1dcab51b21ada","entry":"get_cosine_schedule_with_warmup","repo":"kunzhan/infomatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/infoMatch_STL.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"99c1dcab51b21ada"}},{"code_sha256_prefix":"f6043e7798bcabbd","entry":"interleave","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f6043e7798bcabbd"}},{"code_sha256_prefix":"f321f54723433661","entry":"pil_loader","repo":"kunzhan/infomatch","repo_kind":"official","path":"dataset/ImageNet.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/dataset/ImageNet.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f321f54723433661"}},{"code_sha256_prefix":"90e661c88d65afa0","entry":"x_u_split","repo":"kunzhan/infomatch","repo_kind":"official","path":"dataset/ImageNet1.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/dataset/ImageNet1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"90e661c88d65afa0"}},{"code_sha256_prefix":"404fb2b2daa1ae78","entry":"accimage_loader","repo":"kunzhan/infomatch","repo_kind":"official","path":"dataset/ImageNet.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/dataset/ImageNet.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"404fb2b2daa1ae78"}},{"code_sha256_prefix":"853f415fdc5443ea","entry":"save_checkpoint","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"853f415fdc5443ea"}},{"code_sha256_prefix":"ecf889acbcd26a3d","entry":"setup_distributed","repo":"kunzhan/infomatch","repo_kind":"official","path":"dist_helper.py","file_url":"https://github.com/kunzhan/infomatch/blob/HEAD/dist_helper.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ecf889acbcd26a3d"}},{"code_sha256_prefix":"314a6334cf0478a8","entry":"test","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"314a6334cf0478a8"}},{"code_sha256_prefix":"6b7b164a79c03fc5","entry":"train","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6b7b164a79c03fc5"}},{"code_sha256_prefix":"7cd18ec60dcbf044","entry":"warmup","repo":"kunzhan/InfoMatch","repo_kind":"official","path":"infoMatch_STL.py","file_url":"https://github.com/kunzhan/InfoMatch/blob/HEAD/infoMatch_STL.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7cd18ec60dcbf044"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}