Papers › FM-TS: Flow Matching for Time Series Generation

FM-TS: Flow Matching for Time Series Generation

12 Nov 2024arXiv:2411.07506archive 2025-07-28

Yang Hu, Xiao Wang, Lirong Wu, Huatian Zhang, Stan Z. Li, Sheng Wang, Tianlong Chen

Time series generation has emerged as an essential tool for analyzing temporal data across numerous fields. While diffusion models have recently gained significant attention in generating high-quality time series, they tend to be computationally demanding and reliant on complex stochastic processes. To address these limitations, we introduce FM-TS, a rectified Flow Matching-based framework for Time Series generation, which simplifies the time series generation process by directly optimizing continuous trajectories. This approach avoids the need for iterative sampling or complex noise schedules typically required in diffusion-based models. FM-TS is more efficient in terms of training and inference. Moreover, FM-TS is highly adaptive, supporting both conditional and unconditional time series generation. Notably, through our novel inference design, the model trained in an unconditional setting can seamlessly generalize to conditional tasks without the need for retraining. Extensive benchmarking across both settings demonstrates that FM-TS consistently delivers superior performance compared to existing approaches while being more efficient in terms of training and inference. For instance, in terms of discriminative score, FM-TS achieves 0.005, 0.019, 0.011, 0.005, 0.053, and 0.106 on the Sines, Stocks, ETTh, MuJoCo, Energy, and fMRI unconditional time series datasets, respectively, significantly outperforming the second-best method which achieves 0.006, 0.067, 0.061, 0.008, 0.122, and 0.167 on the same datasets. We have achieved superior performance in solar forecasting and MuJoCo imputation tasks, significantly enhanced by our innovative t power sampling method. The code is available at https://github.com/UNITES-Lab/FMTS.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.07506")

Code

Syntology Ran 9 of 20 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · violated contract; 2 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: official repository: 20 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

unites-lab/fmts officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 9 ran; 2 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · violated contract
2ran · our draft was wrong
2ran · fixture could not drive it
11unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from unites-lab/fmts. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

identity unites-lab/fmts/FMTS/Models/interpretable_diffusion/model_utils.py official repository ran · honoured contract no licence file found · pointer only · 7f1040f5e3991d5e · report
calculate_fid unites-lab/fmts/FMTS/Utils/context_fid.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 20a4af10369ee6be · report
default unites-lab/fmts/FMTS/Models/interpretable_diffusion/model_utils.py official repository ran · violated contract no licence file found · pointer only · d1ef6b8cb9a28a53 · report
exists unites-lab/fmts/FMTS/Models/interpretable_diffusion/model_utils.py official repository ran · violated contract no licence file found · pointer only · 608e364a9d2376a3 · report
pad_nan_to_target unites-lab/fmts/FMTS/Models/ts2vec/utils.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 5254eb44ce12370e · report
pkl_load unites-lab/fmts/FMTS/Models/ts2vec/utils.py official repository ran · our draft was wrong no licence file found · pointer only · 645d1fdb1dc0e80c · report
precompute_freqs_cis unites-lab/fmts/FMTS/Models/interpretable_diffusion/transformer.py official repository ran · violated contract no licence file found · pointer only · e93cc5b705c2eb3b · report
reshape_for_broadcast unites-lab/fmts/FMTS/Models/interpretable_diffusion/transformer.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 70bf6ebaafd266c4 · report
torch_pad_nan unites-lab/fmts/FMTS/Models/ts2vec/utils.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 79783deb10f33397 · report
apply_rotary_emb unites-lab/fmts/FMTS/Models/interpretable_diffusion/transformer.py official repository unverified no licence file found · pointer only · 6f50094115053323 · report
batch_generator unites-lab/fmts/FMTS/Utils/discriminative_metric.py official repository unverified no licence file found · pointer only · 16dc8797fafc754b · report
cacf_torch unites-lab/fmts/FMTS/Utils/cross_correlation.py official repository unverified no licence file found · pointer only · bef4cca3a23662a6 · report
compensate_masking unites-lab/fmts/FMTS/Utils/masking_utils.py official repository unverified no licence file found · pointer only · 0c1e47b7a9f0bc5c · report
costume_collate unites-lab/fmts/FMTS/Utils/masking_utils.py official repository unverified no licence file found · pointer only · 6e9a7cc7f3228021 · report
get_quantile unites-lab/fmts/FMTS/Utils/imputation_utils.py official repository unverified no licence file found · pointer only · b16217f58fce53e0 · report
load_dict_from_json unites-lab/fmts/FMTS/Utils/io_utils.py official repository unverified no licence file found · pointer only · 8b8ed7b7f7de3f69 · report
load_yaml_config unites-lab/fmts/FMTS/Utils/io_utils.py official repository unverified no licence file found · pointer only · ef8e0e1d280c05be · report
merge_opts_to_config unites-lab/fmts/FMTS/Utils/io_utils.py official repository unverified no licence file found · pointer only · 66531358d7cefe44 · report
padding_mask unites-lab/fmts/FMTS/Utils/masking_utils.py official repository unverified no licence file found · pointer only · fbf2cb45dcc978f2 · report
random_mask unites-lab/fmts/FMTS/Utils/imputation_utils.py official repository unverified no licence file found · pointer only · 495e06d1db831486 · report

Tasks

BenchmarkingImputationMuJoCoTime SeriesTime Series Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionDiffusionSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections