{"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/deeptime-deep-time-index-meta-learning-for","title":"Learning Deep Time-index Models for Time Series Forecasting","arxiv_id":"2207.06046","date":"2022-07-13","proceeding":null,"authors":["Gerald Woo","Chenghao Liu","Doyen Sahoo","Akshat Kumar","Steven Hoi"],"abstract":"Deep learning has been actively applied to time series forecasting, leading to a deluge of new methods, belonging to the class of historical-value models. Yet, despite the attractive properties of time-index models, such as being able to model the continuous nature of underlying time series dynamics, little attention has been given to them. Indeed, while naive deep time-index models are far more expressive than the manually predefined function representations of classical time-index models, they are inadequate for forecasting, being unable to generalize to unseen time steps due to the lack of inductive bias. In this paper, we propose DeepTime, a meta-optimization framework to learn deep time-index models which overcome these limitations, yielding an efficient and accurate forecasting model. Extensive experiments on real world datasets in the long sequence time-series forecasting setting demonstrate that our approach achieves competitive results with state-of-the-art methods, and is highly efficient. Code is available at https://github.com/salesforce/DeepTime.","url_abs":"https://arxiv.org/abs/2207.06046v4","url_pdf":"https://arxiv.org/pdf/2207.06046v4.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":"deeptime-deep-time-index-meta-learning-for","repo_url":"https://github.com/salesforce/deeptime","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"inductive-bias","task_name":"Inductive Bias"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"},{"task_slug":"time-series-forecasting","task_name":"Time Series Forecasting"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2207.06046","atlas_url":"https://app.syntology.ai/?focus=2207.06046","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.06046"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/salesforce/deeptime","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":8},"by_repo_kind":{"official":{"samples":8,"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":0,"samples":[{"code_sha256_prefix":"a3315dd0fefab1ec","entry":"corr","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a3315dd0fefab1ec"}},{"code_sha256_prefix":"2db99be58ca3fa31","entry":"divide_no_nan","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/ops.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/ops.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"2db99be58ca3fa31"}},{"code_sha256_prefix":"3216b1c702b2238d","entry":"get_loss_fn","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/losses.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"3216b1c702b2238d"}},{"code_sha256_prefix":"3fd1c0b8a1a203b2","entry":"get_time_features","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/time_features.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/time_features.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"3fd1c0b8a1a203b2"}},{"code_sha256_prefix":"f5e904e06587dc6a","entry":"mae","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f5e904e06587dc6a"}},{"code_sha256_prefix":"d0a0b21fe6caae0c","entry":"rse","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"d0a0b21fe6caae0c"}},{"code_sha256_prefix":"6ee28ff0a220c327","entry":"scale","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/ops.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/ops.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6ee28ff0a220c327"}},{"code_sha256_prefix":"cc220c003d562d28","entry":"to_tensor","repo":"salesforce/deeptime","repo_kind":"official","path":"utils/ops.py","file_url":"https://github.com/salesforce/deeptime/blob/HEAD/utils/ops.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cc220c003d562d28"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}