Open noahgolmant opened 3 years ago
Hi @noahgolmant,
I would like to work on this issue. Do you have some starting points?
Thanks
Hello! Algorithm 1 from this paper has a mathematical description of the approach, and the authors then implemented it in the repo I linked above. I think the jax implementation is nice and clear. Most of the jax code should be one-to-one with PyTorch. The main steps would be:
HVPOperator
class with this to go straight from model/dataloader/loss to eigenvalue density.Would love to see this happen!
Implement Stochastic Lanczos Quadrature using scipy or a custom Lanczos implementation. Integrates the approach from this repo.