SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.03164 · ICML · 2026

MemCast: Memory-Driven Time Series Forecasting with Experience-Conditioned Reasoning

Qi Liu, Shijin Wang, Mingyue Cheng, Shuo Yu, Xiaoyu Tao, Ze Guo, Yaguo Liu

arXiv · PDF · Open in the Atlas

Code that ran

20 of 23 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 16 failures of our instrument; 3 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.03164.json · badge: /api/ran/2602.03164.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Xiaoyu-Tao/MemCast-TS community
Papers with Code archive
20 ran · 3 no recorded run
FunctionStatusWhere it lives
_build_distilled_block Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("c81bfc5bc848e04d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_build_llm_selection_prompt Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("efece2d88defb2ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_build_reflection_block Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("0d06e77beb8ba608")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_extract_distilled_blocks Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("b2c85adcfcbdf4a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_extract_feature_stats Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("13350204d1cfe968")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_format_feature_stats Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("022e6b03bdbecbb5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_format_trajectory_values Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("4936240fe6c8a128")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_increase_entry_confidence Ran
ran, honoured the contract we drafted
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("32af86333bdf4ffe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_load_summary Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("49784e90d8498409")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_parse_best_index Ran
ran, honoured the contract we drafted
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("b9ea00559a62240c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_quick_quality_check Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("935d2ecd0679d5d3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_summary_dir_for Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("3a87a4c3b4c2249b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_summary_path Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("295a450c7b5f2730")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_dtw Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("905058a59b08f39e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

construct_few_shot_prompt Ran
ran; our contract draft was wrong, not the code
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("6960468a3ae51111")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_time_series_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("701ecdb36bc83c1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_results Ran
ran, honoured the contract we drafted
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("0df49cdedfd78b55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gpt4_api_output Ran
ran on a synthesized input · constructed an object; no result was computed
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("ec1392ddd401e6f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

retrieve_similar_examples Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("b7d98a5d484453d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

retrieve_similar_examples_dtw Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("83277838495afbcd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

EPF_main_few_shot_reasoning Not yet run
unverified (harvested, no recorded run)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("b49b29b66983e7fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

_run_with_reflection Not yet run
unverified (harvested, no recorded run)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("3e814b8d791a1fcd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

select_best_trajectory_with_llm Not yet run
unverified (harvested, no recorded run)
Xiaoyu-Tao/MemCast-TS/main/EPF/EPF_main_few_shot_reasoning.py
pointer only (licence: NONE) · get_code("11659d224ebf60b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Xiaoyu-Tao/MemCast-TS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 23 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Time series forecasting (TSF) plays a critical role in decision-making for many real-world applications. Recently, large language model (LLM)based forecasters have made promising advancements. Despite their effectiveness, existing methods often lack explicit experience accumulation and continual evolution. In this work, we propose MemCast, a learning-to-memory framework that reformulates TSF as an experience-conditioned reasoning task. Specifically, we learn experience from the training set and organize it into a hierarchical memory. This is achieved by summarizing prediction results into historical patterns, distilling inference trajectories into reasoning wisdom, and inducing extracted temporal features into general laws. Furthermore, during inference, we leverage historical patterns to guide the reasoning process and utilize reasoning wisdom to select better trajectories, while general laws serve as criteria for reflective iteration. Additionally, to enable continual evolution, we design a dynamic confidence adaptation strategy that updates the confidence of individual entries without leaking the test set distribution. Extensive experiments on multiple datasets demonstrate that MemCast consistently outperforms previous methods, validating the effectiveness of our approach. Our code is available at https://github.com/Xiaoyu-Tao/MemCast-TS.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2602.03164")
get_code_for_paper("2602.03164")
have("2602.03164")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2602.03164.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2602.03164.svg)](https://syntology.ai/paper/2602.03164)

Connect an agent — have() is free.