{"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/learning-counterfactual-representations-for","title":"Learning Counterfactual Representations for Estimating Individual Dose-Response Curves","arxiv_id":"1902.00981","date":"2019-02-03","proceeding":null,"authors":["Patrick Schwab","Lorenz Linhardt","Stefan Bauer","Joachim M. Buhmann","Walter Karlen"],"abstract":"Estimating what would be an individual's potential response to varying levels of exposure to a treatment is of high practical relevance for several important fields, such as healthcare, economics and public policy. However, existing methods for learning to estimate counterfactual outcomes from observational data are either focused on estimating average dose-response curves, or limited to settings with only two treatments that do not have an associated dosage parameter. Here, we present a novel machine-learning approach towards learning counterfactual representations for estimating individual dose-response curves for any number of treatments with continuous dosage parameters with neural networks. Building on the established potential outcomes framework, we introduce performance metrics, model selection criteria, model architectures, and open benchmarks for estimating individual dose-response curves. Our experiments show that the methods developed in this work set a new state-of-the-art in estimating individual dose-response.","url_abs":"https://arxiv.org/abs/1902.00981v3","url_pdf":"https://arxiv.org/pdf/1902.00981v3.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":"learning-counterfactual-representations-for","repo_url":"https://github.com/d909b/drnet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"model-selection","task_name":"Model Selection"},{"task_slug":null,"task_name":"counterfactual"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1902.00981","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1902.00981"}},"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/d909b/drnet","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"unverified":8},"by_repo_kind":{"official":{"samples":9,"ran":1,"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":"c27e5c071e798245","entry":"sigmoid","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/util.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/util.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c27e5c071e798245"}},{"code_sha256_prefix":"0962f50efe80859a","entry":"clip_percentage","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/parameters.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/parameters.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":"0962f50efe80859a"}},{"code_sha256_prefix":"f9548d91939701a3","entry":"get_dataset_params","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/run_all_experiments.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/run_all_experiments.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":"f9548d91939701a3"}},{"code_sha256_prefix":"d111cdd9158500f9","entry":"model_is_pbm_variant","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/run_all_experiments.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/run_all_experiments.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":"d111cdd9158500f9"}},{"code_sha256_prefix":"37b5be9829d978ce","entry":"stable_softmax","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/util.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/util.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":"37b5be9829d978ce"}},{"code_sha256_prefix":"8d839b0d284d8c2e","entry":"time_function","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/util.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/util.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":"8d839b0d284d8c2e"}},{"code_sha256_prefix":"9b7f641b73268e7a","entry":"timestamp_from_string","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/load_db_icu.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/load_db_icu.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":"9b7f641b73268e7a"}},{"code_sha256_prefix":"de73756ca3077a0d","entry":"timestamp_string_to_datetime","repo":"d909b/drnet","repo_kind":"official","path":"drnet/apps/load_db_icu.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/apps/load_db_icu.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":"de73756ca3077a0d"}},{"code_sha256_prefix":"cba92ed0ebda53a6","entry":"wrap_generator_with_constant_y","repo":"d909b/drnet","repo_kind":"official","path":"drnet/data_access/generator.py","file_url":"https://github.com/d909b/drnet/blob/HEAD/drnet/data_access/generator.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":"cba92ed0ebda53a6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}