{"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/causal-forecasting-generalization-bounds-for","title":"Causal Forecasting:Generalization Bounds for Autoregressive Models","arxiv_id":"2111.09831","date":"2021-11-18","proceeding":null,"authors":["Leena Chennuru Vankadara","Philipp Michael Faller","Michaela Hardt","Lenon Minorics","Debarghya Ghoshdastidar","Dominik Janzing"],"abstract":"Despite the increasing relevance of forecasting methods, causal implications of these algorithms remain largely unexplored. This is concerning considering that, even under simplifying assumptions such as causal sufficiency, the statistical risk of a model can differ significantly from its \\textit{causal risk}. Here, we study the problem of \\textit{causal generalization} -- generalizing from the observational to interventional distributions -- in forecasting. Our goal is to find answers to the question: How does the efficacy of an autoregressive (VAR) model in predicting statistical associations compare with its ability to predict under interventions? To this end, we introduce the framework of \\textit{causal learning theory} for forecasting. Using this framework, we obtain a characterization of the difference between statistical and causal risks, which helps identify sources of divergence between them. Under causal sufficiency, the problem of causal generalization amounts to learning under covariate shifts, albeit with additional structure (restriction to interventional distributions under the VAR model). This structure allows us to obtain uniform convergence bounds on causal generalizability for the class of VAR models. To the best of our knowledge, this is the first work that provides theoretical guarantees for causal generalization in the time-series setting.","url_abs":"https://arxiv.org/abs/2111.09831v2","url_pdf":"https://arxiv.org/pdf/2111.09831v2.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":"causal-forecasting-generalization-bounds-for","repo_url":"https://github.com/amazon-research/causal-forecasting","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"learning-theory","task_name":"Learning Theory"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2111.09831","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2111.09831"}},"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/amazon-research/causal-forecasting","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":7},"by_repo_kind":{"official":{"samples":7,"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":"c71f1bbfe5434a59","entry":"colorbar","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"simulation_experiments/plot_corr_vs_err_misspec.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/simulation_experiments/plot_corr_vs_err_misspec.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c71f1bbfe5434a59"}},{"code_sha256_prefix":"713083d3c4c29b6b","entry":"colorbar","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"simulation_experiments/plot_utils.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/simulation_experiments/plot_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"713083d3c4c29b6b"}},{"code_sha256_prefix":"d3585453b3bbd2c8","entry":"estimate_condition_number","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"simulation_experiments/causal_generalization.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/simulation_experiments/causal_generalization.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d3585453b3bbd2c8"}},{"code_sha256_prefix":"dd99fdc51b88b7e1","entry":"estimate_condition_number_misspec","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"simulation_experiments/causal_generalization.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/simulation_experiments/causal_generalization.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd99fdc51b88b7e1"}},{"code_sha256_prefix":"a8e7354866cb21e1","entry":"estimate_rademacher","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"simulation_experiments/causal_generalization.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/simulation_experiments/causal_generalization.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a8e7354866cb21e1"}},{"code_sha256_prefix":"dd039bbc8eb4d151","entry":"eval_rmse","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"gluonts/code/eval_model_dataset.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/gluonts/code/eval_model_dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd039bbc8eb4d151"}},{"code_sha256_prefix":"c44020a2a986c0cb","entry":"generalization_bound","repo":"amazon-research/causal-forecasting","repo_kind":"official","path":"simulation_experiments/plot_utils.py","file_url":"https://github.com/amazon-research/causal-forecasting/blob/HEAD/simulation_experiments/plot_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c44020a2a986c0cb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}