{"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-2606-05878","title":"TS-ICL: A Flexible Time-Indexed Foundation Model for Time Series via In-Context Learning","arxiv_id":"2606.05878","date":"2026-06-04","proceeding":null,"authors":["Etienne Le Naour","Tahar Nabil","Adrien Petralia"],"abstract":"Foundation models mark a profound paradigm shift in time series modeling, with task-specific models being superseded by general-purpose zero-shot models. Yet, current approaches primarily focus on forecasting, while real-world time series are often irregularly and partially observed, requiring models that can jointly forecast, impute missing values, and handle degraded sampling conditions. To address these challenges, we introduce TS-ICL, a novel probabilistic In-Context Learning encoder--regressor Transformer that unifies forecasting and imputation. TS-ICL formulates time series tasks as timestamp-aligned regression and naturally incorporates covariates by training on synthetic dependency structures generated from a novel causal data prior. Empirically, TS-ICL achieves a new state-of-the-art in imputation, while remaining competitive with leading forecasting foundation models across both univariate and covariate-aware benchmarks. It shows particularly strong performance in forecasting with partially observed look-back windows.","url_abs":"https://arxiv.org/abs/2606.05878","url_pdf":"https://arxiv.org/pdf/2606.05878","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=2606.05878","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.05878"}},"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/soda-inria/tabicl","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/EDF-Lab/ts-icl","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/PriorLabs/tabpfn-time-series","reach":null}],"summary":{"ran":6,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":13,"ran":6,"repositories":2}},"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":"dbad070fabb35fcb","entry":"CrossAttention","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"dbad070fabb35fcb"}},{"code_sha256_prefix":"2faeb7b5ed91d930","entry":"FeedForward","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"2faeb7b5ed91d930"}},{"code_sha256_prefix":"c329dec9dff6d8ad","entry":"MultiScaleAttention","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c329dec9dff6d8ad"}},{"code_sha256_prefix":"f84654221eb0299e","entry":"detrend","repo":"PriorLabs/tabpfn-time-series","repo_kind":"found_in_text","path":"tabpfn_time_series/features/auto_features.py","file_url":"https://github.com/PriorLabs/tabpfn-time-series/blob/HEAD/tabpfn_time_series/features/auto_features.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f84654221eb0299e"}},{"code_sha256_prefix":"c08ea076a64d1f31","entry":"require","repo":"PriorLabs/tabpfn-time-series","repo_kind":"found_in_text","path":"tabpfn_time_series/explainability/_deps.py","file_url":"https://github.com/PriorLabs/tabpfn-time-series/blob/HEAD/tabpfn_time_series/explainability/_deps.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c08ea076a64d1f31"}},{"code_sha256_prefix":"c03055d492b55ea0","entry":"split_time_series_to_X_y","repo":"PriorLabs/tabpfn-time-series","repo_kind":"found_in_text","path":"tabpfn_time_series/data_preparation.py","file_url":"https://github.com/PriorLabs/tabpfn-time-series/blob/HEAD/tabpfn_time_series/data_preparation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c03055d492b55ea0"}},{"code_sha256_prefix":"e34e43271e61d5bb","entry":"Attention","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e34e43271e61d5bb"}},{"code_sha256_prefix":"38d783a25e659938","entry":"ICLearning","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"38d783a25e659938"}},{"code_sha256_prefix":"3f9eae59c0dfebca","entry":"ICLearningCrossAttn","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3f9eae59c0dfebca"}},{"code_sha256_prefix":"7e1f8ae09bf3b2ad","entry":"PerceiverEncoder","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7e1f8ae09bf3b2ad"}},{"code_sha256_prefix":"d9600ac10b1ec343","entry":"TSICLNetwork","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d9600ac10b1ec343"}},{"code_sha256_prefix":"4b368c1d04d7bdef","entry":"UnivariatePerceiverEncoder","repo":"EDF-Lab/ts-icl","repo_kind":"found_in_text","path":"src/tsicl/model/network/ts_icl.py","file_url":"https://github.com/EDF-Lab/ts-icl/blob/HEAD/src/tsicl/model/network/ts_icl.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4b368c1d04d7bdef"}},{"code_sha256_prefix":"b2b264262630c004","entry":"resolve_default_ckpt","repo":"PriorLabs/tabpfn-time-series","repo_kind":"found_in_text","path":"tabpfn_time_series/defaults.py","file_url":"https://github.com/PriorLabs/tabpfn-time-series/blob/HEAD/tabpfn_time_series/defaults.py","link_basis":"first_harvest_node","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":"b2b264262630c004"}}]},"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":null}