{"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/spectral-representation-for-causal-estimation","title":"Spectral Representation for Causal Estimation with Hidden Confounders","arxiv_id":"2407.10448","date":"2024-07-15","proceeding":null,"authors":["Tongzheng Ren","Haotian Sun","Antoine Moulin","Arthur Gretton","Bo Dai"],"abstract":"We address the problem of causal effect estimation where hidden confounders are present, with a focus on two settings: instrumental variable regression with additional observed confounders, and proxy causal learning. Our approach uses a singular value decomposition of a conditional expectation operator, followed by a saddle-point optimization problem, which, in the context of IV regression, can be thought of as a neural net generalization of the seminal approach due to Darolles et al. [2011]. Saddle-point formulations have gathered considerable attention recently, as they can avoid double sampling bias and are amenable to modern function approximation methods. We provide experimental validation in various settings, and show that our approach outperforms existing methods on common benchmarks.","url_abs":"https://arxiv.org/abs/2407.10448v1","url_pdf":"https://arxiv.org/pdf/2407.10448v1.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":"spectral-representation-for-causal-estimation","repo_url":"https://github.com/haotiansun14/SpecIV","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"regression-1","task_name":"regression"}],"methods":[{"method_slug":"attention","method_name":"Attention"},{"method_slug":"focus","method_name":"Focus"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2407.10448","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.10448"}},"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/haotiansun14/SpecIV","reach":{"status":"ok"}}],"summary":{"ran":8,"unverified":1},"by_repo_kind":{"official":{"samples":9,"ran":8,"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":9,"samples":[{"code_sha256_prefix":"7b8a47dee20c7b85","entry":"EuDist2","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"utils/dist.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/utils/dist.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7b8a47dee20c7b85"}},{"code_sha256_prefix":"95341e799bbf0892","entry":"construct_kernel","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"utils/kernels.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/utils/kernels.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":"95341e799bbf0892"}},{"code_sha256_prefix":"2c0fdf3729b3cd17","entry":"f","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"dataset/demand_design_dataset.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/dataset/demand_design_dataset.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":"2c0fdf3729b3cd17"}},{"code_sha256_prefix":"3e5cde0b642340b0","entry":"get_median","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"utils/kernels.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/utils/kernels.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3e5cde0b642340b0"}},{"code_sha256_prefix":"f50dc351bfaffcf9","entry":"image_id","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"dataset/dsprites_dataset.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/dataset/dsprites_dataset.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":"f50dc351bfaffcf9"}},{"code_sha256_prefix":"64107b4d5277f82a","entry":"k_prod","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"utils/lin_alg.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/utils/lin_alg.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":"64107b4d5277f82a"}},{"code_sha256_prefix":"de92d7d3120fb7c7","entry":"psi","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"dataset/demand_design_dataset.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/dataset/demand_design_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"de92d7d3120fb7c7"}},{"code_sha256_prefix":"e6b138fd4dd5eba1","entry":"sample_matrix_generator","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"utils/sample_generator.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/utils/sample_generator.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":"e6b138fd4dd5eba1"}},{"code_sha256_prefix":"0143f51530f5fc5c","entry":"structural_func","repo":"haotiansun14/SpecIV","repo_kind":"official","path":"dataset/dsprites_dataset.py","file_url":"https://github.com/haotiansun14/SpecIV/blob/HEAD/dataset/dsprites_dataset.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":"0143f51530f5fc5c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}