Skip to content

Fix linear GP posterior variance - #20

Merged
huangyz0918 merged 1 commit into
google-deepmind:mainfrom
AlKeshi:audit/linear-posterior-variance
Sep 28, 2026
Merged

huangyz0918 merged 1 commit into
google-deepmind:mainfrom
AlKeshi:audit/linear-posterior-variance

Conversation

@AlKeshi

@AlKeshi AlKeshi commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Hi @huangyz0918 can you check the following issue?

For the linear kernel, get_posterior_embedding uses 1 instead of ||phi(x)||虏 for the prior diagonal, so a valid zero feature can incorrectly gain variance from 0 to 1 after conditioning and alter SS selection.
This adds two production lines to use the correct diagonal and one regression test.

@huangyz0918

Copy link
Copy Markdown
Member

You are right @AlKeshi

Thank you for the PR!

@huangyz0918
huangyz0918 merged commit 2b8fbcf into google-deepmind:main Sep 28, 2026
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants