Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make online 1d regression forecasting example #32

Closed
murphyk opened this issue Mar 29, 2023 · 0 comments
Closed

make online 1d regression forecasting example #32

murphyk opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels

Comments

@murphyk
Copy link
Member

murphyk commented Mar 29, 2023

We should try to reproduce the example shown in the screenshot below (see video at https://cbmm.mit.edu/video/scaling-inference-mission starting at 7:16 minutes in), where the data stream in over time, left to right, and we visualize posterior predictive distributions (forecasts) over the future.

Vikash uses SMC over a probabilistic program (unpublished work), which is quite slow and complicated.
(See sampled programs on RHS of his screen.) By contrast, our approach uses deterministic VI-like methods over a parametric model (DNN), which is much faster and simpler. However, to get good results, we need richer priors (eg encoding periodicity), so we can emulate this PPL behavior with our methods. Thus we first need to solve #33 , which does batch (offline) HMC for a suitable time series BNN. Once we have the offline case working, we can move to the harder online case.

Screenshot 2023-03-28 at 5 25 22 PM

Screenshot 2023-03-28 at 5 33 33 PM

Here is an older paper related to this PPL approach.

F. A. Saad, M. F. Cusumano-Towner, U. Schaechtle, M. C. Rinard, and V. K. Mansinghka, “Bayesian synthesis of probabilistic programs for automatic data modeling,” Proc. ACM Program. Lang., vol. 3, no. POPL, pp. 1–32, Jan. 2019, doi: 10.1145/3290350. [Online]. Available: https://doi.org/10.1145/3290350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants