Papers › Vector Quantized Time Series Generation with a Bidirectional Prior Model

Vector Quantized Time Series Generation with a Bidirectional Prior Model

8 Mar 2023arXiv:2303.04743archive 2025-07-28

Daesoo Lee, Sara Malacarne, Erlend Aune

Time series generation (TSG) studies have mainly focused on the use of Generative Adversarial Networks (GANs) combined with recurrent neural network (RNN) variants. However, the fundamental limitations and challenges of training GANs still remain. In addition, the RNN-family typically has difficulties with temporal consistency between distant timesteps. Motivated by the successes in the image generation (IMG) domain, we propose TimeVQVAE, the first work, to our knowledge, that uses vector quantization (VQ) techniques to address the TSG problem. Moreover, the priors of the discrete latent spaces are learned with bidirectional transformer models that can better capture global temporal consistency. We also propose VQ modeling in a time-frequency domain, separated into low-frequency (LF) and high-frequency (HF). This allows us to retain important characteristics of the time series and, in turn, generate new synthetic signals that are of better quality, with sharper changes in modularity, than its competing TSG methods. Our experimental evaluation is conducted on all datasets from the UCR archive, using well-established metrics in the IMG literature, such as Fr\'echet inception distance and inception scores. Our implementation on GitHub: \url{https://github.com/ML4ITS/TimeVQVAE}.

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="2303.04743")

Code

Syntology Ran 3 of 16 code samples harvested from 2 repositories linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · violated contract; 1 ran · our draft was wrong.

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

danelee2601/supervised-fcn officialmentioned in papermentioned on GitHubpytorchMIT report
ml4its/timevqvae officialmentioned in papermentioned on GitHubpytorchMIT 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

16 samples harvested; 3 ran; 0 honoured the contract we drafted; 13 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 · violated contract
1ran · our draft was wrong
13unverified

Licence: 0 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

default ml4its/timevqvae/src/timevqvae/vector_quantization/vq.py official repository ran · violated contract fingerprinted MIT (permissive) · 60fff7c3c400d7ff · report
exists ml4its/timevqvae/src/timevqvae/models/bidirectional_transformer.py official repository ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
l2norm ml4its/timevqvae/src/timevqvae/vector_quantization/vq.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · eca6cdf05972a95e · report
FeedForward ml4its/timevqvae/src/timevqvae/models/bidirectional_transformer.py official repository unverified MIT (permissive) · 38b01d4443dbe5d7 · report
calculate_fid danelee2601/supervised-fcn/supervised_FCN/example_compute_FID.py official repository unverified MIT (permissive) · 2ddb5d4fd13cf25d · report
calculate_inception_score danelee2601/supervised-fcn/supervised_FCN/example_compute_IS.py official repository unverified MIT (permissive) · 01a41e038c0e0ec8 · report
calculate_padding ml4its/timevqvae/src/timevqvae/models/bidirectional_transformer.py official repository unverified MIT (permissive) · 4125059c0fec4bb8 · report
compute_avg_outs danelee2601/supervised-fcn/supervised_FCN/experiments/exp_base.py official repository unverified MIT (permissive) · b720260f0238b6b5 · report
conv1d_same_padding danelee2601/supervised-fcn/supervised_FCN/models/fcn.py official repository unverified MIT (permissive) · e1a3c4d15be8ec0d · report
extract_data danelee2601/supervised-fcn/supervised_FCN/preprocessing/preprocess_uea.py official repository unverified MIT (permissive) · 7509c254e5b132f7 · report
get_log_items_epoch danelee2601/supervised-fcn/supervised_FCN/experiments/exp_base.py official repository unverified MIT (permissive) · b8603cb8e3f0fe35 · report
get_log_items_global_step danelee2601/supervised-fcn/supervised_FCN/experiments/exp_base.py official repository unverified MIT (permissive) · 4dc7e9755b9f67ef · report
quantize ml4its/timevqvae/src/timevqvae/utils/nn.py official repository unverified MIT (permissive) · e323b33b21b740e9 · report
time_to_timefreq ml4its/timevqvae/src/timevqvae/utils/signal.py official repository unverified MIT (permissive) · cf92fded0890d4f3 · report
timefreq_to_time ml4its/timevqvae/src/timevqvae/utils/signal.py official repository unverified MIT (permissive) · 31a6463bd53acfb2 · report
zero_pad_high_freq ml4its/timevqvae/src/timevqvae/utils/signal.py official repository unverified MIT (permissive) · be9de64905dae286 · report

Tasks

Image GenerationQuantizationTime SeriesTime Series AnalysisTime Series Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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