Skip to content

Address numerical stability in exact sampling of k DPPs for large matrices #80

@DhruvaKashyap

Description

@DhruvaKashyap

Problem

The current k-DPP sampling algorithm using GS is not numerically stable and frequently runs into division warnings when dealing with large matrices (~10kx10k) with large condition numbers (~10^6) and low stable rank (~10).

Solution

I believe this can be traced to the computation of the elementary symmetric polynomials and this check

I have implemented a numerically stable recursion by working in the log space of the elementary symmetric polynomials and changing the check mentioned above. This can also be moved to GPUs using torch instead of numpy

Would be happy to contribute to this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions