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

Handling previous states with GPU-RBPF #15

Open
THargreaves opened this issue Oct 23, 2024 · 0 comments
Open

Handling previous states with GPU-RBPF #15

THargreaves opened this issue Oct 23, 2024 · 0 comments

Comments

@THargreaves
Copy link
Collaborator

Depending on which textbook you follow, there are various definitions of Rao-Blackwellised dynamics. Some have the inner transition model conditioned on x_{t-1}, some x{t}. Some have inner observation model conditioned on x_{t-1}, some x{t}.

My initial thought was to include both of these cases by passing prev_outer, new_outer into the inner filter. The trouble is, since we update the outer state first, this requires extra storage to remember the previous outer state.

We still need to decide how much we want to care about allocations but if we do decide we want to be sparing, we would need to change how we do this.

@charlesknipp had a great suggestion that we only pass in the new_outer state and in the rare cases the user wants to use x_{t-1} they can create an augmented state containing both (x_{t-1}, x_t). In fact, the only case I can see someone wanting to do this is for our unit test comparing to the Kalman filter.

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

No branches or pull requests

1 participant