SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.00073 · 2023

Diffusion Variational Autoencoder for Tackling Stochasticity in Multi-Step Regression Stock Price Prediction

arXiv · PDF · Open in the Atlas

Code that ran

11 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2309.00073.json · badge: /api/ran/2309.00073.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
koa-fin/dva canonical (classifier label)
classifier basis: census
11 ran · 3 no recorded run
FunctionStatusWhere it lives
default Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/diffusion_process.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from Smith42/astroddpm, is pointer only (licence: AGPL-3.0) · get_code("b5c54401114d79c1")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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_arch_cells Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/utils.py
pointer only (licence: AGPL-3.0) · get_code("ab2297e25cf27ba8")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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_beta_schedule Ran
ran, honoured the contract we drafted
koa-fin/dva/model/diffusion_process.py
pointer only (licence: AGPL-3.0) · get_code("156c6ba7d6075f3b")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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_input_size Ran
ran, honoured the contract we drafted
koa-fin/dva/model/utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from NVlabs/NVAE, is pointer only (licence: NOASSERTION) · get_code("4ca5ffe947c454b7")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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_skip_connection Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/neural_operations.py
pointer only (licence: AGPL-3.0) · get_code("45b830116529bb03")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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_stride_for_cell_type Ran
ran, honoured the contract we drafted
koa-fin/dva/model/utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from NVlabs/NVAE, is pointer only (licence: NOASSERTION) · get_code("417c413f2e89d954")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

log_density_gaussian Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/encoder.py
pointer only (licence: AGPL-3.0) · get_code("de784879435cc93a")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

logit Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/neural_operations.py
pointer only (licence: AGPL-3.0) · get_code("d42ce56b29f68801")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

norm Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/neural_operations.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from NVlabs/VAEBM, is pointer only (licence: NOASSERTION) · get_code("e68ef3509ca0d2e9")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

sample_normal_jit Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/encoder.py
pointer only (licence: AGPL-3.0) · get_code("8591e611b706abfe")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

soft_clamp5 Ran
ran; our contract draft was wrong, not the code
koa-fin/dva/model/encoder.py
pointer only (licence: AGPL-3.0) · get_code("3c16c6b9b824b331")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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 Not yet run
unverified (harvested, no recorded run)
koa-fin/dva/model/diffusion_process.py
pointer only (licence: AGPL-3.0) · get_code("09c8479d9a5b3e06")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

time_features Not yet run
unverified (harvested, no recorded run)
koa-fin/dva/utils/timefeatures.py
pointer only (licence: AGPL-3.0) · get_code("d98f6c6564c7c4e1")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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.

time_features_from_frequency_str Not yet run
unverified (harvested, no recorded run)
koa-fin/dva/utils/timefeatures.py
pointer only (licence: AGPL-3.0) · get_code("f8544563682146e5")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, koa-fin/dva, is not in the permissive set Syntology serves inline. 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 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 3 later) and 7 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.

FunctionAlso present inEarliest-datedOthers named
extract 77 other papers
25 dated earlier, 52 later · 32 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
and 74 more not named here
time_features_from_frequency_str 19 other papers
5 dated earlier, 14 later
2203.05167 (2022-03)
TiSAT: Time Series Anomaly Transformer
2208.04933 (2022-08)
Simplified State Space Layers for Sequence Modeling
2305.10721 (2023-05)
Revisiting Long-term Time Series Forecasting: An Investigation on Linear Mapping
and 16 more not named here
default 4 other papers
1 dated earlier, 3 later
2111.01713 (2021-11)
Realistic galaxy image simulation via score-based generative models
2403.05751 (2024-03)
MG-TSD: Multi-Granularity Time Series Diffusion Models with Guided Learning Process
2403.07860 (2024-03)
Bridging Different Language Models and Generative Vision Models for Text-to-Image Generation
and 1 more not named here
get_stride_for_cell_type 2 other papers
2 dated earlier
2007.03898 (2020-07)
NVAE: A Deep Hierarchical Variational Autoencoder
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
norm 2 other papers
2 dated earlier
2010.00654 (2020-10)
VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
get_input_size 1 other paper
1 dated earlier
2007.03898 (2020-07)
NVAE: A Deep Hierarchical Variational Autoencoder
logit 1 other paper
1 dated earlier
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation

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-23.

Repositories linked to this paper

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

Abstract

Multi-step stock price prediction over a long-term horizon is crucial for forecasting its volatility, allowing financial institutions to price and hedge derivatives, and banks to quantify the risk in their trading books. Additionally, most financial regulators also require a liquidity horizon of several days for institutional investors to exit their risky assets, in order to not materially affect market prices. However, the task of multi-step stock price prediction is challenging, given the highly stochastic nature of stock data. Current solutions to tackle this problem are mostly designed for single-step, classification-based predictions, and are limited to low representation expressiveness. The problem also gets progressively harder with the introduction of the target price sequence, which also contains stochastic noise and reduces generalizability at test-time. To tackle these issues, we combine a deep hierarchical variational-autoencoder (VAE) and diffusion probabilistic techniques to do seq2seq stock prediction through a stochastic generative process. The hierarchical VAE allows us to learn the complex and low-level latent variables for stock prediction, while the diffusion probabilistic model trains the predictor to handle stock price stochasticity by progressively adding random noise to the stock data. Our Diffusion-VAE (D-Va) model is shown to outperform state-of-the-art solutions in terms of its prediction accuracy and variance. More importantly, the multi-step outputs can also allow us to form a stock portfolio over the prediction length. We demonstrate the effectiveness of our model outputs in the portfolio investment task through the Sharpe ratio metric and highlight the importance of dealing with different types of prediction uncertainties.

For agents

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

get_harvested_code_for_paper("2309.00073")
get_code_for_paper("2309.00073")
have("2309.00073")

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

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

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

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

Connect an agent — have() is free.