{"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/inverse-weighted-survival-games","title":"Inverse-Weighted Survival Games","arxiv_id":"2111.08175","date":"2021-11-16","proceeding":"NeurIPS 2021 12","authors":["Xintian Han","Mark Goldstein","Aahlad Puli","Thomas Wies","Adler J Perotte","Rajesh Ranganath"],"abstract":"Deep models trained through maximum likelihood have achieved state-of-the-art results for survival analysis. Despite this training scheme, practitioners evaluate models under other criteria, such as binary classification losses at a chosen set of time horizons, e.g. Brier score (BS) and Bernoulli log likelihood (BLL). Models trained with maximum likelihood may have poor BS or BLL since maximum likelihood does not directly optimize these criteria. Directly optimizing criteria like BS requires inverse-weighting by the censoring distribution. However, estimating the censoring model under these metrics requires inverse-weighting by the failure distribution. The objective for each model requires the other, but neither are known. To resolve this dilemma, we introduce Inverse-Weighted Survival Games. In these games, objectives for each model are built from re-weighted estimates featuring the other model, where the latter is held fixed during training. When the loss is proper, we show that the games always have the true failure and censoring distributions as a stationary point. This means models in the game do not leave the correct distributions once reached. We construct one case where this stationary point is unique. We show that these games optimize BS on simulations and then apply these principles on real world cancer and critically-ill patient data.","url_abs":"https://arxiv.org/abs/2111.08175v2","url_pdf":"https://arxiv.org/pdf/2111.08175v2.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":"inverse-weighted-survival-games","repo_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"binary-classification","task_name":"Binary Classification"},{"task_slug":"survival-analysis","task_name":"Survival Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2111.08175","atlas_url":"https://app.syntology.ai/?focus=2111.08175","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2111.08175"}},"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/rajesh-lab/inverse-weighted-survival-games","reach":null}],"summary":{"ran_fixture":2,"ran_violates":1,"ran":2,"ran_honours":1,"ran_draft_wrong":3,"unverified":1},"by_repo_kind":{"official":{"samples":10,"ran":9,"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":"039beafb5677f7b7","entry":"POOL","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"models.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"039beafb5677f7b7"}},{"code_sha256_prefix":"66bf2ed03384e1e9","entry":"POOL1d","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"models.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":2,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"66bf2ed03384e1e9"}},{"code_sha256_prefix":"1a3a98b596782658","entry":"CatDist","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.py","link_basis":"first_harvest_node","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":"1a3a98b596782658"}},{"code_sha256_prefix":"dec8f6c8e34fdba3","entry":"Meter","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dec8f6c8e34fdba3"}},{"code_sha256_prefix":"4783f20743bb9879","entry":"RELU","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"models.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4783f20743bb9879"}},{"code_sha256_prefix":"58fe8e99cd3e7982","entry":"X_to_dist","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"58fe8e99cd3e7982"}},{"code_sha256_prefix":"8a9ebc7bfedb61ac","entry":"isnan","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a9ebc7bfedb61ac"}},{"code_sha256_prefix":"e1988d777c4ecbd3","entry":"nll_batch","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e1988d777c4ecbd3"}},{"code_sha256_prefix":"81be6fa4b449a9c3","entry":"safe_log","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"81be6fa4b449a9c3"}},{"code_sha256_prefix":"b03fa74736ee412a","entry":"nll","repo":"rajesh-lab/inverse-weighted-survival-games","repo_kind":"official","path":"_nll.py","file_url":"https://github.com/rajesh-lab/inverse-weighted-survival-games/blob/HEAD/_nll.py","link_basis":"first_harvest_node","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":"b03fa74736ee412a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}