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

Add costs for RLWE operations performed in over a large key basis degree #1018

Open
j2kun opened this issue Oct 8, 2024 · 1 comment
Open
Labels
newcomer project Project ideas for new contributors

Comments

@j2kun
Copy link
Collaborator

j2kun commented Oct 8, 2024

Pre-filing issue for #1016

The optimization problem in that PR just minimizes the total number of relin ops (with a hard-bound on the maximum key basis size allowed in the program). We could relax this by having a cost per (operation, degree) tuple, and charging the solver for doing ops with a larger key basis. It's not clear how much this could improve efficiency/noise growth, but some papers (like Blatt-Gusev-Polyakov-Rohloff-Vaikuntanathan 2019 https://eprint.iacr.org/2019/223) mention that they might NEVER do relinearization.

It's also not clear to what extent various libraries we export to would support high-basis-degree ops.

But to implement this feature, we would mainly need a way to estimate costs of the ops, and the changes to the ILP would be relatively small.

Copy link

This issue has 2 outstanding TODOs:

This comment was autogenerated by todo-backlinks

@j2kun j2kun added the newcomer project Project ideas for new contributors label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
newcomer project Project ideas for new contributors
Projects
None yet
Development

No branches or pull requests

1 participant