{"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/woods-benchmarks-for-out-of-distribution","title":"WOODS: Benchmarks for Out-of-Distribution Generalization in Time Series","arxiv_id":"2203.09978","date":"2022-03-18","proceeding":null,"authors":["Jean-Christophe Gagnon-Audet","Kartik Ahuja","Mohammad-Javad Darvishi-Bayazi","Pooneh Mousavi","Guillaume Dumas","Irina Rish"],"abstract":"Machine learning models often fail to generalize well under distributional shifts. Understanding and overcoming these failures have led to a research field of Out-of-Distribution (OOD) generalization. Despite being extensively studied for static computer vision tasks, OOD generalization has been underexplored for time series tasks. To shine light on this gap, we present WOODS: eight challenging open-source time series benchmarks covering a diverse range of data modalities, such as videos, brain recordings, and sensor signals. We revise the existing OOD generalization algorithms for time series tasks and evaluate them using our systematic framework. Our experiments show a large room for improvement for empirical risk minimization and OOD generalization algorithms on our datasets, thus underscoring the new challenges posed by time series tasks. Code and documentation are available at https://woods-benchmarks.github.io .","url_abs":"https://arxiv.org/abs/2203.09978v2","url_pdf":"https://arxiv.org/pdf/2203.09978v2.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":"woods-benchmarks-for-out-of-distribution","repo_url":"https://github.com/jc-audet/WOODS","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"out-of-distribution-generalization","task_name":"Out-of-Distribution Generalization"},{"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":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2203.09978","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.09978"}},"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/jc-audet/WOODS","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":12},"by_repo_kind":{"official":{"samples":12,"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":"325aa272b85a2105","entry":"Basic_Fourier_train","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/hyperparams.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/hyperparams.py","link_basis":"harvester_set","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":"325aa272b85a2105"}},{"code_sha256_prefix":"5015b824b32910fd","entry":"Spurious_Fourier_train","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/hyperparams.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/hyperparams.py","link_basis":"harvester_set","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":"5015b824b32910fd"}},{"code_sha256_prefix":"12ba2c9be21250e6","entry":"ensure_dict_path","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/model_selection.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/model_selection.py","link_basis":"harvester_set","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":"12ba2c9be21250e6"}},{"code_sha256_prefix":"56fccc8ce3053ac3","entry":"get_cmap","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/utils.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/utils.py","link_basis":"harvester_set","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":"56fccc8ce3053ac3"}},{"code_sha256_prefix":"0262642a53a13ae1","entry":"get_dataset_class","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/datasets.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/datasets.py","link_basis":"harvester_set","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":"0262642a53a13ae1"}},{"code_sha256_prefix":"971d1c3dbbfc2625","entry":"get_job_name","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/utils.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/utils.py","link_basis":"harvester_set","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":"971d1c3dbbfc2625"}},{"code_sha256_prefix":"d0d34f68c28a22fc","entry":"get_model","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/models.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/models.py","link_basis":"harvester_set","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":"d0d34f68c28a22fc"}},{"code_sha256_prefix":"fbcad5164b26574f","entry":"get_model_selection","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/model_selection.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/model_selection.py","link_basis":"harvester_set","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":"fbcad5164b26574f"}},{"code_sha256_prefix":"d5a7b63af6e50945","entry":"get_objective_class","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/objectives.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/objectives.py","link_basis":"harvester_set","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":"d5a7b63af6e50945"}},{"code_sha256_prefix":"2f8419b0d022452f","entry":"get_sweep_envs","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/datasets.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/datasets.py","link_basis":"harvester_set","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":"2f8419b0d022452f"}},{"code_sha256_prefix":"5c86f03046167b12","entry":"get_training_hparams","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/hyperparams.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/hyperparams.py","link_basis":"harvester_set","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":"5c86f03046167b12"}},{"code_sha256_prefix":"66e38b7ee639ef34","entry":"num_environments","repo":"jc-audet/WOODS","repo_kind":"official","path":"woods/datasets.py","file_url":"https://github.com/jc-audet/WOODS/blob/HEAD/woods/datasets.py","link_basis":"harvester_set","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":"66e38b7ee639ef34"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}