Adaptive Quantization in Generative Flow Networks for Probabilistic Sequential Prediction

N. Hassen, Zhen Zhang, Johan Verjans
1/1/2025

No official code found. Best implementation: vincehass/Temporal-Generative-Flow-Networks-Temporal-GFNs- (0 stars, Python, MIT, last commit 2025-11-24).

Abstract

Probabilistic time series forecasting, essential in domains like healthcare and neuroscience, requires models capable of capturing uncertainty and intricate temporal dependencies. While deep learning has advanced forecasting, generating calibrated probability distributions over continuous future values remains challenging.

Show full abstract

We introduce Temporal Generative Flow Networks (Temporal GFNs), adapting Gener-ative Flow Networks (GFNs) – a powerful framework for generating compositional objects – to this sequential prediction task. GFNs learn policies to construct objects (eg. forecast trajectories) step-by-step, sampling final objects proportionally to a reward signal. However, applying GFNs directly to continuous time series necessitates addressing their inherently discrete action spaces and ensuring differen-tiability. Our framework tackles this by representing time series segments as states and sequentially generating future values via quantized actions chosen by a forward policy. We introduce two key innovations: (1) An adaptive, curriculum-based quantization strategy that dynamically adjusts the number of discretization bins based on reward improvement and policy entropy, balancing precision and exploration throughout training. (2) A straight-through estimator mechanism enabling the forward policy to output both discrete (hard) samples for trajectory construction and continuous (soft) samples for stable gradient propagation. Training utilizes a trajectory balance loss objective, ensuring flow consistency, augmented by an entropy regularizer. We provide rigorous theoretical bounds on the quantization error’s impact and the adaptive factor’s range. We demonstrate how Temporal GFNs offer a principled way to leverage the structured generation capabilities of GFNs for probabilistic forecasting in continuous domains.

DOISemantic Scholar

Code Implementations(1)

MIT

This repository contains the official implementation of Temporal Generative Flow Networks for probabilistic time series forecasting, as presented in "Adaptive Quantization in Generative Flow Networks for Probabilistic Sequential Prediction" (Hassen et al., 2025).

00PythonNov 24, 20251 years agoMIT

Similar Papers

Cite this paper

@article{hassen2025adaptive,
  title  = {Adaptive Quantization in Generative Flow Networks for Probabilistic Sequential Prediction},
  author = {N. Hassen and Zhen Zhang and Johan Verjans},
  year   = {2025},
  doi    = {10.52202/085713-5010},
  url    = {https://doi.org/10.52202/085713-5010},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/fe3f31745bbd83e10369e421dc800f205c55d44a.svg)](https://codeofpaper.com/paper/fe3f31745bbd83e10369e421dc800f205c55d44a)

Discussion