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

Pathwise sampling #7

Open
rossviljoen opened this issue Jul 6, 2021 · 4 comments
Open

Pathwise sampling #7

rossviljoen opened this issue Jul 6, 2021 · 4 comments

Comments

@rossviljoen
Copy link
Collaborator

It would be nice to eventually add pathwise posterior sampling from [1].

Essentially, reimplement https://github.com/aterenin/SparseGaussianProcesses.jl but using AbstractGPs etc.

[1] Wilson, James, et al. "Efficiently sampling functions from Gaussian process posteriors." International Conference on Machine Learning. PMLR, 2020. https://arxiv.org/abs/2002.09309

@willtebbutt
Copy link
Member

willtebbutt commented Jul 6, 2021

Yeah. I spoke with Alex the other day. We could rope him in to this at some point if that would be helpful.

@theogf
Copy link
Member

theogf commented Jul 6, 2021

I already implemented it in another project, I could also help

@rossviljoen
Copy link
Collaborator Author

rossviljoen commented Aug 18, 2021

I've implemented a basic version of this here.

There are essentially two parts to pathwise sampling:

  1. An approximate sample from the prior GP (usually by using random fourier features)
  2. A posterior update using the posterior approximation (i.e. SVGP)

Since random fourier features (RFF) is a general method for approximating stationary kernels, it seems like it would make sense to put that in a separate package (possibly in KernelFunctions itself?) and just include 2. here. I will initially just make a PR to move it all into this repo for now though.

@theogf
Copy link
Member

theogf commented Aug 18, 2021

This sounds great, for the RFF, I would not like to clutter KernelFunctions even more. Maybe we could have an additional package which deals strictly with the whole Fourier representation of kernels.

@rossviljoen rossviljoen mentioned this issue Oct 11, 2021
3 tasks
@rossviljoen rossviljoen self-assigned this Oct 14, 2021
@rossviljoen rossviljoen linked a pull request Oct 14, 2021 that will close this issue
3 tasks
@rossviljoen rossviljoen removed their assignment Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants