Skip to content

Ensure root decomposition exists before add_low_rank in WISKI#2732

Merged
Balandat merged 1 commit intocornellius-gp:mainfrom
SebastianAment:add_low_rank_root_computation
Mar 3, 2026
Merged

Ensure root decomposition exists before add_low_rank in WISKI#2732
Balandat merged 1 commit intocornellius-gp:mainfrom
SebastianAment:add_low_rank_root_computation

Conversation

@SebastianAment
Copy link
Copy Markdown
Contributor

Add explicit root_decomposition(method='cholesky') call before add_low_rank in the WISKI prediction strategy. This ensures roots exist for efficient Woodbury updates, since add_low_rank now only updates roots when cached roots already exist (see corresponding linear_operator fix).

This computes the root once (O(n³)), then subsequent fantasy updates use O(nk²) rank updates via the Woodbury formula. This might not be necessary to maintain the same asymptotic scaling, but I am adding this to maintain the same eager behavior as before cornellius-gp/linear_operator#126.

Add explicit root_decomposition(method='cholesky') call before add_low_rank
in the WISKI prediction strategy. This ensures roots exist for efficient
Woodbury updates, since add_low_rank now only updates roots when cached
roots already exist (see corresponding linear_operator fix).

This computes the root once (O(n³)), then subsequent fantasy updates
use O(nk²) rank updates via the Woodbury formula.
@Balandat Balandat merged commit c615d55 into cornellius-gp:main Mar 3, 2026
7 checks passed
@SebastianAment SebastianAment deleted the add_low_rank_root_computation branch March 3, 2026 17:38
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.

3 participants