{"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/arxiv-2602-21036","title":"Empirically Calibrated Conditional Independence Tests","arxiv_id":"2602.21036","date":"2026-02-24","proceeding":null,"authors":["Milleno Pan","Antoine de Mathelin","Wesley Tansey"],"abstract":"Conditional independence tests (CIT) are widely used for causal discovery and feature selection. Even with false discovery rate (FDR) control procedures, they often fail to provide frequentist guarantees in practice. We highlight two common failure modes: (i) in small samples, asymptotic guarantees for many CITs can be inaccurate and even correctly specified models fail to estimate the noise levels and control the error, and (ii) when sample sizes are large but models are misspecified, unaccounted dependencies skew the test's behavior and fail to return uniform p-values under the null. We propose Empirically Calibrated Conditional Independence Tests (ECCIT), a method that measures and corrects for miscalibration. For a chosen base CIT (e.g., GCM, HRT), ECCIT optimizes an adversary that selects features and response functions to maximize a miscalibration metric. ECCIT then fits a monotone calibration map that adjusts the base-test p-values in proportion to the observed miscalibration. Across empirical benchmarks on synthetic and real data, ECCIT achieves valid FDR with higher power than existing calibration strategies while remaining test agnostic.","url_abs":"https://arxiv.org/abs/2602.21036","url_pdf":"https://arxiv.org/pdf/2602.21036","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2602.21036","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.21036"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/tansey-lab/ECCIT","reach":null}],"summary":{"ran":6,"ran_draft_wrong":9,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":19,"ran":15,"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":"2d3f9dce8a311d6c","entry":"MLPClassifier","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"2d3f9dce8a311d6c"}},{"code_sha256_prefix":"cb8b924476bad679","entry":"MLPRegressor","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"cb8b924476bad679"}},{"code_sha256_prefix":"adb2e2997b34ed04","entry":"_LinearConditional","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"adb2e2997b34ed04"}},{"code_sha256_prefix":"5ea019d0708cd34c","entry":"_Poly2Conditional","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"5ea019d0708cd34c"}},{"code_sha256_prefix":"1de3ce7992d9cfbc","entry":"_RandomForestConditional","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"1de3ce7992d9cfbc"}},{"code_sha256_prefix":"db5a0aab1ff1889f","entry":"_RidgeConditional","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"db5a0aab1ff1889f"}},{"code_sha256_prefix":"0fbf450c2c22409d","entry":"_empirical_gaussian_pval","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0fbf450c2c22409d"}},{"code_sha256_prefix":"a2791b69bc1988d0","entry":"_feature_context","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"a2791b69bc1988d0"}},{"code_sha256_prefix":"cca944d240d6051d","entry":"_poly2_features","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"cca944d240d6051d"}},{"code_sha256_prefix":"c954a83779094458","entry":"ensure_float","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"c954a83779094458"}},{"code_sha256_prefix":"abade57c9e2467eb","entry":"ensure_tensor","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"abade57c9e2467eb"}},{"code_sha256_prefix":"d2021e0c42b5eeff","entry":"fit_regression_predictor","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"d2021e0c42b5eeff"}},{"code_sha256_prefix":"fc7a66c3b8d88ccb","entry":"normal_cdf","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fc7a66c3b8d88ccb"}},{"code_sha256_prefix":"61347ebe270c2f41","entry":"train_mlp_classifier","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61347ebe270c2f41"}},{"code_sha256_prefix":"20dee0fb4c102d77","entry":"train_mlp_regressor","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20dee0fb4c102d77"}},{"code_sha256_prefix":"2613c45c6316ec75","entry":"_prepare_conditionals","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"2613c45c6316ec75"}},{"code_sha256_prefix":"d56672dc4b9a68cc","entry":"fit_classifier_predictor","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"d56672dc4b9a68cc"}},{"code_sha256_prefix":"d2d34c5f1696c265","entry":"hrt_pvals","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"d2d34c5f1696c265"}},{"code_sha256_prefix":"10f04214b1788e67","entry":"hrt_pvals_binary","repo":"tansey-lab/ECCIT","repo_kind":"found_in_text","path":"eccit/cits/hrt.py","file_url":"https://github.com/tansey-lab/ECCIT/blob/HEAD/eccit/cits/hrt.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":"10f04214b1788e67"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}