{"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/propensity-scored-probabilistic-label-trees","title":"Propensity-scored Probabilistic Label Trees","arxiv_id":"2110.10803","date":"2021-10-20","proceeding":null,"authors":["Marek Wydmuch","Kalina Jasinska-Kobus","Rohit Babbar","Krzysztof Dembczyński"],"abstract":"Extreme multi-label classification (XMLC) refers to the task of tagging instances with small subsets of relevant labels coming from an extremely large set of all possible labels. Recently, XMLC has been widely applied to diverse web applications such as automatic content labeling, online advertising, or recommendation systems. In such environments, label distribution is often highly imbalanced, consisting mostly of very rare tail labels, and relevant labels can be missing. As a remedy to these problems, the propensity model has been introduced and applied within several XMLC algorithms. In this work, we focus on the problem of optimal predictions under this model for probabilistic label trees, a popular approach for XMLC problems. We introduce an inference procedure, based on the $A^*$-search algorithm, that efficiently finds the optimal solution, assuming that all probabilities and propensities are known. We demonstrate the attractiveness of this approach in a wide empirical study on popular XMLC benchmark datasets.","url_abs":"https://arxiv.org/abs/2110.10803v1","url_pdf":"https://arxiv.org/pdf/2110.10803v1.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":"propensity-scored-probabilistic-label-trees","repo_url":"https://github.com/mwydmuch/napkinXC","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"extreme-multi-label-classification","task_name":"Extreme Multi-Label Classification"},{"task_slug":"multi-label-classification-2","task_name":"MUlTI-LABEL-ClASSIFICATION"},{"task_slug":"multi-label-classification","task_name":"Multi-Label Classification"},{"task_slug":"recommendation-systems","task_name":"Recommendation Systems"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2110.10803","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.10803"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/mwydmuch/napkinXC","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":9},"by_repo_kind":{"official":{"samples":9,"ran":0,"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":"09c7a81e2a2042fb","entry":"abandonment_at_k","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"python/napkinxc/metrics.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/python/napkinxc/metrics.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":"09c7a81e2a2042fb"}},{"code_sha256_prefix":"9d6f20eb34ea62a2","entry":"load_json_lines_file","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"python/napkinxc/datasets.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/python/napkinxc/datasets.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":"9d6f20eb34ea62a2"}},{"code_sha256_prefix":"582e069bff7b4d2b","entry":"load_libsvm","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"experiments/remap_libsvm.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/experiments/remap_libsvm.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":"582e069bff7b4d2b"}},{"code_sha256_prefix":"d3be44a27979e1f5","entry":"load_libsvm_file","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"python/napkinxc/datasets.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/python/napkinxc/datasets.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":"d3be44a27979e1f5"}},{"code_sha256_prefix":"7788dfbda29d483e","entry":"load_pred_file","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"experiments/scripts_utils.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/experiments/scripts_utils.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":"7788dfbda29d483e"}},{"code_sha256_prefix":"09611ee39853bc0c","entry":"load_true_file","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"experiments/scripts_utils.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/experiments/scripts_utils.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":"09611ee39853bc0c"}},{"code_sha256_prefix":"e6c6a49960349d82","entry":"load_weights_file","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"experiments/scripts_utils.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/experiments/scripts_utils.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":"e6c6a49960349d82"}},{"code_sha256_prefix":"b1b53d35e01074c8","entry":"precision_at_k","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"python/napkinxc/metrics.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/python/napkinxc/metrics.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":"b1b53d35e01074c8"}},{"code_sha256_prefix":"8422a0907e5bc01a","entry":"recall_at_k","repo":"mwydmuch/napkinXC","repo_kind":"official","path":"python/napkinxc/metrics.py","file_url":"https://github.com/mwydmuch/napkinXC/blob/HEAD/python/napkinxc/metrics.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":"8422a0907e5bc01a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}