-
Notifications
You must be signed in to change notification settings - Fork 40
[WIP] experiment devirgo-style sumcheck + FRI fold #653
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
Conversation
|
Hi @chaosma @yczhangsjtu FYI, please refer changes on file "mpcs/src/basefold/commit_phase.rs", other are just noise and can be ignored. For benchmarn, before/after this change, e2e remain the same 😂
But the good thing is we can share sumcheck implementation between main proof/mpcs, so we can reduce technical burden and avoid duplicate implementation Hope this PR can help on WHIR implementation, if you need any input or review on WHIR, I will be happy to learn that and review your implementation |
|
Closed in favour of #891 |
Follow up on #843 Clean up basefold sumcheck and unified devirgo sumcheck with ceno. Previously in #653 before/after change is insignificant, but after bunch of refactor and optimised other critical path, now the benchmark shows promising result. ### Change highlights - [x] switch to ceno sumcheck and break down basefold sumcheck into 2 phases > we can't directly use ceno sumcheck as blackbox because of FRI part in basefold. - [x] and use evaluation form as uni-variates - [x] clean up old sumcheck impl ### benchmark With e2e Fibonacci 2^20 ``` fibonacci_max_steps_1048576/prove_fibonacci/fibonacci_max_steps_1048576 time: [3.1789 s 3.2022 s 3.2274 s] change: [-14.457% -13.632% -12.780%] (p = 0.00 < 0.05) Performance has improved. ``` Fibonacci 2^21 ``` fibonacci_max_steps_2097152/prove_fibonacci/fibonacci_max_steps_2097152 time: [5.2820 s 5.3010 s 5.3207 s] change: [-16.128% -15.753% -15.306%] (p = 0.00 < 0.05) Performance has improved. ``` Fibonacci 2^22 ``` fibonacci_max_steps_4194304/prove_fibonacci/fibonacci_max_steps_4194304 time: [10.369 s 10.397 s 10.423 s] change: [-10.485% -10.041% -9.5790%] (p = 0.00 < 0.05) Performance has improved. ```
An experiment to see how much gain we have on e2e latency
Also related to #568